PDA

View Full Version : class limits + wepons mod2


TigerMan4
10-09-2007, 12:56 AM
hey guys...I`m not sure if this possible or not.

but I made a .cfg for each of the color maps on my server...dod_orange etc.

and I turned off the MGs due to the camping nature of them.

but... I`m running weponsmod2.amxx ...and well...where there is a will there is a way...and now people are just selecting the MGs via weponsmod.

is there a way to turn WM2 off for a specfic map ?

say like this in the .cfg for the map ? or will this not work ?

mp_limitaxismg42 "0"
mp_limitaxismg34 "0"
mp_limitalliesbar "0"
mp_limitallies30cal "0"
;WeaponsMod2.amxx

diamond-optic
10-09-2007, 04:59 AM
use the per-map plugin file and then disable the plugin in that

http://wiki.amxmodx.org/AMX_Mod_X_1.76_Changes#Per-Map_Plugin_Files

TigerMan4
10-09-2007, 09:50 AM
again....remember the post I put up about...not everyone knows everything about plugins or files and please consider everyone is a noob when it comes to things like this.

so if i`m reading this correctly.

I would create a file in notepad...call it plugins-dod_purple.ini ?

and in that file do this ?

;weponsmod2.amxx ? plus any other plugins I dont want running ?

and put this file in my configs folder in amxx ? or do I need to create a new folder called maps to put in my configs folder ? and put the .ini file in there ?

diamond-optic
10-09-2007, 01:00 PM
well sorta lol

create: plugins-dod_purple.ini
put that in ../amxmodx/configs/maps/

then put: weaponsmod2.amxx disabled

TigerMan4
10-09-2007, 02:44 PM
thank you !

how you got that , out of this I`ll never know...because I dont see anything that says...disabled in there...thank you again...i hope this works.


You can now have per-map plugin configuration files. AMX Mod X will automatically load any plugins listed in files having the following name: configs/maps/plugins-<map>.ini. Thus, de_dust specific plugins will be loaded from configs/maps/plugins-de_dust.ini.

Map-specific plugin files are parsed after the main plugins.ini is parsed, and after all secondary plugins-*.ini files are parsed in the configs folder. This means that a map-specific plugin listing inherits all settings above itself.

TigerMan4
10-09-2007, 02:58 PM
Okay....

I made a folder called maps and put it in my configs folder for amxmodx

correct ?

in that folder are seperate files for each color map...called

plugins-dod_purple.ini

in that file it says this

weaponsmod2.amxx disabled
dod_deathnades.amxx disabled
dod_throwrocks.amxx disabled
dod_random_skymap.amxx disabled

I stopped the server and restarted it.

and I logged and typed in /mg42 and it gave me an mg42

so apparently...i did it wrong...or...the server hates me

any suggestions ? or the correct way to do it , spelled out so even a amxx.noobcake can figure it out ?

TigerMan4
10-10-2007, 11:53 PM
so am I to take it that...since what I did , didnt work , that , the this doesnt work ?

and I`m stuck with weponsmod2 mgs on maps with no mgs ?:mad:

diamond-optic
10-11-2007, 02:53 AM
hmm im pretty sure ive used it before and it worked.. ill check again when i get a chance after work tomorrow

TigerMan4
10-13-2007, 06:29 PM
any luck? or did you not make it home from work ?

diamond-optic
10-13-2007, 07:58 PM
lol sidetracked :-\ sorry lol


anyway i just tried it

i have this in ../amxmodx/configs/plugins.ini
dod_smokegrenade2.amxx

and normally it works fine

then i put this in ../amxmodx/configs/maps/plugins-dod_avalanche.ini
dod_smokegrenade2.amxx disabled

and it doesnt load the plugin now..


so its working fine for me lol

TigerMan4
10-14-2007, 01:55 AM
okay...so

this is your folder string ../amxmodx/configs/maps/ <---these are seperate folders...which I have ,I had to create the maps one.

and i did exactly the way you said...and...it hates me.

@%^%()(#@(*_!@!