Nav Mesh: Difference between revisions
Jump to navigation
Jump to search
(nav_create, nav_delete, nav_connect, nav_disconnect, and nav_disconnect_outgoing_oneways all work with selected sets.) |
(Moved content to Nav Mesh Editing. This page should be treated as a hub, see the Talk page. Looking forward to add more to this page.) Tag: Replaced |
||
Line 4: | Line 4: | ||
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. | ||
== NAV files == | |||
{{main|NAV}} | |||
Navigation Mesh data is stored in a [[NAV]] file corresponding to the map file ([[bsp|.bsp]]) for which it is used. For example, the nav mesh for <code>cstrike\maps\de_dust.bsp</code> is stored in <code>cstrike\maps\de_dust.nav</code>. | Navigation Mesh data is stored in a [[NAV]] file corresponding to the map file ([[bsp|.bsp]]) for which it is used. For example, the nav mesh for <code>cstrike\maps\de_dust.bsp</code> is stored in <code>cstrike\maps\de_dust.nav</code>. | ||
== | == Navigation Mesh Editing == | ||
A new | {{main|Nav Mesh Editing}} | ||
{{main|Navigation Mesh Commands}} | |||
The Navigation Mesh Editing is done in-game. A (new) .nav file can be generated with <code>nav_generate</code> (which requires {{ent|sv_cheats|1}} and {{ent|nav_edit|1}}). | |||
== Game Specific SubVersions == | |||
= | |||
= Game Specific | |||
{| class="standard-table" | {| class="standard-table" | ||
! Game !! Known as !! Subversion !! Notes | ! Game !! Known as !! Subversion !! Notes | ||
Line 285: | Line 48: | ||
|} | |} | ||
= See also = | == See also == | ||
* [[Navigation Mesh Commands|Navigation Mesh Console Command Reference]] | * [[Navigation Mesh Commands|Navigation Mesh Console Command Reference]] | ||
* [[Left 4 Dead Navigation Meshes]] | * [[Left 4 Dead Navigation Meshes]] | ||
Line 292: | Line 55: | ||
* [[L4D Level Design/Advanced Nav Editing]] | * [[L4D Level Design/Advanced Nav Editing]] | ||
= 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)] | * [http://www.editlife.net/tutorial.php?tutid=60 Waypointing for CS:S Bots/Hostages (Edit Life)] |
Revision as of 08:27, 25 August 2021
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 and
Counter-Strike: Global Offensive , and all NextBot entities in
Left 4 Dead ,
Left 4 Dead 2 ,
Garry's Mod and
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
.
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 |
---|---|---|---|
![]() |
TheNavMesh | 0 | Garry's Mod is using the base navigation mesh(It doesn't use it's own implementation unlike Valve games) |
![]() |
CSNavMesh | 1 | |
![]() |
CTFNavMesh | 2 | |
![]() |
TerrorNavMesh | 13 | |
![]() |
TerrorNavMesh | 14 | |
![]() |
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)