v1.01e


'Sup.  Here's the BOD/"balance on death" metamod plugin for NS.

See www.gamesplace.net/bod.asp or http://www.modns.org/forums/index.php?showtopic=207 for details.

Source is in the "source" directory.  It compiles under MS VC++ 2003 and linux g++ 3.something.

==========----------  Installation ----------==========

1) install the appropriate binary as a normal metamod plugin.

	You should know the drill, if not: http://www.metamod.org.
	
	NOTE: I have _not_ tested the linux version at all.  It may crash, delete files, ... (it probably won't, but ya never know with these things)
	
2) configure admins

	Some commands are only accessible by server admins.  To specify who has access to these commands, and put any admin STEAMIDs in the mp_serverops server variable separated by a ;
	
3) skill-based commands

	To use the skill-based command (stv and eventeams), you'll need to create a file containing players' steamids, a comma, and a skill value.  The included get_player_values_mysql.pl will generate such a file off a psychostats 2.2 database (www.psychostats.com).  It's a perl script, so you'll need to have Perl installed.  You'll also need to edit the script to give it the name of your database and other infos.  I'd recommend running it repeatedly using a cron job or the windows task scheduler.  The skills file goes in the same directory as the plugin.

==========----------  In game commands ----------==========

To use these, either enter at the console, or say them preceded by a /

showlast or sl - shows last player to join each team
stv - shows team skill values
bod_help - prints all commands

<following commands are for admins only>
ml - moves last player to join the team w/too many players to the ready room
bod - moves first player to die on the team w/too many players to the ready room
rrr - sends all players in the ready room to a random team
eventeams - creates even teams based on skill values

==========----------  Server Vars ----------==========

bod_handicapteam aliens|marines	<-- causes a team to be considered as having 1 more person for balance considerations
bod_playervaluesfile 			<-- filename where player skill values get loaded from

