surfing
Moderator: Forum Moderator
-
- Rifleman
- Posts: 162
- Joined: Thu Dec 21, 2006 2:12 am
-
- Rifleman
- Posts: 162
- Joined: Thu Dec 21, 2006 2:12 am
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
From the AmxX doc
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.
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.
No support via PM or Email