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.
[09:16 am]
NimoStar -- ever wanted to play melee in installation tileset? Now you can https://staredit.net/topic/18929/
[02:29 am]
Symmetry -- TFW you google a problem and find the answer in a post you made yourself
[01:46 am]
Oh_Man -- How can i change my name here to put [TFE] on the end will thr website let me
[06:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[05:48 pm]
Zoan -- ppl do it all the time in PDEs
[05:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[05:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[05:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[05:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[05:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
Please log in to shout.


Members Online: Obsdark, Roy