diff --git a/mods/ra/rules/ships.yaml b/mods/ra/rules/ships.yaml index 982a533697..89f19e1caa 100644 --- a/mods/ra/rules/ships.yaml +++ b/mods/ra/rules/ships.yaml @@ -47,6 +47,9 @@ SS: CloakTypes: Underwater Range: 4 RenderDetectionCircle: + Explodes: + Weapon: UnitExplodeSubmarine + EmptyWeapon: UnitExplodeSubmarine MSUB: Inherits: ^Ship @@ -97,6 +100,9 @@ MSUB: CloakTypes: Underwater Range: 4 RenderDetectionCircle: + Explodes: + Weapon: UnitExplodeSubmarine + EmptyWeapon: UnitExplodeSubmarine DD: Inherits: ^Ship @@ -144,6 +150,9 @@ DD: CloakTypes: Underwater Range: 4 RenderDetectionCircle: + Explodes: + Weapon: UnitExplodeShip + EmptyWeapon: UnitExplodeShip CA: Inherits: ^Ship @@ -203,6 +212,9 @@ CA: Chronoshiftable: IronCurtainable: RepairableNear: + Explodes: + Weapon: UnitExplodeShip + EmptyWeapon: UnitExplodeShip LST: Inherits: ^Ship @@ -233,6 +245,9 @@ LST: PipCount: 5 IronCurtainable: RepairableNear: + Explodes: + Weapon: UnitExplodeShip + EmptyWeapon: UnitExplodeShip PT: Inherits: ^Ship @@ -281,4 +296,7 @@ PT: CloakTypes: Underwater Range: 4 RenderDetectionCircle: + Explodes: + Weapon: UnitExplodeShip + EmptyWeapon: UnitExplodeShip diff --git a/mods/ra/rules/vehicles.yaml b/mods/ra/rules/vehicles.yaml index dbcda00a1a..1fd2618b08 100644 --- a/mods/ra/rules/vehicles.yaml +++ b/mods/ra/rules/vehicles.yaml @@ -26,7 +26,7 @@ V2RL: AutoTarget: Explodes: Weapon: SCUD - EmptyWeapon: + EmptyWeapon: UnitExplodeSmall 1TNK: Inherits: ^Tank @@ -284,6 +284,9 @@ HARV: HarvesterHuskModifier: FullHuskActor: HARV.FullHusk FullnessThreshold: 50 + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall MCV: Inherits: ^Vehicle @@ -323,6 +326,9 @@ MCV: BaseBuilding: LeavesHusk: HuskActor: MCV.Husk + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall JEEP: Inherits: ^Vehicle @@ -360,6 +366,9 @@ JEEP: Types: Infantry MaxWeight: 1 PipCount: 1 + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall APC: Inherits: ^Tank @@ -393,6 +402,9 @@ APC: Types: Infantry MaxWeight: 5 PipCount: 5 + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall MNLY.AP: Inherits: ^Tank @@ -426,6 +438,8 @@ MNLY.AP: Range: 5 CloakTypes: Mine RenderDetectionCircle: + Explodes: + Weapon: APMine MNLY.AT: Inherits: ^Tank @@ -459,6 +473,8 @@ MNLY.AT: Range: 5 CloakTypes: Mine RenderDetectionCircle: + Explodes: + Weapon: ATMine TRUK: Inherits: ^Vehicle @@ -484,6 +500,9 @@ TRUK: RenderUnit: SupplyTruck: Payload: 500 + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall MGG: Inherits: ^Vehicle @@ -588,6 +607,9 @@ TTNK: Selectable: Bounds: 28,28,0,0 AutoTarget: + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall FTRK: Inherits: ^Vehicle @@ -695,6 +717,9 @@ CTNK: LocalYaw: -100 AttackFrontal: PortableChrono: + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall QTNK: Inherits: ^Tank @@ -772,4 +797,7 @@ STNK: UncloakOnUnload: True DetectCloaked: Range: 6 + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall diff --git a/mods/ra/weapons.yaml b/mods/ra/weapons.yaml index d0496da575..47026b4ef8 100644 --- a/mods/ra/weapons.yaml +++ b/mods/ra/weapons.yaml @@ -1092,7 +1092,7 @@ MiniNuke: Concrete: 25% Delay: 5 InfDeath: 5 - ImpactSound: kaboom22 + ImpactSound: kaboom22.aud Warhead@areanuke2: Damage: 600 Spread: 3c0 @@ -1126,6 +1126,35 @@ UnitExplode: WaterExplosion: large_splash InfDeath: 4 ImpactSound: kaboom22.aud + WaterImpactSound: splash9.aud + +UnitExplodeShip: + Warhead: + Damage: 50 + Spread: 426 + Versus: + None: 90% + Wood: 75% + Light: 60% + Heavy: 25% + Explosion: building + WaterExplosion: building + InfDeath: 4 + ImpactSound: kaboom25.aud + WaterImpactSound: kaboom25.aud + +UnitExplodeSubmarine: + Warhead: + Damage: 50 + Spread: 426 + Versus: + None: 90% + Wood: 75% + Light: 60% + Heavy: 25% + WaterExplosion: large_splash + InfDeath: 4 + WaterImpactSound: splash9.aud UnitExplodeSmall: Warhead: