Garry's Mod

Garry's Mod

115 ratings
How to Get a Nav Mesh for ANY map.
By BiggyBalls42069
Alright, you clicked on this guide to find out how to make a Nav Mesh. Well, It's fairly simple.
2
   
Award
Favorite
Favorited
Unfavorite
This is What You Do For Gmod maps that are connected without teleporters
Go to a flat part of the map. Doesn't matter if you are on a slope as long as it's flat. Then, press ~ to open the console. Then, type in the console nav_mark_walkable then nav_generate. Just wait intill the map reloads itself it will lag for a bit till then. After the map has restarted, you now have a Nav Mesh for that map! It would also be a good idea to save it using nav_save.
This is what you do for maps that are connected via teleporters
Go to a flat part of the map. Doesn't matter if you are on a slope as long as it's flat. Then, press ~ to open the console. Then, type in the console nav_mark_walkable then go through one of the teleporters in the map and go to a flat area of that part, and type nav_mark_walkable again. repeat this in different areas until you have done this in every part of the map that uses a teleporter to get to it, then do nav_generate. The map will lag for a bit then it will restart. After the map has restarted, you now have a rough Nav Mesh for that map! It would also be a good idea to save it using nav_save..
78 Comments
Cleano. 9 Aug, 2024 @ 2:39pm 
or if you dont wanna go through the lag, that can sometimes take hours, you can check if there are any pre-generated navmeshes on the workshop
StrawWagen 21 Jun, 2024 @ 11:06pm 
You could use this, or you could follow this tutorial for instant results...
https://www.youtube.com/watch?v=KOrLM5P6Xnw
Mihacappy 4 Apr, 2024 @ 10:07pm 
@Obi-Wan Kenobi
Use VIDE, that's what i used to pack sounscapes into my BSP
dawgfood_ontawp 18 Mar, 2024 @ 5:37pm 
ok
Black Knight 8 Aug, 2023 @ 7:03am 
anyone know how to pack it in the map?
modneG 11 Jun, 2023 @ 9:10am 
Thanks Dude That Was Very Helpful.
Jaxator 17 Apr, 2023 @ 7:27pm 
this is the fist time being replyed to lol
Jaxator 17 Apr, 2023 @ 2:41pm 
alr thank
BiggyBalls42069  [author] 16 Apr, 2023 @ 9:42pm 
@It's Just Steroids
You're gonna need the hammer editor for this, because you'd have to edit the map file using it.
Here is a more in depth explanation I found on youtube for more specifics, as this could actually be its own guide.
https://www.youtube.com/watch?v=XZ_39QK10vk&pp=ygUeaG93IHRvIGFkZCBub2RlcyB0byBhIGdtb2QgbWFw
@bessarjaxon
make sure your computer is actually capable of running the commands, and try not to do anything else, including but not limited to opening a browser, having multiple programs open simultaneously, and pressing buttons. waiting for the map to reload is crucial for it to not crash on older / slower pcs, so unfortunately patience is required.