Garry's Mod

Garry's Mod

308 arvostelua
Nextbot Navmesh and AI Nodegraph - The Backrooms-ish v2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Map
Addon Tags: Comic, Fun, Roleplay
Tiedostokoko
Julkaistu
713.287 KB
25.5.2023 klo 13.33
1 muutos ( näytä )

Tilaa ladataksesi
Nextbot Navmesh and AI Nodegraph - The Backrooms-ish v2

1 kokoelmassa, tekijä Wallace Bean
Nextbot Navmeshes
33 luomusta
Kuvaus
!!!!! 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://steamproxy.net/sharedfiles/filedetails/?id=1560118657 or these advanced player nextbots: https://steamproxy.net/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 kommenttia
scaretrooper 17.3. klo 21.08 
its not showing up in my maps (im new to teh game)
Burb the doggy 22.12.2023 klo 11.56 
It's a masterpiece
Levi_Spray 6.6.2023 klo 14.32 
@Dave
Thanks for checking, I’ll give you ample credit to you in the listing for creating the navmesh and node graph!
Wallace Bean  [tekijä] 6.6.2023 klo 13.47 
@Levi_Spray
Both the navmesh and the nodegraph have been successfully added :steamthumbsup:
Levi_Spray 6.6.2023 klo 11.00 
@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.6.2023 klo 10.04 
@Dave
Ah thanks, I'll try that now
Wallace Bean  [tekijä] 6.6.2023 klo 5.28 
You can decompile it either with the gma.exe in Steam\steamapps\common\GarrysMod\bin

or with gmpublisher or any other workshop downloader
Wallace Bean  [tekijä] 6.6.2023 klo 5.27 
@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.6.2023 klo 15.15 
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)
Wallace Bean  [tekijä] 1.6.2023 klo 9.46 
@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://steamproxy.net/workshop/filedetails/?id=2940572697