mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 07:34:36 +00:00
Took out AntiNoFogSnipe
It changes the snipe max range to visible distance.
This commit is contained in:
parent
a171a26a12
commit
0924d1891f
1 changed files with 0 additions and 21 deletions
|
|
@ -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);
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue