Page 1 of 1

Navigation AIs for 2017

Posted: Tue Aug 08, 2017 9:22 pm
by Gustavo6046
Should be easy to adapt for Unreal in C++:

Image

Re: Navigation AIs for 2017

Posted: Tue Aug 08, 2017 11:31 pm
by nogardilaref
Navigation AI is a rather complex subject, but starting drawing it out in 2D like you did is a good start. :)
You cannot translate that directly to Unreal however since the translation from 2D to 3D is a bit more complicated (planes instead of lines, 3 angles instead of 1, etc), and 3D has its own math involved, but it can be indeed discussed in 2D first and then translated to 3D.

Consider now the following however:
Image
how would this be solved?

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 2:47 am
by papercoffee
@nogardilaref
Your picture isn't showing up :wink:

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 6:43 am
by sektor2111
I was asked if are doable some paths for RX maps - some aerial paths to follow by flying with a Jet. So far I have this - TESTED - no stories, excuse me.
[attachment=0]2017_Aerials.PNG[/attachment]
The three nodes from the upper spot shows the route, but pawn has to use some stuff because ground units will never get them bobbing in spot, they do need flying stuff with any matter...

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 10:52 am
by SC]-[WARTZ_{HoF}
I suppose we could use a hidden pickup for these maps for ground paths.

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 12:00 pm
by nogardilaref
papercoffee wrote:@nogardilaref
Your picture isn't showing up :wink:
Thanks, fixed. :tu:
It was only visible to me.

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 7:28 pm
by sektor2111
SC]-[WARTZ_{HoF} wrote:I suppose we could use a hidden pickup for these maps for ground paths.
This task can be split in 2 parts: ground paths and air paths. Each route should be separate and for this case we can do 2 custom nodes blocking one of routes based on conditions. Block ground way if pawn can move in air, blocking air paths when pawn cannot fly at all - playing without RX. But, here is needed A.I. task fly related to be done first in order to write navigation. If exist people which wants to chat about these - not only a topic started without results - we can keep going around this problem - team-work might be useful. If pawns and Jets are ready, I will explain how to make such a map because is... not that hard, in some maps probably is too simple, of course there are needed maps with some space for not combining routes - XC_PathBuilder might be helpful as well by using it restrictive.

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 8:22 pm
by papercoffee
@sektor2111
More interesting would be, could such an air pathnode be used to navigate a pawn in z-axis too?

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 8:33 pm
by Gustavo6046
nogardilaref wrote:how would this be solved?
You assume that every linedef should be interated on (not a problem), or will you pick a/some specific pair(s)?

Re: Navigation AIs for 2017

Posted: Wed Aug 09, 2017 8:35 pm
by sektor2111
papercoffee wrote:More interesting would be, could such an air pathnode be used to navigate a pawn in z-axis too?
Doable in any axis if A.I. can guide jets. Perhaps I have to do a map with such a section where some mantas are located far away over some lava, having paths over that Lava Without to see Player directly and triggering them properly to attack players. Manta is probably suitable to prove that paths are usable. Base Explanation: amazingly what you see in that sample are default PathNodes, nothing special at the moment, ground units (Bot with enforcer) will get stuck if nothing does not do any negotiation - yes, there are needed other 2 things but the rest of network is a default-like one.

Maybe in future contest I'll setup some party with fliers (design won't be a priority...) but first I have to check them all what they do when hunting player will be set as their main purpose.

Re: Navigation AIs for 2017

Posted: Fri Aug 11, 2017 10:58 pm
by Gustavo6046
I'm working on fixing a Java implementation I sketched up yesterday, then I'll post the rendered result of what nogardilref did.