[HOWTO] Use the custom map config feature of AMX MOD X
OUTDATED! PLEASE REFER TO THE AMX MOD X WIKI FOR UPDATED MAP CONFIGURATION
http://wiki.amxmodx.org/Configuring_...p_Config_Files This post is kept for legacy purposes. Guide below does infact still work as posted, however the wiki contains information on how to create map custom map configs much easier. Especially enabling and disabling plugins based on certain maps! Weapon restriction information is located towards the end of this post. The list of weapons and how to restrict them can be found here! Sincerely, BigBaller 08 OCT 2007 Last Updated Dec. 12th 2004 One of the newest "features" of AMX MOD X 1.0 (and higher) is the ability to create a map config based on the current map the server is running. Similar to that of what Admin Mod and what JustHoMi created for AMX Mod which was later ported to AMX MOD X. This feature is very useful for many server admins that wish to enable low gravity on maps such as scoutzknivez when they are not around. Also useful to pause certain plugins on certain maps which you do not feel are needed, such as pausing a awp restriction plugin on awp_map. How can I get the best use of this feature? Well this feature comes standard in the admin.amxx plugin, meaning it will always available to you if you decide to use it. First it is always a good idea to have any cvar you wish to change on a certain map defined in your server.cfg file. This file is located in your base directory of your half life mod. Quote:
IF you do not place mapchangecfgfile server.cfg in your server.cfg then you HAVE TO place any cvar into your amxx.cfg to allow your server settings return to normal. How do I create a custom map config and where does it need to be placed? To create a config file open up your favorite text editor (notepad will do) and go "file -> save as...". Then save your file as the map you want to create the config for such as de_dust and be sure to add the .cfg at the end thus giving you de_dust.cfg. These config files go into your maps directory located in the configs folder of AMX MOD X. That simple :) Full location of this would be addons\amxmodx\configs\maps. If you do not have a maps folder in the configs directory then create one. What if I want to restrict a plugin for that map only? Lets say I want to restrict a plugin called "admin_allinone.amxx" on the map "de_aztec". I would first create a de_aztec.cfg and then place the following line. Quote:
What if I want to restrict a weapon on a certian map? Using the restmenu.amxx plugin that comes with AMX MOD X 1.0 COUNTER-STRIKE ADDON package you can also restrict weapons based on map. Lets say I dont want people to purchase AK47 on fy_iceworld. Quote:
Lets put it all together now! This is how I would have a custom map config for the map scoutzknivez Quote:
Quote:
Why did I place the weapon restrict on ak47 for scoutzknivez? I did that as a example, I know you cant purchase weapons on that map. It is so you get the idea for other maps. I hope this helps out everyone wishing to use custom map configs along with AMX MOD X. Thanks, BigBaller Complete list of weapons for restmenu.amxx plugin Make sure this plugin is running, this is included for the CSTRIKE package. This is a list of weapons and what you should do to restrict them on a per map basis if you are running the restmenu.amxx plugin on your server. Quote:
Quote:
|
so I have to make a "maps" folder in the configs folder? Sorry I just need to make sure.
|
Are all restrictions reset during a map change?
|
@Pain
If you do not have this folder "maps" in the configs directory then yes. @TooL Yes the weapon restrictions are reset apon map change. Soo if I restrict the ak47 on fy_iceworld and then change the map to de_dust you can use ak47 once again. P.S Sorry for the late replies. |
it dosnt seem to be working
do i have to assign ex. fy_iceworld_cz.cfg to someother file? |
Maybe it needs a server restart - it didn't work after map change for me.
|
nope still dosnt work, any other thoughts?
the mapname.cfg goes into dedserver/czero/addons/amxmodx/configs/maps right? Because the issue is most likely with the .cfg's |
Meanwhile I've restarted one of the servers and still no go, so same problem here. This is on Linux, TFC. There are a couple of other plugins running.
|
I've installed the latest nightly and it works with that. Though it's possibly a configuration issue since I did a clean install.
|
there is an RC7 out now hmmm
|
All times are GMT -4. The time now is 15:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.