View Single Post
pizzahut
Senior Member
Join Date: Oct 2004
Old 04-04-2013 , 09:09   Re: Simple Team Balancer for TFC
Reply With Quote #13

The beta has been updated. The parsed keys (spawns, team size, deathmatch info) are now actually put to use, and an option has been added that allows disabling auto assign instead of putting players into the appropriate team. Thanks urban360 for the hint regarding keys.

Things that still need improving:
  • I should be using engclient_cmd instead of client_cmd.
  • Keys are evaluated each time a player joins. This should only be done once, e.g. by using a flag.
  • There are warnings because I'm using an "if" condition for the debug code. I could use a compiler directive instead, or a cvar to toggle debug mode.

Edit: Fixed in beta 4.

Last edited by pizzahut; 06-03-2013 at 14:07.
pizzahut is offline