goonpug/goonpug — pull request #60 by dtuominen (2013-03-15 15:42:29+00:00)
Title: Added random team choosing, hp command, say command .randomize

Issue #50

This is adding a few things:

gp_random_teams "0/1"

convar to determine whether or not to use random team selection

say command ".randomize"

Anybody can use this, will simply toggle gp_random_teams to 1, so that after map voting it will just randomly select teams rather than captains.

.hp

Not really sure what happened on the live server, but /hp isn't actually there, not sure if it was an old commit or what. So it's in this one, still need to add the damage tracking/shots hit/taken etc.

If you deploy this to the server, either let me know so I can keep an eye on it, or you should probably watch it. As of now, it should simply go to random teams after map voting finishes as long as the cvar is set to 1. But who really knows how well it works, I haven't been able to test that part at all, i don't have 10 test friends :(.

If there's any issues let me know, I compiled and installed it on my test box, but haven't been able to use with any real players.