This is a modification of the redcoat animation set. I've added the pikeman melee combat animations to the set, resulting in redcoat who, when attack in close combat, will fight back with their bayonet.
No extra files or modifications are needed as long as the directory structure is unchanged.
If the redcoat also should engage in close combat when fighting range units, the bActAsRanged entry of the redcoat should be changed to <bActAsRanged>0</bActAsRanged>. However, this way the only time when the redcoat shoot will be when they do a first strike.
Forum link: http://forums.civfanatics.com/showthread.php?t=353426
- Gagonite for his tutorial 'Modifying the Visibilty of Weapons' that also covers how to add other units animations to a unit.
- The_Coyote for his tutorial 'How to: make minor changes to existing animation without 3Ds max' that contained the information about the necessity of the right node-flag.
Redcoat with Melee Combat Animations 2016-10-05
Redcoat with Melee Combat Animations