WithInfantryBody - AttackSequences, how do they work?
WithInfantryBody - AttackSequences, how do they work?
i see there is a Trait so you can tell an infantry unit to use different attack animations for different Armaments (attacks), but i dont get it how to correctly put it in the .yaml files and i cant find an example.
Check out my CnC mod at:
https://www.moddb.com/mods/cameo
https://www.moddb.com/mods/cameo
- Graion Dilach
- Posts: 277
- Joined: Fri May 15, 2015 5:57 pm
Re: WithInfantryBody - AttackSequences, how do they work?
Code: Select all
mingxia:
[...]
Armament@primary2:
Name: secondary
Weapon: MingxiaGun
RequiresCondition: !rank-heroic && !weapondisable
Armament@elite2:
Name: secondary
Weapon: MingxiaGunE
RequiresCondition: rank-heroic && !weapondisable
WithInfantryBody:
AttackSequences:
secondary: shoot-gun