Posted: Thu Feb 24, 2022 8:42 am Post subject:
Adding an explosion animation to a unit ?
I downloaded a really cool explosion animation that I wanted to attach to the demlition truck when it blows up but nothing happens.
It is a SHP file so I put it in my custom expandmd50.mix
The files are EXPLONAPAL & NEXPLOSCO1
I added it to the warhead
[DetonatorWH]
CellSpread=11
PercentAtMax=1 ;was .25
Verses=100%,100%,100%,100%,50%,50%,80%,150%,10%,100%,100%
InfDeath=4
InfDeath=7
Sparky=no
Fire=yes
Tiberium=yes
AnimList=EXPLONAPAL
And added it to the unit's code
DeathWeapon=DetonationDevice
Explosion=EXPLONAPAL QUICK_EDIT
Look at the code used by other anims as an example & if you dont know what a tag does look it up on ModEnc.
Start= what frame of the shp to start playing the anim.
Layer= The layer in which the anim is rendered.
LoopCount= How many times to play the anim in a loop before removing it.
BTW That explosion anim needs Ares to work as it uses a custom pal file. _________________
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