Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Tutorials › plugins for a map cfg
9 posts, 4 people · 1,612 views Thread Rating: ★★★★★
closedplugins for a map cfg
Started by =*MDMILBURN*= on 11-18-2009, 12:04 AM
=*MDMILBURN*=
started this thread
Posts: 66
Threads: 11
Joined: Jun 2008
11-18-2009, 12:04 AM #1

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

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
11-18-2009, 01:13 AM #2

its a map.ini in the dod/addons/amxmodx/configs/maps folder.

=*MDMILBURN*=
started this thread
Posts: 66
Threads: 11
Joined: Jun 2008
11-18-2009, 08:15 AM #3

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

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
11-18-2009, 08:40 AM #4

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.

=*MDMILBURN*=
started this thread
Posts: 66
Threads: 11
Joined: Jun 2008
11-18-2009, 09:45 AM #5

ahh i see ,I was hoping to not go to that extreme but if that's the only way ,so be itrnrnthank you

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
11-18-2009, 01:45 PM #6
N noddy
posted here
Posts: 250
Threads: 19
Joined: Oct 2004
11-18-2009, 02:29 PM #7

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.

=*MDMILBURN*=
started this thread
Posts: 66
Threads: 11
Joined: Jun 2008
11-18-2009, 11:21 PM #8

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

N noddy
posted here
Posts: 250
Threads: 19
Joined: Oct 2004
11-18-2009, 11:56 PM #9

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

Archive › Old Forum Threads › Help › Tutorials › plugins for a map cfg
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC