NOTE:
"mapname.gsc"
refers to your map's main gsc file, which is named the same name as your
map.
For example, a map called "nazi_zombie_example" would have a
mapname.gsc named "nazi_zombie_example.gsc". This file is
commonly used to call custom scripts for a map.
Lines which precache items such as models need to be called BEFORE the
gamestate starts and should not be threaded. Lines which do not precache
any items should be called AFTER the gamestate starts and should be
threaded.
The gamestate is started by this line in mapname.gsc:
maps\_zombiemode::main();
To add lines to your mapname.gsc:
-
Open your mapname.gsc file, which can be found in
root/mods/mapname/maps
.
-
For Precache Lines, add them
before
the gamestate line.
-
For Thread Lines, add them
after
the gamestate line.