Page 1 of 1

surfing

Posted: Wed Mar 07, 2007 5:30 pm
by rasechi
is there a way to disable wc3ft mod when i surf? is there a command that i can enter into my surf.cfg to disable wc3?

Posted: Wed Mar 07, 2007 7:09 pm
by kp_downarrow
wc3_enabled

sv_warcraft3

i think

Posted: Wed Mar 07, 2007 7:58 pm
by rasechi
is there a way i can do that without having to enter that each time myself?

Posted: Wed Mar 07, 2007 10:57 pm
by kp_downarrow
maps folder and make mapname.cfg

add the cvar to the cfg??

Posted: Thu Mar 08, 2007 11:27 am
by Senne
ow you can add certain commands to be loaded for that specific map, that way?

Posted: Thu Mar 08, 2007 11:43 am
by YamiKaitou
From the AmxX doc
For each map, you can also add a configuration file that will execute when the map loads. This is useful to set certain settings for 3rd party maps, say, removing the freeze time on fy_iceworld.

To do this, simply create a folder in amxmodx/configs called "maps" and place a .cfg file named after the map with the settings in it, for example, you might have amxmodx/configs/maps/fy_iceworld.cfg:

mp_startmoney 16000
mp_freezetime 0
mp_timelimit 20

So, you would create a folder in your configs folder named maps. In that folder, you would create a file that has the same name as the map. So, if you were using de_dust, you would name the file de_dust.cfg. Then, in that file, you would add the cvars you would like to take effect on that map. So, to disable wc3ft on de_dust, you would put this cvar in the file

FOR 2.x
sv_warcraft3 0

FOR 3.x
wc3_disable (wc3_enable will enable it)


Then, what I would do is add the default values of every cvar you change to your server.cfg or amxx.cfg so you can make sure they get switched back.

Posted: Thu Mar 15, 2007 4:54 am
by Liquidz
for the surf plugin i your surf.cfg just add wc3_disable thats it