Justified
GmodGeneralConsole reference

AI

Artificial intelligence behavior settings.

AI

Artificial intelligence behavior settings.

This is a reference of all ai_* console commands. Use find ai in the console to search within this category.

All Commands (119)

CommandDefaultDescription
ai_LOS_mode0-
ai_actbusy_search_time10-
ai_ally_manager_debug0-
ai_auto_contact_solver1-
ai_block_damage0-
ai_citizen_debug_commander1-
ai_clear_bad_linkscmdClears bits set on nav links indicating link is unusable
ai_debug_actbusy0Used to debug actbusy behavior. Usage: 1: Constantly draw lines from NPCs to the actbusy nodes th...
ai_debug_assault0-
ai_debug_avoidancebounds0-
ai_debug_directnavprobe0-
ai_debug_doors0-
ai_debug_dyninteractions0Debug the NPC dynamic interaction system.
ai_debug_efficiency0-
ai_debug_enemies0-
ai_debug_enemyfinders0-
ai_debug_eventresponses0Set to 1 to see all NPC response events trigger, and which NPCs choose to respond to them.
ai_debug_expressions0Show random expression decisions for NPCs.
ai_debug_follow0-
ai_debug_loners0-
ai_debug_looktargets0-
ai_debug_los0NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with wh...
ai_debug_nav0-
ai_debug_node_connectcmdDebug the attempted connection between two nodes
ai_debug_ragdoll_magnets0-
ai_debug_readiness0-
ai_debug_shoot_positions0-
ai_debug_speech0-
ai_debug_squads0-
ai_debug_think_ticks0-
ai_debugscriptconditions0-
ai_default_efficient0-
ai_disablecmdBi-passes all AI logic routines and puts all NPCs into their idle animations. Can be used to get...
ai_disabled0-
ai_drawbattlelines0-
ai_drop_hintcmdDrop an ai_hint at the player's current eye position.
ai_dump_hintscmd-
ai_ef_hate_npc_duration1-
ai_ef_hate_npc_frequency5-
ai_efficiency_override0-
ai_enable_fear_behavior1-
ai_expression_frametime0Maximum frametime to still play background expressions.
ai_expression_optimization0Disable npc background expressions when you can't see them.
ai_fear_player_dist720-
ai_find_lateral_cover1-
ai_find_lateral_los1-
ai_follow_move_commands1-
ai_follow_use_points1-
ai_follow_use_points_when_moving1-
ai_force_serverside_ragdoll0-
ai_frametime_limit50frametime limit for min efficiency AIE_NORMAL (in sec's).
ai_hullcmdControls which connections are shown when ai_show_hull or ai_show_connect commands are used Argu...
ai_ignoreplayers0-
ai_inhibit_spawners0-
ai_lead_time0-
ai_moveprobe_debug0-
ai_moveprobe_jump_debug0-
ai_moveprobe_usetracelist0-
ai_navigator_generate_spikes0-
ai_navigator_generate_spikes_strength8-
ai_new_aiming1-
ai_newgroundturret0-
ai_next_hullcmdCycles through the various hull sizes. Currently selected hull size is written to the screen. C...
ai_no_local_paths0-
ai_no_node_cache0-
ai_no_select_box0-
ai_no_steer0-
ai_no_talk_delay0-
ai_nodescmdToggles node display. First call displays the nodes for the given network as green objects. Sec...
ai_norebuildgraph0-
ai_path_adjust_speed_on_immediate_turns1-
ai_path_insert_pause_at_est_end1-
ai_path_insert_pause_at_obstruction1-
ai_post_frame_navigation0-
ai_radial_max_link_dist512-
ai_reaction_delay_alert0-
ai_reaction_delay_idle0-
ai_readiness_decay120-
ai_rebalance_thinks1-
ai_report_task_timings_on_limit0-
ai_resumecmdIf NPC is stepping through tasks (see ai_step ) will resume normal processing.
ai_sequence_debug0-
ai_serverragdolls0If set to 1 then ragdolls will be solid by default
ai_set_move_height_epsiloncmdSet how high AI bumps up ground walkers when checking steps
ai_setupbones_debug0Shows that bones that are setup every think
ai_shot_bias1-
ai_shot_bias_max1-
ai_shot_bias_min-1-
ai_shot_stats0-
ai_shot_stats_term1000-
ai_show_connectcmdDisplays the allowed connections between each node for the currently selected hull type. Hulls a...
ai_show_connect_flycmdDisplays the allowed connections between each node for the currently selected hull type. Hulls a...
ai_show_connect_jumpcmdDisplays the allowed connections between each node for the currently selected hull type. Hulls a...
ai_show_graph_connectcmdToggles graph connection display for the node that the player is looking at. Nodes that are conn...
ai_show_gridcmdDraw a grid on the floor where looking.
ai_show_hintscmdDisplays all hints as small boxes Blue - hint is available for use Red - hint is currently be...
ai_show_hullcmdDisplays the allowed hulls between each node for the currently selected hull type. Hulls are col...
ai_show_hull_attacks0-
ai_show_nodecmdHighlight the specified node
ai_show_think_tolerance0-
ai_show_visibilitycmdToggles visibility display for the node that the player is looking at. Nodes that are visible fr...
ai_simulate_task_overtime0-
ai_spread_cone_focus_time0-
ai_spread_defocused_cone_multiplier3-
ai_spread_pattern_focus_time0-
ai_stepcmdNPCs will freeze after completing their current task. To complete the next task, use 'ai_step' a...
ai_strong_optimizations0-
ai_strong_optimizations_no_checkstand0-
ai_task_pre_script0-
ai_test_loscmdTest AI LOS from the player's POV
ai_test_moveprobe_ignoresmall0-
ai_think_limit_label0-
ai_use_clipped_paths1-
ai_use_efficiency1-
ai_use_frame_think_limits1-
ai_use_readiness1-
ai_use_think_optimizations1-
ai_use_visibility_cache1-
ai_vehicle_avoidance1-

On this page