Specific CVARS for ZombieMod
Posted: Wed May 31, 2006 9:38 am
I want to have next thing:
If zombie_mode = 0 then
{
mp_forcecamera 1
mp_roundtime 2
mp_startmoney 800
phys_pushscale 1
phys_timescale 1
}
If zombie_mode = 1 then
{
mp_forcecamera 0
mp_roundtime 3
mp_startmoney 16000
phys_pushscale 10
phys_timescale 0.2
}
Currently I have created custom config for every map in "cfg/zombiemod" folder, 50 maps - 50 custom config-files with same content. Common file, that is executed if zombie_mode = 1 after server.cfg, for all maps would be more simple.
If zombie_mode = 0 then
{
mp_forcecamera 1
mp_roundtime 2
mp_startmoney 800
phys_pushscale 1
phys_timescale 1
}
If zombie_mode = 1 then
{
mp_forcecamera 0
mp_roundtime 3
mp_startmoney 16000
phys_pushscale 10
phys_timescale 0.2
}
Currently I have created custom config for every map in "cfg/zombiemod" folder, 50 maps - 50 custom config-files with same content. Common file, that is executed if zombie_mode = 1 after server.cfg, for all maps would be more simple.