Generating navmeshes which don't connect to spawn

  • If you're asking a question make sure to set the thread type to be a question!

Phil25

L1: Registered
Jun 13, 2015
49
10
TL;DR version: nav_generate doesn't generate navmeshes which can't lead to spawn, how do I make it so I can generate them everywhere possible?

I want to quickly generate navmeshes around the map for bots to move in. Since it's a surf map, I need nothing fancy so I figured I simply use nav_generate to make simplistic movement for skeletons from one of the halloween spells.

uc

Thanks for the help!
 

Phil25

L1: Registered
Jun 13, 2015
49
10
I started to have one problem with that though. It seems that sometimes, it just doesn't work.
When I mark multiple platforms to as a walkable area, some get the navmesh generated on them, others don't. This appears to be random because when I repeat the process different platforms get navmeshes generated. So far, I had no success in getting it to work on all of the desired platforms.

Has anyone ever encountered this?
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
540
By platform, do you mean something that is within the air with no visible access route (you need to jump somewhere to get there or what? Sometimes you also need to just do things like nav_splice (that connects one area to other of different height also) or simply do the nav_mark & nav_connect yourself or create area between the ones and connect them manually.
 
Mar 23, 2013
1,013
347
You can also create nav meshes yourself. Read the wiki article linked by killohurz.
And having multiple plattforms sounds like something that bots can't use anyway...
 

Phil25

L1: Registered
Jun 13, 2015
49
10
By 'platform', I mean something which has no game-defined connection so to say, by which I mean there's no way bots would understand how to get from one to the other.
I didn't mean for them to be just single blocks either. They are more complicated than that and manually building a navmesh on them would be too time consuming to simply make bots move and perform the simplest tasks.

My situation: surf map. I want to add spells to the halloween variant of it, but one of the rare ones spawns skeletons. I'm not looking to teach them how to surf. I just want them to be able to move when there's a floor.