this is sort of a continuation of my 2 questions i posted awhile ago
i have in addons\amxmodx\configs\maps a cfg for ka lego land
it reads
"amx_cvar 0"
"amx_cvar2 1"
after the map changes it stays that way....how can i get it to automaticly change back to "amx_cvar 1" "amx_cvar2 0" with out having to write a cfg for every single map
cvars stopping/starting
Moderator: Forum Moderator
- Lazarus Long
- Lead PITA SOB
- Posts: 618
- Joined: Tue Jul 05, 2005 9:24 pm
Add them the way you want for all other maps to a config file that is called before the map specific config file, for instance server.cfg.
Lazarus
- Before asking anything: Search!
- Want help with Warcraft 3 FT? Ask it the right way!
- What to download to get Warcraft 3 FT running? Check the list of files!
- Need more help? Check the simple Mini-HOWTO series!
didnt work...still had same settings after going on any map that i made a custom congig for.
i also tied putting "mp_startmoney 1000" in the server.cfg and it did not effect it
the only way i was able to change it was to use the amxmodmenu and change it to the preset 3600 i think it is...do any amxx plugins override server cfg?
i also tied putting "mp_startmoney 1000" in the server.cfg and it did not effect it
the only way i was able to change it was to use the amxmodmenu and change it to the preset 3600 i think it is...do any amxx plugins override server cfg?
- Lazarus Long
- Lead PITA SOB
- Posts: 618
- Joined: Tue Jul 05, 2005 9:24 pm
GUNN3R17:
It should work. Maybe your server.cfg isn't being read at each map start.
Check the mapchangecfgfile directive and set it to a file where you want commands for all maps to be read from. It normaly should be set to server.cfg, but you can set it to any .cfg you would like. Then use the "addons/amxmodx/configs/maps/<map name>.cfg" file to override the defaults, since it's read after the file set in mapchangecfgfile.
Regards,
It should work. Maybe your server.cfg isn't being read at each map start.
Check the mapchangecfgfile directive and set it to a file where you want commands for all maps to be read from. It normaly should be set to server.cfg, but you can set it to any .cfg you would like. Then use the "addons/amxmodx/configs/maps/<map name>.cfg" file to override the defaults, since it's read after the file set in mapchangecfgfile.
Regards,
Lazarus
- Before asking anything: Search!
- Want help with Warcraft 3 FT? Ask it the right way!
- What to download to get Warcraft 3 FT running? Check the list of files!
- Need more help? Check the simple Mini-HOWTO series!
ok....mapchangecfgfile is set propperly now...its not by default(for me atleast)
one more question...my server was set to be a secure server but after a day or so it became un-secure
is there a command i can put in the server.cfg to make sure its secure always?
what are the diffirent ways of making a server secure?
one more question...my server was set to be a secure server but after a day or so it became un-secure
is there a command i can put in the server.cfg to make sure its secure always?
what are the diffirent ways of making a server secure?