Team Balance

Discussion in 'General Chat' started by Geit, 11 Jan 2009.

  1. Geit Coding wizard!

    Team Balance

    Team balancing has changed:

    Outline
    A player will not be switched more than once in 10 minutes.
    Balanced player is forced to play on that team for 10 minutes.
    All server admins are immune to balancing.


    Q&A
    Q: How does it determine if the teams are unbalanced?
    A: Purely by player count. Example: 10vs13

    Q: Does it take the players score into account?
    A: No.

    Q: Does it take the players K/D ratio into account?
    A: No.

    Q: How does it pick a player to switch?
    A: The plugin goes through three layers of prioritization:

    Find a dead player in the following order:

    * If he is an admin, skip him
    * If he has been switched before, skip him
    * If has buildings built, skip him
    * If he is just a regular dead player, switch him

    Find a living player in the following order:

    * If he is an admin, skip him.
    * If he has been switched before, skip him
    * If he has 50% uber, skip him
    * If he has buildings built, skip him
    * If he is just a regular live player, switch him

    If the plugin still cannot find a player to switch, it will get a random non admin player, and switch him after the delay.

    If someone dies and fits the requirements after a live player has been selected the plugin will then switch that player.

    Q: Does this replace the built-in autobalancer in TF2?
    A: Yes.

    Q: Can admins join any team making the teams unbalanced?
    A: No. Admins are immune to switches, but not the built-in team joining controls.

    Q: What Happens to a player who has been switched?
    A: A player to accept his team for ten mins. It follows the following rules:

    * It now disallows changing to spectator during the force period if that would cause an inbalance.
    * If teams would not become unbalanced a forced players team change is permitted.
    * If during the force period the teams become unbalanced and the forced player is on the wrong team he is switched back.
    * Each time the player is forced back to the team his timer is reset; this cannot be avoided.
     
  2. Re: Team Balance

    COOL, ALSO I NOTICE THE !BUDDY THINGY TOO.

    SO ADMINS LIKE ME WON'T BE BALANCED :P

    DONT WORRY ABOUT THE CAPS
     
  3. IAmNomad Ex-Leader

    Re: Team Balance

    Wow. Nice work, man.
     
  4. Geit Coding wizard!

    Re: Team Balance

    The buddy system should be disabled (Atleast, i think i turned it off, i'll have a peek later). But i'll give a qucik overview of it anyway


    The buddy system allows you to pick a "balance buddy", If you have a balance buddy on your team, then you will be skipped by the balancer, if you have a buddy on the other team, you get moved to the top of the switch list.

    Here's the pattern the Balancer follows when the buddy system is enabled:

    Find a dead player in the following order:

    * If he is an admin, skip him
    * If he has been switched before, skip him
    * If he has a buddy and is on the same team as his buddy, skip him
    * If he has a buddy and is not on the same team as his buddy, switch him
    * If has buildings built, skip him
    * If he is just a regular dead player, switch him

    Find a living player in the following order:

    * If he is an admin, skip him.
    * If he has been switched before, skip him
    * If he has more than 50% uber, skip him
    * If he has buildings built, skip him
    * If he has a buddy and is on the same team, skip him
    * If he has a buddy and is not on the same team, switch him
    * If he is just a regular live player, switch him
     
  5. Vacoy some sort of fucking fish

    Re: Team Balance

    omg, we have some great scripters in GM great job! :D
     
  6. Robbiebob Non Verba, Sed Acta

    Re: Team Balance

    +1 :D
     
  7. Vacoy some sort of fucking fish

    Re: Team Balance

    tom does, right?

    Oh btw, shit on front:
    ME, dark geit. (It's not nice to put urself on front xD)
     
  8. Re: Team Balance

    the correct way is

    Dark, Geit and I :P



    anyway good work guys.

    i wish i can do scripts :|
     
  9. Re: Team Balance

    wow nice work :D

    dark, geit, spyko <3
     

Users Viewing Thread (Users: 0, Guests: 0)