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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Roy