From 685be501687a2751665b4e767afcebd15a6c0c4d Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 6 Sep 2015 03:48:23 +0200 Subject: [PATCH] Added original D2k debris --- mods/d2k/mod.yaml | 1 + mods/d2k/rules/defaults.yaml | 6 +- mods/d2k/rules/structures.yaml | 6 +- mods/d2k/sequences/misc.yaml | 17 ++++- mods/d2k/weapons.yaml | 29 -------- mods/d2k/weapons/debris.yaml | 132 +++++++++++++++++++++++++++++++++ 6 files changed, 159 insertions(+), 32 deletions(-) create mode 100644 mods/d2k/weapons/debris.yaml diff --git a/mods/d2k/mod.yaml b/mods/d2k/mod.yaml index 729e9a911b..066226c24e 100644 --- a/mods/d2k/mod.yaml +++ b/mods/d2k/mod.yaml @@ -106,6 +106,7 @@ ChromeLayout: Weapons: ./mods/d2k/weapons.yaml + ./mods/d2k/weapons/debris.yaml Voices: ./mods/d2k/audio/voices.yaml diff --git a/mods/d2k/rules/defaults.yaml b/mods/d2k/rules/defaults.yaml index 787b016110..1b4bb3af70 100644 --- a/mods/d2k/rules/defaults.yaml +++ b/mods/d2k/rules/defaults.yaml @@ -281,7 +281,7 @@ Demolishable: DamagedWithoutFoundation: ThrowsShrapnel: - Weapons: shrapnel + Weapons: Debris, Debris2, Debris3, Debris4 Pieces: 3, 7 Range: 2c0, 5c0 WithMakeAnimation: @@ -300,6 +300,10 @@ WithWallSpriteBody: LineBuildNode: Types: turret + ThrowsShrapnel: + Weapons: Debris, Debris2, Debris3, Debris4 + Pieces: 2, 5 + Range: 2c0, 5c0 MustBeDestroyed: RequiredForShortGame: false diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index 67abbf65a1..f690b699c5 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -257,6 +257,10 @@ silo: Amount: -5 MustBeDestroyed: RequiredForShortGame: false + ThrowsShrapnel: + Weapons: Debris, Debris2, Debris3, Debris4 + Pieces: 3, 5 + Range: 2c0, 5c0 light_factory: Inherits: ^Building @@ -518,7 +522,7 @@ wall: SellSounds: CHUNG.WAV Guardable: ThrowsShrapnel: - Weapons: shrapnel + Weapons: Debris, Debris2, Debris3, Debris4 Pieces: 3, 7 Range: 2c0, 5c0 diff --git a/mods/d2k/sequences/misc.yaml b/mods/d2k/sequences/misc.yaml index ee07d7f6ce..bb02238c20 100644 --- a/mods/d2k/sequences/misc.yaml +++ b/mods/d2k/sequences/misc.yaml @@ -274,7 +274,22 @@ grenade: shrapnel: idle: DATA.R8 Start: 3290 - Length: 14 + Length: 4 + +shrapnel2: + idle: DATA.R8 + Start: 3294 + Length: 1 + +shrapnel3: + idle: DATA.R8 + Start: 3295 + Length: 8 + +shrapnel4: + idle: DATA.R8 + Start: 3303 + Length: 1 mpspawn: idle: mpspawn.shp diff --git a/mods/d2k/weapons.yaml b/mods/d2k/weapons.yaml index 5df61ce710..eccf818f1b 100644 --- a/mods/d2k/weapons.yaml +++ b/mods/d2k/weapons.yaml @@ -824,35 +824,6 @@ SardDeath: Explosion: small_napalm ImpactSound: EXPLSML2.WAV -Shrapnel: - ReloadDelay: 60 - Range: 4c0 - Projectile: Bullet - Speed: 50, 125 - Blockable: false - Angle: 91, 264 - Image: shrapnel - Warhead@1Dam: SpreadDamage - Spread: 192 - Damage: 60 - Versus: - none: 50 - wall: 50 - building: 65 - wood: 100 - light: 25 - heavy: 5 - concrete: 50 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater - Warhead@3Eff: CreateEffect - Explosion: med_explosion - ImpactSound: EXPLLG5.WAV - SpiceExplosion: Warhead@1Dam: SpreadDamage Spread: 480 diff --git a/mods/d2k/weapons/debris.yaml b/mods/d2k/weapons/debris.yaml new file mode 100644 index 0000000000..48e5555747 --- /dev/null +++ b/mods/d2k/weapons/debris.yaml @@ -0,0 +1,132 @@ +Debris: + ReloadDelay: 60 + Range: 2c768 + Projectile: Bullet + Speed: 32, 96 + Blockable: false + Angle: 30, 90 + Inaccuracy: 1c256 + Image: shrapnel + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 100, 100, 95, 60, 25, 0 + Damage: 150 + Versus: + none: 20 + wall: 50 + building: 50 + wood: 60 + light: 100 + heavy: 75 + concrete: 100 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater + Warhead@3Eff: CreateEffect + Explosion: small_explosion + ImpactSound: EXPLLG5.WAV + +Debris2: + ReloadDelay: 60 + Range: 2c768 + Projectile: Bullet + Speed: 32, 96 + Blockable: false + Angle: 30, 90 + Inaccuracy: 1c256 + Image: shrapnel2 + Trail: bazooka_trail + TrailPalette: effect75alpha + TrailInterval: 2 + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 100, 100, 95, 60, 25, 0 + Damage: 250 + Versus: + none: 90 + wall: 5 + building: 65 + wood: 50 + light: 40 + heavy: 30 + concrete: 100 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater + Warhead@3Eff: CreateEffect + Explosion: med_explosion + ImpactSound: EXPLLG5.WAV + +Debris3: + ReloadDelay: 60 + Range: 2c768 + Projectile: Bullet + Speed: 32, 96 + Blockable: false + Angle: 30, 90 + Inaccuracy: 1c256 + Image: shrapnel3 + Trail: large_trail + TrailPalette: effect75alpha + TrailInterval: 1 + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 100, 100, 95, 60, 25, 0 + Damage: 150 + Versus: + none: 90 + wall: 5 + building: 65 + wood: 50 + light: 40 + heavy: 30 + concrete: 100 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater + Warhead@3Eff: CreateEffect + Explosion: med_explosion + ImpactSound: EXPLLG5.WAV + +Debris4: + ReloadDelay: 60 + Range: 2c768 + Projectile: Bullet + Speed: 32, 96 + Blockable: false + Angle: 30, 90 + Inaccuracy: 1c256 + Image: shrapnel4 + Trail: large_trail + TrailPalette: effect75alpha + TrailInterval: 1 + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 100, 100, 95, 60, 25, 0 + Damage: 250 + Versus: + none: 90 + wall: 5 + building: 65 + wood: 50 + light: 40 + heavy: 30 + concrete: 100 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater + Warhead@3Eff: CreateEffect + Explosion: large_explosion + ImpactSound: EXPLLG5.WAV