Information and discussion for custom maps and mods.
2 posts • Page 1 of 1
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:
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