Tracing elements between turns

rf900

Warlord
Joined
Jan 31, 2006
Messages
194
I am getting mad with the long waiting times between turns, even with one worker, small maps, few civs... Sometimes you only perform 2 or 3 meaningful tasks, the rest is clicking for message or actions that leave you few choices. And then click end turn to wait for 10-20sec during late game...

So, I have used the tuner but didn't find any useful information. Do you know if I can use LUA events to trace what is going on during AI turn?, maybe events in between ActivePlayerTurnEnd and ActivePlayerTurnStart.

If not I will have to wait for the engine SDK. I wished they make some improvements here, some predictable AI that when you moved your last unit starts making decisions even if you still have to choose production and other things. Imagine if the AI was able to calculate their turn while you are doing yours, not with simultaneous turns but like behind. There are so many things that could be calculated beforehand... don't know maybe I am dreaming.
 
One thing I noticed is that the AI very rarely puts his units on Alert/Fortify. If you tweak yourself a unit with extended range and park it near their borders you'll notice that most of the units seem to be on patrol, moving needlessly and pointlessly in their own territory. Multiply that by 10 AIs and double that amount of city states and yes it takes forever between turns. When they're at war it's even worse. Maybe if the AI knew how to form proper defensive lines it could park its units on their borders but it doesn't do that.
 
So, I have used the tuner but didn't find any useful information. Do you know if I can use LUA events to trace what is going on during AI turn?, maybe events in between ActivePlayerTurnEnd and ActivePlayerTurnStart.
yes you can. try out the different events, spam a lot of print statements and have at it. there's a lot of information

alternatively, you can turn the logging on which will write the files into your docs / my games / civ5 / logs, those contain a lot of data also
 
Back
Top Bottom