Call of Duty 5: Large Maps Tips: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 34: | Line 34: | ||
--[[User:Zeroy|Zeroy.]] 18:40, 25 July 2010 (UTC) | --[[User:Zeroy|Zeroy.]] 18:40, 25 July 2010 (UTC) | ||
[[Category:Radiant]] | |||
[[Category:Call of Duty 5]] | |||
[[Category:Mapping]] | |||
[[Category:Tips]] |
Latest revision as of 21:41, 25 July 2010
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)