<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I've modified the autobalance.py script because it kinda pissed me off
after being switched for the third time while being a commander.<br>
<br>
I have simply added these lines in the onPlayerDeath() routine:<br>
These lines should ensure that the Commander and Squad Leader will NOT
be switched anymore.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # [Modification] This tiny piece of code added makes sure that
the Commander and Squad Leader are immune for being teamswitched.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if p.isCommander():<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return None<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if p.isSquadLeader():<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return None<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # [/Modification]<br>
<br>
<br>
cheers,<br>
<br>
<div class="moz-signature">-- <br>
<big><font face="Verdana" size="-2"><big><!-- SGT -->Mortis - Webadmin
and Game Server admin<br>
European Tactical Battlefield Forces<!--<a href="http://www.theartofwarfare.net">The Art Of Warfare</a> - BF<br>
The Gryphons--></big></font></big></div>
</body>
</html>