aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/vscripts/mp/levels/mp_grave.nut
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/mp/levels/mp_grave.nut')
-rw-r--r--Northstar.CustomServers/scripts/vscripts/mp/levels/mp_grave.nut19
1 files changed, 0 insertions, 19 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/mp/levels/mp_grave.nut b/Northstar.CustomServers/scripts/vscripts/mp/levels/mp_grave.nut
deleted file mode 100644
index f4b48f6d4..000000000
--- a/Northstar.CustomServers/scripts/vscripts/mp/levels/mp_grave.nut
+++ /dev/null
@@ -1,19 +0,0 @@
-global function CodeCallback_MapInit
-
-void function CodeCallback_MapInit()
-{
- // there are some really busted titan startspawns that are on the fucking other side of the map from where they should be, so we remove them
- AddSpawnCallback( "info_spawnpoint_titan_start", TrimBadTitanStartSpawns )
-}
-
-void function TrimBadTitanStartSpawns( entity spawn )
-{
- vector comparisonOrigin
- if ( spawn.GetTeam() == TEAM_IMC )
- comparisonOrigin = < -2144, -4944, 1999.7 >
- else
- comparisonOrigin = < 11026.8, -5163.18, 1885.64 >
-
- if ( Distance2D( spawn.GetOrigin(), comparisonOrigin ) >= 2000.0 )
- spawn.Destroy()
-} \ No newline at end of file