Skip to content

Commit

Permalink
Adds parachute animation to E1,E2,E3,E4,E6,SHOK
Browse files Browse the repository at this point in the history
Uses conditions without changing the art file.
  • Loading branch information
KOYK authored and reaperrr committed May 4, 2018
1 parent 0795701 commit 157a6b7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
25 changes: 25 additions & 0 deletions mods/ra/rules/infantry.yaml
Expand Up @@ -74,6 +74,10 @@ E1:
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE
StandSequences: parachute
RequiresCondition: parachute
ProducibleWithLevel:
Prerequisites: barracks.upgraded

Expand Down Expand Up @@ -116,6 +120,10 @@ E2:
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: throw
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE
StandSequences: parachute
RequiresCondition: parachute
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Expand Down Expand Up @@ -154,6 +162,10 @@ E3:
AttackFrontal:
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE
StandSequences: parachute
RequiresCondition: parachute
ProducibleWithLevel:
Prerequisites: barracks.upgraded
AutoTarget:
Expand Down Expand Up @@ -199,6 +211,10 @@ E4:
Chance: 50
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE
StandSequences: parachute
RequiresCondition: parachute
ProducibleWithLevel:
Prerequisites: barracks.upgraded

Expand All @@ -214,6 +230,11 @@ E6:
Cost: 500
Tooltip:
Name: Engineer
WithInfantryBody:
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE
StandSequences: parachute
RequiresCondition: parachute
Passenger:
PipType: Yellow
EngineerRepair:
Expand Down Expand Up @@ -574,6 +595,10 @@ SHOK:
Voice: Move
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE
StandSequences: parachute
RequiresCondition: parachute
Voiced:
VoiceSet: ShokVoice
ProducibleWithLevel:
Expand Down
12 changes: 12 additions & 0 deletions mods/ra/sequences/infantry.yaml
Expand Up @@ -38,6 +38,8 @@ e1:
Start: 192
Length: 8
Facings: 8
parachute:
Start: 377
idle1:
Start: 256
Length: 16
Expand Down Expand Up @@ -178,6 +180,8 @@ e3:
Start: 64
Length: 8
Facings: 8
parachute:
Start: 393
idle1:
Start: 272
Length: 14
Expand Down Expand Up @@ -245,6 +249,8 @@ e6:
Length: 6
Facings: 8
Tick: 100
parachute:
Start: 210
idle1:
Start: 121
Length: 8
Expand Down Expand Up @@ -440,6 +446,8 @@ e2:
Start: 64
Length: 20
Facings: 8
parachute:
Start: 505
idle1:
Start: 384
Length: 14
Expand Down Expand Up @@ -792,6 +800,8 @@ e4:
Start: 64
Length: 16
Facings: 8
parachute:
Start: 528
idle1:
Start: 384
Length: 14
Expand Down Expand Up @@ -951,6 +961,8 @@ shok:
Start: 256
Length: 16
Facings: 8
parachute:
Start: 528
idle1:
Start: 384
Length: 14
Expand Down

0 comments on commit 157a6b7

Please sign in to comment.