[bf1942] BF2 Autobalance

Adam Hobbs adam.hobbs at internode.on.net
Sat Jun 18 01:56:36 EDT 2005


metac0m wrote:

>>My line 34 does not have that debug print statement.. But, would this
>>work if I added it right at the start of the function?  Like this:
>>    
>>
>
>  
>
>>def onPlayerDeath(p, vehicle):           
>>    if not bf2.serverSettings.getAutoBalanceTeam(): return None 
>>    
>>
>
>  
>
>>#added this here
>>    if p.isCommander(): return None
>>    if p.isSquadLeader(): return None
>>    
>>
>
>  
>
>>.... code contines
>>    
>>
>
>you are right - without the BF2CC Admin Scripts its line 37:
>
> if not bf2.serverSettings.getAutoBalanceTeam(): return None
>
>sorry
>
>--metac0m
>
>
>  
>
Can this be expanded to include Squad member, swapping lone wolf players 
only, or better yet swap unsquaded people first, and if none exist, then 
to swap squad members.  Can be real annoying when your playing in a 
squad and all of a sudden your on the other side.  Quite disrupting.

mentasm



More information about the Bf1942 mailing list