2 problems for my mod:
1) I've replaced the creep colony with something that has 36 frames of idle animation. Part of the animation basically involved a fountain of liquid spewing from the side in spurts. It works fine until the it gets damaged to the point when the zerg blood overlay should appear, then it crashes. I've isolated the problem to the fact that when it animates, the horizontal dimension of the building changes too much due to the fountain spewing. The only way I could make it work was to disable the blood overlay from appearing all together by editing images.dat. I'm wondering if there's some way I can make it bleed again. Would I use Lo?Edit for this? If so, how?
2) Similar problem with my shield battery replacement. It's sort of complicated, so please bear with me:
- I changed the normally glowing shield battery overlay into something along the lines of the supply depot overlay, so that it appears to be a moving part of the building.
- Everything worked fine, but then I got picky: Normally, when you place a building to be built, and when it teleports in, it does so without the overlay. For my building, this looked really weird, so I added an additional frame to the shield battery grp which had the overlay already on it. This way, it looks like a complete building when you place it and when it teleports. Then, through iscript editing, I made it so that it displays the original frame (without the overlay) as soon as the actual overlay is placed.
- So now it looks fine teleporting in and everything, but as soon as it gets damaged to the point where the blue flame overlays should appear, it crashes. I have no idea why it does this. Was it the extra frame I added to the shield battery? Again, I had to turn off the blue flames altogether through images.dat to get it stable. Is this another Lo?Edit thing?
Please let me know if this doesn't make sense. Any help would be appreciated. Thanks!
Everything is with LO? edit. I haven't done this for so long, its not going to be pretty. You have to edit the fire/bleed overlay - .LOF
First, it has to have the same number of frames as the unit. Then, each frame has a long list of offsets. Not all are used. They reference from Images.dat(don't ask me which ones, I don't remember), around the fire/bleeds. All you need to do is add extra frames and copy the right offsets for each unit.