| closedplugins for a map cfg |
| Started by =*MDMILBURN*= on 11-18-2009, 12:04 AM |
Threads: 11
Joined: Jun 2008
so if i want a plug to work on 2 or 3 maps only is it possible to add them a certain way to a map cfg. ?
Threads: 23
Joined: Aug 2007
its a map.ini in the dod/addons/amxmodx/configs/maps folder.
Threads: 11
Joined: Jun 2008
yes i have those but adding it in the file did not help , i was wanting to check here and see if i am doing it right ( should i not even have it listed in the plugins file ?) its turned off there
Threads: 23
Joined: Aug 2007
what i did was make an map.ini for every single map on my server. enable the plugin in the plugins.ini by having the name of the plugin there ex, dodrandom. then turn it on and off in the map.ini's with the cvar for the plugin, ex. like amx_random 0 or amx_random 1. Might be an easier way, but thats what worked for me.
Threads: 11
Joined: Jun 2008
ahh i see ,I was hoping to not go to that extreme but if that's the only way ,so be itrnrnthank you
Threads: 103
Joined: May 2005
make sure youre doing it this way: http://wiki.amxmodx.org/Configuring_AMX_Mod_X#Map_Specific_Plugins
Threads: 19
Joined: Oct 2004
I do it the way D-O suggests for example, I run the mortar plugin when rndod_2pillboxes loadsrnI created a folder called maps in my amxmodxconfigs then added a file called plugins-dod_2pillboxes.ini with mortar_class.amxx added to it.rnYou can disable other plugins using the same method but add disabled after the plugin.rnrnThis works a treat.
Threads: 11
Joined: Jun 2008
so i understand the maps ini ..but i use a maps cfg instead (its in the amx/config/maps file) rnrnso if i want to remove a plug from a map ,it should say..rnexamplern ;dod_throw_rock.amxx rnor should it bern dod_throw_rock.amxx disabled
Threads: 19
Joined: Oct 2004
using the addonsamxmodxconfigsmapsplugins-dod_mapname.ini rnmethod then dod_throw_rock.amxx disabled will workrnI do not know about your map cfg I normally use the map cfg to change things like random but I then use the plugins-dod_mapname.ini for enable or disable plugins specific to a map. eg some older maps give a precache error if you have plugins running that use sprites dod_custard is one that springs to mind. You can easily disable a lot of plugins using the plugins-dod_custard.ini

