Raised This Month: $ Target: $400
 0% 

Team Ratio Control


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
meng
Veteran Member
Join Date: Oct 2005
Location: us
Plugin ID:
1366
Plugin Version:
0.7
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    limits / adjusts team sizes by ratio.
    Unapprover:
    Reason for Unapproving:
    Author requested unapproval
    Old 12-28-2009 , 03:26   Team Ratio Control
    Reply With Quote #1

    Team Ratio Control

    Limits / Assigns players to a team based on a target ratio. Should be useful for custom gameplay types such as jailbreak, deathrun, hide'n'seek or any other game requiring different team sizes. There is also an optional basic balancer for adjusting the teams at round end.

    If you have any ideas on how to improve the balancer, please post. I wasnt sure about switching only the dead or maybe giving admin immunity.

    ConVars
    PHP Code:
    // enable plugin?
    sm_trc_enabled "1"

    // minimun # of players before controlling teams
    sm_trc_minplayers "1"

    // the target team1/team2 ratio
    // strict syntax! use "#:#" only. *use quotes when changing value!
    sm_trc_ratio "1:1"

    // adjust the effectiveness. range [0.0 - 1.0]
    // try 0.7 or so for less rigid limitations.
    sm_trc_ratioeffect "1.0"

    // auto-adjust teams at round end?
    // *players are randomly picked.
    sm_trc_autoadjust "1" 
    Attached Files
    File Type: sp Get Plugin or Get Source (TeamRatioControl.sp - 1261 views - 5.5 KB)
    __________________
    .
    [ 1 Dumerils Boa | 1 Cali King ]...
    .
    I'm a lil' spirituous.

    Last edited by meng; 12-31-2009 at 16:08.
    meng is offline
    Send a message via Yahoo to meng
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:03.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode