--- a/mods/ra2/rules/allied-infantry.yaml +++ b/mods/ra2/rules/allied-infantry.yaml @@ -123,6 +123,7 @@ # UpgradeTypes: eliteparaweapon # UpgradeMinEnabledLevel: 1 WithInfantryBody: + DefaultAttackSequence: shoot Voiced: VoiceSet: GIVoice ProducibleWithLevel: @@ -162,6 +163,8 @@ VoiceSet: SniperVoice ProducibleWithLevel: Prerequisites: barracks.infiltrated + WithInfantryBody: + DefaultAttackSequence: shoot spy: Inherits: ^Infantry @@ -274,6 +277,8 @@ Prerequisites: barracks.infiltrated QuantizeFacingsFromSequence: Sequence: stand + WithInfantryBody: + DefaultAttackSequence: shoot WithSwimSuit: -TakeCover: # TODO: allow multiple sequence modifiers @@ -339,6 +344,8 @@ Prerequisites: barracks.infiltrated QuantizeFacingsFromSequence: Sequence: stand + WithInfantryBody: + DefaultAttackSequence: shoot -TakeCover: # TODO: allow multiple sequence modifiers WithSwimSuit: @@ -393,7 +400,7 @@ WithInfantryBody: StandSequence: fly MoveSequence: fly - AttackSequence: shoot-air + DefaultAttackSequence: shoot-air IdleSequences: idle-air Hovers: OffsetModifier: -45 @@ -454,3 +461,5 @@ Weapon: NeutronRifle AttackFrontal: Voice: Attack + WithInfantryBody: + DefaultAttackSequence: shoot --- a/mods/ra2/rules/allied-naval.yaml +++ b/mods/ra2/rules/allied-naval.yaml @@ -204,7 +204,7 @@ RenderSprites: WithInfantryBody: StandSequences: stand - AttackSequence: shoot + DefaultAttackSequence: shoot WithDeathAnimation: UseDeathTypeSuffix: false Repairable: --- a/mods/ra2/rules/defaults.yaml +++ b/mods/ra2/rules/defaults.yaml @@ -297,7 +297,7 @@ WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand - AttackSequence: shoot + DefaultAttackSequence: shoot UpgradeTypes: parachute UpgradeMaxEnabledLevel: 0 WithDeathAnimation@normal: --- a/mods/ra2/rules/soviet-infantry.yaml +++ b/mods/ra2/rules/soviet-infantry.yaml @@ -33,6 +33,7 @@ UpgradeTypes: eliteweapon UpgradeMinEnabledLevel: 1 WithInfantryBody: + DefaultAttackSequence: shoot Voiced: VoiceSet: ConscriptVoice ProducibleWithLevel: @@ -84,6 +85,7 @@ UpgradeTypes: eliteweapon UpgradeMinEnabledLevel: 1 WithInfantryBody: + DefaultAttackSequence: shoot IdleAnimation: Voiced: VoiceSet: FlakTrooperVoice @@ -141,6 +143,7 @@ SelfReloads: true SelfReloadTicks: 70 WithInfantryBody: + DefaultAttackSequence: shoot UpgradeActorsNear: Upgrades: charged Range: 1c256 @@ -226,6 +229,7 @@ AttackFrontal: Voice: Attack WithInfantryBody: + DefaultAttackSequence: shoot Voiced: VoiceSet: DesolatorVoice ProducibleWithLevel: @@ -277,6 +281,7 @@ OutsideRangeCursor: bomb TakeCover: WithInfantryBody: + DefaultAttackSequence: shoot IdleSequences: idle1,idle2 QuantizeFacingsFromSequence: Sequence: stand --- a/mods/ra2/rules/soviet-naval.yaml +++ b/mods/ra2/rules/soviet-naval.yaml @@ -206,7 +206,7 @@ RenderDetectionCircle: WithInfantryBody: StandSequences: stand - AttackSequence: punch + DefaultAttackSequence: punch Repairable: Voice: Attack RepairBuildings: gayard, nayard