Skip to content

Commit

Permalink
fix allies advanced infantry crash
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwieth committed Jul 9, 2024
1 parent 40de265 commit 35d102b
Showing 1 changed file with 4 additions and 25 deletions.
29 changes: 4 additions & 25 deletions mods/ca/rules/allies/infantry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Rocket_Infantry:
Inherits: ^WhiteFlash
Inherits: ^PrioAntiHeavyAA
Inherits: ^RelayTargeting
RenderSprites:
Image: rocket_infantry
Buildable:
Queue: Infantry
BuildAtProductionType: Soldier
Expand Down Expand Up @@ -95,6 +97,8 @@ Rocket_Infantry:
E3.soviet:
Inherits: Rocket_Infantry
Inherits: ^InfantryTDSprite
RenderSprites:
Image: E3.soviet
Inherits: ^SovietInfantry
Buildable:
Prerequisites: ~infantry.soviet
Expand Down Expand Up @@ -131,31 +135,6 @@ Rocket_Infantry.cryo:
Weapon: RedEyeE
LocalOffset: 0,0,555
PauseOnCondition: !ammo || being-warped
-WithInfantryBody:
WithInfantryBody:
IdleSequences: idle-cryo1, idle-cryo2
StandSequences: stand-cryo, stand-cryo2
AttackSequences: shoot-cryo
DefaultAttackSequence: shoot-cryo
MoveSequence: run-cryo
-WithDeathAnimation:
WithDeathAnimation:
DeathSequence: die-cryo
DeathSequencePalette: overlayplayertd
DeathTypes:
DefaultDeath: 1
BulletDeath: 2
SmallExplosionDeath: 3
ExplosionDeath: 4
FireDeath: 5
ElectricityDeath: 6
PoisonDeath: 7
ChronoDeath: 8
ToxinDeath: 9
RadiationDeath: 10
FrozenDeath: 11
CrushedSequence: die-crushed


U3:
Inherits: ^Soldier
Expand Down

0 comments on commit 35d102b

Please sign in to comment.