Nav Mesh: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (put the game names in a small list) | m (Use {{game name}} in table, and reorganize table.) | ||
| Line 22: | Line 22: | ||
| == Game Specific SubVersions == | == Game Specific SubVersions == | ||
| {| class="standard-table" | {| class="standard-table" | ||
| ! Game !!  | ! Game !! Nav Mesh Class !! Subversion !! Notes | ||
| |- | |- | ||
| | {{game  | | {{game name|gmod|name=Garry's Mod|gl=1}} | ||
| | TheNavMesh | | TheNavMesh | ||
| | 0 | | 0 | ||
| | Garry's Mod is using the base navigation mesh(It doesn't use it's own implementation unlike Valve games) | | Garry's Mod is using the base navigation mesh(It doesn't use it's own implementation unlike Valve games) | ||
| |- | |- | ||
| | {{game link|Counter-Strike:  | | {{game name|css|name=Counter-Strike: Source|gl=1}} | ||
| {{game link|Counter-Strike: Global Offensive}} | |||
| | CSNavMesh | | CSNavMesh | ||
| | 1 | | 1 | ||
| | | | * Appends approach area data to each area. | ||
| |- | |- | ||
| | {{game  | | {{game name|tf2|name=Team Fortress 2|gl=1}} | ||
| | CTFNavMesh | | CTFNavMesh | ||
| | 2 | | 2 | ||
| | | | Appends TF2-specific attribute flag to area data. | ||
| |- | |- | ||
| | {{game  | | {{game name|l4d|name=Left 4 Dead|gl=1}} | ||
| | TerrorNavMesh | | TerrorNavMesh | ||
| | 13 | | 13 | ||
| | | | | ||
| |- | |- | ||
| | {{game  | | {{game name|l4d2|name=Left 4 Dead 2|gl=1}} | ||
| | TerrorNavMesh | | TerrorNavMesh | ||
| | 14 | | 14 | ||
| |} | |} | ||
Revision as of 22:16, 18 October 2021
A Navigation Mesh (or shorter: nav mesh) represents the "walkable areas" of a map. This data is required by:
These require the data to realize what's navigable in their environment, and path to their desired destination.
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 | Nav Mesh Class | Subversion | Notes | 
|---|---|---|---|
| Template:Game name | TheNavMesh | 0 | Garry's Mod is using the base navigation mesh(It doesn't use it's own implementation unlike Valve games) | 
| Template:Game name | CSNavMesh | 1 | * Appends approach area data to each area. | 
| Template:Game name | CTFNavMesh | 2 | Appends TF2-specific attribute flag to area data. | 
| Template:Game name | TerrorNavMesh | 13 | |
| Template:Game name | TerrorNavMesh | 14 | 
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)

























