Justified
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)

CommandDefaultDescription
nav_add_to_selected_setcmdAdd current area to the selected set.
nav_add_to_selected_set_by_idcmdAdd specified area id to the selected set.
nav_analyzecmdRe-analyze the current Navigation Mesh and save it to disk.
nav_area_bgcolor1069646976.000RGBA color to draw as the background color for nav areas while editing.
nav_area_max_size50Max area size created in nav generation
nav_avoidcmdToggles the 'avoid this area when possible' flag used by the AI system.
nav_begin_areacmdDefines a corner of a new Area or Ladder. To complete the Area or Ladder, drag the opposite corne...
nav_begin_deselectingcmdStart continuously removing from the selected set.
nav_begin_drag_deselectingcmdStart dragging a selection area.
nav_begin_drag_selectingcmdStart dragging a selection area.
nav_begin_selectingcmdStart continuously adding to the selected set.
nav_begin_shift_xycmdBegin shifting the Selected Set.
nav_build_laddercmdAttempts to build a nav ladder on the climbable surface under the cursor.
nav_check_file_consistencycmdScans the maps directory and reports any missing/out-of-date navigation files.
nav_check_floorcmdUpdates the blocked/unblocked status for every nav area.
nav_check_stairscmdUpdate the nav mesh STAIRS attribute
nav_chop_selectedcmdChops all selected areas into their component 1x1 areas
nav_clear_attributecmdRemove given nav attribute from all areas in the selected set.
nav_clear_selected_setcmdClear the selected set.
nav_clear_walkable_markscmdErase any previously placed walkable positions.
nav_compress_idcmdRe-orders area and ladder ID's so they are continuous.
nav_connectcmdTo connect two Areas, mark the first Area, highlight the second Area, then invoke the connect com...
nav_coplanar_slope_limit0-
nav_coplanar_slope_limit_displacement0-
nav_corner_adjust_adjacent18radius used to raise/lower corners in nearby areas when raising/lowering corners.
nav_corner_lowercmdLower the selected corner of the currently marked Area.
nav_corner_place_on_groundcmdPlaces the selected corner of the currently marked Area on the ground.
nav_corner_raisecmdRaise the selected corner of the currently marked Area.
nav_corner_selectcmdSelect a corner of the currently marked Area. Use multiple times to access all four corners.
nav_create_area_at_feet0Anchor nav_begin_area Z to editing player's feet
nav_create_place_on_ground0If true, nav areas will be placed flush with the ground when created by hand.
nav_crouchcmdToggles the 'must crouch in this area' flag used by the AI system.
nav_debug_blocked0-
nav_deletecmdDeletes the currently highlighted Area.
nav_delete_markedcmdDeletes the currently marked Area (if any).
nav_disconnectcmdTo disconnect two Areas, mark an Area, highlight a second Area, then invoke the disconnect comman...
nav_disconnect_outgoing_onewayscmdFor each area in the selected set, disconnect all outgoing one-way connections.
nav_displacement_test10000Checks for nodes embedded in displacements (useful for in-development maps)
nav_dont_hidecmdToggles the 'area is not suitable for hiding spots' flag used by the AI system.
nav_drag_selection_volume_zmax_offset32The offset of the nav drag volume top from center
nav_drag_selection_volume_zmin_offset32The offset of the nav drag volume bottom from center
nav_draw_limit500The maximum number of areas to draw in edit mode
nav_dump_selected_set_positionscmdWrite the (x,y,z) coordinates of the centers of all selected nav areas to a file.
nav_edit0Set to one to interactively edit the Navigation Mesh. Set to zero to leave edit mode.
nav_end_areacmdDefines the second corner of a new Area or Ladder and creates it.
nav_end_deselectingcmdStop continuously removing from the selected set.
nav_end_drag_deselectingcmdStop dragging a selection area.
nav_end_drag_selectingcmdStop dragging a selection area.
nav_end_selectingcmdStop continuously adding to the selected set.
nav_end_shift_xycmdFinish shifting the Selected Set.
nav_flood_selectcmdSelects the current Area and all Areas connected to it, recursively. To clear a selection, use th...
nav_gen_cliffs_approxcmdMark cliff areas, post-processing approximation
nav_generatecmdGenerate a Navigation Mesh for the current map and save it to disk.
nav_generate_fencetops1Autogenerate nav areas on fence and obstacle tops
nav_generate_fixup_jump_areas1Convert obsolete jump areas into 2-way connections
nav_generate_incrementalcmdGenerate a Navigation Mesh for the current map and save it to disk.
nav_generate_incremental_range2000-
nav_generate_incremental_tolerance0Z tolerance for adding new nav areas.
nav_jumpcmdToggles the 'traverse this area by jumping' flag used by the AI system.
nav_ladder_flipcmdFlips the selected ladder's direction.
nav_loadcmdLoads the Navigation Mesh for the current map.
nav_lower_drag_volume_maxcmdLower the top of the drag select volume.
nav_lower_drag_volume_mincmdLower the bottom of the drag select volume.
nav_make_sniper_spotscmdChops the marked area into disconnected sub-areas suitable for sniper spots.
nav_markcmdMarks the Area or Ladder under the cursor for manipulation by subsequent editing commands.
nav_mark_attributecmdSet nav attribute for all areas in the selected set.
nav_mark_unnamedcmdMark an Area with no Place name. Useful for finding stray areas missed when Place Painting.
nav_mark_walkablecmdMark the current location as a walkable position. These positions are used as seed locations when...
nav_max_view_distance6000Maximum range for precomputed nav mesh visibility (0 = default 1500 units)
nav_max_vis_delta_list_length64-
nav_mergecmdTo merge two Areas into one, mark the first Area, highlight the second by pointing your cursor at...
nav_merge_meshcmdMerges a saved selected set into the current mesh.
nav_no_hostagescmdToggles the 'hostages cannot use this area' flag used by the AI system.
nav_no_jumpcmdToggles the 'dont jump in this area' flag used by the AI system.
nav_place_floodfillcmdSets the Place of the Area under the cursor to the curent Place, and 'flood-fills' the Place to a...
nav_place_listcmdLists all place names used in the map.
nav_place_pickcmdSets the current Place to the Place of the Area under the cursor.
nav_place_replacecmdReplaces all instances of the first place with the second place.
nav_place_setcmdSets the Place of all selected areas to the current Place.
nav_potentially_visible_dot_tolerance0-
nav_precisecmdToggles the 'dont avoid obstacles' flag used by the AI system.
nav_quicksave1Set to one to skip the time consuming phases of the analysis. Set to 2 to skip time consuming vis...
nav_raise_drag_volume_maxcmdRaise the top of the drag select volume.
nav_raise_drag_volume_mincmdRaise the bottom of the drag select volume.
nav_recall_selected_setcmdRe-selects the stored selected set.
nav_remove_from_selected_setcmdRemove current area from the selected set.
nav_remove_jump_areascmdRemoves legacy jump areas, replacing them with connections.
nav_runcmdToggles the 'traverse this area by running' flag used by the AI system.
nav_savecmdSaves the current Navigation Mesh to disk.
nav_save_selectedcmdWrites the selected set to disk for merging into another mesh via nav_merge_mesh.
nav_select_blocked_areascmdAdds all blocked areas to the selected set
nav_select_damaging_areascmdAdds all damaging areas to the selected set
nav_select_half_spacecmdSelects any areas that intersect the given half-space.
nav_select_invalid_areascmdAdds all invalid areas to the Selected Set.
nav_select_larger_thancmdSelect nav areas where both dimensions are larger than the given size.
nav_select_obstructed_areascmdAdds all obstructed areas to the selected set
nav_select_orphanscmdAdds all orphan areas to the selected set (highlight a valid area first).
nav_select_overlappingcmdSelects nav areas that are overlapping others.
nav_select_radiuscmdAdds all areas in a radius to the selection set
nav_select_stairscmdAdds all stairway areas to the selected set
nav_selected_set_border_color-557715840.000Color used to draw the selected set borders while editing.
nav_selected_set_color1091139200.000Color used to draw the selected set background while editing.
nav_set_place_modecmdSets the editor into or out of Place mode. Place mode allows labelling of Area with Place names.
nav_shiftcmdShifts the selected areas by the specified amount
nav_show_approach_points0Show Approach Points in the Navigation Mesh.
nav_show_area_info0Duration in seconds to show nav area ID and attributes while editing
nav_show_compass0-
nav_show_continguous0Highlight non-contiguous connections
nav_show_danger0Show current 'danger' levels.
nav_show_dumped_positionscmdShow the (x,y,z) coordinate positions of the given dump file.
nav_show_func_nav_avoid0Show areas of designer-placed bot avoidance due to func_nav_avoid entities
nav_show_func_nav_prefer0Show areas of designer-placed bot preference due to func_nav_prefer entities
nav_show_light_intensity0-
nav_show_node_grid0-
nav_show_node_id0-
nav_show_nodes0-
nav_show_player_counts0Show current player counts in each area.
nav_show_potentially_visible0Show areas that are potentially visible from the current nav area
nav_simplify_selectedcmdChops all selected areas into their component 1x1 areas and re-merges them together into larger a...
nav_slope_limit0The ground unit normal's Z component must be greater than this for nav areas to be generated.
nav_slope_tolerance0The ground unit normal's Z component must be this close to the nav area's Z component to be gener...
nav_snap_to_grid0Snap to the nav generation grid when creating new nav areas
nav_solid_props0Make props solid to nav generation/editing
nav_splicecmdTo splice, mark an area, highlight a second area, then invoke the splice command to create a new,...
nav_splitcmdTo split an Area into two, align the split line using your cursor and invoke the split command.
nav_split_place_on_ground0If true, nav areas will be placed flush with the ground when split.
nav_standcmdToggles the 'stand while hiding' flag used by the AI system.
nav_stopcmdToggles the 'must stop when entering this area' flag used by the AI system.
nav_store_selected_setcmdStores the current selected set for later retrieval.
nav_stripcmdStrips all Hiding Spots, Approach Points, and Encounter Spots from the current Area.
nav_subdividecmdSubdivides all selected areas.
nav_test_node0-
nav_test_node_crouch0-
nav_test_node_crouch_dir4-
nav_test_stairscmdTest the selected set for being on stairs
nav_toggle_deselectingcmdStart or stop continuously removing from the selected set.
nav_toggle_in_selected_setcmdRemove current area from the selected set.
nav_toggle_place_modecmdToggle the editor into and out of Place mode. Place mode allows labelling of Area with Place names.
nav_toggle_place_paintingcmdToggles Place Painting mode. When Place Painting, pointing at an Area will 'paint' it with the cu...
nav_toggle_selected_setcmdToggles all areas into/out of the selected set.
nav_toggle_selectingcmdStart or stop continuously adding to the selected set.
nav_transientcmdToggles the 'area is transient and may become blocked' flag used by the AI system.
nav_unmarkcmdClears the marked Area or Ladder.
nav_update_blockedcmdUpdates the blocked/unblocked status for every nav area.
nav_update_lightingcmdRecomputes lighting values
nav_update_visibility_on_edit0If nonzero editing the mesh will incrementally recompue visibility
nav_use_placecmdIf used without arguments, all available Places will be listed. If a Place argument is given, the...
nav_walkcmdToggles the 'traverse this area by walking' flag used by the AI system.
nav_warp_to_markcmdWarps the player to the marked area.
nav_world_centercmdCenters the nav mesh in the world

On this page