diff --git a/mods/ca/bits/allies/cryotrooper.shp b/mods/ca/bits/allies/cryotrooper.shp new file mode 100644 index 00000000..9e0cb15f Binary files /dev/null and b/mods/ca/bits/allies/cryotrooper.shp differ diff --git a/mods/ca/mod.yaml b/mods/ca/mod.yaml index 0ec703c9..364b45ca 100644 --- a/mods/ca/mod.yaml +++ b/mods/ca/mod.yaml @@ -158,6 +158,7 @@ Sequences: ca|sequences/misc.yaml ca|sequences/decorations.yaml ca|sequences/commander-tree.yaml + ca|sequences/allies.yaml ca|sequences/gdi.yaml ca|sequences/nod.yaml ca|sequences/scrin.yaml diff --git a/mods/ca/rules/allies/infantry.yaml b/mods/ca/rules/allies/infantry.yaml index e69de29b..c3dd0d51 100644 --- a/mods/ca/rules/allies/infantry.yaml +++ b/mods/ca/rules/allies/infantry.yaml @@ -0,0 +1,36 @@ +Cryotrooper: + Inherits: ^Soldier + Inherits: ^PrioAntiHeavy + Inherits: ^InfantryRA2Sprite + Buildable: + Queue: Infantry + BuildAtProductionType: Soldier + BuildPaletteOrder: 50 + Prerequisites: ~infantry.allies, dome, ~tent, ~commander_tree.advanced_infantry_training + Description: Support infantry that slows enemies and makes them take more damage. Can intercept incoming shells and rockets. + IconPalette: chrometd + Valued: + Cost: 500 + Tooltip: + Name: Cryo Trooper + UpdatesPlayerStatistics: + AddToArmyValue: true + Health: + HP: 7000 + Mobile: + Speed: 61 + Armament@PRIMARY: + Weapon: CryoGun + LocalOffset: 341,0,256 + PauseOnCondition: being-warped + Armament@Garrison: + Name: mounted + Weapon: CryoGun + LocalOffset: 341,0,256 + PauseOnCondition: being-warped + TakeCover: + ProneOffset: 227,0,-245 + AttackFrontal: + PauseOnCondition: being-warped + FacingTolerance: 0 + Inherits: ^PointLaserDefenseSystemSmall diff --git a/mods/ca/rules/allies/weapons.yaml b/mods/ca/rules/allies/weapons.yaml index ed6d4b7a..39907d15 100644 --- a/mods/ca/rules/allies/weapons.yaml +++ b/mods/ca/rules/allies/weapons.yaml @@ -27,3 +27,33 @@ BATF.Repair: Condition: highlight ValidTargets: Ground, Vehicle, Air ValidRelationships: Ally + + +CryoGun: + Inherits: ^Cryo + ReloadDelay: 90 + Range: 5c512 + ValidTargets: Ground, Water + Projectile: LaserZap + Width: 25 + Duration: 20 + ZOffset: 2047 + Color: FFFFFF + SecondaryBeam: true + SecondaryBeamWidth: 50 + SecondaryBeamZOffset: 2047 + SecondaryBeamColor: 57BEFFBB + Blockable: true + +CryoMissileNHAW: + Inherits: CryoMissile + ReloadDelay: 250 + Report: vrocweaa.aud, vrocweab.aud + BurstDelays: 50 + Range: 7c0 + Projectile: Bullet + Image: cmiss + Speed: 230 + LaunchAngle: 3 + Warhead@1Dam: SpreadDamage + Damage: 1000 diff --git a/mods/ca/rules/defaults.yaml b/mods/ca/rules/defaults.yaml index a0122068..e4c04796 100644 --- a/mods/ca/rules/defaults.yaml +++ b/mods/ca/rules/defaults.yaml @@ -4155,7 +4155,7 @@ PROC.Dummy: tecn3: loaded railgunner: loaded railgunner.nocrush: loaded - cryot: loaded + cryotrooper: loaded che1: loaded minigunner: loaded-air che3: loaded-air diff --git a/mods/ca/rules/infantry.yaml b/mods/ca/rules/infantry.yaml index c9110ed5..752aee92 100644 --- a/mods/ca/rules/infantry.yaml +++ b/mods/ca/rules/infantry.yaml @@ -1733,43 +1733,6 @@ RMBC.range: Weapon: cycannon.Range LocalOffset: 0,0,555 -CRYOT: - Inherits: ^Soldier - Inherits: ^PrioAntiHeavy - Inherits@BERSERK: ^Berserk - Buildable: - Queue: Infantry - BuildAtProductionType: Soldier - BuildPaletteOrder: 50 - Prerequisites: ~infantry.allies, dome, ~tent, ~commander_tree.advanced_infantry_training - Description: Support infantry that slows enemies and makes them take more damage. Can intercept incoming shells and rockets. - IconPalette: chrometd - Valued: - Cost: 500 - Tooltip: - Name: Cryo Trooper - UpdatesPlayerStatistics: - AddToArmyValue: true - Health: - HP: 7000 - Mobile: - Speed: 61 - Armament@PRIMARY: - Weapon: CryoGun - LocalOffset: 341,0,256 - PauseOnCondition: being-warped - Armament@Garrison: - Name: mounted - Weapon: CryoGun - LocalOffset: 341,0,256 - PauseOnCondition: being-warped - TakeCover: - ProneOffset: 227,0,-245 - AttackFrontal: - PauseOnCondition: being-warped - FacingTolerance: 0 - Inherits: ^PointLaserDefenseSystemSmall - Railgunner: Inherits: ^Soldier Inherits: ^PrioEnergyAntiHeavy diff --git a/mods/ca/rules/vehicles.yaml b/mods/ca/rules/vehicles.yaml index 8a1c117b..5403730a 100644 --- a/mods/ca/rules/vehicles.yaml +++ b/mods/ca/rules/vehicles.yaml @@ -3128,7 +3128,7 @@ IFV: leader: spyturr railgunner: railgunturr railgunner.nocrush: railgunturr - cryot: cryoturr + cryotrooper: cryoturr specops: relayturr ProximityExternalCondition@MEDIC: RequiresCondition: medturr diff --git a/mods/ca/sequences/allies.yaml b/mods/ca/sequences/allies.yaml new file mode 100644 index 00000000..42aa1186 --- /dev/null +++ b/mods/ca/sequences/allies.yaml @@ -0,0 +1,76 @@ +cryotrooper: + Inherits: ^CommonDeaths + Inherits: ^InfantryOverlays + stand: cryotrooper + Facings: 8 + run: cryotrooper + Start: 8 + Length: 6 + Facings: 8 + Tick: 100 + shoot: cryotrooper + Start: 164 + Length: 6 + Facings: 8 + liedown: cryotrooper + Start: 260 + Length: 2 + Facings: 8 + standup: cryotrooper + Start: 276 + Length: 2 + Facings: 8 + prone-stand: cryotrooper + Start: 86 + Stride: 6 + Facings: 8 + prone-run: cryotrooper + Start: 86 + Length: 6 + Facings: 8 + Tick: 100 + prone-shoot: cryotrooper + Start: 212 + Length: 6 + Facings: 8 + idle1: cryotrooper + Start: 56 + Length: 15 + Tick: 120 + idle2: cryotrooper + Start: 71 + Length: 15 + Tick: 120 + idle3: cryotrooper + Start: 293 + Length: 9 + Tick: 120 + idle4: cryotrooper + Start: 71 + Length: 15 + Tick: 120 + die1: cryotrooper + Start: 134 + Length: 15 + Tick: 80 + die2: cryotrooper + Start: 149 + Length: 14 + Tick: 80 + die3: cryotrooper + Start: 134 + Length: 15 + Tick: 80 + die4: cryotrooper + Start: 149 + Length: 14 + Tick: 80 + die5: cryotrooper + Start: 134 + Length: 15 + Tick: 80 + die7: cryotrooper + Start: 149 + Length: 14 + Tick: 80 + icon: cryoticnh diff --git a/mods/ca/sequences/infantry.yaml b/mods/ca/sequences/infantry.yaml index b938ecaa..52e5d0eb 100644 --- a/mods/ca/sequences/infantry.yaml +++ b/mods/ca/sequences/infantry.yaml @@ -2697,120 +2697,6 @@ rmbc.range: Offset: 0, 0 icon: cycomrangeicon.shp -cryot: - stand: cryot - Facings: 8 - stand2: cryot - Start: 8 - Facings: 8 - run: cryot - Start: 16 - Length: 6 - Facings: 8 - Tick: 120 - shoot: cryot - Start: 64 - Length: 16 - Facings: 8 - stand3: cryot - Start: 192 - Length: 16 - prone-stand: cryot - Start: 208 - Stride: 4 - Facings: 8 - prone-stand2: cryot - Start: 208 - Stride: 4 - Facings: 8 - prone-run: cryot - Start: 208 - Length: 4 - Facings: 8 - Tick: 120 - standup: cryot - Start: 240 - Length: 2 - Facings: 8 - prone-shoot: cryot - Start: 256 - Length: 16 - Facings: 8 - idle1: cryot - Start: 384 - Length: 14 - Tick: 120 - idle2: cryot - Start: 399 - Length: 16 - Tick: 120 - die1: cryot - Start: 416 - Length: 8 - die2: cryot - Start: 424 - Length: 8 - die3: cryot - Start: 432 - Length: 8 - die4: cryot - Start: 440 - Length: 12 - die5: cryot - Start: 452 - Length: 18 - die6: electroTD - Length: * - UseTilesetExtension: true - TilesetOverrides: - DESERT: TEMPERAT - INTERIOR: TEMPERAT - JUNGLE: TEMPERAT - WINTER: TEMPERAT - DUNE: TEMPERAT - die7: cryot - Start: 416 - Length: 8 - die9: poisonTD - Length: * - die8: electroTD - Length: * - UseTilesetExtension: true - TilesetOverrides: - DESERT: TEMPERAT - INTERIOR: TEMPERAT - JUNGLE: TEMPERAT - WINTER: TEMPERAT - DUNE: TEMPERAT - die10: poisonTD - Length: * - die11: frozen - AddExtension: True - Length: * - die-crushed: corpse1 - Length: 6 - Tick: 1600 - ZOffset: -511 - UseTilesetExtension: true - TilesetOverrides: - INTERIOR: TEMPERAT - JUNGLE: TEMPERAT - WINTER: TEMPERAT - chrono-overlay: chronofade_small - Length: * - BlendMode: Additive - Offset: 0, 0 - UseTilesetCode: false - ZOffset: 512 - Tick: 80 - mind-overlay: mindanim - Length: * - Tick: 200 - BlendMode: Alpha - UseTilesetCode: false - Offset: 0, 0 - icon: cryoticnh - railgunner: stand: railgunner Facings: 8 diff --git a/mods/ca/weapons/missiles.yaml b/mods/ca/weapons/missiles.yaml index a6e49abf..1600c68f 100644 --- a/mods/ca/weapons/missiles.yaml +++ b/mods/ca/weapons/missiles.yaml @@ -1410,35 +1410,6 @@ CryoMissile: Warhead@1Dam: SpreadDamage Damage: 4000 -CryoGun: - Inherits: ^Cryo - ReloadDelay: 90 - Range: 5c512 - ValidTargets: Ground, Water - Projectile: LaserZap - Width: 25 - Duration: 20 - ZOffset: 2047 - Color: FFFFFF - SecondaryBeam: true - SecondaryBeamWidth: 50 - SecondaryBeamZOffset: 2047 - SecondaryBeamColor: 57BEFFBB - Blockable: true - -CryoMissileNHAW: - Inherits: CryoMissile - ReloadDelay: 250 - Report: vrocweaa.aud, vrocweab.aud - BurstDelays: 50 - Range: 7c0 - Projectile: Bullet - Image: cmiss - Speed: 230 - LaunchAngle: 3 - Warhead@1Dam: SpreadDamage - Damage: 1000 - BATFRockets: Inherits: Dragon Inherits: ^MissileAP diff --git a/mods/ca/weapons/weapontypes.yaml b/mods/ca/weapons/weapontypes.yaml index ababff63..99d0ae60 100644 --- a/mods/ca/weapons/weapontypes.yaml +++ b/mods/ca/weapons/weapontypes.yaml @@ -227,6 +227,7 @@ DamageTypes: SmallExplosionDeath Warhead@2Eff: CreateEffect Explosions: cryohit + ExplosionPalette: ra2effect-ignore-lighting-alpha75 ImpactSounds: cryozap.aud Warhead@chill: GrantExternalCondition Condition: chilled