[Pogamut-list] Logic frequency and game speed

nvh pogamut-forum at artemis.ms.mff.cuni.cz
Tue Mar 31 11:51:25 CEST 2009


Re: Re: Logic frequency and game speed

Author: nvh

Thanks for your answer! It makes things a lot clearer now :)

Just one remark:
> You can change the delay between synchronous batches in GameBots ini file. You will find it here: UT2004/System/BotAPI.ini . There you can find [BotAPI.BotConnection] variables and there will be visionTime variable. If you write there visionTime=200 it will mean that the delay between synchronous batches is going to be 200 ms and doLogic method will be called 5 times per sec. I wouldn't set this number to less than 100 ms, cause it may seriously lag the UT server, if more bots with such a low delay will be online - but you are free to experiment with it. You will also need to restart UT server so the changes in the ini file have effect. 

The visionTime is noted in seconds, not milliseconds, so 0.2 means that doLogic is called 5 times per second, right?

Niels





More information about the Pogamut-list mailing list