Well, I've realized that several images.dat entries are identical. The Flames3 - 8, small and large, same for some bleeding entries (fewer), use the same GRP file and the same iscript entry. They are also not used in any script, or by any sprite. The question is: Is here a lot of potentially changeable entries for many ney overlays, or will I mess up some other things?
I've changed two of this images to make overlays, and I have a crash in a random instance (3 minutes playing, or half an hour.....). This crash takes place when I attack many Terran/Protoss buildings consecutively, leaving them flaming. But in isolated cases, attacking and destroying one (or a few) by one, nothing happens and the flaming is normal for every building....
Does somebody know if there is some hardcode connection between ALL of the flames and that script(320)/GRP file(470)?
Thanks for reading.
None.
The references to those images entries are probably hard-coded in the exe. Which buildings or units get the overlay when damaged is not hardcoded though, btw. Which ones show up and where they show up is all determined by the .lof files referenced in images.dat.
None.
The references to those images entries are probably hard-coded in the exe. Which buildings or units get the overlay when damaged is not hardcoded though, btw. Which ones show up and where they show up is all determined by the .lof files referenced in images.dat.
Oh, thank you. But, the .lof files only shows offsets, 22 in almost every one, 3 of them different and the rest are 127 127 (lower left corner). Also they show a number of images, the number is concordant with the number of images in the GRP file of the building to which they belong. They show nothing about which flame/blood they use when damaged.....well, is the same conclusion I got, hard-coded.
But maybe there's some sort of relation between the .lof and the offsets. I've modified a .lof and put it on one of my huge units....hmmm... maybe if I change all the .lof files and give them more images.... no, the flames have just 6...
I'm gonna try giving all of them the six images in their .lof files. Now I remembered that the Power Generator could be the problem. That building have more than 6 frames, I guess.....
None.
In the .lof files, the coordinates not only mean where there are placed, but whether the corresponding flame/blood image is used. Is the number of them the same as the number of flame/blood images in images.dat?
None.
In the .lof files, the coordinates not only mean where there are placed, but whether the corresponding flame/blood image is used. Is the number of them the same as the number of flame/blood images in images.dat?
The count is weird. There are 8 types of flame, divided in small and large, then they are divided in types, 3 types for each. Curiously, there are 28 entries of flames only. I didn't count the Bleeding entries.
None.