PDA

View Full Version : DoD Limits ( Class Limiting Plugin )


Zor
07-08-2006, 10:52 AM
This plugin will allow you to set a limit on the classes that people can choose. 'Already have that in DoD, why make a new one?' You may ask. Thats cool, cause this one does it by Percentages! So lets say you have a 20 man server, and you dont want any pesky snipers until its at least 1/2 full, so when you have 10 players on the server you wont mind having snipers. Lets say 1 / side. Well with this plugin you just set the counter at 50% 1. Not only that but its on a per map basis as well. So you want snipers to be availiable right off on Avalanche...no probs!

// v0.1 - Be!
// v0.1a - Update
// v0.2 - Updated to use percentages
// v0.3 - Updated the way we look at files, no more single file, now its
// multiple files
// v0.3a - Updated slightly due to the bad loads on the names

Garion
09-01-2006, 10:17 PM
I'm having problems. For some reason my limits aren't working. On the map dod_vire I have the file dod_vire_limits.cfg in the correct folder with it having 2 snipers and 2 mgs, plus -1 for the rockets making it unlimited. But I go in and there's 0 snipers, 0 mgs, and 0 rockets. Any idea?

Zor
09-02-2006, 01:04 AM
What percentage for them?

Garion
09-02-2006, 02:42 AM
I had them all at 0 percent

Zor
09-02-2006, 02:27 PM
Not sure, havent worked on this plugin for a long time.

Cheers!

Zor
09-06-2006, 04:08 PM
UPDATE V0.3a

// v0.3a - Updated slightly due to the bad loads on the names

diamond-optic
09-08-2006, 11:30 PM
hmm i think im an idiot.. im not sure i understand this lol...

like can i put multiple entries of the same class in for different percents?

im trying to make it so on hill_classic when its like less then 6 playes theres only 1 sniper per team, then like 10players 2 snipers per team, then above 14 or something be 3 snipers...

how would i do that?

i feel like an idiot...

Zor
09-09-2006, 03:25 PM
Your not an idiot, but that cannot be done at this point. Sorry...its only 1 entry 1 percentage.

Cheers!

Tabor
05-08-2008, 06:50 PM
hi all i know it's an old thread just wondering if we could turn nades off as well .. especially on these small colour maps .

Dr.G
05-08-2008, 06:57 PM
It cant, look in "request for plugins" one was made recently. the thread is called some with "no nade in certin maps" or so..

diamond-optic
05-08-2008, 07:36 PM
It cant, look in "request for plugins" one was made recently. the thread is called some with "no nade in certin maps" or so..

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

Tabor
05-09-2008, 07:54 PM
thank you all

Gangis_Khan
08-20-2008, 08:47 PM
I put your weapons limits in my server but for some reason it overrides the server map cfg files.. I added a limits cfg with the same weapon amount and it still over rides the file....map dod_2pillboxes.. map cfg " no MG's no snipers" limits cfg set the same.. but when the map is on there is MG's. Is there a way to set the plugin not to override some maps cfg..