FAQ  •  Register  •  Login

What is Bot nav mesh zones

<<

Lamp

User avatar

Posts: 426

Joined: Fri Jan 11, 2013 3:07 pm

Post Mon Mar 04, 2013 8:30 pm

What is Bot nav mesh zones

What is Bot nav mesh zones?

It's not on the wiki....
Image
<<

bobdaduck

User avatar

Global Moderator

Posts: 790

Joined: Thu Mar 11, 2010 1:39 pm

Location: Utah

Post Mon Mar 04, 2013 8:32 pm

Re: What is Bot nav mesh zones

Zones bots use to navigate.
Little_Apple wrote:DnD: the REAL bitfighter levelgen documentation

Santiago ZAP wrote:bob doesn't make new maps, he makes new gamemodes
<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Mon Mar 04, 2013 9:08 pm

Re: What is Bot nav mesh zones

A thing of the past. Bots are very clever, and more than capable of navigating through maps on their own. Previously, one had to manually define bot navigation zones for bots to use a level. Now, it's done automatically when the level loads.

Perhaps interestingly, if a level takes a really long time to load then it likely has too many barriers. The more complex or numerous the barriers on the map, the longer bitfighter must spend dividing it up into navigable zones.
bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Tue Mar 05, 2013 2:58 am

Re: What is Bot nav mesh zones

The mesh zones still exist, though they are not something that ordinary users would want to interact with. You can turn them on in the game to check if the generation algorithm is working. But it's (very) rare now to find a level that doesn't work.
<<

Lamp

User avatar

Posts: 426

Joined: Fri Jan 11, 2013 3:07 pm

Post Tue Mar 05, 2013 6:18 pm

Re: What is Bot nav mesh zones

So why do bots need them?
Image
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Tue Mar 05, 2013 6:28 pm

Re: What is Bot nav mesh zones

The answer to that is rather complex; but, you'll find all your answers here:

http://www.policyalmanac.org/games/aStarTutorial.htm
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Wed Mar 06, 2013 3:25 am

Re: What is Bot nav mesh zones

But it's (very) rare now to find a level that doesn't work.


I'll also note that creating the zones was one of the most technically challenging computational problems I've ever worked on. A week+ high energy cooperative effort between me, sam686, and raptor gave us a solution that is actually really good.
<<

Lamp

User avatar

Posts: 426

Joined: Fri Jan 11, 2013 3:07 pm

Post Wed Mar 06, 2013 2:15 pm

Re: What is Bot nav mesh zones

raptor wrote:The answer to that is rather complex; but, you'll find all your answers here:

http://www.policyalmanac.org/games/aStarTutorial.htm



So I have to put Bot Nav Mesh Zones like in this picture?

Image
Image
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Wed Mar 06, 2013 2:53 pm

Re: What is Bot nav mesh zones

They're generated automatically, and require no action on your part.
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Wed Mar 06, 2013 7:40 pm

Re: What is Bot nav mesh zones

yeah it doesnt really to be used much naymore.
Bitfighter Forever.
<<

Lamp

User avatar

Posts: 426

Joined: Fri Jan 11, 2013 3:07 pm

Post Fri Mar 08, 2013 3:41 pm

Re: What is Bot nav mesh zones

watusimoto wrote:They're generated automatically, and require no action on your part.



I'm talking about 013.
Image
<<

bobdaduck

User avatar

Global Moderator

Posts: 790

Joined: Thu Mar 11, 2010 1:39 pm

Location: Utah

Post Fri Mar 08, 2013 3:44 pm

Re: What is Bot nav mesh zones

Lamp wrote:
watusimoto wrote:They're generated automatically, and require no action on your part.



I'm talking about 013.


Whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

Basically, cover the entire level in navmeshzones and then maybe bots might work. You'll probably have to program the bots yourself too though, I'm not sure S_bot was around in 013.
Little_Apple wrote:DnD: the REAL bitfighter levelgen documentation

Santiago ZAP wrote:bob doesn't make new maps, he makes new gamemodes
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Sat Mar 09, 2013 9:51 pm

Re: What is Bot nav mesh zones

point and case being they arent really needed anymore maybe we could find a replacement for them?
Bitfighter Forever.
<<

bobdaduck

User avatar

Global Moderator

Posts: 790

Joined: Thu Mar 11, 2010 1:39 pm

Location: Utah

Post Sun Mar 10, 2013 1:03 am

Re: What is Bot nav mesh zones

amgine wrote:point and case being they arent really needed anymore maybe we could find a replacement for them?

Pay attention. Have you ever seen a bot nav mesh zone?

For some reason, Lamp is dinking around in 013 and they were visible to him then.

They are needed, but the user no longer needs to generate them by hand. Its done automatically.
Little_Apple wrote:DnD: the REAL bitfighter levelgen documentation

Santiago ZAP wrote:bob doesn't make new maps, he makes new gamemodes
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Sun Mar 10, 2013 2:16 pm

Re: What is Bot nav mesh zones

You can still see them with one of the debugging /cmds (/shownavmeshzones? it's in the help)
<<

Lamp

User avatar

Posts: 426

Joined: Fri Jan 11, 2013 3:07 pm

Post Sun Mar 10, 2013 7:45 pm

Re: What is Bot nav mesh zones

It's /showzones.

Well I think there should be an option to manually do it because in some levels, zone creation fails.

So, the bot just stays anywhere inside the zones?
Image
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Sun Mar 10, 2013 7:50 pm

Re: What is Bot nav mesh zones

If zone creation fails, please let us know and send us the level.

I have not personally seen a playable level with bot zones failing to be created since we introduced the automatic zone creation (back in 015a). We spent a *lot* of time on it to make sure it would be reliable
<<

Lamp

User avatar

Posts: 426

Joined: Fri Jan 11, 2013 3:07 pm

Post Sun Mar 10, 2013 9:54 pm

Re: What is Bot nav mesh zones

raptor wrote:If zone creation fails, please let us know and send us the level.

I have not personally seen a playable level with bot zones failing to be created since we introduced the automatic zone creation (back in 015a). We spent a *lot* of time on it to make sure it would be reliable



I think it happens on large levels.

viewtopic.php?f=33&t=1856

Also another one I made right after or before this i forgot
Image
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Sun Mar 10, 2013 10:10 pm

Re: Tricky Teleporters

OK Yes. There is a limit with botzone generation. This is the error message you get when loading that level:

  Code:
Level too big for zone generation! (max allowed dimension, after gridSize expansion, is 65535)
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Mon Mar 11, 2013 7:31 am

Re: Tricky Teleporters

Wow! I've never actually seen that error message used. Great job, guys!!
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Mon Mar 11, 2013 7:34 am

Re: What is Bot nav mesh zones

Well I think there should be an option to manually do it because in some levels, zone creation fails.


Trust me on this one... you would never ever want to do this. Before we could automatically create zones, I developed a really nice tool for building these in the editor, and even then it was so tedious that I only did one level, once.

Echoing raptor, send us levels that fail and we'll see what's going on.
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Mon Mar 11, 2013 12:55 pm

Re: What is Bot nav mesh zones

yep i found the same bug but lsmp beat me to it. maybe this is why bots gets stuck on large maps lack of nav zones.....
Bitfighter Forever.
<<

Lamp

User avatar

Posts: 426

Joined: Fri Jan 11, 2013 3:07 pm

Post Wed Mar 13, 2013 1:58 pm

Re: What is Bot nav mesh zones

amgine wrote:yep i found the same bug but lsmp beat me to it. maybe this is why bots gets stuck on large maps lack of nav zones.....



They dont spawn if zone creation fails...
Image

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 20 guests

cron