I'm trying to add work animations to the buildings that currently don't have any (gateway, robotics facility, spawning pool, hydralisk den, the list goes on...) and would like to know what the best way to script them into the game would be. I've tried just iscripting them after importing the animation as an additional frame to the structure, but no dice. For reference, I'll post my script below, in case there's something wrong with it.
This script doesn't show any changes during production, but afterwards the shadow is removed. I have a feeling that's just because the animation headers are incorrectly specified, but I'm not very well-versed in this field. I don't want to do what blizzard did and add overlays, since that would require cannibalizing some existing image and iscript IDs. Ideally I'd be able to add these animations without taking any features away. Any ideas?
Responsible for my own happiness? I can't even be responsible for my own breakfast
Are you looking for the animation to play while you are training a unit from the Gateway? If so, you need to replace the IsWorking animation, not WorkingToIdle. You also want to change that goto statement at the end to repeat the IsWorking animation if you want it to play for the entire time a unit is under production.
As for the shadow - did you add additional frames the to the shadow GRP?
all i am is a contrary canary but i'm crazy for you i watched you cradling a tissue box sneezing and sniffling, you were still a fox
Each grp has 3 frames. Frame 0 and 1 are identical and unchanged. Frame 2 has the lights dimmed so the flickering animation happens, similar to how the nexus and co. flicker. Each shadow grp has 3 identical frames, so the templar archives issue shouldn't be happening.
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)