[bfprog] Creating qstat variables
Steven Hartland
killing at multiplay.co.uk
Tue Aug 23 05:19:26 PDT 2005
That could be done quite easily yes as the "standard" autobalance is never
used hence just commenting out the following in modmanager.con will do
the trick:
modmanager.loadModule "mm_autobalance"
e.g.
#modmanager.loadModule "mm_autobalance"
Steve / K
----- Original Message -----
From: Giel van Schijndel
To: Battlefield Programming
Sent: 23 August 2005 13:00
Subject: Re: [bfprog] Creating qstat variables
However a solution might be to have an internal python value smartbalance, then when the this value is set it simply shouldn't execute the autobalance script only the smartbalance script. So where you would normally have these lines:
-------------------------------------------------------
if not bf2.serverSettings.getAutoBalanceTeam():
return
-------------------------------------------------------
You could add some lines like these:
-------------------------------------------------------
if class.member.SmartBalance():
return
-------------------------------------------------------
Then you should have the smartbalance script to do the oposite:
-------------------------------------------------------
if not class.member.SmartBalance():
return
-------------------------------------------------------
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.matureasskickers.net/pipermail/bfprog/attachments/20050823/c3d2f308/attachment.html
More information about the BFProg
mailing list