aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_angel_city.nut7
1 files changed, 7 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_angel_city.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_angel_city.nut
index 87c9ea985..e7cc82241 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_angel_city.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_angel_city.nut
@@ -13,6 +13,7 @@ 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 )
+ AddSpawnCallback( "sky_camera", FixSkycamFog )
}
void function TrimBadTitanStartSpawns( entity spawn )
@@ -24,4 +25,10 @@ void function TrimBadTitanStartSpawns( entity spawn )
if ( Distance2D( spawn.GetOrigin(), comparisonOrigin ) >= 2000.0 )
spawn.Destroy()
+}
+
+void function FixSkycamFog( entity skycam )
+{
+ if ( skycam.GetTargetName() == "skybox_cam_level" )
+ skycam.kv.useworldfog = 1
} \ No newline at end of file