+4
Under review

[Just play] Team balance

zenek1999 9 years ago updated by Rezoner1337 9 years ago 1


When player dies and he tries to respawn he should be added to team with less points.


For example when player tries to respawn system would check his points

Player XYZ = 300 points

Team 1 = 1000 + 500 + 300 + 50 + 0 = 1850

Team 2 = 500 + 300 + 200 + 0 + 0 = 1000


We put player XYZ in Team 2.

Team 1 = 1000 + 500 + 300 + 50 + 0 = 1850

Team 2 = 500 + 300 + 200 + 0 + 0 + 300 = 1300


Teams are more even.


Now if player with 300 score dies in Team 1 he has 150 points and...

Team 1 = 1000 + 500 + 50 + 0 = 1550

Team 2 = 500 + 300 + 200 + 0 + 0 + 300 = 1300


He should spawn in Team 2. Obviously after while it could end up in situation where is one player with high score/skill against angry mob which would be... fun!

Under review

There are 20 players per game.
You see only 10 in highscore. Team balancer is working fine and that state should not last long unless these are some immortal players.