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.
Aw man, and after 50 files worth..... Games's way Is much easier and optimized, with matties event scripts you could have this exec automaticly when zombiemod switches from 1 to 0 It would run what ever .cfg you have set.
Problem is that "zombie_mode 1" command reloads current map, and server.cfg with regular cvar values is reloaded, that's why I can't set zombiemod specific cvars in script. I'd like do not use EventScripts...