From 35d102bcbb113f4e38bfd9a99ca1fbbdf2a5c0ca Mon Sep 17 00:00:00 2001 From: Patrick Wieth Date: Wed, 10 Jul 2024 00:02:01 +0200 Subject: [PATCH] fix allies advanced infantry crash --- mods/ca/rules/allies/infantry.yaml | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/mods/ca/rules/allies/infantry.yaml b/mods/ca/rules/allies/infantry.yaml index 25791205..048f6e60 100644 --- a/mods/ca/rules/allies/infantry.yaml +++ b/mods/ca/rules/allies/infantry.yaml @@ -37,6 +37,8 @@ Rocket_Infantry: Inherits: ^WhiteFlash Inherits: ^PrioAntiHeavyAA Inherits: ^RelayTargeting + RenderSprites: + Image: rocket_infantry Buildable: Queue: Infantry BuildAtProductionType: Soldier @@ -95,6 +97,8 @@ Rocket_Infantry: E3.soviet: Inherits: Rocket_Infantry Inherits: ^InfantryTDSprite + RenderSprites: + Image: E3.soviet Inherits: ^SovietInfantry Buildable: Prerequisites: ~infantry.soviet @@ -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