From 9b34aa4d6bf21f274223b9d6a76ec73350763967 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 12 Feb 2017 23:13:50 +0100 Subject: [PATCH] Set up D2k wall explosion --- mods/d2k/rules/structures.yaml | 6 +++--- mods/d2k/sequences/misc.yaml | 5 +++++ mods/d2k/weapons/other.yaml | 5 +++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index 95ce9899d3..d5b5eb8a9d 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -610,9 +610,6 @@ wall: BuildDuration: 54 BuildDurationModifier: 40 Description: Stop units and blocks enemy fire. - SoundOnDamageTransition: - DamagedSounds: - DestroyedSounds: EXPLSML4.WAV Valued: Cost: 20 CustomSellValue: @@ -649,6 +646,9 @@ wall: Sellable: SellSounds: CHUNG.WAV Guardable: + Explodes: + Weapon: WallExplode + EmptyWeapon: WallExplode ThrowsShrapnel: Weapons: Debris, Debris3 Pieces: 2, 2 diff --git a/mods/d2k/sequences/misc.yaml b/mods/d2k/sequences/misc.yaml index c1d1b7074d..ae50eb5b1c 100644 --- a/mods/d2k/sequences/misc.yaml +++ b/mods/d2k/sequences/misc.yaml @@ -52,6 +52,11 @@ explosion: Start: 430 Length: 12 Tick: 1600 + wall_explosion: DATA.R8 + Start: 4130 + Length: 8 + Tick: 120 + BlendMode: Alpha large_trail: idle: DATA.R8 diff --git a/mods/d2k/weapons/other.yaml b/mods/d2k/weapons/other.yaml index 082e963c3d..4a389eaa9a 100644 --- a/mods/d2k/weapons/other.yaml +++ b/mods/d2k/weapons/other.yaml @@ -160,6 +160,11 @@ BuildingExplode: Warhead@1Eff: CreateEffect Explosions: building, self_destruct, large_explosion +WallExplode: + Warhead@1Eff: CreateEffect + Explosions: wall_explosion + ImpactSounds: EXPLHG1.WAV + grenade: ReloadDelay: 50 Range: 4c0