From 69ad300ba8733375321ebe09568cf3d5ec99f68c Mon Sep 17 00:00:00 2001 From: TemporalOroboros Date: Sat, 29 Jan 2022 19:17:52 -0800 Subject: [PATCH] Octuples non-penetrator sniper range (#63859) * Octuples sniper range * Projectile pixel-x, pixel-y * Fixes always aiming at the center of your target. There used to be code that was supposed to let you shoot at the individual pixels of your target. It was broken and was causing bullets to drift off-center at long ranges and zooms. I tried to fix it and accidentally wound up removing the ability to target individual pixels. This reimplements the pixel targeting without the aim drift bug. * Resets penetrator round range. Reduces the range of penetrator rounds to their original range at the request of @Ryll-Ryll. --- code/modules/projectiles/projectile/bullets/sniper.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/projectiles/projectile/bullets/sniper.dm b/code/modules/projectiles/projectile/bullets/sniper.dm index dabaac0111a..c9403b65e16 100644 --- a/code/modules/projectiles/projectile/bullets/sniper.dm +++ b/code/modules/projectiles/projectile/bullets/sniper.dm @@ -3,6 +3,7 @@ /obj/projectile/bullet/p50 name =".50 bullet" speed = 0.4 + range = 400 // Enough to travel from one corner of the Z to the opposite corner and then some. damage = 70 paralyze = 100 dismemberment = 50 @@ -33,6 +34,7 @@ name = "penetrator round" icon_state = "gauss" damage = 60 + range = 50 projectile_piercing = PASSMOB|PASSVEHICLE projectile_phasing = ~(PASSMOB|PASSVEHICLE) phasing_ignore_direct_target = TRUE