From ad9bc30c7e684563158c341030c8e736c1a8d252 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 6 Sep 2015 15:08:44 +0200 Subject: [PATCH] D2k added Grenadier and Sardaukar explosions --- mods/d2k/rules/infantry.yaml | 8 +++++-- mods/d2k/weapons.yaml | 46 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index c061b37f4f..80e3f525ea 100644 --- a/mods/d2k/rules/infantry.yaml +++ b/mods/d2k/rules/infantry.yaml @@ -164,8 +164,8 @@ grenadier: AttackSequence: throw IdleSequences: idle Explodes: - Weapon: UnitExplodeSmall - EmptyWeapon: UnitExplodeSmall + Weapon: GrenDeath + EmptyWeapon: GrenDeath AttractsWorms: Intensity: 180 @@ -197,6 +197,10 @@ sardaukar: Intensity: 180 Voiced: VoiceSet: GenericVoice + Explodes: + Weapon: SardDeath + EmptyWeapon: SardDeath + Chance: 100 saboteur: Inherits: ^Infantry diff --git a/mods/d2k/weapons.yaml b/mods/d2k/weapons.yaml index cb08d15eda..6c5583f674 100644 --- a/mods/d2k/weapons.yaml +++ b/mods/d2k/weapons.yaml @@ -766,6 +766,52 @@ Weathering: Warhead@1Dam: SpreadDamage Damage: 10 +GrenDeath: + Warhead@1Dam: SpreadDamage + Spread: 280 + Falloff: 100, 100, 100, 95, 60, 0 + Damage: 150 + Versus: + none: 125 + wall: 100 + building: 100 + wood: 70 + light: 30 + heavy: 20 + concrete: 100 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: building + ImpactSound: EXPLSML4.WAV + +SardDeath: + Warhead@1Dam: SpreadDamage + Spread: 280 + Falloff: 100, 100, 100, 95, 60, 25, 0 + Damage: 300 + Versus: + none: 15 + wall: 75 + building: 60 + wood: 65 + light: 90 + heavy: 100 + concrete: 100 + invulnerable: 0 + cy: 30 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: small_napalm + ImpactSound: EXPLSML2.WAV + Shrapnel: ReloadDelay: 60 Range: 4c0