Page 1 of 1

Speeding up the AI in air/naval scenarios

Posted: Sat Dec 26, 2020 6:17 pm
by Erik2
This one is probably for the devs.

Several of the AI task settings include a Distance setting, ie the air/naval seek & destroy.
The default setting is 999.
Anyone think it would help if the distance is set to something (drastically) lower than the map's max side?
For instance, in a 120 hex map I could probably set distance = 60 which may still be enough to find enemy units.

My Coral Sea scenario has 23 AI teams and a max number of 10-12 units in two teams.
So this distance is the only thing I can think of that would really slow the AI down.

Also, is the distance calculated from the current position in any given turn or is it always calculated from the original position?

Re: Speeding up the AI in air/naval scenarios

Posted: Sat Dec 26, 2020 9:25 pm
by Zekedia222
It might. I don't know much about programming and that kind of thing, but I'd imagine the bigger the range, the more actions the AI needs to check and evaluate that range, and so, because there are more actions, it would take the AI more time to process. That's really just a guess on my part, though.