Browse Source

Hotfix: infantry shooting animations

master
Fincer 8 years ago
parent
commit
363245334b
1 changed files with 121 additions and 0 deletions
  1. +121
    -0
      data/hotfixes/linux/hotfix-infantryanimations_shoot.patch

+ 121
- 0
data/hotfixes/linux/hotfix-infantryanimations_shoot.patch View File

@ -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

Loading…
Cancel
Save