diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index da03bffc3c..68c6846fec 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -410,6 +410,7 @@ DestroyedSounds: kaboom22.aud WithSpriteBody: WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct, large_napalm CaptureNotification: ShakeOnDeath: ProximityCaptor: diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index d0d3d81bf5..f15fcd2ebb 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -86,6 +86,8 @@ GAP: Amount: -60 MustBeDestroyed: RequiredForShortGame: false + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct SPEN: Inherits: ^Building @@ -414,6 +416,8 @@ TSLA: DetectCloaked: Range: 8c0 ProvidesPrerequisite@buildingname: + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct AGUN: Inherits: ^Defense @@ -461,6 +465,8 @@ AGUN: Amount: -50 DetectCloaked: Range: 6c0 + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct DOME: Inherits: ^Building @@ -539,6 +545,8 @@ PBOX: Amount: -15 DetectCloaked: Range: 6c0 + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct HBOX: Inherits: ^Defense @@ -585,6 +593,8 @@ HBOX: Power: Amount: -15 -MustBeDestroyed: + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct GUN: Inherits: ^Defense @@ -621,6 +631,8 @@ GUN: Amount: -40 DetectCloaked: Range: 7c0 + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct FTUR: Inherits: ^Defense @@ -657,6 +669,8 @@ FTUR: DetectCloaked: Range: 6c0 ProvidesPrerequisite@buildingname: + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct SAM: Inherits: ^Defense @@ -989,6 +1003,8 @@ SILO: -EmitInfantryOnSell: Power: Amount: -10 + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct HPAD: Inherits: ^Building @@ -1376,6 +1392,8 @@ KENN: Power: Amount: -10 ProvidesPrerequisite@buildingname: + WithBuildingExplosion: + Sequences: building, building_napalm, large_explosion, self_destruct TENT: Inherits: ^Building diff --git a/mods/ra/sequences/misc.yaml b/mods/ra/sequences/misc.yaml index 64e3d2ac88..fa64748390 100644 --- a/mods/ra/sequences/misc.yaml +++ b/mods/ra/sequences/misc.yaml @@ -13,46 +13,32 @@ powerdown: idle: explosion: + Defaults: + Length: * piff: piff - Length: * piffs: piffpiff - Length: * water_piff: wpiff - Length: * water_piffs: wpifpif - Length: * small_explosion: veh-hit3 - Length: * med_explosion: veh-hit2 - Length: * small_explosion_air: flak - Length: * med_explosion_air: veh-hit1 - Length: * large_splash: h2o_exp1 - Length: * napalm: napalm2 - Length: * + building_napalm: napalm2 + FlipX: true nuke: atomsfx - Length: * med_splash: h2o_exp2 - Length: * self_destruct: art-exp1 - Length: * artillery_explosion: art-exp1 - Length: * building: fball1 - Length: * Offset: 0,-9 small_splash: h2o_exp3 - Length: * large_explosion: frag1 - Length: * Offset: -2,0 small_napalm: napalm1 - Length: * + large_napalm: napalm3 corpse: corpse1 - Length: * Tick: 1600 UseTilesetExtension: true TilesetOverrides: