From a2dbd5e013325c551461f75dae4e1c7058adfcc3 Mon Sep 17 00:00:00 2001 From: Pavel Penev Date: Thu, 30 Apr 2020 20:35:02 +0300 Subject: [PATCH] Changed weapons in D2k to use the new PerCellIncrement inaccuracy Also adjusted the inaccuracy values. This should bring inaccuracy in D2k pretty much in line with the original game, with the potential liberty of decreased inaccuracy for the Deviator tank. --- mods/d2k/weapons/largeguns.yaml | 5 ++--- mods/d2k/weapons/missiles.yaml | 6 +++--- mods/d2k/weapons/other.yaml | 5 ++++- mods/d2k/weapons/smallguns.yaml | 2 ++ 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/mods/d2k/weapons/largeguns.yaml b/mods/d2k/weapons/largeguns.yaml index 3c388cd19c..1e5b476b46 100644 --- a/mods/d2k/weapons/largeguns.yaml +++ b/mods/d2k/weapons/largeguns.yaml @@ -4,7 +4,8 @@ Report: MEDTANK1.WAV Projectile: Bullet Speed: 562 - Inaccuracy: 380 + Inaccuracy: 128 + InaccuracyType: PerCellIncrement Image: 120mm Warhead@1Dam: SpreadDamage Damage: 2700 @@ -60,7 +61,6 @@ DevBullet: Report: TANKHVY1.WAV Projectile: Bullet Speed: 281 - Inaccuracy: 0 Image: doubleblastbullet Warhead@1Dam: SpreadDamage Damage: 6500 @@ -89,7 +89,6 @@ DevBullet: Blockable: false Shadow: true LaunchAngle: 62 - Inaccuracy: 768 ContrailLength: 20 Image: 155mm Warhead@1Dam: SpreadDamage diff --git a/mods/d2k/weapons/missiles.yaml b/mods/d2k/weapons/missiles.yaml index 330e8f7483..a8c08a26a2 100644 --- a/mods/d2k/weapons/missiles.yaml +++ b/mods/d2k/weapons/missiles.yaml @@ -5,7 +5,8 @@ Projectile: Bullet Blockable: false Speed: 281 - Inaccuracy: 256 + Inaccuracy: 128 + InaccuracyType: PerCellIncrement Image: RPG TrailImage: bazooka_trail2 TrailPalette: effect75alpha @@ -45,7 +46,6 @@ Shadow: true HorizontalRateOfTurn: 3 RangeLimit: 6c614 - Inaccuracy: 384 CruiseAltitude: 1c0 MinimumLaunchAngle: 64 VerticalRateOfTurn: 10 @@ -117,7 +117,6 @@ mtank_pri: Range: 6c0 ValidTargets: Ground, Air Projectile: Missile - Inaccuracy: 96 RangeLimit: 7c204 Warhead@1Dam: SpreadDamage Damage: 6000 @@ -132,6 +131,7 @@ DeviatorMissile: Report: MISSLE1.WAV Projectile: Missile RangeLimit: 6c0 + Inaccuracy: 96 Image: MISSILE TrailImage: deviator_trail TrailPalette: deviatorgas diff --git a/mods/d2k/weapons/other.yaml b/mods/d2k/weapons/other.yaml index 8b3225603c..a70a447d52 100644 --- a/mods/d2k/weapons/other.yaml +++ b/mods/d2k/weapons/other.yaml @@ -4,6 +4,8 @@ Sound: Report: SONIC1.WAV Projectile: AreaBeam Speed: 0c128 + Inaccuracy: 128 + InaccuracyType: PerCellIncrement Duration: 4 # Has a length of 0c512 DamageInterval: 3 # Travels 0c384 between impacts, will hit a target roughly three times Width: 0c512 @@ -216,7 +218,8 @@ grenade: Speed: 160 Blockable: false LaunchAngle: 128 - Inaccuracy: 416 + Inaccuracy: 128 + InaccuracyType: PerCellIncrement Image: grenade Shadow: true Warhead@1Dam: SpreadDamage diff --git a/mods/d2k/weapons/smallguns.yaml b/mods/d2k/weapons/smallguns.yaml index 8c178354a6..98970d82d7 100644 --- a/mods/d2k/weapons/smallguns.yaml +++ b/mods/d2k/weapons/smallguns.yaml @@ -3,6 +3,8 @@ Range: 2c512 Report: MGUN2.WAV Projectile: InstantHit + Inaccuracy: 128 + InaccuracyType: PerCellIncrement Warhead@1Dam: SpreadDamage Damage: 1250 Spread: 480