Garry's Mod

Garry's Mod

321 ratings
Nextbot Navmesh and AI Nodegraph - The Backrooms-ish v2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Map
Addon Tags: Comic, Fun, Roleplay
File Size
Posted
713.287 KB
25 May, 2023 @ 1:33pm
1 Change Note ( view )

Subscribe to download
Nextbot Navmesh and AI Nodegraph - The Backrooms-ish v2

In 1 collection by Steve
Nextbot Navmeshes
33 items
Description
!!!!! You may need to put ai_norebuildgraph 1 into your console (preferably your auto config file, so other nodegraph addons will work) and then type restart, this stops the map from overwriting the created nodegraph incase it doesn't work !!!!!

I'm back baby! After a hiatus; there are more navmeshes/nodegraphs to come

A mostly generated navmesh and completely handcrafted nodegraph for The Backrooms-ish v2

The creator of the map can add my created navmeshe/nodegraph to their map if, and whenever they want.

to test the navmesh, try using it with the drgbase nextbots: https://gtm.you1.cn/sharedfiles/filedetails/?id=1560118657 or these advanced player nextbots: https://gtm.you1.cn/sharedfiles/filedetails/?id=2148063174.

to test the nodegraph, use the console command npc_select on an npc, then use the command npc_go to tell them to move to the area where your crosshair is. For a bonus: use developer 1 in the console.

Q/A

What is a nav mesh? And what is a nodegraph?
-Nav meshes are groups of squares placed across the map that contain information that nexbots use to see the map
Example #1 using nav_edit 1 on gm_liminal_gallery_2


Example #2 using nav_edit 1 on gm_liminal_gallery_2


Example #3 using nav_edit 1 on gm_fortbaxter

in order for any and all nextbots to work, you actually need to have a navmesh; you can create one by putting nav_generate into your console on any map, but this may take several minutes or even sometimes hours to fully generate depending on the size and complexity of the map.


What is a nodegraph?
- nodegraphs are similar to navmeshes, but unlike navmeshes, which are squares that cover a whole area, nodegraphs are like a long string of nodes that provides a path through a level for every other npc. (like combine, zombies, citizens etc.)

{ More examples coming soon...)
Example #1 using a nodegraph editor tool on raid_on_nova_prison_d


Example #2 using a ai_show_connect on The Backrooms-ish v2


These nodegraphs allow ‘normal’ npcs to follow you, other npcs or just patrol around a map; npcs who do not have a node graph or have a low quality nodegraph, will usually stand in place, or pace in circles. In short, a nodegraph allows npcs complete freedom to move around a map.



Why would I want to install this navmesh, instead of doing nav_generate in console?

-more advanced/ accurate mesh, meaning better navigation for nextbots; they're less likely to get stuck; but still possible :( .

-simple parkour that nav_generate will never create, which means guess who support and other human like nextbots

-increases the amount of hiding spots and encounter points, this improves nextbots like Gargitron.

-accommodation for nextbots separate from the 'png chasers', e.g 'crouching attribute' nodes, and other 'flags'

-nav meshes in places where the nav_generate command fails to create them.

- it takes way less time to download this, than to generate a new mesh.

- even scarier and more effective nextbots.

Why would I want to install this nodegraph, don't maps already come with one?

- Many maps either completely lack a nodegraph or the default nodegraph can have some problems.

- A nodegraph will improve default npcs (combine, citizens, zombies etc.) by alot, this will make it so npcs can properly chase players and other npcs around corners, they can now flank, and can patrol, as well as many other abilities.

- Essentially, the nodegraph is a navmesh, for normal npcs; cool right.

Feel free to comment if you find any bug/ glitches, these are some I am aware of:

- Some nextbots lack the ability to use the two ladders

- Some nextbots will pass the metal gate to follow you, so beware!

Incase you like this navmesh/nodegraph:
15 Comments
scaretrooper 17 Mar @ 9:08pm 
its not showing up in my maps (im new to teh game)
Demogorjirra 22 Dec, 2023 @ 11:56am 
It's a masterpiece
Levi_Spray 6 Jun, 2023 @ 2:32pm 
@Dave
Thanks for checking, I’ll give you ample credit to you in the listing for creating the navmesh and node graph!
Steve  [author] 6 Jun, 2023 @ 1:47pm 
@Levi_Spray
Both the navmesh and the nodegraph have been successfully added :steamthumbsup:
Levi_Spray 6 Jun, 2023 @ 11:00am 
@Dave
hey I did what you said and I updated the map files to include yours. I'm unsure if it's implemented correctly (I'm still relatively new to this type of stuff). can you tell me how to check (or check for me)?
Levi_Spray 6 Jun, 2023 @ 10:04am 
@Dave
Ah thanks, I'll try that now
Steve  [author] 6 Jun, 2023 @ 5:28am 
You can decompile it either with the gma.exe in Steam\steamapps\common\GarrysMod\bin

or with gmpublisher or any other workshop downloader
Steve  [author] 6 Jun, 2023 @ 5:27am 
@Levi_Spray
You can:
1. Decompile this addon
2. Put the .nav file into the /maps/ file path
3. You can also add the nodegraph .ain file into a new folder path maps/graphs/

The nodegraph one may not work however, as there is already a blank nodegraph in the map's .bsp
Levi_Spray 5 Jun, 2023 @ 3:15pm 
Oh damn this is cool, I never knew how to make a nav mesh, I’ll try adding it to the actual map. (might need some help)
Steve  [author] 1 Jun, 2023 @ 9:46am 
@ammarmusic7732

This addon is not a map, it's a navmesh and nodegraph that helps AI navigate around the actual map, this doesn't add another map to the map selection, just improves the already existing one.

You can see the original map in the required items or this is the link to it:
https://gtm.you1.cn/workshop/filedetails/?id=2940572697