Page 1 of 1

Speed up game world

PostPosted: 09 Nov 2019, 16:27
by mrdoisis

This might be more of a development question.
I'm looking into implementing an AI for STK. I regularly need to measure the performance of the AI by racing through a track and I need a way to quickly simulate a single race.
I've tried tuning the kart speed, but I quickly run into problems with the game's other AI's not being able to handle high velocity.
I've also tried changing the physics step size, but it seem to only affect the kart's handling of turning, leaning, etc.
So I was wondering if there's a way to "collectively speed up the entire world" such that all AI's still drives as they normally would, but where everything just runs faster. Sort of like a "fast-forward" mode.

In other words,
What does it take to speed up the entire game world to allow for faster simulations of AI races?

Please, if I'm in the wrong place, or if you would like a more elaborate explanation, let me know. :)

Re: Speed up game world

PostPosted: 09 Nov 2019, 16:33
by benau
Try profiling mode, see tools/ai_test

Re: Speed up game world

PostPosted: 11 Nov 2019, 09:53
by mrdoisis
benau {l Wrote}:Try profiling mode, see tools/ai_test

Thank you, Benau, for your response. I looked at the script and found it very helpful! :)