Staredit Network > Forums > Modding Assistance > Topic: Question about some images.dat entries
Question about some images.dat entries
Jun 29 2009, 6:27 pm
By: Yawgmoth  

Jun 29 2009, 6:27 pm Yawgmoth Post #1



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.

Jun 29 2009, 7:39 pm ShadowFlare Post #2



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.

Jun 29 2009, 7:57 pm Yawgmoth Post #3



Quote from ShadowFlare
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.

Jun 29 2009, 8:19 pm ShadowFlare Post #4



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.

Jun 29 2009, 8:45 pm Yawgmoth Post #5



Quote from ShadowFlare
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.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:05 pm]
Ultraviolet -- :wob:
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
Please log in to shout.


Members Online: lil-Inferno