[Mini Tutorial] Changing game modes with mapname_cfg.txt
Posted: Mon Oct 27, 2008 9:27 pm
Not sure if it qualifies as a tutorial though its handy for people to know.
mapname_cfg.txt's allow you to change game cvars/commands for the individual map and unless specified will overide exsisting cvars/commands.
Save to your maps\cfg folder as mapname_cfg.txt (mapname being the name of the map no.bsp exstension required just the name)
How to add lives gameplay:
How to add Team (vs) gameplay:
Some other useful cvars/commands (Note: you can look through the ingame console to find whats available) mainly mp_,sv_ and sk_ commands are all useful.
There are many more, feel free to post any!
mapname_cfg.txt's allow you to change game cvars/commands for the individual map and unless specified will overide exsisting cvars/commands.
Save to your maps\cfg folder as mapname_cfg.txt (mapname being the name of the map no.bsp exstension required just the name)
How to add lives gameplay:
Code: Select all
"mapname"
{
mp_livesoverride "1"
mp_numlives "5" //Five being the number of lives for each player
}
Code: Select all
"mapname"
{
mp_teamoverride "1"
mp_teamplay "1"
mp_autoteambalance "1"
}
Code: Select all
mp_friendlyfire "1"
mp_falldamage "0"
mp_flashlight "1"
mp_footsteps "1"
mp_timelimit "0:00" //Very useful for maps with no endings
"sv_allowgaussjump" "1"
There are many more, feel free to post any!