project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
15 Dec 2018, 00:00:00 (PRT)
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2018-09-09, 14:18   #1
MaxP
Default Understanding AI waypoints

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?
MaxP is offline
Last edited by MaxP; 2018-09-09 at 14:35..
Reply With Quote
Old 2018-09-09, 20:57   #2
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Understanding AI waypoints

It works by having bots move to it when heading from CP A to CP B instead of taking the shortest route.

Outlawz7 is offline Reply With Quote
Old 2018-09-09, 21:13   #3
MaxP
Default Re: Understanding AI waypoints

Quote:
Originally Posted by Outlawz7 View Post
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...38f.jpg?noht=1
They have two waypoints, marked green, but follow the green trajectory, not blue.
Map materials and weigths?
MaxP is offline Reply With Quote
Reply


Tags
understanding, waypoints
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 02:23.