surfing

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
rasechi
Peon
Posts: 22
Joined: Sun Mar 04, 2007 4:08 pm
Contact:

surfing

Post by rasechi » Wed Mar 07, 2007 5:30 pm

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?

kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

Post by kp_downarrow » Wed Mar 07, 2007 7:09 pm

wc3_enabled

sv_warcraft3

i think

rasechi
Peon
Posts: 22
Joined: Sun Mar 04, 2007 4:08 pm
Contact:

Post by rasechi » Wed Mar 07, 2007 7:58 pm

is there a way i can do that without having to enter that each time myself?

kp_downarrow
Rifleman
Posts: 162
Joined: Thu Dec 21, 2006 2:12 am

Post by kp_downarrow » Wed Mar 07, 2007 10:57 pm

maps folder and make mapname.cfg

add the cvar to the cfg??

Senne
Rifleman
Posts: 164
Joined: Wed Feb 21, 2007 9:22 am

Post by Senne » Thu Mar 08, 2007 11:27 am

ow you can add certain commands to be loaded for that specific map, that way?

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Thu Mar 08, 2007 11:43 am

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.
Image

No support via PM or Email

Liquidz
Militia
Posts: 96
Joined: Mon Dec 05, 2005 11:51 am

Post by Liquidz » Thu Mar 15, 2007 4:54 am

for the surf plugin i your surf.cfg just add wc3_disable thats it

Post Reply