Combat classes

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>
 
That's the unit I'm editing.

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. :beer:
 
Back
Top Bottom