Call of Duty 5: Large Maps Tips
CODWAW brings a new function which is similar to COD2 CullFog except no fog is required to get this one to work.
The Stock map Outskirts uses it, the function SetCullDist(DIST); where DIST is the distance in Units at which the Models will not be drawn.
The function is called simply place in your Map GSC like shown in the example below (last line):
main() { maps\mp\_load::main(); maps\mp\_compass::setupMiniMap("compass_map_mp_somelevel"); game["allies"] = "marines"; game["axis"] = "german"; game["attackers"] = "allies"; game["defenders"] = "axis"; game["allies_soldiertype"] = "pacific"; game["axis_soldiertype"] = "german"; setdvar("compassmaxrange","2100"); setVolFog(600, 1000, 100, -200, 0.74903, 0.74903, 0.74903, 0); // enable new player spawning system maps\mp\gametypes\_spawning::level_use_unified_spawning(true); SetCullDist(5000); }
--Zeroy. 18:40, 25 July 2010 (UTC)