Page 1 of 1

Understanding AI waypoints

Posted: 2018-09-09 13:18
by MaxP
There is aiStrategicArea.addWayPoint option in StrategicAreas.ai file.
How it works exactly?

I asked 'cause in some cases it works fine, but sometimes strange things happens.
Is this a chain of waypoins, that units have to follow one by one?
Is the CP order important? I.e., is CP1 CP2 = CP2 CP1?

Re: Understanding AI waypoints

Posted: 2018-09-09 19:57
by Outlawz7
It works by having bots move to it when heading from CP A to CP B instead of taking the shortest route.

Re: Understanding AI waypoints

Posted: 2018-09-09 20:13
by MaxP
Outlawz7 wrote:It works by having bots move to it when heading from CP A to CP B instead of taking the shortest route.
:)
But why they sometimes taking the longest routes between the waypoints instead of taking the shortest ones?
Example:
http://i103.fastpic.ru/big/2018/0909/8f ... jpg?noht=1
They have two waypoints, marked green, but follow the green trajectory, not blue.
Map materials and weigths?