Raised This Month: $ Target: $400
 0% 

Simple Team Balancer for TFC


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 06:56.


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