Nav Mesh: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (""know" how to move" is vague.)  | 
				 (this was probably just a reference to the vague notion that computers don't have a true understanding of anything. the nav mesh is what bots use to know things. it's simple.)  | 
				||
| Line 1: | Line 1: | ||
{{lang|Nav Mesh}}  | {{lang|Nav Mesh}}  | ||
A '''Navigation Mesh''' (or shorter: '''nav mesh''') represents the "walkable areas" of a map. This data is '''required''' by [[Bot]]s and Hostages in {{game name|css|name=Counter-Strike: Source}} and {{game name|csgo|name=Counter-Strike: Global Offensive}}, and all [[NextBot]] entities in {{game name|l4d|name=Left 4 Dead}}, {{game name|l4d2|name=Left 4 Dead 2}}, {{game name|GMOD|name=Garry's Mod}} and {{game name|tf2|name=Team Fortress 2}}, allowing them to   | A '''Navigation Mesh''' (or shorter: '''nav mesh''') represents the "walkable areas" of a map. This data is '''required''' by [[Bot]]s and Hostages in {{game name|css|name=Counter-Strike: Source}} and {{game name|csgo|name=Counter-Strike: Global Offensive}}, and all [[NextBot]] entities in {{game name|l4d|name=Left 4 Dead}}, {{game name|l4d2|name=Left 4 Dead 2}}, {{game name|GMOD|name=Garry's Mod}} and {{game name|tf2|name=Team Fortress 2}}, allowing them to know where they can go and how to move around in the environment.  | ||
== NAV files ==  | == NAV files ==  | ||
Revision as of 20:40, 10 October 2021
A Navigation Mesh (or shorter: nav mesh) represents the "walkable areas" of a map. This data is required by Bots and Hostages in Template:Game name and Template:Game name, and all NextBot entities in Template:Game name, Template:Game name, Template:Game name and Template:Game name, allowing them to know where they can go and how to move around in the environment.
NAV files
Main article:  NAV
Navigation Mesh data is stored in a NAV file corresponding to the map file (.bsp) for which it is used.  For example, the nav mesh for cstrike\maps\de_dust.bsp is stored in cstrike\maps\de_dust.nav.
Main article:  Nav Mesh Editing
Main article:  Nav Mesh Commands
The Navigation Mesh Editing is done in-game. A (new) .nav file can be generated with nav_generate (which requires sv_cheats 1 and nav_edit 1).
Game Specific SubVersions
| Game | Known as | Subversion | Notes | 
|---|---|---|---|
| Template:Game link | TheNavMesh | 0 | Garry's Mod is using the base navigation mesh(It doesn't use it's own implementation unlike Valve games) | 
| Template:Game link | CSNavMesh | 1 | |
| Template:Game link | CTFNavMesh | 2 | |
| Template:Game link | TerrorNavMesh | 13 | |
| Template:Game link | TerrorNavMesh | 14 | |
| Template:Game link | CSNavMesh | 1 | (Ported from Counter Strike: Source?) | 
See also
- Navigation Mesh Console Command Reference
 - Left 4 Dead Navigation Meshes
 - L4D Level Design/Nav Meshes
 - L4D Level Design/Nav Flow
 - L4D Level Design/Advanced Nav Editing
 
External Links
- Official forums for the bot system (down) - Archived version.
 - Waypointing for CS:S Bots/Hostages (Edit Life)