GmodGeneralConsole reference
Navigation
Bot navigation mesh settings.
Navigation
Bot navigation mesh settings.
This is a reference of all nav_* console commands. Use find nav in the console to search within this category.
All Commands (150)
| Command | Default | Description |
|---|---|---|
nav_add_to_selected_set | cmd | Add current area to the selected set. |
nav_add_to_selected_set_by_id | cmd | Add specified area id to the selected set. |
nav_analyze | cmd | Re-analyze the current Navigation Mesh and save it to disk. |
nav_area_bgcolor | 1069646976.000 | RGBA color to draw as the background color for nav areas while editing. |
nav_area_max_size | 50 | Max area size created in nav generation |
nav_avoid | cmd | Toggles the 'avoid this area when possible' flag used by the AI system. |
nav_begin_area | cmd | Defines a corner of a new Area or Ladder. To complete the Area or Ladder, drag the opposite corne... |
nav_begin_deselecting | cmd | Start continuously removing from the selected set. |
nav_begin_drag_deselecting | cmd | Start dragging a selection area. |
nav_begin_drag_selecting | cmd | Start dragging a selection area. |
nav_begin_selecting | cmd | Start continuously adding to the selected set. |
nav_begin_shift_xy | cmd | Begin shifting the Selected Set. |
nav_build_ladder | cmd | Attempts to build a nav ladder on the climbable surface under the cursor. |
nav_check_file_consistency | cmd | Scans the maps directory and reports any missing/out-of-date navigation files. |
nav_check_floor | cmd | Updates the blocked/unblocked status for every nav area. |
nav_check_stairs | cmd | Update the nav mesh STAIRS attribute |
nav_chop_selected | cmd | Chops all selected areas into their component 1x1 areas |
nav_clear_attribute | cmd | Remove given nav attribute from all areas in the selected set. |
nav_clear_selected_set | cmd | Clear the selected set. |
nav_clear_walkable_marks | cmd | Erase any previously placed walkable positions. |
nav_compress_id | cmd | Re-orders area and ladder ID's so they are continuous. |
nav_connect | cmd | To connect two Areas, mark the first Area, highlight the second Area, then invoke the connect com... |
nav_coplanar_slope_limit | 0 | - |
nav_coplanar_slope_limit_displacement | 0 | - |
nav_corner_adjust_adjacent | 18 | radius used to raise/lower corners in nearby areas when raising/lowering corners. |
nav_corner_lower | cmd | Lower the selected corner of the currently marked Area. |
nav_corner_place_on_ground | cmd | Places the selected corner of the currently marked Area on the ground. |
nav_corner_raise | cmd | Raise the selected corner of the currently marked Area. |
nav_corner_select | cmd | Select a corner of the currently marked Area. Use multiple times to access all four corners. |
nav_create_area_at_feet | 0 | Anchor nav_begin_area Z to editing player's feet |
nav_create_place_on_ground | 0 | If true, nav areas will be placed flush with the ground when created by hand. |
nav_crouch | cmd | Toggles the 'must crouch in this area' flag used by the AI system. |
nav_debug_blocked | 0 | - |
nav_delete | cmd | Deletes the currently highlighted Area. |
nav_delete_marked | cmd | Deletes the currently marked Area (if any). |
nav_disconnect | cmd | To disconnect two Areas, mark an Area, highlight a second Area, then invoke the disconnect comman... |
nav_disconnect_outgoing_oneways | cmd | For each area in the selected set, disconnect all outgoing one-way connections. |
nav_displacement_test | 10000 | Checks for nodes embedded in displacements (useful for in-development maps) |
nav_dont_hide | cmd | Toggles the 'area is not suitable for hiding spots' flag used by the AI system. |
nav_drag_selection_volume_zmax_offset | 32 | The offset of the nav drag volume top from center |
nav_drag_selection_volume_zmin_offset | 32 | The offset of the nav drag volume bottom from center |
nav_draw_limit | 500 | The maximum number of areas to draw in edit mode |
nav_dump_selected_set_positions | cmd | Write the (x,y,z) coordinates of the centers of all selected nav areas to a file. |
nav_edit | 0 | Set to one to interactively edit the Navigation Mesh. Set to zero to leave edit mode. |
nav_end_area | cmd | Defines the second corner of a new Area or Ladder and creates it. |
nav_end_deselecting | cmd | Stop continuously removing from the selected set. |
nav_end_drag_deselecting | cmd | Stop dragging a selection area. |
nav_end_drag_selecting | cmd | Stop dragging a selection area. |
nav_end_selecting | cmd | Stop continuously adding to the selected set. |
nav_end_shift_xy | cmd | Finish shifting the Selected Set. |
nav_flood_select | cmd | Selects the current Area and all Areas connected to it, recursively. To clear a selection, use th... |
nav_gen_cliffs_approx | cmd | Mark cliff areas, post-processing approximation |
nav_generate | cmd | Generate a Navigation Mesh for the current map and save it to disk. |
nav_generate_fencetops | 1 | Autogenerate nav areas on fence and obstacle tops |
nav_generate_fixup_jump_areas | 1 | Convert obsolete jump areas into 2-way connections |
nav_generate_incremental | cmd | Generate a Navigation Mesh for the current map and save it to disk. |
nav_generate_incremental_range | 2000 | - |
nav_generate_incremental_tolerance | 0 | Z tolerance for adding new nav areas. |
nav_jump | cmd | Toggles the 'traverse this area by jumping' flag used by the AI system. |
nav_ladder_flip | cmd | Flips the selected ladder's direction. |
nav_load | cmd | Loads the Navigation Mesh for the current map. |
nav_lower_drag_volume_max | cmd | Lower the top of the drag select volume. |
nav_lower_drag_volume_min | cmd | Lower the bottom of the drag select volume. |
nav_make_sniper_spots | cmd | Chops the marked area into disconnected sub-areas suitable for sniper spots. |
nav_mark | cmd | Marks the Area or Ladder under the cursor for manipulation by subsequent editing commands. |
nav_mark_attribute | cmd | Set nav attribute for all areas in the selected set. |
nav_mark_unnamed | cmd | Mark an Area with no Place name. Useful for finding stray areas missed when Place Painting. |
nav_mark_walkable | cmd | Mark the current location as a walkable position. These positions are used as seed locations when... |
nav_max_view_distance | 6000 | Maximum range for precomputed nav mesh visibility (0 = default 1500 units) |
nav_max_vis_delta_list_length | 64 | - |
nav_merge | cmd | To merge two Areas into one, mark the first Area, highlight the second by pointing your cursor at... |
nav_merge_mesh | cmd | Merges a saved selected set into the current mesh. |
nav_no_hostages | cmd | Toggles the 'hostages cannot use this area' flag used by the AI system. |
nav_no_jump | cmd | Toggles the 'dont jump in this area' flag used by the AI system. |
nav_place_floodfill | cmd | Sets the Place of the Area under the cursor to the curent Place, and 'flood-fills' the Place to a... |
nav_place_list | cmd | Lists all place names used in the map. |
nav_place_pick | cmd | Sets the current Place to the Place of the Area under the cursor. |
nav_place_replace | cmd | Replaces all instances of the first place with the second place. |
nav_place_set | cmd | Sets the Place of all selected areas to the current Place. |
nav_potentially_visible_dot_tolerance | 0 | - |
nav_precise | cmd | Toggles the 'dont avoid obstacles' flag used by the AI system. |
nav_quicksave | 1 | Set to one to skip the time consuming phases of the analysis. Set to 2 to skip time consuming vis... |
nav_raise_drag_volume_max | cmd | Raise the top of the drag select volume. |
nav_raise_drag_volume_min | cmd | Raise the bottom of the drag select volume. |
nav_recall_selected_set | cmd | Re-selects the stored selected set. |
nav_remove_from_selected_set | cmd | Remove current area from the selected set. |
nav_remove_jump_areas | cmd | Removes legacy jump areas, replacing them with connections. |
nav_run | cmd | Toggles the 'traverse this area by running' flag used by the AI system. |
nav_save | cmd | Saves the current Navigation Mesh to disk. |
nav_save_selected | cmd | Writes the selected set to disk for merging into another mesh via nav_merge_mesh. |
nav_select_blocked_areas | cmd | Adds all blocked areas to the selected set |
nav_select_damaging_areas | cmd | Adds all damaging areas to the selected set |
nav_select_half_space | cmd | Selects any areas that intersect the given half-space. |
nav_select_invalid_areas | cmd | Adds all invalid areas to the Selected Set. |
nav_select_larger_than | cmd | Select nav areas where both dimensions are larger than the given size. |
nav_select_obstructed_areas | cmd | Adds all obstructed areas to the selected set |
nav_select_orphans | cmd | Adds all orphan areas to the selected set (highlight a valid area first). |
nav_select_overlapping | cmd | Selects nav areas that are overlapping others. |
nav_select_radius | cmd | Adds all areas in a radius to the selection set |
nav_select_stairs | cmd | Adds all stairway areas to the selected set |
nav_selected_set_border_color | -557715840.000 | Color used to draw the selected set borders while editing. |
nav_selected_set_color | 1091139200.000 | Color used to draw the selected set background while editing. |
nav_set_place_mode | cmd | Sets the editor into or out of Place mode. Place mode allows labelling of Area with Place names. |
nav_shift | cmd | Shifts the selected areas by the specified amount |
nav_show_approach_points | 0 | Show Approach Points in the Navigation Mesh. |
nav_show_area_info | 0 | Duration in seconds to show nav area ID and attributes while editing |
nav_show_compass | 0 | - |
nav_show_continguous | 0 | Highlight non-contiguous connections |
nav_show_danger | 0 | Show current 'danger' levels. |
nav_show_dumped_positions | cmd | Show the (x,y,z) coordinate positions of the given dump file. |
nav_show_func_nav_avoid | 0 | Show areas of designer-placed bot avoidance due to func_nav_avoid entities |
nav_show_func_nav_prefer | 0 | Show areas of designer-placed bot preference due to func_nav_prefer entities |
nav_show_light_intensity | 0 | - |
nav_show_node_grid | 0 | - |
nav_show_node_id | 0 | - |
nav_show_nodes | 0 | - |
nav_show_player_counts | 0 | Show current player counts in each area. |
nav_show_potentially_visible | 0 | Show areas that are potentially visible from the current nav area |
nav_simplify_selected | cmd | Chops all selected areas into their component 1x1 areas and re-merges them together into larger a... |
nav_slope_limit | 0 | The ground unit normal's Z component must be greater than this for nav areas to be generated. |
nav_slope_tolerance | 0 | The ground unit normal's Z component must be this close to the nav area's Z component to be gener... |
nav_snap_to_grid | 0 | Snap to the nav generation grid when creating new nav areas |
nav_solid_props | 0 | Make props solid to nav generation/editing |
nav_splice | cmd | To splice, mark an area, highlight a second area, then invoke the splice command to create a new,... |
nav_split | cmd | To split an Area into two, align the split line using your cursor and invoke the split command. |
nav_split_place_on_ground | 0 | If true, nav areas will be placed flush with the ground when split. |
nav_stand | cmd | Toggles the 'stand while hiding' flag used by the AI system. |
nav_stop | cmd | Toggles the 'must stop when entering this area' flag used by the AI system. |
nav_store_selected_set | cmd | Stores the current selected set for later retrieval. |
nav_strip | cmd | Strips all Hiding Spots, Approach Points, and Encounter Spots from the current Area. |
nav_subdivide | cmd | Subdivides all selected areas. |
nav_test_node | 0 | - |
nav_test_node_crouch | 0 | - |
nav_test_node_crouch_dir | 4 | - |
nav_test_stairs | cmd | Test the selected set for being on stairs |
nav_toggle_deselecting | cmd | Start or stop continuously removing from the selected set. |
nav_toggle_in_selected_set | cmd | Remove current area from the selected set. |
nav_toggle_place_mode | cmd | Toggle the editor into and out of Place mode. Place mode allows labelling of Area with Place names. |
nav_toggle_place_painting | cmd | Toggles Place Painting mode. When Place Painting, pointing at an Area will 'paint' it with the cu... |
nav_toggle_selected_set | cmd | Toggles all areas into/out of the selected set. |
nav_toggle_selecting | cmd | Start or stop continuously adding to the selected set. |
nav_transient | cmd | Toggles the 'area is transient and may become blocked' flag used by the AI system. |
nav_unmark | cmd | Clears the marked Area or Ladder. |
nav_update_blocked | cmd | Updates the blocked/unblocked status for every nav area. |
nav_update_lighting | cmd | Recomputes lighting values |
nav_update_visibility_on_edit | 0 | If nonzero editing the mesh will incrementally recompue visibility |
nav_use_place | cmd | If used without arguments, all available Places will be listed. If a Place argument is given, the... |
nav_walk | cmd | Toggles the 'traverse this area by walking' flag used by the AI system. |
nav_warp_to_mark | cmd | Warps the player to the marked area. |
nav_world_center | cmd | Centers the nav mesh in the world |