From 1477da7ff0a8ece8e67880e1741a228f20e4a150 Mon Sep 17 00:00:00 2001 From: Biofreak1987 Date: Mon, 16 May 2016 14:35:51 +0200 Subject: [PATCH] Add ship explosions to td mod --- mods/cnc/rules/defaults.yaml | 4 ++++ mods/cnc/rules/ships.yaml | 1 - mods/cnc/weapons/explosions.yaml | 5 +++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mods/cnc/rules/defaults.yaml b/mods/cnc/rules/defaults.yaml index b865001ec9..d2dfa0f9fd 100644 --- a/mods/cnc/rules/defaults.yaml +++ b/mods/cnc/rules/defaults.yaml @@ -446,6 +446,10 @@ ActorLostNotification: AttackMove: DrawLineToTarget: + WithSmoke: + Explodes: + Weapon: UnitExplodeShip + EmptyWeapon: UnitExplodeShip Guard: Guardable: Voiced: diff --git a/mods/cnc/rules/ships.yaml b/mods/cnc/rules/ships.yaml index f47932d01b..182b3ef066 100644 --- a/mods/cnc/rules/ships.yaml +++ b/mods/cnc/rules/ships.yaml @@ -31,7 +31,6 @@ BOAT: Bounds: 42,24 AutoTarget: AllowMovement: false - WithSmoke: RejectsOrders: SelectionDecorations: VisualBounds: 42,24 diff --git a/mods/cnc/weapons/explosions.yaml b/mods/cnc/weapons/explosions.yaml index d6f2be7e53..cec236b548 100644 --- a/mods/cnc/weapons/explosions.yaml +++ b/mods/cnc/weapons/explosions.yaml @@ -37,6 +37,11 @@ UnitExplode: Explosions: poof ImpactSounds: xplobig6.aud +UnitExplodeShip: + Inherits: UnitExplode + Warhead@2Eff: CreateEffect + Explosions: building + UnitExplodeSmall: Warhead@1Dam: SpreadDamage Spread: 426