Posted: Fri Jul 31, 2020 7:33 am Post subject:
Animation issues on Tech Oil Derrick
I want to make another Tech Oil Derrick that instead of using an Engineer, you garrison your troops into it to make it works as normal.
The code I used for it:
The issue I have is about its animation. I copied all the CAOILD animations to it. As far as I know there are two parts of the CAOILD image (the red and blue part in this picture). When I try to garrison to it, the blue part's animation works as normal, but the red part's animation becomes like when it's on fire (very low health).
What should I do to fix this?
Thanks in advance.
Untitled.png
Description:
Filesize:
318.72 KB
Viewed:
1017 Time(s)
_________________ Embrace the night sky above you... then go to sleep. QUICK_EDIT
That'd be because the garrison frame is the third frame of the building's SHP.
It's a copy of the second frame, the damage frame.
To fix, empty the third frame (don't delete it!), then copy the first frame onto the now-empty third frame. Repeat the procedure for the shadow frames with frames 4 and 6.
Look at the Battle Bunker for how to make garrisons not auto-evacuate when damaged like all civilian buildings. QUICK_EDIT
I cannot find the TEMPERATE version of CAOILD in my ra2.mix, so I have no choice but to use SNOW as a substitude...
But it's quite good, you think? _________________ Embrace the night sky above you... then go to sleep. QUICK_EDIT
Buildings that have theater-specific art use the second letter in the filename to distinguish between theaters. Hence CAOILD -> CTOILD _________________
Generic is used if the theater-specific art doesn't exist. If theater-specific art does exist, generic is overridden by theater-specific art.
Generic SHPs are identified by the g as the second character in the file name; CGOILD
(note generic doesn't have to exist and you can just use theater-specific art instead. Wouldn't recommend it tho as it'd mean having 5 separate copies (we're excluding snow for obvious reasons) of the same SHP, but under a different name. Only use this if there's actually a visual difference between the theater-specific SHPs, something that WW didn't put to good use outside of snow/arctic)
Just proliferate some sandbags from another structure, copy the first frame over the 3rd, add said sandbags, and boom, you have the art you need. Rename it to all the ones Tak02 listed and you should be good to go.
ctoild 0000.png
Description:
Filesize:
17.9 KB
Viewed:
926 Time(s)
_________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum