Description:
How does the level balancer work? During the warmup round, everyone's rank is put into an array. Then the plugin searches for level 80's. When it finds one, it places him on Empire. Then it moves onto search for the next level 80, and puts him on Consortium. When there are no level 80's left, it moves onto level 79 and repeats all the way down to level 0.
Basically, it puts the players in order by level, then then puts every other player on the same team.
There is also an admin command to re-run the balancer at any time, which commanders are immune from.
Cvars:
- sm_nd_balancer_enable | Default = 1 | Set 0 to disable the balancer and only run the warmup round
- sm_warmup_time | Default = 65 | Sets the warmup timer.
- sm_warmup_end_message | Default = "Engage Post-Nuclear Combat!" | Sets the message displayed when the warmup round ends [MaxLength == 100 characters]
- sm_warmup_text_color | Default = "0 255 0" | Set the warmup text RGB values seperated by spaces. Must be enclosed in quotes!
- sm_warmup_modify_ff | Default = 0 | Enabling this Cvar will turn FF on durning the warmup round, then back off when it ends.
- sm_warmup_modify_gravity | Default = 0 | 0 = Don't change gravity; any > 0 will set gravity to that value, then return to default after the warmup round.
Command:
- sm_balanceteams | Runs the team balancer immediately.
New in Version 1.2.4:
* Added SetClientSpawnPoint() to ForceSpawn() to fix a bug where the player would be stuck trying to spawn without a Transport Gate selected.
* Added AutoExecConfig() - All cvars and descriptions will be placed in a config file at nucleardawn/cfg/sourcemod/nd_balancer.cfg