Maybe I'm wrong for what you need, but you must also inform the "UnitArtInfo" for the animation.
for example:
<Units>
<Row>
...
<CombatClass>UNITCOMBAT_NAVAL</CombatClass>
...
<UnitArtInfo>ART_DEF_UNIT_NUCLEAR_SUBMARINE</UnitArtInfo>
</Row>
</Units>
I created UNITCOMBAT_SUBMARINE to try and fix the bombardment promotion bug, but with this new unitcombat the sub/nukesub have no combat animations. A UNITCOMBAT_MOUNTED_ARCHER is also necessary to fix the stable production bug. I did some research on this back in October... the unitcombat table has no art attributes, and I couldn't find any other info in my searches, so I assumed the animations must be hardcode-linked to unitcombats on the c++ side of things.
It's been half a year since then.. so I figured I'd bring up the topic again in case anyone discovered a way to do this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.