From 0924d1891f895be195b67e8b85f2d29accaee703 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Sun, 4 Nov 2018 19:58:13 -0500 Subject: [PATCH] Took out AntiNoFogSnipe It changes the snipe max range to visible distance. --- Classic/scripts/autoexec/anti_NoFog_Snipe.cs | 21 -------------------- 1 file changed, 21 deletions(-) delete mode 100644 Classic/scripts/autoexec/anti_NoFog_Snipe.cs diff --git a/Classic/scripts/autoexec/anti_NoFog_Snipe.cs b/Classic/scripts/autoexec/anti_NoFog_Snipe.cs deleted file mode 100644 index a714b99..0000000 --- a/Classic/scripts/autoexec/anti_NoFog_Snipe.cs +++ /dev/null @@ -1,21 +0,0 @@ -// anti NoFog Snipe by Red Shifter -// A far cry to the solution of noFog, but this'll stop the snipes -// This is a Server-Side Script - -package antiNoFogSnipe { - -function DefaultGame::missionLoadDone(%game) { - -Parent::missionLoadDone(%game); - -if (Sky.visibleDistance $= "" || Sky.visibleDistance == 0) { -// This script plays it safe. You better have a map that works. -error("WARNING! This map will not work with NoFog Snipe!"); -BasicSniperShot.maxRifleRange = 1000; -} -else -BasicSniperShot.maxRifleRange = Sky.visibleDistance; -} - -}; -activatePackage(antiNoFogSnipe);