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)
| Command | Default | Description |
|---|---|---|
ai_LOS_mode | 0 | - |
ai_actbusy_search_time | 10 | - |
ai_ally_manager_debug | 0 | - |
ai_auto_contact_solver | 1 | - |
ai_block_damage | 0 | - |
ai_citizen_debug_commander | 1 | - |
ai_clear_bad_links | cmd | Clears bits set on nav links indicating link is unusable |
ai_debug_actbusy | 0 | Used to debug actbusy behavior. Usage: 1: Constantly draw lines from NPCs to the actbusy nodes th... |
ai_debug_assault | 0 | - |
ai_debug_avoidancebounds | 0 | - |
ai_debug_directnavprobe | 0 | - |
ai_debug_doors | 0 | - |
ai_debug_dyninteractions | 0 | Debug the NPC dynamic interaction system. |
ai_debug_efficiency | 0 | - |
ai_debug_enemies | 0 | - |
ai_debug_enemyfinders | 0 | - |
ai_debug_eventresponses | 0 | Set to 1 to see all NPC response events trigger, and which NPCs choose to respond to them. |
ai_debug_expressions | 0 | Show random expression decisions for NPCs. |
ai_debug_follow | 0 | - |
ai_debug_loners | 0 | - |
ai_debug_looktargets | 0 | - |
ai_debug_los | 0 | NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with wh... |
ai_debug_nav | 0 | - |
ai_debug_node_connect | cmd | Debug the attempted connection between two nodes |
ai_debug_ragdoll_magnets | 0 | - |
ai_debug_readiness | 0 | - |
ai_debug_shoot_positions | 0 | - |
ai_debug_speech | 0 | - |
ai_debug_squads | 0 | - |
ai_debug_think_ticks | 0 | - |
ai_debugscriptconditions | 0 | - |
ai_default_efficient | 0 | - |
ai_disable | cmd | Bi-passes all AI logic routines and puts all NPCs into their idle animations. Can be used to get... |
ai_disabled | 0 | - |
ai_drawbattlelines | 0 | - |
ai_drop_hint | cmd | Drop an ai_hint at the player's current eye position. |
ai_dump_hints | cmd | - |
ai_ef_hate_npc_duration | 1 | - |
ai_ef_hate_npc_frequency | 5 | - |
ai_efficiency_override | 0 | - |
ai_enable_fear_behavior | 1 | - |
ai_expression_frametime | 0 | Maximum frametime to still play background expressions. |
ai_expression_optimization | 0 | Disable npc background expressions when you can't see them. |
ai_fear_player_dist | 720 | - |
ai_find_lateral_cover | 1 | - |
ai_find_lateral_los | 1 | - |
ai_follow_move_commands | 1 | - |
ai_follow_use_points | 1 | - |
ai_follow_use_points_when_moving | 1 | - |
ai_force_serverside_ragdoll | 0 | - |
ai_frametime_limit | 50 | frametime limit for min efficiency AIE_NORMAL (in sec's). |
ai_hull | cmd | Controls which connections are shown when ai_show_hull or ai_show_connect commands are used Argu... |
ai_ignoreplayers | 0 | - |
ai_inhibit_spawners | 0 | - |
ai_lead_time | 0 | - |
ai_moveprobe_debug | 0 | - |
ai_moveprobe_jump_debug | 0 | - |
ai_moveprobe_usetracelist | 0 | - |
ai_navigator_generate_spikes | 0 | - |
ai_navigator_generate_spikes_strength | 8 | - |
ai_new_aiming | 1 | - |
ai_newgroundturret | 0 | - |
ai_next_hull | cmd | Cycles through the various hull sizes. Currently selected hull size is written to the screen. C... |
ai_no_local_paths | 0 | - |
ai_no_node_cache | 0 | - |
ai_no_select_box | 0 | - |
ai_no_steer | 0 | - |
ai_no_talk_delay | 0 | - |
ai_nodes | cmd | Toggles node display. First call displays the nodes for the given network as green objects. Sec... |
ai_norebuildgraph | 0 | - |
ai_path_adjust_speed_on_immediate_turns | 1 | - |
ai_path_insert_pause_at_est_end | 1 | - |
ai_path_insert_pause_at_obstruction | 1 | - |
ai_post_frame_navigation | 0 | - |
ai_radial_max_link_dist | 512 | - |
ai_reaction_delay_alert | 0 | - |
ai_reaction_delay_idle | 0 | - |
ai_readiness_decay | 120 | - |
ai_rebalance_thinks | 1 | - |
ai_report_task_timings_on_limit | 0 | - |
ai_resume | cmd | If NPC is stepping through tasks (see ai_step ) will resume normal processing. |
ai_sequence_debug | 0 | - |
ai_serverragdolls | 0 | If set to 1 then ragdolls will be solid by default |
ai_set_move_height_epsilon | cmd | Set how high AI bumps up ground walkers when checking steps |
ai_setupbones_debug | 0 | Shows that bones that are setup every think |
ai_shot_bias | 1 | - |
ai_shot_bias_max | 1 | - |
ai_shot_bias_min | -1 | - |
ai_shot_stats | 0 | - |
ai_shot_stats_term | 1000 | - |
ai_show_connect | cmd | Displays the allowed connections between each node for the currently selected hull type. Hulls a... |
ai_show_connect_fly | cmd | Displays the allowed connections between each node for the currently selected hull type. Hulls a... |
ai_show_connect_jump | cmd | Displays the allowed connections between each node for the currently selected hull type. Hulls a... |
ai_show_graph_connect | cmd | Toggles graph connection display for the node that the player is looking at. Nodes that are conn... |
ai_show_grid | cmd | Draw a grid on the floor where looking. |
ai_show_hints | cmd | Displays all hints as small boxes Blue - hint is available for use Red - hint is currently be... |
ai_show_hull | cmd | Displays the allowed hulls between each node for the currently selected hull type. Hulls are col... |
ai_show_hull_attacks | 0 | - |
ai_show_node | cmd | Highlight the specified node |
ai_show_think_tolerance | 0 | - |
ai_show_visibility | cmd | Toggles visibility display for the node that the player is looking at. Nodes that are visible fr... |
ai_simulate_task_overtime | 0 | - |
ai_spread_cone_focus_time | 0 | - |
ai_spread_defocused_cone_multiplier | 3 | - |
ai_spread_pattern_focus_time | 0 | - |
ai_step | cmd | NPCs will freeze after completing their current task. To complete the next task, use 'ai_step' a... |
ai_strong_optimizations | 0 | - |
ai_strong_optimizations_no_checkstand | 0 | - |
ai_task_pre_script | 0 | - |
ai_test_los | cmd | Test AI LOS from the player's POV |
ai_test_moveprobe_ignoresmall | 0 | - |
ai_think_limit_label | 0 | - |
ai_use_clipped_paths | 1 | - |
ai_use_efficiency | 1 | - |
ai_use_frame_think_limits | 1 | - |
ai_use_readiness | 1 | - |
ai_use_think_optimizations | 1 | - |
ai_use_visibility_cache | 1 | - |
ai_vehicle_avoidance | 1 | - |