From 88bf4bceeda95038f3ee0b34c111772236089e39 Mon Sep 17 00:00:00 2001 From: Fincer Date: Sat, 12 Nov 2016 00:49:10 +0200 Subject: [PATCH] Hotfix: infantry shooting animations --- .../hotfix-infantryanimations_shoot.patch | 121 ++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 data/hotfixes/windows/hotfix-infantryanimations_shoot.patch diff --git a/data/hotfixes/windows/hotfix-infantryanimations_shoot.patch b/data/hotfixes/windows/hotfix-infantryanimations_shoot.patch new file mode 100644 index 0000000..3beef6b --- /dev/null +++ b/data/hotfixes/windows/hotfix-infantryanimations_shoot.patch @@ -0,0 +1,121 @@ +--- 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: +@@ -158,6 +159,10 @@ + Weapon: awp + AttackFrontal: + Voice: Attack ++ WithInfantryBody: ++ DefaultAttackSequence: shoot ++ QuantizeFacingsFromSequence: ++ Sequence: stand + Voiced: + VoiceSet: SniperVoice + ProducibleWithLevel: +@@ -272,6 +277,8 @@ + VoiceSet: SealVoice + ProducibleWithLevel: + Prerequisites: barracks.infiltrated ++ WithInfantryBody: ++ DefaultAttackSequence: shoot + QuantizeFacingsFromSequence: + Sequence: stand + WithSwimSuit: +@@ -337,6 +344,8 @@ + VoiceSet: TanyaVoice + ProducibleWithLevel: + Prerequisites: barracks.infiltrated ++ WithInfantryBody: ++ DefaultAttackSequence: shoot + QuantizeFacingsFromSequence: + Sequence: stand + -TakeCover: # TODO: allow multiple sequence modifiers +@@ -393,7 +402,7 @@ + WithInfantryBody: + StandSequence: fly + MoveSequence: fly +- AttackSequence: shoot-air ++ DefaultAttackSequence: shoot-air + IdleSequences: idle-air + Hovers: + OffsetModifier: -45 +@@ -454,3 +463,5 @@ + Weapon: NeutronRifle + AttackFrontal: + Voice: Attack ++ WithInfantryBody: ++ DefaultAttackSequence: shoot + +--- a/mods/ra2/rules/allied-naval.yaml ++++ b/mods/ra2/rules/allied-naval.yaml +@@ -202,9 +202,10 @@ + ExplodeInstead: true + RenderDetectionCircle: + RenderSprites: ++ QuantizeFacingsFromSequence: ++ Sequence: stand + WithInfantryBody: +- StandSequences: stand +- AttackSequence: shoot ++ DefaultAttackSequence: shoot + WithDeathAnimation: + UseDeathTypeSuffix: false + Repairable: + +--- 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,7 +85,7 @@ + UpgradeTypes: eliteweapon + UpgradeMinEnabledLevel: 1 + WithInfantryBody: +- IdleAnimation: ++ DefaultAttackSequence: shoot + Voiced: + VoiceSet: FlakTrooperVoice + ProducibleWithLevel: +@@ -141,6 +142,7 @@ + SelfReloads: true + SelfReloadTicks: 70 + WithInfantryBody: ++ DefaultAttackSequence: shoot + UpgradeActorsNear: + Upgrades: charged + Range: 1c256 +@@ -226,6 +228,7 @@ + AttackFrontal: + Voice: Attack + WithInfantryBody: ++ DefaultAttackSequence: shoot + Voiced: + VoiceSet: DesolatorVoice + ProducibleWithLevel: + +--- a/mods/ra2/rules/soviet-naval.yaml ++++ b/mods/ra2/rules/soviet-naval.yaml +@@ -205,8 +205,9 @@ + ExplodeInstead: true + RenderDetectionCircle: + WithInfantryBody: +- StandSequences: stand + AttackSequence: punch + Repairable: + Voice: Attack +- RepairBuildings: gayard, nayard ++ RepairBuildings: gayard ++ QuantizeFacingsFromSequence: ++ Sequence: stand