From ef290a9596e1c2e74dced178c799e22e9d54eded Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 14 Jan 2016 20:48:21 +0100 Subject: [PATCH] Split D2k weapons.yaml To make things more organized and in line with other mods. --- mods/d2k/mod.yaml | 5 +- mods/d2k/weapons.yaml | 851 -------------------------------- mods/d2k/weapons/largeguns.yaml | 166 +++++++ mods/d2k/weapons/missiles.yaml | 185 +++++++ mods/d2k/weapons/other.yaml | 323 ++++++++++++ mods/d2k/weapons/smallguns.yaml | 174 +++++++ 6 files changed, 852 insertions(+), 852 deletions(-) delete mode 100644 mods/d2k/weapons.yaml create mode 100644 mods/d2k/weapons/largeguns.yaml create mode 100644 mods/d2k/weapons/missiles.yaml create mode 100644 mods/d2k/weapons/other.yaml create mode 100644 mods/d2k/weapons/smallguns.yaml diff --git a/mods/d2k/mod.yaml b/mods/d2k/mod.yaml index 2bace6adeb..6830a16f2e 100644 --- a/mods/d2k/mod.yaml +++ b/mods/d2k/mod.yaml @@ -110,8 +110,11 @@ ChromeLayout: ./mods/ra/chrome/replaybrowser.yaml Weapons: - d2k:weapons.yaml d2k:weapons/debris.yaml + d2k:weapons/smallguns.yaml + d2k:weapons/largeguns.yaml + d2k:weapons/missiles.yaml + d2k:weapons/other.yaml Voices: d2k:audio/voices.yaml diff --git a/mods/d2k/weapons.yaml b/mods/d2k/weapons.yaml deleted file mode 100644 index a13bc250fd..0000000000 --- a/mods/d2k/weapons.yaml +++ /dev/null @@ -1,851 +0,0 @@ -LMG: - ReloadDelay: 30 - 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 - Explosion: piffs - -Bazooka: - ReloadDelay: 40 - Range: 3c0 - Report: ROCKET1.WAV - Projectile: Missile - MaximumLaunchSpeed: 281 - Inaccuracy: 256 - Image: RPG - HorizontalRateOfTurn: 1 - TrailImage: bazooka_trail2 - TrailPalette: effect75alpha - TrailInterval: 1 - RangeLimit: 35 - Warhead@1Dam: SpreadDamage - Spread: 192 - Falloff: 100, 50, 25, 0 - Damage: 300 - Versus: - none: 8 - wall: 75 - building: 40 - wood: 45 - light: 70 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: tiny_explosion - ImpactSound: EXPLSML1.WAV - -Fremen_S: - 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 - Explosion: small_explosion - ImpactSound: EXPLSML2.WAV - -M_LMG: - 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 - Explosion: piffs - -M_HMG: - 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 - building: 50 - wood: 65 - heavy: 50 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosion: piffs - -Fremen_L: - ReloadDelay: 40 - Delay: 5 - Range: 3c512 - 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 - Explosion: small_explosion - -HMG: - 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 - Explosion: piffs - -HMGo: - 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 - Explosion: piffs - -HMG_muzzle: - ReloadDelay: 16 - Range: 3c0 - Burst: 3 - BurstDelay: 2 - Warhead@TargetValidation: SpreadDamage - -HMGo_muzzle: - ReloadDelay: 14 - Range: 3c0 - Burst: 3 - BurstDelay: 2 - Warhead@TargetValidation: SpreadDamage - -Rocket: - ReloadDelay: 30 - Range: 3c512 - Report: ROCKET1.WAV - Projectile: Missile - Inaccuracy: 256 - Image: RPG - HorizontalRateOfTurn: 0 - TrailImage: bazooka_trail2 - TrailPalette: effect75alpha - TrailInterval: 1 - MaximumLaunchSpeed: 343 - RangeLimit: 35 - Warhead@1Dam: SpreadDamage - Spread: 160 - 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@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: rocket_explosion - ExplosionPalette: effect75alpha - ImpactSound: EXPLSML1.WAV - -110mm_Gun: - ReloadDelay: 35 - Range: 5c0 - Report: TURRET1.WAV - Projectile: Bullet - Speed: 875 - Blockable: false - Shadow: no - Inaccuracy: 380 - Image: 120mm - Warhead@1Dam: SpreadDamage - Spread: 256 - Falloff: 100, 50, 25, 0 - Damage: 290 - Versus: - none: 20 - wall: 50 - building: 50 - wood: 60 - heavy: 75 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: small_napalm - ImpactSound: EXPLSML4.WAV - -TowerMissile: - ReloadDelay: 60 - Burst: 2 - BurstDelay: 60 - Range: 5c512 - MinRange: 1c0 - Report: ROCKET1.WAV - ValidTargets: Ground, Air - Projectile: Missile - Blockable: false - Shadow: true - HorizontalRateOfTurn: 1 - RangeLimit: 50 - Inaccuracy: 384 - Image: MISSILE2 - TrailImage: large_trail - TrailInterval: 1 - MaximumLaunchSpeed: 320 - Warhead@1Dam: SpreadDamage - Spread: 256 - Falloff: 100, 50, 25, 0 - Damage: 480 - ValidTargets: Ground, Air - Versus: - none: 15 - wall: 75 - building: 60 - wood: 65 - light: 90 - invulnerable: 0 - cy: 30 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: small_explosion - ImpactSound: EXPLSML1.WAV - -80mm_A: - ReloadDelay: 50 - Range: 4c0 - Report: MEDTANK1.WAV - Projectile: Bullet - Speed: 562 - Inaccuracy: 380 - Image: 120mm - Warhead@1Dam: SpreadDamage - Spread: 256 - Falloff: 100, 50, 25, 0 - Damage: 270 - Versus: - none: 20 - wall: 50 - building: 50 - wood: 60 - heavy: 75 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: small_napalm - -80mm_H: - ReloadDelay: 55 - Range: 4c0 - Report: MEDTANK1.WAV - Projectile: Bullet - Speed: 562 - Inaccuracy: 380 - Image: 120mm - Warhead@1Dam: SpreadDamage - Spread: 256 - Falloff: 100, 50, 25, 0 - Damage: 270 - Versus: - none: 20 - wall: 50 - building: 50 - wood: 60 - heavy: 75 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: small_napalm - -80mm_O: - ReloadDelay: 45 - Range: 4c0 - Report: MEDTANK1.WAV - Projectile: Bullet - Speed: 562 - Inaccuracy: 380 - Image: 120mm - Warhead@1Dam: SpreadDamage - Spread: 256 - Falloff: 100, 50, 25, 0 - Damage: 270 - Versus: - none: 20 - wall: 50 - building: 50 - wood: 60 - heavy: 75 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: small_napalm - -DevBullet: - ReloadDelay: 75 - Range: 4c0 - Report: TANKHVY1.WAV - Projectile: Bullet - Speed: 281 - Blockable: true - Image: doubleblastbullet - Warhead@1Dam: SpreadDamage - Spread: 384 - Falloff: 100, 50, 25, 0 - Damage: 650 - Versus: - none: 50 - building: 75 - wood: 60 - invulnerable: 0 - cy: 40 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: shockwave - ImpactSound: EXPLMD1.WAV - -mtank_pri: - ReloadDelay: 115 - Burst: 2 - BurstDelay: 115 - Range: 6c0 - Report: ROCKET1.WAV - ValidTargets: Ground, Air - Projectile: Missile - MaximumLaunchSpeed: 281 - RangeLimit: 50 - HorizontalRateOfTurn: 3 - Blockable: false - Shadow: yes - Inaccuracy: 96 - Image: MISSILE2 - TrailImage: large_trail - TrailInterval: 1 - Warhead@1Dam: SpreadDamage - Spread: 256 - Falloff: 100, 50, 25, 0 - Damage: 600 - ValidTargets: Ground, Air - Versus: - none: 15 - wall: 75 - building: 60 - wood: 65 - light: 90 - invulnerable: 0 - cy: 30 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: small_explosion - ImpactSound: EXPLSML1.WAV - -DeviatorMissile: - ReloadDelay: 160 - Range: 5c0 - Report: MISSLE1.WAV - Projectile: Missile - MaximumLaunchSpeed: 281 - RangeLimit: 40 - HorizontalRateOfTurn: 3 - Blockable: false - Shadow: yes - Inaccuracy: 768 - Image: MISSILE - TrailImage: deviator_trail - TrailPalette: deviatorgas - TrailUsePlayerPalette: true - TrailInterval: 1 - Warhead@1Dam: SpreadDamage - Spread: 256 - Falloff: 100, 50, 25, 0 - Damage: 500 - Versus: - none: 20 - wall: 20 - building: 20 - wood: 20 - light: 20 - heavy: 20 - invulnerable: 0 - cy: 10 - harvester: 20 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: deviator - ExplosionPalette: deviatorgas - UsePlayerPalette: true - ImpactSound: EXPLSML1.WAV - Warhead@4OwnerChange: ChangeOwner - Range: 256 - Duration: 375 - InvalidTargets: Infantry, Structure - -155mm: - ReloadDelay: 80 - Range: 5c512 - Report: MORTAR1.WAV - Projectile: Bullet - Speed: 192 - Blockable: false - Shadow: yes - Angle: 62 - Inaccuracy: 768 - ContrailLength: 20 - Image: 155mm - Warhead@1Dam: SpreadDamage - Spread: 416 - Falloff: 100, 65, 35, 20, 0 - Damage: 450 - Versus: - none: 125 - wood: 70 - light: 30 - heavy: 20 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater, RockCrater - Warhead@3Eff: CreateEffect - Explosion: med_explosion - ImpactSound: EXPLMD2.WAV - -Sound: - ReloadDelay: 90 - Range: 5c0 - Report: SONIC1.WAV - Projectile: AreaBeam - Speed: 0c128 - Duration: 4 # Has a length of 0c512 - DamageInterval: 3 # Travels 0c384 between impacts, will hit a target roughly three times - Width: 0c512 - Shape: Flat - Falloff: 100, 100, 50 - Range: 0, 6c0, 11c0 - BeyondTargetRange: 1c0 - Color: 00FFFFC8 - Warhead@1Dam: SpreadDamage - Range: 0, 32 - Falloff: 100, 100 - Damage: 150 - AffectsParent: false - ValidStances: Neutral, Enemy - Versus: - wall: 50 - building: 60 - heavy: 60 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SoundDeath - Warhead@2Dam: SpreadDamage - Range: 0, 32 - Falloff: 50, 50 # Only does half damage to friendly units - Damage: 150 - InvalidTargets: Sonictank # Does not affect friendly sonic tanks at all - AffectsParent: false - ValidStances: Ally - Versus: - wall: 50 - building: 60 - heavy: 60 - invulnerable: 0 - cy: 20 - harvester: 50 - DamageTypes: Prone50Percent, TriggerProne, SoundDeath - -Heal: - ReloadDelay: 160 - Range: 4c0 - Report: - ValidTargets: Infantry - Projectile: Bullet - Speed: 1c256 - Warhead@1Dam: SpreadDamage - Spread: 160 - Falloff: 100, 100, 0 - Damage: -200 - ValidTargets: Infantry - DebugOverlayColor: 00FF00 - -WormJaw: - ReloadDelay: 10 - InvalidTargets: Structure, Infantry - Range: 1c512 - Warhead@1Dam: SpreadDamage - InvalidTargets: Structure, Infantry - Spread: 768 - Falloff: 100, 100, 0 - Damage: 10000 - -OrniBomb: - ReloadDelay: 25 - Burst: 5 - BurstDelay: 3 - Range: 3c0 - Projectile: GravityBomb - Image: BOMBS - Warhead@1Dam: SpreadDamage - Spread: 320 - Falloff: 100, 60, 30, 15, 0 - Damage: 1000 #400 in original, reduce when bombers can do multiple passes - Versus: - none: 90 - wall: 50 - building: 75 - wood: 60 - light: 60 - heavy: 60 - invulnerable: 0 - cy: 25 - harvester: 60 - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Crater - Warhead@3Eff: CreateEffect - Explosion: large_explosion - ImpactSound: NAPALM1.WAV - -Crush: - Warhead@1Dam: SpreadDamage - Damage: 100 - DamageTypes: ExplosionDeath - Warhead@2Eff: CreateEffect - ImpactSound: CRUSH1.WAV - -Demolish: - Warhead@1Dam: SpreadDamage - DamageTypes: ExplosionDeath - Warhead@2Eff: CreateEffect - Explosion: building - ImpactSound: EXPLLG2.WAV - -Atomic: - Warhead@1Dam: SpreadDamage - Spread: 1c0 - Falloff: 200, 100, 50, 25, 12, 0 - Damage: 2700 ##225 in vanilla but of course is a cluster bomb instead, so damage spread out - Versus: - none: 90 - wall: 50 - building: 75 - wood: 60 - light: 60 - heavy: 60 - invulnerable: 0 - cy: 25 - harvester: 60 - DamageTypes: Prone50Percent, TriggerProne, SoundDeath - Warhead@2Eff: CreateEffect - Explosion: nuke - ImpactSound: EXPLLG2.WAV - -CrateNuke: - Warhead@1Dam: SpreadDamage - Spread: 320 - Falloff: 100, 60, 30, 15, 0 - Damage: 500 - Versus: - none: 90 - wall: 50 - building: 75 - wood: 60 - light: 60 - heavy: 60 - invulnerable: 0 - cy: 25 - harvester: 60 - AffectsParent: true - DamageTypes: Prone50Percent, TriggerProne, SoundDeath - Warhead@2Eff: CreateEffect - Explosion: nuke - ImpactSound: EXPLLG2.WAV - -CrateExplosion: - Warhead@1Dam: SpreadDamage - Spread: 320 - Falloff: 100, 60, 30, 15, 0 - Damage: 500 - Versus: - none: 90 - wall: 5 - building: 65 - wood: 50 - light: 40 - heavy: 30 - invulnerable: 0 - cy: 20 - harvester: 25 - AffectsParent: true - DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath - Warhead@2Eff: CreateEffect - Explosion: large_explosion - ImpactSound: EXPLSML4.WAV - -UnitExplodeSmall: - Warhead@1Eff: CreateEffect - Explosion: self_destruct - ImpactSound: EXPLSML1.WAV - -UnitExplodeMed: - Warhead@1Eff: CreateEffect - Explosion: building - ImpactSound: EXPLSML2.WAV - -UnitExplodeLarge: - Warhead@1Eff: CreateEffect - Explosion: large_explosion - ImpactSound: EXPLLG2.WAV - -grenade: - ReloadDelay: 50 - Range: 4c0 - Projectile: Bullet - Speed: 256 - Blockable: false - Angle: 75 - Inaccuracy: 416 - Image: grenade - Shadow: true - Warhead@1Dam: SpreadDamage - Spread: 320 - Falloff: 100, 65, 35, 20, 0 - Damage: 150 - Versus: - none: 125 - wood: 70 - light: 30 - heavy: 20 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: SandCrater - Warhead@3Eff: CreateEffect - Explosion: med_explosion - ImpactSound: EXPLLG5.WAV - -Weathering: - ReloadDelay: 100 - Warhead@1Dam: SpreadDamage - Damage: 10 - -GrenDeath: - Warhead@1Dam: SpreadDamage - Spread: 320 - Falloff: 100, 60, 30, 15, 0 - Damage: 150 - Versus: - none: 125 - wood: 70 - light: 30 - heavy: 20 - 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: 256 - Falloff: 100, 50, 25, 0 - Damage: 300 - Versus: - none: 15 - wall: 75 - building: 60 - wood: 65 - light: 90 - 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 - -SpiceExplosion: - Projectile: Bullet - Speed: 50, 75 - Blockable: false - Angle: 60, 90 - Trail: large_trail - Image: 120mm - Warhead@1Dam: SpreadDamage - Spread: 320 - Falloff: 100, 60, 30, 15, 0 - Damage: 75 - Versus: - none: 90 - wall: 5 - building: 65 - wood: 50 - light: 40 - heavy: 30 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - AffectsParent: true - Warhead@2Res: CreateResource - AddsResourceType: Spice - Size: 1 - Warhead@3Eff: CreateEffect - Explosion: med_explosion - -BloomExplosion: - Report: EXPLMD1.WAV - Range: 0c8 - Projectile: Bullet - Speed: 1c0 - Blockable: false - Image: null - Warhead@1Dam: SpreadDamage - Spread: 320 - Falloff: 100, 60, 30, 15, 0 - Damage: 750 - Versus: - none: 90 - wall: 5 - building: 65 - wood: 50 - light: 40 - heavy: 30 - invulnerable: 0 - cy: 20 - harvester: 25 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - AffectsParent: true - -BloomSpawn: - Range: 0c1 - Projectile: Bullet - Speed: 1c0 - Blockable: false - Image: null - Warhead@1Eff: CreateEffect - Explosion: bloomspawn diff --git a/mods/d2k/weapons/largeguns.yaml b/mods/d2k/weapons/largeguns.yaml new file mode 100644 index 0000000000..54846b65d9 --- /dev/null +++ b/mods/d2k/weapons/largeguns.yaml @@ -0,0 +1,166 @@ +110mm_Gun: + ReloadDelay: 35 + Range: 5c0 + Report: TURRET1.WAV + Projectile: Bullet + Speed: 875 + Blockable: false + Shadow: no + Inaccuracy: 380 + Image: 120mm + Warhead@1Dam: SpreadDamage + Spread: 256 + Falloff: 100, 50, 25, 0 + Damage: 290 + Versus: + none: 20 + wall: 50 + building: 50 + wood: 60 + heavy: 75 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: small_napalm + ImpactSound: EXPLSML4.WAV + +80mm_A: + ReloadDelay: 50 + Range: 4c0 + Report: MEDTANK1.WAV + Projectile: Bullet + Speed: 562 + Inaccuracy: 380 + Image: 120mm + Warhead@1Dam: SpreadDamage + Spread: 256 + Falloff: 100, 50, 25, 0 + Damage: 270 + Versus: + none: 20 + wall: 50 + building: 50 + wood: 60 + heavy: 75 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: small_napalm + +80mm_H: + ReloadDelay: 55 + Range: 4c0 + Report: MEDTANK1.WAV + Projectile: Bullet + Speed: 562 + Inaccuracy: 380 + Image: 120mm + Warhead@1Dam: SpreadDamage + Spread: 256 + Falloff: 100, 50, 25, 0 + Damage: 270 + Versus: + none: 20 + wall: 50 + building: 50 + wood: 60 + heavy: 75 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: small_napalm + +80mm_O: + ReloadDelay: 45 + Range: 4c0 + Report: MEDTANK1.WAV + Projectile: Bullet + Speed: 562 + Inaccuracy: 380 + Image: 120mm + Warhead@1Dam: SpreadDamage + Spread: 256 + Falloff: 100, 50, 25, 0 + Damage: 270 + Versus: + none: 20 + wall: 50 + building: 50 + wood: 60 + heavy: 75 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: small_napalm + +DevBullet: + ReloadDelay: 75 + Range: 4c0 + Report: TANKHVY1.WAV + Projectile: Bullet + Speed: 281 + Blockable: true + Image: doubleblastbullet + Warhead@1Dam: SpreadDamage + Spread: 384 + Falloff: 100, 50, 25, 0 + Damage: 650 + Versus: + none: 50 + building: 75 + wood: 60 + invulnerable: 0 + cy: 40 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: shockwave + ImpactSound: EXPLMD1.WAV + +155mm: + ReloadDelay: 80 + Range: 5c512 + Report: MORTAR1.WAV + Projectile: Bullet + Speed: 192 + Blockable: false + Shadow: yes + Angle: 62 + Inaccuracy: 768 + ContrailLength: 20 + Image: 155mm + Warhead@1Dam: SpreadDamage + Spread: 416 + Falloff: 100, 65, 35, 20, 0 + Damage: 450 + Versus: + none: 125 + wood: 70 + light: 30 + heavy: 20 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: med_explosion + ImpactSound: EXPLMD2.WAV diff --git a/mods/d2k/weapons/missiles.yaml b/mods/d2k/weapons/missiles.yaml new file mode 100644 index 0000000000..a6d506c016 --- /dev/null +++ b/mods/d2k/weapons/missiles.yaml @@ -0,0 +1,185 @@ +Bazooka: + ReloadDelay: 40 + Range: 3c0 + Report: ROCKET1.WAV + Projectile: Missile + MaximumLaunchSpeed: 281 + Inaccuracy: 256 + Image: RPG + HorizontalRateOfTurn: 1 + TrailImage: bazooka_trail2 + TrailPalette: effect75alpha + TrailInterval: 1 + RangeLimit: 35 + Warhead@1Dam: SpreadDamage + Spread: 192 + Falloff: 100, 50, 25, 0 + Damage: 300 + Versus: + none: 8 + wall: 75 + building: 40 + wood: 45 + light: 70 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: tiny_explosion + ImpactSound: EXPLSML1.WAV + +Rocket: + ReloadDelay: 30 + Range: 3c512 + Report: ROCKET1.WAV + Projectile: Missile + Inaccuracy: 256 + Image: RPG + HorizontalRateOfTurn: 0 + TrailImage: bazooka_trail2 + TrailPalette: effect75alpha + TrailInterval: 1 + MaximumLaunchSpeed: 343 + RangeLimit: 35 + Warhead@1Dam: SpreadDamage + Spread: 160 + 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@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: rocket_explosion + ExplosionPalette: effect75alpha + ImpactSound: EXPLSML1.WAV + +TowerMissile: + ReloadDelay: 60 + Burst: 2 + BurstDelay: 60 + Range: 5c512 + MinRange: 1c0 + Report: ROCKET1.WAV + ValidTargets: Ground, Air + Projectile: Missile + Blockable: false + Shadow: true + HorizontalRateOfTurn: 1 + RangeLimit: 50 + Inaccuracy: 384 + Image: MISSILE2 + TrailImage: large_trail + TrailInterval: 1 + MaximumLaunchSpeed: 320 + Warhead@1Dam: SpreadDamage + Spread: 256 + Falloff: 100, 50, 25, 0 + Damage: 480 + ValidTargets: Ground, Air + Versus: + none: 15 + wall: 75 + building: 60 + wood: 65 + light: 90 + invulnerable: 0 + cy: 30 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: small_explosion + ImpactSound: EXPLSML1.WAV + +mtank_pri: + ReloadDelay: 115 + Burst: 2 + BurstDelay: 115 + Range: 6c0 + Report: ROCKET1.WAV + ValidTargets: Ground, Air + Projectile: Missile + MaximumLaunchSpeed: 281 + RangeLimit: 50 + HorizontalRateOfTurn: 3 + Blockable: false + Shadow: yes + Inaccuracy: 96 + Image: MISSILE2 + TrailImage: large_trail + TrailInterval: 1 + Warhead@1Dam: SpreadDamage + Spread: 256 + Falloff: 100, 50, 25, 0 + Damage: 600 + ValidTargets: Ground, Air + Versus: + none: 15 + wall: 75 + building: 60 + wood: 65 + light: 90 + invulnerable: 0 + cy: 30 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: small_explosion + ImpactSound: EXPLSML1.WAV + +DeviatorMissile: + ReloadDelay: 160 + Range: 5c0 + Report: MISSLE1.WAV + Projectile: Missile + MaximumLaunchSpeed: 281 + RangeLimit: 40 + HorizontalRateOfTurn: 3 + Blockable: false + Shadow: yes + Inaccuracy: 768 + Image: MISSILE + TrailImage: deviator_trail + TrailPalette: deviatorgas + TrailUsePlayerPalette: true + TrailInterval: 1 + Warhead@1Dam: SpreadDamage + Spread: 256 + Falloff: 100, 50, 25, 0 + Damage: 500 + Versus: + none: 20 + wall: 20 + building: 20 + wood: 20 + light: 20 + heavy: 20 + invulnerable: 0 + cy: 10 + harvester: 20 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater, RockCrater + Warhead@3Eff: CreateEffect + Explosion: deviator + ExplosionPalette: deviatorgas + UsePlayerPalette: true + ImpactSound: EXPLSML1.WAV + Warhead@4OwnerChange: ChangeOwner + Range: 256 + Duration: 375 + InvalidTargets: Infantry, Structure diff --git a/mods/d2k/weapons/other.yaml b/mods/d2k/weapons/other.yaml new file mode 100644 index 0000000000..d7fb2237c8 --- /dev/null +++ b/mods/d2k/weapons/other.yaml @@ -0,0 +1,323 @@ +Sound: + ReloadDelay: 90 + Range: 5c0 + Report: SONIC1.WAV + Projectile: AreaBeam + Speed: 0c128 + Duration: 4 # Has a length of 0c512 + DamageInterval: 3 # Travels 0c384 between impacts, will hit a target roughly three times + Width: 0c512 + Shape: Flat + Falloff: 100, 100, 50 + Range: 0, 6c0, 11c0 + BeyondTargetRange: 1c0 + Color: 00FFFFC8 + Warhead@1Dam: SpreadDamage + Range: 0, 32 + Falloff: 100, 100 + Damage: 150 + AffectsParent: false + ValidStances: Neutral, Enemy + Versus: + wall: 50 + building: 60 + heavy: 60 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SoundDeath + Warhead@2Dam: SpreadDamage + Range: 0, 32 + Falloff: 50, 50 # Only does half damage to friendly units + Damage: 150 + InvalidTargets: Sonictank # Does not affect friendly sonic tanks at all + AffectsParent: false + ValidStances: Ally + Versus: + wall: 50 + building: 60 + heavy: 60 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, SoundDeath + +Heal: + ReloadDelay: 160 + Range: 4c0 + Report: + ValidTargets: Infantry + Projectile: Bullet + Speed: 1c256 + Warhead@1Dam: SpreadDamage + Spread: 160 + Falloff: 100, 100, 0 + Damage: -200 + ValidTargets: Infantry + DebugOverlayColor: 00FF00 + +WormJaw: + ReloadDelay: 10 + InvalidTargets: Structure, Infantry + Range: 1c512 + Warhead@1Dam: SpreadDamage + InvalidTargets: Structure, Infantry + Spread: 768 + Falloff: 100, 100, 0 + Damage: 10000 + +OrniBomb: + ReloadDelay: 25 + Burst: 5 + BurstDelay: 3 + Range: 3c0 + Projectile: GravityBomb + Image: BOMBS + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 60, 30, 15, 0 + Damage: 1000 #400 in original, reduce when bombers can do multiple passes + Versus: + none: 90 + wall: 50 + building: 75 + wood: 60 + light: 60 + heavy: 60 + invulnerable: 0 + cy: 25 + harvester: 60 + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Crater + Warhead@3Eff: CreateEffect + Explosion: large_explosion + ImpactSound: NAPALM1.WAV + +Crush: + Warhead@1Dam: SpreadDamage + Damage: 100 + DamageTypes: ExplosionDeath + Warhead@2Eff: CreateEffect + ImpactSound: CRUSH1.WAV + +Demolish: + Warhead@1Dam: SpreadDamage + DamageTypes: ExplosionDeath + Warhead@2Eff: CreateEffect + Explosion: building + ImpactSound: EXPLLG2.WAV + +Atomic: + Warhead@1Dam: SpreadDamage + Spread: 1c0 + Falloff: 200, 100, 50, 25, 12, 0 + Damage: 2700 ##225 in vanilla but of course is a cluster bomb instead, so damage spread out + Versus: + none: 90 + wall: 50 + building: 75 + wood: 60 + light: 60 + heavy: 60 + invulnerable: 0 + cy: 25 + harvester: 60 + DamageTypes: Prone50Percent, TriggerProne, SoundDeath + Warhead@2Eff: CreateEffect + Explosion: nuke + ImpactSound: EXPLLG2.WAV + +CrateNuke: + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 60, 30, 15, 0 + Damage: 500 + Versus: + none: 90 + wall: 50 + building: 75 + wood: 60 + light: 60 + heavy: 60 + invulnerable: 0 + cy: 25 + harvester: 60 + AffectsParent: true + DamageTypes: Prone50Percent, TriggerProne, SoundDeath + Warhead@2Eff: CreateEffect + Explosion: nuke + ImpactSound: EXPLLG2.WAV + +CrateExplosion: + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 60, 30, 15, 0 + Damage: 500 + Versus: + none: 90 + wall: 5 + building: 65 + wood: 50 + light: 40 + heavy: 30 + invulnerable: 0 + cy: 20 + harvester: 25 + AffectsParent: true + DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath + Warhead@2Eff: CreateEffect + Explosion: large_explosion + ImpactSound: EXPLSML4.WAV + +UnitExplodeSmall: + Warhead@1Eff: CreateEffect + Explosion: self_destruct + ImpactSound: EXPLSML1.WAV + +UnitExplodeMed: + Warhead@1Eff: CreateEffect + Explosion: building + ImpactSound: EXPLSML2.WAV + +UnitExplodeLarge: + Warhead@1Eff: CreateEffect + Explosion: large_explosion + ImpactSound: EXPLLG2.WAV + +grenade: + ReloadDelay: 50 + Range: 4c0 + Projectile: Bullet + Speed: 256 + Blockable: false + Angle: 75 + Inaccuracy: 416 + Image: grenade + Shadow: true + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 65, 35, 20, 0 + Damage: 150 + Versus: + none: 125 + wood: 70 + light: 30 + heavy: 20 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater + Warhead@3Eff: CreateEffect + Explosion: med_explosion + ImpactSound: EXPLLG5.WAV + +Weathering: + ReloadDelay: 100 + Warhead@1Dam: SpreadDamage + Damage: 10 + +GrenDeath: + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 60, 30, 15, 0 + Damage: 150 + Versus: + none: 125 + wood: 70 + light: 30 + heavy: 20 + 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: 256 + Falloff: 100, 50, 25, 0 + Damage: 300 + Versus: + none: 15 + wall: 75 + building: 60 + wood: 65 + light: 90 + 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 + +SpiceExplosion: + Projectile: Bullet + Speed: 50, 75 + Blockable: false + Angle: 60, 90 + Trail: large_trail + Image: 120mm + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 60, 30, 15, 0 + Damage: 75 + Versus: + none: 90 + wall: 5 + building: 65 + wood: 50 + light: 40 + heavy: 30 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + AffectsParent: true + Warhead@2Res: CreateResource + AddsResourceType: Spice + Size: 1 + Warhead@3Eff: CreateEffect + Explosion: med_explosion + +BloomExplosion: + Report: EXPLMD1.WAV + Range: 0c8 + Projectile: Bullet + Speed: 1c0 + Blockable: false + Image: null + Warhead@1Dam: SpreadDamage + Spread: 320 + Falloff: 100, 60, 30, 15, 0 + Damage: 750 + Versus: + none: 90 + wall: 5 + building: 65 + wood: 50 + light: 40 + heavy: 30 + invulnerable: 0 + cy: 20 + harvester: 25 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + AffectsParent: true + +BloomSpawn: + Range: 0c1 + Projectile: Bullet + Speed: 1c0 + Blockable: false + Image: null + Warhead@1Eff: CreateEffect + Explosion: bloomspawn diff --git a/mods/d2k/weapons/smallguns.yaml b/mods/d2k/weapons/smallguns.yaml new file mode 100644 index 0000000000..e4b2fdf75c --- /dev/null +++ b/mods/d2k/weapons/smallguns.yaml @@ -0,0 +1,174 @@ +LMG: + ReloadDelay: 30 + 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 + Explosion: piffs + +Fremen_S: + 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 + Explosion: small_explosion + ImpactSound: EXPLSML2.WAV + +M_LMG: + 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 + Explosion: piffs + +M_HMG: + 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 + building: 50 + wood: 65 + heavy: 50 + invulnerable: 0 + cy: 20 + harvester: 50 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath + Warhead@2Eff: CreateEffect + Explosion: piffs + +Fremen_L: + ReloadDelay: 40 + Delay: 5 + Range: 3c512 + 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 + Explosion: small_explosion + +HMG: + 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 + Explosion: piffs + +HMGo: + 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 + Explosion: piffs + +HMG_muzzle: + ReloadDelay: 16 + Range: 3c0 + Burst: 3 + BurstDelay: 2 + Warhead@TargetValidation: SpreadDamage + +HMGo_muzzle: + ReloadDelay: 14 + Range: 3c0 + Burst: 3 + BurstDelay: 2 + Warhead@TargetValidation: SpreadDamage