From 77e1e77387aa2aa1ddb1549c102c9eb08de80a6e Mon Sep 17 00:00:00 2001 From: Smittytron Date: Tue, 20 Jul 2021 18:01:22 -0500 Subject: [PATCH] Use FireClusterWarhead with barrels --- mods/ra/weapons/explosions.yaml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/mods/ra/weapons/explosions.yaml b/mods/ra/weapons/explosions.yaml index faafc7ae1c..a5fd4d809a 100644 --- a/mods/ra/weapons/explosions.yaml +++ b/mods/ra/weapons/explosions.yaml @@ -142,15 +142,38 @@ CivPanicExplosion: Delay: 1 BarrelExplode: - Inherits: ^Explosion + Warhead@Cluster: FireCluster + Weapon: BarrelCluster + Dimensions: 3,3 + Footprint: _X_ X_X _X_ Warhead@1Dam: SpreadDamage + Spread: 325 Falloff: 1000, 368, 135, 50, 18, 7, 0 Delay: 5 ValidTargets: GroundActor, Trees Versus: None: 120 - Wood: 100 Light: 50 + Wood: 20 + Concrete: 10 + Warhead@2Eff: CreateEffect + Explosions: building + ImpactSounds: kaboom25.aud + Warhead@Smu: LeaveSmudge + SmudgeType: Crater + +BarrelCluster: + Inherits: ^Explosion + Projectile: InstantHit + Warhead@1Dam: SpreadDamage + Spread: 325 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + Delay: 5 + ValidTargets: GroundActor, Trees + Versus: + None: 120 + Light: 50 + Wood: 20 Concrete: 10 DamageTypes: Prone50Percent, TriggerProne, FireDeath, Incendiary Warhead@2Eff: CreateEffect @@ -160,8 +183,6 @@ BarrelExplode: -Warhead@3EffWater: Warhead@Smu: LeaveSmudge SmudgeType: Scorch - Size: 2 - Delay: 5 ATMine: ValidTargets: Ground, Water, GroundActor, WaterActor