Understanding AI waypoints

Making or wanting help making your own asset? Check in here
Post Reply
MaxP
Posts: 117
Joined: 2008-09-08 19:18

Understanding AI waypoints

Post 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?
Last edited by MaxP on 2018-09-09 13:35, edited 3 times in total.
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Understanding AI waypoints

Post by Outlawz7 »

It works by having bots move to it when heading from CP A to CP B instead of taking the shortest route.
Image
MaxP
Posts: 117
Joined: 2008-09-08 19:18

Re: Understanding AI waypoints

Post 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?
Post Reply

Return to “PR:BF2 Community Modding”