Page 1 of 1
Can blood spatters or slime trails be altered?
Posted: Fri Mar 11, 2016 1:39 am
by Crowley
I had the idea that it would be nice if I was able to change what kind of blood a creature leaves behind when hit, such as having giant insects bleed yellow goop. After all, all sorts of different colored "blood" spatters already exist in the game's graphics files. I tried examining slimes since those leave behind green slime trails, and on a related note making different colored slimes would also be a nice thing to do.
However, I could not see anything special about the slimes either in Exult Studio or in decompiled usecode. Are these aspects (blood color & leaves liquid trails as moves) another one of those pesky hardcoded things?
Re: Can blood spatters or slime trails be altered?
Posted: Fri Mar 11, 2016 5:01 pm
by Malignant Manor
They are all hard coded. It might not be too hard to de hard code. I'm not sure where all the changes would need to be at the moment.
Re: Can blood spatters or slime trails be altered?
Posted: Sat Mar 12, 2016 12:24 am
by Malignant Manor
I made a partial patch and created a feature request tracker for Marzo to finish after we convert to Git.
https://sourceforge.net/p/exult/feature-requests/173/
Re: Can blood spatters or slime trails be altered?
Posted: Sat Mar 12, 2016 12:50 am
by marzo
By the way, most of those 'blood' spatters aren't really blood. Looking over BG and SI usecode, these are the results:
* frames 0-3: blood, and SI vomit;
* frames 4-7: slime trails, and SI vomit;
* frames 8-11: SI vomit (Exult also uses as slime trails, but I think this is wrong);
* frames 12-15: beer, and SI vomit;
* frames 16-19: water;
* frames 20-23: wine;
* frames 24 (SI): acid;
* all others: seem to be placeholders, and are unused.
SI vomit creates one each in the first 4 groups, with random frames, and places them all in the same location.
Re: Can blood spatters or slime trails be altered?
Posted: Fri Mar 18, 2016 12:06 pm
by Crowley
Thank thee kindly for the speedy and helpful response! Now that I think about it, I suppose the graphical behaviour of slimes using different frames depending on whether there are other slimes adjacent is also hardcoded.
Re: Can blood spatters or slime trails be altered?
Posted: Thu Apr 14, 2016 6:32 pm
by Malignant Manor
Unfortunately, it seems that there are several other things that will be done before this gets implemented. In the meantime, you can still test out shapes by replacing them with the originals.
Re: Can blood spatters or slime trails be altered?
Posted: Tue Apr 26, 2016 7:29 pm
by Crowley
That's all right. This is just a cosmetic thing that occurred to me, nothing central to the things I am working on.