PDA

View Full Version : Per map plugins...


{SR} *Raggy*
05-27-2007, 01:20 PM
Is there a way to put a plugin on, on only one map... I tried it but I don't think it worked... Is this possible?

MBosta
05-27-2007, 07:43 PM
Yea, it took me a while to master this because some maps, like dod_tensions, i didn't want proning, but others i didn't care. This is what you do. Download this plugin here:

http://www.dodplugins.net/forums/showthread.php?t=8

It calls the map config that you are playing on. IF you are playin on avalanche, it will look for a file called dod_avalanche.cfg and run the commands in it. If the file isn't there, nothing happens. Now you go to the plugins that you want controlled, and find their CVARS. For example, i have parachutes on in certain maps like dod_sturm. So in my amxx.cfg i will put sv_parachute 0. This will turn paras off for all maps, but then go into dod_sturm.cfg and put sv_parachute 1. This will allow parachutes only on sturm. You place the config files in the dod directory. Bad thing is you have to make separate configs for the maps you want plugins controlled on. It's a lot of work, but gets the job done.

diamond-optic
05-27-2007, 10:04 PM
you dont have to run another plugin for per-map plugins...
its already part of amxx

in addons/amxmodx/configs/maps/plugins-dod_mapname.ini

........
for example i have addons/amxmodx/configs/maps/plugins-dod_charlie.ini
inside that file i have: splash_effect.amxx

and that plugin only loads on charlie

you can also do it the other way around, sorta, and disable plugins on certain maps

amxx wiki (http://wiki.amxmodx.org/AMX_Mod_X_1.76_Changes#New_Plugin_File_Features)

MBosta
05-28-2007, 12:57 AM
Pssh way to steal my thunder D-O :( lol

{SR} *Raggy*
05-28-2007, 04:46 AM
you dont have to run another plugin for per-map plugins...
its already part of amxx

in addons/amxmodx/configs/maps/plugins-dod_mapname.ini

........
for example i have addons/amxmodx/configs/maps/plugins-dod_charlie.ini
inside that file i have: splash_effect.amxx

and that plugin only loads on charlie

you can also do it the other way around, sorta, and disable plugins on certain maps

amxx wiki (http://wiki.amxmodx.org/AMX_Mod_X_1.76_Changes#New_Plugin_File_Features)


So the cvars go into the amxx.cfg? Cause I did try this before... Maybe I forgot about the cvars :P I'll try both ways :D Thanks guys

=|[76AD]|= TatsuSaisei
05-28-2007, 12:42 PM
So the cvars go into the amxx.cfg? Cause I did try this before... Maybe I forgot about the cvars :P I'll try both ways :D Thanks guys

the plugins cvars still go in amxx.cfg .. its just that any plugin you want specificially on or off per map has to be listed in that maps specific ini file ...

{SR} *Raggy*
05-28-2007, 02:53 PM
Well this works(I think) I haven't gotten to testing it out yet :'( To busy :'(

Thanks for the help with this guys :)