Nav Mesh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Amicdict moved page Navigation Meshes to Nav Mesh: Get around banned expression making it harder to use {{lang}}.)
m (Update lang.)
Line 1: Line 1:
{{lang|Navigation Meshes}}
{{lang|Nav Mesh}}
<br>
<br>
{{otherlang2|jp=Bot_Navigation_for_Counter-Strike:Source:jp}}
{{otherlang2|jp=Nav Mesh Editing}}
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 link|Counter-Strike: Source}} and {{game link|Counter-Strike: Global Offensive}}, and all [[NextBot]] entities in {{game link|Left 4 Dead}}, {{game link|Left 4 Dead 2}}, {{game link|Garry's Mod}} and {{game link|Team Fortress 2}}, allowing them to "know" where they can go and how to move around in the environment.
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 link|Counter-Strike: Source}} and {{game link|Counter-Strike: Global Offensive}}, and all [[NextBot]] entities in {{game link|Left 4 Dead}}, {{game link|Left 4 Dead 2}}, {{game link|Garry's Mod}} and {{game link|Team Fortress 2}}, allowing them to "know" where they can go and how to move around in the environment.


Line 57: Line 57:
== External Links ==
== External Links ==
* Official forums for the bot system (down) - [http://web.archive.org/web/*/http://www.turtlerockstudios.com/forums/csbot/ Archived version].
* Official forums for the bot system (down) - [http://web.archive.org/web/*/http://www.turtlerockstudios.com/forums/csbot/ Archived version].
* [http://www.editlife.net/tutorial.php?tutid=60 Waypointing for CS:S Bots/Hostages (Edit Life)]
* [https://www.editlife.net/tutorial.php?tutid=60 Waypointing for CS:S Bots/Hostages (Edit Life)]
 


[[Category:Level Design]]
[[Category:Level Design]]

Revision as of 07:23, 9 September 2021

English (en)Deutsch (de)Esperanto (eo)Español (es)日本語 (ja)中文 (zh)Translate (Translate)


Template:Otherlang2 A Navigation Mesh (or shorter: nav mesh) represents the "walkable areas" of a map. This data is required by Bots and Hostages in Counter-Strike: Source Counter-Strike: Source and Counter-Strike: Global Offensive Counter-Strike: Global Offensive , and all NextBot entities in Left 4 Dead Left 4 Dead , Left 4 Dead 2 Left 4 Dead 2 , Garry's Mod Garry's Mod and Team Fortress 2 Team Fortress 2 , 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.

Navigation Mesh Editing

Main article:  Nav Mesh Editing
Main article:  Navigation 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
Garry's Mod Garry's Mod TheNavMesh 0 Garry's Mod is using the base navigation mesh(It doesn't use it's own implementation unlike Valve games)
Counter-Strike: Source Counter-Strike: Source CSNavMesh 1
Team Fortress 2 Team Fortress 2 CTFNavMesh 2
Left 4 Dead Left 4 Dead TerrorNavMesh 13
Left 4 Dead 2 Left 4 Dead 2 TerrorNavMesh 14
Counter-Strike: Global Offensive Counter-Strike: Global Offensive CSNavMesh 1 (Ported from Counter Strike: Source?)

See also

External Links