From dc4073009d7538273a2452fb605070bfd6acd041 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Wed, 28 Dec 2016 13:51:47 +0100 Subject: [PATCH] Slim down D2k miniguns via inheritance --- mods/d2k/weapons/smallguns.yaml | 106 ++++---------------------------- 1 file changed, 12 insertions(+), 94 deletions(-) diff --git a/mods/d2k/weapons/smallguns.yaml b/mods/d2k/weapons/smallguns.yaml index abb4a728af..d58a75aef5 100644 --- a/mods/d2k/weapons/smallguns.yaml +++ b/mods/d2k/weapons/smallguns.yaml @@ -1,4 +1,4 @@ -LMG: +^MG: ReloadDelay: 30 Range: 2c512 Report: MGUN2.WAV @@ -21,143 +21,61 @@ LMG: Warhead@2Eff: CreateEffect Explosions: piffs +LMG: + Inherits: ^MG + Fremen_S: + Inherits: ^MG ReloadDelay: 40 - Range: 2c512 Report: FREMODD1.WAV - Projectile: Bullet - Speed: 1c256 - Warhead@1Dam: SpreadDamage - Spread: 128 - Falloff: 100, 50, 25, 0 - Damage: 125 - Versus: - wall: 10 - building: 25 - wood: 75 - light: 40 - heavy: 20 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath Warhead@2Eff: CreateEffect Explosions: small_explosion ImpactSounds: EXPLSML2.WAV M_LMG: + Inherits: ^MG ReloadDelay: 40 - Range: 2c512 - Report: MGUN2.WAV - Projectile: Bullet - Speed: 1c256 - Warhead@1Dam: SpreadDamage - Spread: 128 - Falloff: 100, 50, 25, 0 - Damage: 125 - Versus: - wall: 10 - building: 25 - wood: 75 - light: 40 - heavy: 20 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs M_HMG: + Inherits: ^MG ReloadDelay: 40 Range: 3c512 Report: 20MMGUN1.WAV - Projectile: Bullet - Speed: 1c256 Warhead@1Dam: SpreadDamage Spread: 192 - Falloff: 100, 50, 25, 0 Damage: 250 Versus: none: 25 + wall: 100 building: 50 wood: 65 + light: 100 heavy: 50 invulnerable: 0 cy: 20 harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs Fremen_L: - ReloadDelay: 40 - Delay: 5 - Range: 3c512 + Inherits: M_HMG Report: BAZOOK2.WAV - Projectile: Bullet - Speed: 1c256 Warhead@1Dam: SpreadDamage - Spread: 192 - Falloff: 100, 50, 25, 0 - Damage: 250 - Versus: - none: 25 - building: 50 - wood: 65 - heavy: 50 - invulnerable: 0 - cy: 20 - harvester: 50 DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath Warhead@2Eff: CreateEffect Explosions: small_explosion HMG: + Inherits: ^MG ReloadDelay: 20 Range: 3c0 Report: 20MMGUN1.WAV - Projectile: Bullet - Speed: 1c256 Warhead@1Dam: SpreadDamage Spread: 160 Falloff: 100, 60, 30, 0 Damage: 180 - Versus: - wall: 10 - building: 25 - wood: 75 - light: 40 - heavy: 20 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs HMGo: + Inherits: HMG ReloadDelay: 18 - Range: 3c0 - Report: 20MMGUN1.WAV - Projectile: Bullet - Speed: 1c256 - Warhead@1Dam: SpreadDamage - Spread: 160 - Falloff: 100, 60, 30, 0 - Damage: 180 - Versus: - wall: 10 - building: 25 - wood: 75 - light: 40 - heavy: 20 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs HMG_muzzle: ReloadDelay: 16