Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bot navigation mesh creator

#1
I remember that there was some discussion about bot navigation meshes, so maybe this is of help:
https://github.com/memononen/recastnavigation
Reply

#2
This sounds really cool but what engines does it work with? (or is that irrelevant?)

(Sorry for being a coding noob haha)
Reply

#3
Looks interesting!

rocknroll237 Wrote:This sounds really cool but what engines does it work with? (or is that irrelevant?)
As far as I understood after reading the documentation of this project it is just doing the navigation mesh generation and processing the paths. So it´s up to the game developer how he/she implements that system.
Reply

#4
Recast, while being a great project, requires engine level integration and things that do rarely happens in Xonotic due to lack of engine developers. And yeh it "just" produce the navmesh and pathing.. but thats a huuuuge part as far as navigation go.

I had some dealing with recast and it does produce good quality solutions, tough sometimes can use some hakking / workarounds to support special transitionals (ledges to jump off etc) or conditional environmental medium (water vs slime for example).

In all i think it would be a great addition to DP/Xonotic (and quite some work to make it happen). Oh and BTW, Morphed suggested its integration in DP years ago Tongue
Reply

#5
Path-creation is in my opinion not the problem. Recently I modified the entities file for Radiant a bit so I could place and link waypoints in my maps. Obviously the information of the waypoints was then stored in the map itself. Q3Map2 doesn´t bother about this which is good. Tongue But I was able to convert the information in the map file to .waypoints and .waypoints.cache files by writing my own little program in a few weeks (I have basic knowledge of C++ so that´s why it took so long) which automatically did that. The game could then use them for bot navigation. So far so good... not. It turned out that bots tend to ignore waypoints (and their paths) and just attack the next visible enemy. And that is also the case if you´d create the waypoints in the game with g_waypointeditor. If any improvements should be made then it is to force bots to go along the defined waypoints and don´t ignore them. I have no idea why this simple thing doesn´t work in Xonotic when it does in any other idTech3 and earlier/similar engines.
Reply

#6
Waypoint based navigation is really limited in what it can do. And yes the Xonotic bots are terribad, we all know this Tongue

The whole point of things like recast is to remove the manually adding of navigation info. This has more than the obvious artist work-load benefit; for example it can deal with dynamic objects, it works with procedural environments and so on. Moreover using a navigation mesh rather than a waypoint grid (potentially) allows better AI spatial awareness as its a volume; waypoints are just a pile of interlinked lanes. For the same reason the navigating AI does not need to do nearly as much enviroment checking on its own (it it a ledge? lava? ....) as the navigation system already did this. While more important in situations where you have a lot of agents, its can be a big optimization even with smaller numbers.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  bot navigation bug needs fixing zwz 0 2,880 09-22-2014, 10:14 PM
Last Post: zwz
  Big Brother Bot Support Majki 30 29,236 10-16-2012, 12:32 PM
Last Post: Mr. Bougo
  Bot waypoint format Nodenum 5 7,933 12-23-2011, 07:09 AM
Last Post: Lord Canistra
  New Bot names nowego4 25 22,341 01-13-2011, 05:41 AM
Last Post: CuBe0wL
  XonPickup - Xonotic pickup bot! atheros 10 11,636 10-13-2010, 11:37 AM
Last Post: atheros
  Automatic Bot Waypoint System Odin 16 30,403 05-01-2010, 07:06 PM
Last Post: GT_Gene

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-