View Single Post
Cptrmaker
Junior Member
Join Date: Aug 2008
Old 11-24-2009 , 15:00   Re: [DoD:S] Auto Skill-based Team Balancer
Reply With Quote #3

Quote:
Originally Posted by simoneaolson View Post
[DoD:S] Auto Skill-based Team Balancer

A quick and efficient team management plugin that balances the teams every X consistent round wins based on the objectives taken or kills of each player. I have tested the plugin so far with bots under their death count and it works excellently. As you can see in the two screenshots, the teams are unbalanced, with 22 deaths on US and only 9 on the Wehrmacht. After instating a team balance, the deaths are evenly distributed with a final of 15 to 16. This same concept can apply to kills or objectives. The plugin also features an admin command to manually balance the teams (!balancetms). Cheers!

CVARS:
dod_stb_version - Current plugin version
dod_stb_enabled - Enable/Disable auto team balancing 0/1 (Def:1)
dod_stb_announce - Enable/Disable announcement message (Def:1)
dod_stb_skill - How to measure client skill level (1 = Objectives taken) (2 = Kills) (Def:1)
dod_stb_cwins - Amount of consistent round wins to trigger auto team balancing (Def)


DEMONSTRATION

Before Balancing:

[IMG]http://img5.**************/img5/8943/unbalancedz.jpg[/IMG]

After Balancing:

[IMG]http://img509.**************/img509/7365/balanced.jpg[/IMG]

I am getting this error when trying to use the mod.

11/24/2009 - 14:58:07: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/24/2009 - 14:58:07: [SM] Displaying call stack trace for plugin "dod_stb.smx":
L 11/24/2009 - 14:58:07: [SM] [0] Line 136, /home/groups/alliedmodders/forums/files/6/0/3/9/6/53828.attach:layerSpawn()
Cptrmaker is offline