![]() |
||
Half Life 2 - Console Commands |
| Name | Value | Result |
| _fov | 0 | Automates fov command to server. |
| _restart | cmd | Shutdown and restart the engine. |
| addip | cmd | Add an IP address to the ban list. |
| adsp_alley_min | 122 | |
| adsp_courtyard_min | 126 | |
| adsp_debug | 0 | |
| adsp_door_height | 112 | |
| adsp_duct_min | 106 | |
| adsp_hall_min | 110 | |
| adsp_low_ceiling | 108 | |
| adsp_opencourtyard_min | 126 | |
| adsp_openspace_min | 130 | |
| adsp_openstreet_min | 118 | |
| adsp_openwall_min | 130 | |
| adsp_room_min | 102 | |
| adsp_street_min | 118 | |
| adsp_tunnel_min | 114 | |
| adsp_wall_height | 128 | |
| ai_actbusy_search_time | 10 | |
| ai_ally_manager_debug | 0 | |
| ai_auto_contact_solver | 1 | |
| 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 they've chosen to actbusy at. 2: Whenever an NPC makes a decision to use an actbusy, show which actbusy they've chosen. 3: Selected NPCs (with npc_select) will report why they're not choosing actbusy nodes. 4: Display debug output of actbusy logic. |
| ai_debug_assault | 0 | |
| ai_debug_directnavprobe | 0 | |
| ai_debug_doors | 0 | |
| ai_debug_efficiency | 0 | |
| ai_debug_enemies | 0 | |
| 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 white bounding boxes. If 2, it'll show non-solid entities that would do it if they were solid. |
| 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_disable | cmd | Bi-passes all AI logic routines and puts all NPCs into their idle animations. Can be used to get NPCs out of your way and to test effect of AI logic routines on frame rate |
| ai_drawbattlelines | 0 | |
| ai_dump_hints | cmd | |
| ai_efficiency_override | 0 | |
| ai_follow_move_commands | 1 | |
| ai_follow_use_points | 1 | |
| ai_follow_use_points_when_moving | 1 | |
| ai_lead_time | 0 | |
| ai_LOS_mode | 0 | |
| ai_moveprobe_debug | 0 | |
| ai_moveprobe_jump_debug | 0 | |
| ai_moveprobe_usetracelist | 0 | |
| 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. Controls which connections are shown when ai_show_hull
or ai_show_connect commands are used
Arguments: -none- |
| 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. Second call displays the nodes and their IDs. Nodes
are color coded as follows:
Green - ground node Cyan - air node Magenta - climb node Grey - node not available for selected hull size Orange - node currently locked |
| 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_reaction_delay_alert | 0 | |
| ai_reaction_delay_idle | 0 | |
| ai_readiness_decay | 120 | |
| ai_rebalance_thinks | 1 | |
| ai_reloadresponsesystems | cmd | Reload all response system scripts. |
| 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_set_move_height_epsilon | cmd | Set how high AI bumps up ground walkers when checking steps |
| 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 are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Magenta - climbing movement Red - connection disabled |
| ai_show_connect_fly | cmd | Displays the allowed connections between each node for the currently
selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Magenta - climbing movement Red - connection disabled |
| ai_show_connect_jump | cmd | Displays the allowed connections between each node for the currently
selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Magenta - climbing movement Red - connection disabled |
| ai_show_graph_connect | cmd | Toggles graph connection display for the node that the player is looking at. Nodes that are connected to the selected node by the net graph will be drawn in red with magenta lines connecting to the selected node. Nodes that are not connected via the net graph from the selected node will be drawn in blue. |
| 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 being used by an NPC Orange - hint not being used by timed out Grey - hint has been disabled |
| ai_show_hull | cmd | Displays the allowed hulls between each node for the currently selected
hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Magenta - climbing movement Arguments: -none- |
| 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 from the selected node will be drawn in red with yellow lines connecting to the selected node. Nodes that are not visible from the selected node will be drawn in blue. |
| 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' again. To resume processing normally use 'ai_resume' |
| 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 | |
| ainet_generate_report | cmd | Generate a report to the console. |
| ainet_generate_report_only | cmd | Generate a report to the console. |
| air_density | cmd | Changes the density of air for drag computations. |
| airboat_fatal_stress | 5000 | Amount of stress in kg that would kill the airboat driver. |
| alias | cmd | Alias a command. |
| +alt1 | cmd | |
| -alt1 | cmd | |
| +attack | cmd | |
| -attack | cmd | |
| +attack2 | cmd | |
| -attack2 | cmd | |
| autosave | cmd | |
| +back | cmd | |
| -back | cmd | |
| banid | cmd | Add a user ID to the ban list. |
| bench_end | cmd | Ends gathering of info. |
| bench_showstatsdialog | cmd | Shows a dialog displaying the most recent benchmark results. |
| bench_start | cmd | Starts gathering of info. Arguments: filename to write results into |
| bench_upload | cmd | Uploads most recent benchmark stats to the Valve servers. |
| benchframe | cmd | Takes a snapshot of a particular frame in a time demo. |
| bgmvolume | 1 | CD sound playback volume. |
| bind | cmd | Bind a key. |
| BindToggle | cmd | |
| birds_debug | 0 | |
| blink_duration | 0 | How many seconds an eye blink will last. |
| bloodspray | cmd | blood |
| box | cmd | Draw a debug box. |
| +break | cmd | |
| -break | cmd | |
| breakable_disable_gib_limit | 0 | |
| breakable_multiplayer | 1 | |
| buddha | cmd | Toggle. Player takes damage but won't die. (Shows red cross when health is zero) |
| budget_averages_window | 30 | number of frames to look at when figuring out average frametimes |
| budget_background_alpha | 128 | how translucent the budget panel is |
| budget_bargraph_background_alpha | 128 | how translucent the budget panel is |
| budget_bargraph_range_ms | 16 | budget bargraph range in milliseconds |
| budget_history_numsamplesvisible | 100 | number of samples to draw in the budget history window. The lower the better as far as rendering overhead of the budget panel |
| budget_history_range_ms | 66 | budget history range in milliseconds |
| budget_panel_bottom_of_history_fraction | 0 | number between 0 and 1 |
| budget_panel_height | 384 | height in pixels of the budget panel |
| budget_panel_width | 512 | width in pixels of the budget panel |
| budget_panel_x | 0 | number of pixels from the left side of the game screen to draw the budget panel |
| budget_panel_y | 50 | number of pixels from the top side of the game screen to draw the budget panel |
| budget_peaks_window | 30 | number of frames to look at when figuring out peak frametimes |
| budget_show_averages | 0 | enable/disable averages in the budget panel |
| budget_show_history | 1 | turn history graph off and on. . good to turn off on low end |
| budget_show_peaks | 1 | enable/disable peaks in the budget panel |
| bug | cmd | Show/hide the bug reporting UI. |
| bug_swap | cmd | Automatically swaps the current weapon for the bug bait and back again. |
| bugbait_distract_time | 5 | |
| bugbait_grenade_radius | 150 | |
| bugbait_hear_radius | 2500 | |
| bugbait_radius | 512 | |
| bugreporter_includebsp | 1 | Include .bsp for internal bug submissions. |
| buildcubemaps | cmd | Rebuild cubemaps. |
| building_cubemaps | 0 | |
| bulletspeed | 6000 | |
| c_maxdistance | 200 | |
| c_maxpitch | 90 | |
| c_maxyaw | 135 | |
| c_mindistance | 30 | |
| c_minpitch | 0 | |
| c_minyaw | -135 | |
| c_orthoheight | 100 | |
| c_orthowidth | 100 | |
| cache_print | cmd | Print out contents of cache memory. |
| cam_command | 0 | |
| cam_idealdist | 64 | |
| cam_idealpitch | 0 | |
| cam_idealyaw | 90 | |
| cam_snapto | 0 | |
| +camdistance | cmd | |
| -camdistance | cmd | |
| +camin | cmd | |
| -camin | cmd | |
| +cammousemove | cmd | |
| -cammousemove | cmd | |
| camortho | cmd | Switch to orthographic camera. |
| +camout | cmd | |
| -camout | cmd | |
| +campitchdown | cmd | |
| -campitchdown | cmd | |
| +campitchup | cmd | |
| -campitchup | cmd | |
| +camyawleft | cmd | |
| -camyawleft | cmd | |
| +camyawright | cmd | |
| -camyawright | cmd | |
| cancelselect | cmd | |
| cast_hull | cmd | Tests hull collision detection |
| cast_ray | cmd | Tests collision detection |
| cc_captiontrace | 1 | Show missing closecaptions (0 = no, 1 = devconsole, 2 = show in hud) |
| cc_emit | cmd | Emits a closed caption |
| cc_lang | 0 | Current close caption language (emtpy = use game UI language) |
| cc_linger_time | 1 | Close caption linger time. |
| cc_lookup_crc | cmd | For tracking down missing CC token strings |
| cc_predisplay_time | 0 | Close caption delay before showing caption. |
| cc_sentencecaptionnorepeat | 4 | How often a sentence can repeat. |
| cc_subtitles | 0 | If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players). |
| cd | cmd | Play or stop a cd track. |
| centerview | cmd | |
| ch_createairboat | cmd | Spawn airboat in front of the player. |
| ch_createjeep | cmd | Spawn jeep in front of the player. |
| changelevel | cmd | Change server to the specified map |
| changelevel2 | cmd | Transition to the specified map in single player |
| cl_allowdownload | 1 | Client downloads customization files |
| cl_allowupload | 1 | Client uploads customization files |
| cl_anglespeedkey | 0 | |
| cl_animationinfo | cmd | Hud element to examine. |
| cl_backspeed | 400 | |
| cl_bob | 0 | |
| cl_bobcycle | 0 | |
| cl_bobup | 0 | |
| cl_class | 0 | Default class when joining a game |
| cl_clock_correction | 1 | Enable/disable clock correction on the client. |
| cl_clock_correction_adjustment_max_amount | 200 | Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount if the difference between the client and server clock is equal to or larger than cl_clock_correction_adjustment_max_offset. |
| cl_clock_correction_adjustment_max_offset | 90 | As the clock offset goes from cl_clock_correction_adjustment_min_offset to this value (in milliseconds), it moves towards applying cl_clock_correction_adjustment_max_amount of adjustment. That way, the response is small when the offset is small. |
| cl_clock_correction_adjustment_min_offset | 10 | If the clock offset is less than this amount (in milliseconds), then no clock correction is applied. |
| cl_clock_correction_force_server_tick | 999 | Force clock correction to match the server tick + this offset (-999 disables it). |
| cl_clock_showdebuginfo | 0 | Show debugging info about the clock drift. |
| cl_clockdrift_max_ms | 150 | Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's. |
| cl_cmdbackup | 2 | For each command packet, how many additional history commands are sent ( helps in case of packet loss ) |
| cl_cmdrate | 30 | Max number of command packets sent to server per second |
| cl_customsounds | 0 | Enable customized player sound playback |
| cl_demoviewoverride | 0 | Override view during demo playback |
| cl_detaildist | 1200 | Distance at which detail props (e.g. grass) are shown. |
| cl_detailfade | 400 | Distance it takes for detail props to go from transparent to opaque. If this value is >= cl_detaildist, it is treated as if it were 0. |
| cl_draw_airboat_wake | 1 | |
| cl_drawhud | 1 | Enable the rendering of the hud |
| cl_drawleaf | -1 | |
| cl_drawmaterial | 0 | Draw a particular material over the frame |
| cl_drawmonitors | 1 | |
| cl_drawshadowtexture | 0 | |
| cl_ejectbrass | 1 | Determines whether spent shells are shown ejecting from a gun. |
| cl_ent_absbox | cmd | Displays the client's absbox for the entity under the crosshair. |
| cl_ent_bbox | cmd | Displays the client's bounding box for the entity under the crosshair. |
| cl_ent_rbox | cmd | Displays the client's render box for the entity under the crosshair. |
| cl_entityreport | 0 | For debugging, draw entity states to console |
| cl_extrapolate | 1 | Enable/disable extrapolation if interpolation history runs out. |
| cl_extrapolate_amount | 0 | Set how many seconds the client will extrapolate entities for. |
| cl_flushentitypacket | 0 | For debugging. Force the engine to flush an entity packet. |
| cl_forcehighendmonitors | 1 | |
| cl_forcepreload | 0 | Whether we should force preloading model and texture information to video memory at the beginning of a level. Makes level loads longer, but can reduce stuttering caused by loading information on the fly. |
| cl_forwardspeed | 400 | |
| cl_fullupdate | cmd | Forces the server to send a full update packet |
| cl_idealpitchscale | 0 | |
| cl_ignorepackets | 0 | Force client to ignore packets (for debugging). |
| cl_interp | 0 | Interpolate object positions starting this many seconds in past |
| cl_interp_npcs | 0 | Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater) |
| cl_interpolate | 1 | Interpolate entities on the client. |
| cl_lagcomp_errorcheck | 0 | Player index of other player to check for position errors. |
| cl_lagcompensation | 1 | Perform server side lag compensation of weapon firing events. |
| cl_leveloverview | 0 | |
| cl_localnetworkbackdoor | 1 | Enable network optimizations for single player games. |
| cl_logofile | 0 | Spraypoint logo decal. |
| cl_maxrenderable_dist | 3000 | Max distance from the camera at which things will be rendered |
| cl_mouseenable | 1 | |
| cl_observercrosshair | 1 | |
| cl_overdraw_test | 0 | |
| cl_panelanimation | cmd | Shows panel animation variables: <panelname | blanak for all panels>. |
| cl_particleeffect_aabb_buffer | 2 | Add this amount to a particle effect's bbox in the leaf system so if it's growing slowly, it won't have to be reinserted as often. |
| cl_pclass | 0 | Dump entity by prediction classname. |
| cl_pdump | -1 | Dump info about this entity to screen. |
| cl_phys_props_enable | 1 | Disable clientside physics props (must be set before loading a level). |
| cl_phys_props_max | 300 | Maximum clientside physic props |
| cl_phys_timescale | 1 | Sets the scale of time for client-side physics (ragdolls) |
| cl_pitchdown | 89 | |
| cl_pitchspeed | 225 | |
| cl_pitchup | 89 | |
| cl_precacheinfo | cmd | Show precache info (client). |
| cl_pred_optimize | 2 | Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2). |
| cl_predict | 0 | Perform client side prediction. |
| cl_predictionlist | 0 | Show which entities are predicting |
| cl_predictweapons | 1 | Perform client side prediction of weapon effects. |
| cl_ragdoll_collide | 0 | |
| cl_rate | 10000 | Max bytes/sec the host can send data |
| cl_removedecals | cmd | Remove the decals from the entity under the crosshair. |
| cl_resend | 6 | Delay in seconds before the client will resend the 'connect' attempt |
| cl_SetupAllBones | 0 | |
| cl_show_bloodspray | 1 | |
| cl_show_splashes | 1 | |
| cl_showanimstate | -1 | Show the (client) animation state for the specified entity (-1 for none). |
| cl_showanimstate_log | 0 | 1 to output cl_showanimstate to Msg(). 2 to store in AnimState.log. 3 for both. |
| cl_showents | cmd | Dump entity list to console. |
| cl_showerror | 0 | Show prediction errors, 2 for above plus detailed field deltas. |
| cl_showevents | 0 | Print event firing info in the console |
| cl_showfps | 0 | Draw fps meter at top of screen (1 = fps, 2 = smooth fps) |
| cl_showpos | 0 | Draw current position at top of screen |
| cl_ShowSunVectors | 0 | |
| cl_showtextmsg | 1 | Enable/disable text messages printing on the screen. |
| cl_sidespeed | 400 | |
| cl_slist | 10 | Number of seconds to wait for server ping responses when checking for server on your lan |
| cl_smooth | 1 | Smooth view/eye origin after prediction errors |
| cl_smoothtime | 0 | Smooth client's view after prediction error over this many seconds |
| cl_soundemitter_flush | cmd | Flushes the sounds.txt system (client only) |
| cl_soundfile | 0 | Jingle sound file. |
| cl_soundscape_flush | cmd | Flushes the client side soundscapes |
| cl_soundscape_printdebuginfo | cmd | print soundscapes |
| cl_starfield_diameter | 128 | |
| cl_starfield_distance | 256 | |
| cl_sun_decay_rate | 0 | |
| cl_team | 0 | Default team when joining a game |
| cl_timeout | 30 | After this many seconds without receiving a packet from the server, the client will disconnect itself |
| cl_updaterate | 20 | Number of packets per second of updates you are requesting from the server |
| cl_upspeed | 320 | |
| cl_view | cmd | Set the view entity index. |
| cl_winddir | 0 | Weather effects wind direction angle |
| cl_windspeed | 0 | Weather effects wind speed scalar |
| cl_yawspeed | 210 | |
| clear | cmd | Clear all console output. |
| clear_debug_overlays | cmd | clears debug overlays |
| clientport | 27005 | Host game client port |
| closecaption | 0 | Enable close captioning. |
| cmd | cmd | Forward command to server. |
| collision_shake_amp | 0 | |
| collision_shake_freq | 0 | |
| collision_shake_time | 0 | |
| combine_guard_spawn_health | 1 | |
| combine_spawn_health | 1 | |
| +commandermousemove | cmd | |
| -commandermousemove | cmd | |
| con_drawnotify | 1 | Disables drawing of notification area (for taking screenshots). |
| con_enable | 1 | Allows the console to be activated. |
| con_notifytime | 8 | How long to display recent console text to the upper part of the game window |
| con_nprint_bgalpha | 50 | Con_NPrint background alpha. |
| con_nprint_bgborder | 5 | Con_NPrint border size. |
| con_trace | 0 | Print console text to low level printout. |
| connect | cmd | Connect to specified server. |
| contimes | 8 | Number of console lines to overlay for debugging. |
| coop | 0 | Cooperative play. |
| CreateHairball | cmd | |
| creditsdone | cmd | |
| crosshair | 1 | |
| curve_bias | 0 | |
| cvarlist | cmd | Show the list of convars/concommands. |
| deathmatch | 0 | Running a deathmatch server. |
| debug_physimpact | 0 | |
| decalfrequency | 10 | |
| default_fov | 75 | |
| demo_debug | 0 | Demo debug info. |
| demo_fastforwardfinalspeed | 20 | Go this fast when starting to hold FF button. |
| demo_fastforwardramptime | 5 | How many seconds it takes to get to full FF speed. |
| demo_fastforwardstartspeed | 2 | Go this fast when starting to hold FF button. |
| demo_interpolateview | 1 | Do view interpolation during dem playback. |
| demo_pauseatservertick | 0 | Pauses demo playback at server tick |
| demo_quitafterplayback | 0 | Quits game after demo playback. |
| demo_recordcommands | 1 | Record commands typed at console into .dem files. |
| demogototick | cmd | Skips to a tick in demo. |
| demolist | cmd | Print demo sequence list. |
| demopause | cmd | Pauses demo playback. |
| demoresume | cmd | Resumes demo playback. |
| demos | cmd | Demo demo file sequence. |
| demotimescale | cmd | Sets demo replay speed. |
| demotogglepause | cmd | Toggles demo playback. |
| demoui | cmd | Show/hide the demo player UI. |
| developer | 0 | Show developer messages. |
| differences | cmd | Show all convars which are not at their default values. |
| disconnect | cmd | Disconnect game from server. |
| disp_dynamic | 0 | |
| disp_modlimit | 80 | |
| disp_modlimit_down | 20 | |
| disp_modlimit_up | 80 | |
| disp_numiterations | 1 | |
| dispcoll_drawplane | 0 | |
| displaysoundlist | 0 | |
| dog_debug | 0 | |
| dog_max_wait_time | 7 | |
| drawcross | cmd | Draws a cross at the given location
Arguments: x y z |
| drawline | cmd | Draws line between two 3D Points.
Green if no collision Red is collides with something Arguments: x1 y1 z1 x2 y2 z2 |
| dropprimary | cmd | dropprimary: Drops the primary weapon of the player. |
| dsp_automatic | 0 | |
| dsp_db_min | 80 | |
| dsp_db_mixdrop | 0 | |
| dsp_dist_max | 1440 | |
| dsp_dist_min | 0 | |
| dsp_enhance_stereo | 1 | |
| dsp_facingaway | 0 | |
| dsp_mix_max | 0 | |
| dsp_mix_min | 0 | |
| dsp_off | 0 | |
| dsp_player | 0 | |
| dsp_reload | cmd | |
| dsp_room | 0 | |
| dsp_slow_cpu | 0 | |
| dsp_spatial | 40 | |
| dsp_speaker | 50 | |
| dsp_vol_2ch | 1 | |
| dsp_vol_4ch | 0 | |
| dsp_vol_5ch | 0 | |
| dsp_volume | 1 | |
| dsp_water | 14 | |
| dti_flush | cmd | Write out the datatable instrumentation files (you must run with -dti for this to work). |
| dtwarning | 0 | Print data table warnings? |
| dtwatchent | -1 | Watch this entities data table encoding. |
| dtwatchvar | 0 | Watch the named variable. |
| +duck | cmd | |
| -duck | cmd | |
| dump_globals | cmd | Dump all global entities/states |
| dumpstringtables | cmd | Print string tables to console. |
| echo | cmd | Echo text to console. |
| editdemo | cmd | Edit a recorded demo file (.dem ). |
| endmovie | cmd | Stop recording movie frames. |
| english | 1 | If set to 1, running the english language set of assets. |
| ent_absbox | cmd | Displays the total bounding box for the given entity(s) in green. Some
entites will also display entity specific overlays.
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_bbox | cmd | Displays the movement bounding box for the given entity(ies) in orange.
Some entites will also display entity specific overlays.
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_debugkeys | 0 | |
| ent_dump | cmd | Usage:
ent_dump <entity name> |
| ent_fire | cmd | Usage:
ent_fire <target> [action] [value] [delay] |
| ent_info | cmd | Usage:
ent_info <class name> |
| ent_messages | cmd | Toggles input/output message display for the selected entity(ies). The
name of the entity will be displayed as well as any messages that it sends
or receives.
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_messages_draw | 0 | Visualizes all entity input/output activity. |
| ent_name | cmd | |
| ent_pause | cmd | Toggles pausing of input/output message processing for entities. When turned on processing of all message will stop. Any messages displayed with 'ent_messages' will stop fading and be displayed indefinitely. To step through the messages one by one use 'ent_step'. |
| ent_pivot | cmd | Displays the pivot for the given entity(ies).
(y=up=green, z=forward=blue, x=left=red). Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_rbox | cmd | Displays the total bounding box for the given entity(s) in green. Some
entites will also display entity specific overlays.
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_remove | cmd | Removes the given entity(s)
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_remove_all | cmd | Removes all entities of the specified type
Arguments: {entity_name} / {class_name} |
| ent_setname | cmd | Sets the targetname of the given entity(s)
Arguments: {new entity name} {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_show_response_criteria | cmd | Print, to the console, an entity's current criteria set used to select
responses.
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| ent_step | cmd | When 'ent_pause' is set this will step through one waiting input / output message at a time. |
| ent_text | cmd | Displays text debugging information about the given entity(ies) on top
of the entity (See Overlay Text)
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| envmap | cmd | |
| escape | cmd | Escape key pressed. |
| exec | cmd | Execute script file. |
| exit | cmd | Exit the engine. |
| fadein | cmd | fadein {time r g b}: Fades the screen in from black or from the specified color over the given number of seconds. |
| fadeout | cmd | fadeout {time r g b}: Fades the screen to black or to the specified color over the given number of seconds. |
| find | cmd | Find concommands with the specified string in their name/help text. |
| fire_absorbrate | 3 | |
| fire_dmgbase | 1 | |
| fire_dmginterval | 1 | |
| fire_dmgscale | 0 | |
| fire_extabsorb | 5 | |
| fire_extscale | 12 | |
| fire_growthrate | 1 | |
| fire_heatscale | 1 | |
| fire_incomingheatscale | 0 | |
| fire_maxabsorb | 50 | |
| firetarget | cmd | |
| firstperson | cmd | Switch to firstperson camera. |
| flex_expression | 0 | |
| flex_looktime | 5 | |
| flex_maxawaytime | 1 | |
| flex_maxplayertime | 7 | |
| flex_minawaytime | 0 | |
| flex_minplayertime | 5 | |
| flex_rules | 1 | Allow flex animation rules to run. |
| flex_smooth | 1 | Applies smoothing/decay curve to flex animation controller changes. |
| flex_talk | 0 | |
| flush | cmd | Flush cache memory. |
| flush_unlocked | cmd | Flush unlocked cache memory. |
| fog_color | -1 | |
| fog_colorskybox | -1 | |
| fog_enable | 1 | |
| fog_enable_water_fog | 1 | |
| fog_enableskybox | 1 | |
| fog_end | -1 | |
| fog_endskybox | -1 | |
| fog_override | 0 | |
| fog_start | -1 | |
| fog_startskybox | -1 | |
| force_centerview | cmd | |
| +forward | cmd | |
| -forward | cmd | |
| fov | cmd | Change players FOV |
| fps_max | 300 | Frame rate limiter |
| free_pass_peek_debug | 0 | |
| fs_printopenfiles | cmd | Show all files currently opened by the engine. |
| fs_warning_level | cmd | Set the filesystem warning level. |
| func_break_max_pieces | 15 | |
| func_breakdmg_bullet | 0 | |
| func_breakdmg_club | 1 | |
| func_breakdmg_explosive | 1 | |
| g_ai_citizen_show_enemy | 0 | |
| g_antlion_maxgibs | 16 | |
| g_debug_antlion | 0 | |
| g_debug_antlionguard | 0 | |
| g_debug_antlionmaker | 0 | |
| g_debug_basehelicopter | 0 | |
| g_debug_combine_camera | 0 | |
| g_debug_cscanner | 0 | |
| g_debug_doors | 0 | |
| g_debug_dropship | 0 | |
| g_debug_dynamicresupplies | 0 | Debug item_dynamic_resupply spawning. Set to 1 to see text printouts of the spawning. Set to 2 to see lines drawn to other items factored into the spawning. |
| g_debug_gunship | 0 | |
| g_debug_headcrab | 0 | |
| g_debug_physcannon | 0 | |
| g_debug_ragdoll_removal | 0 | |
| g_debug_ragdoll_visualize | 0 | |
| g_debug_trackpather | 0 | |
| g_debug_transitions | 0 | Set to 1 and restart the map to be warned if the map has no trigger_transition volumes. Set to 2 to see a dump of all entities & associated results during a transition. |
| g_debug_turret | 0 | |
| g_debug_turret_ceiling | 0 | |
| g_debug_vehiclebase | 0 | |
| g_debug_vehicledriver | 0 | |
| g_debug_vehicleexit | 0 | |
| g_debug_vehiclesound | 0 | |
| g_helicopter_bullrush_bomb_enemy_distance | 0 | |
| g_helicopter_bullrush_bomb_speed | 850 | The maximum distance the player can be from the chopper before it stops firing |
| g_helicopter_bullrush_bomb_time | 10 | |
| g_helicopter_bullrush_distance | 5000 | |
| g_helicopter_bullrush_mega_bomb_health | 0 | Fraction of the health of the chopper before it mega-bombs |
| g_helicopter_bullrush_shoot_height | 650 | The maximum distance the player can be from the chopper before it stops firing |
| g_helicopter_chargetime | 2 | How much time we have to wait (on average) between the time we start hearing the charging sound + the chopper fires |
| g_helicopter_idletime | 3 | How much time we have to wait (on average) after we fire before we can charge up again |
| g_helicopter_maxfiringdist | 2500 | The maximum distance the player can be from the chopper before it stops firing |
| g_jeepexitspeed | 100 | |
| g_Language | 0 | |
| g_ragdoll_fadespeed | 600 | |
| g_ragdoll_maxcount | 8 | |
| g_test_new_antlion_jump | 1 | |
| gameui_hide | cmd | |
| getpos | cmd | dump position and angles to the console |
| give | cmd | Give item to player.
Arguments: <item_name> |
| gl_clear | 0 | |
| god | cmd | Toggle. Player becomes invulnerable. |
| +graph | cmd | |
| -graph | cmd | |
| groundlist | cmd | Display ground entity list <index> |
| heartbeat | cmd | |
| help | cmd | Find help about a convar/concommand. |
| hideconsole | cmd | Hide the console. |
| hidehud | 0 | |
| hidepanel | cmd | Hides a viewport panel <name> |
| hl2_normspeed | 190 | |
| hl2_sprintspeed | 320 | |
| hl2_walkspeed | 150 | |
| hltv_autorecord | 0 | Automatically records all games as HLTV demos. |
| hltv_cam_distance | 96 | Default HLTV chase camera distance |
| hltv_cam_fov | 90 | Default HLTV chase camera FOV |
| hltv_cam_inertia | 100 | Default HLTV chase camera inertia |
| hltv_cam_offset | 64 | Default HLTV chase camera offset |
| hltv_cam_phi | 0 | Default HLTV chase camera phi angle |
| hltv_cam_theta | 0 | Default HLTV chase camera theta angle |
| hltv_connect | cmd | Connect to specified HLTV server. |
| hltv_debug | 0 | HLTV debug info. |
| hltv_delay | 10 | HLTV broadcast delay in seconds |
| hltv_maxclients | 128 | Maximum client number on HLTV server. |
| hltv_maxrate | 3500 | Max client bandwidth rate allowed, 0 == unlimited |
| hltv_port | 27020 | Host HLTV port |
| hltv_record | cmd | Starts HLTV demo recording. |
| hltv_retry | cmd | Reconnects the HLTV relay proxy. |
| hltv_snapshotinterval | 2 | Take game snapshot every nth tick |
| hltv_status | cmd | Connect to specified HLTV server. |
| hltv_stop | cmd | Stops the HLTV broadcast. |
| hltv_stoprecord | cmd | Stops HLTV demo recording. |
| hltv_viewent | 0 | HLTV camera entity index |
| host_framerate | 0 | Set to lock per-frame time elapse. |
| host_limitlocal | 0 | Apply cl_cmdrate and cl_updaterate to loopback connection |
| host_map | 0 | Current map name. |
| host_profile | 0 | |
| host_runofftime | cmd | Run off some time without rendering/updating sounds |
| host_showcachemiss | 0 | Print a debug message when the client or server cache is missed. |
| host_sleep | 0 | Force the host to sleep a certain number of milliseconds each frame. |
| host_speeds | 0 | Show general system running times. |
| host_timescale | 1 | Prescale the clock by this amount. |
| host_writeconfig | cmd | Store current settings to config.cfg (or specified .cfg file). |
| hostname | 0 | Hostname for server. |
| hostport | 27015 | Host game server port |
| hud_airboathint_numentries | 10 | |
| hud_autoreloadscript | 0 | Automatically reloads the animation script each time one is ran |
| hud_deathnotice_time | 6 | |
| hud_drawhistory_time | 5 | |
| hud_fastswitch | 0 | |
| hud_jeephint_numentries | 10 | |
| hud_quickinfo | 0 | |
| hud_reloadscheme | cmd | Reloads hud layout and animation scripts. |
| hud_saytext_time | 12 | |
| hurtme | cmd | Hurts the player.
Arguments: <health to lose> |
| impulse | cmd | |
| incrementvar | cmd | Increment specified convar value. |
| invnext | cmd | |
| invprev | cmd | |
| ip | 0 | Overrides IP for multihomed hosts |
| +jlook | cmd | |
| -jlook | cmd | |
| joy_advanced | 0 | |
| joy_advaxisr | 0 | |
| joy_advaxisu | 0 | |
| joy_advaxisv | 0 | |
| joy_advaxisx | 0 | |
| joy_advaxisy | 0 | |
| joy_advaxisz | 0 | |
| joy_diagonalpov | 0 | POV manipulator operates on diagonal axes, too. |
| joy_forwardsensitivity | -1 | |
| joy_forwardthreshold | 0 | |
| joy_name | 0 | |
| joy_pitchsensitivity | 1 | |
| joy_pitchthreshold | 0 | |
| joy_sidesensitivity | -1 | |
| joy_sidethreshold | 0 | |
| joy_wingmanwarrier_centerhack | 0 | Wingman warrior centering hack. |
| joy_wingmanwarrier_turnhack | 0 | Wingman warrior hack related to turn axes. |
| joy_yawsensitivity | -1 | |
| joy_yawthreshold | 0 | |
| joyadvancedupdate | cmd | |
| joystick | 0 | |
| jpeg | cmd | Take a jpeg screenshot: jpeg <filename> <quality 1-100>. |
| jpeg_quality | 90 | jpeg screenshot quality. |
| +jump | cmd | |
| -jump | cmd | |
| kdtree_test | cmd | Tests spatial partition for entities queries. |
| key_findbinding | cmd | Find key bound to specified command string. |
| key_listboundkeys | cmd | List bound keys with bindings. |
| key_updatelayout | cmd | Updates game keyboard layout to current windows keyboard setting. |
| kick | cmd | Kick a player by slot, userid or name. |
| kill | cmd | kills the player |
| killserver | cmd | Shutdown the server. |
| +klook | cmd | |
| -klook | cmd | |
| lastinv | cmd | |
| +left | cmd | |
| snd_memasync | cmd | Show async memory stats |
| snd_mixahead | 0 | |
| snd_mixvol | cmd | Set named Mixgroup to mix volume. |
| snd_musicvolume | 1 | Music volume |
| snd_noextraupdate | 0 | |
| snd_obscured_gain_dB | -2 | |
| snd_pitchquality | 1 | |
| snd_profile | 0 | |
| snd_rebuildaudiocache | cmd | Rebuilds all audio caches (_other, _other_rebuild, _sharedprecache, level caches) from reslists |
| snd_refdb | 60 | |
| snd_refdist | 36 | |
| snd_restart | cmd | Restart sound system. |
| snd_show | 0 | Show sounds info |
| snd_showclassname | 0 | |
| snd_showmixer | 0 | |
| snd_showstart | 0 | |
| snd_soundmixer | 0 | |
| snd_surround_speakers | 0 | |
| snd_visualize | 0 | Show sounds location in world |
| snd_vox_captiontrace | 0 | Shows sentence name for sentences which are set not to show captions. |
| snd_vox_globaltimeout | 300 | |
| snd_vox_sectimetout | 300 | |
| snd_vox_seqtimetout | 300 | |
| snd_writemanifest | cmd | If running a game, outputs the precache manifest for the current level |
| sndplaydelay | cmd | |
| sniperspeak | 0 | |
| sniperviewdist | 35 | |
| soundfade | cmd | Fade client volume. |
| soundinfo | cmd | Describe the current sound device. |
| soundlist | cmd | List all known sounds. |
| soundpatch_captionlength | 2 | How long looping soundpatch captions should display for. |
| soundscape_fadetime | 3 | Time to crossfade sound effects between soundscapes |
| soundscape_flush | cmd | Flushes the server & client side soundscapes |
| speak | cmd | Play a constructed sentence. |
| spec_mode | cmd | Set spectator mode |
| spec_next | cmd | Spectate next player |
| spec_player | cmd | Spectate player by name |
| spec_pos | cmd | dump position and angles to the console |
| spec_prev | cmd | Spectate previous player |
| spec_scoreboard | 0 | |
| -left | cmd | |
| light_crosshair | cmd | Show texture color at crosshair |
| linefile | cmd | Parses map leak data from .lin file |
| list | cmd | List cached servers. |
| listdemo | cmd | List demo file contents. |
| listid | cmd | Lists banned users. |
| listip | cmd | List IP addresses on the ban list. |
| listmodels | cmd | List loaded models. |
| load | cmd | Load a saved game. |
| lod_Enable | 1 | |
| lod_TransitionDist | 800 | |
| log | cmd | Enables standard log file <0|1>. |
| log_addaddress | cmd | Set address and port for remote host <ip:port>. |
| log_console | cmd | Echos event logging in console <0|1>. |
| log_events | cmd | Set UDP logging to remote host <0|1>. |
| log_level | cmd | Specifies a logging level 0..15 <n>. |
| log_udp | cmd | Send log packets to hosts in address list <0|1>. |
| +lookdown | cmd | |
| -lookdown | cmd | |
| lookspring | 0 | |
| lookstrafe | 0 | |
| +lookup | cmd | |
| -lookup | cmd | |
| lservercfgfile | 0 | |
| m_customaccel | 0 | Custom mouse acceleration (0 disable, 1 to enable, 2 enable with separate
yaw/pitch rescale).
Formula: mousesensitivity = ( rawmousedelta^m_customaccel_exponent ) * m_customaccel_scale + sensitivity If mode is 2, then x and y sensitivity are scaled by m_pitch and m_yaw respectively. |
| m_customaccel_exponent | 1 | Mouse move is raised to this power before being scaled by scale factor. |
| m_customaccel_max | 0 | Max mouse move scale factor, 0 for no limit |
| m_customaccel_scale | 0 | Custom mouse acceleration value. |
| m_filter | 0 | Mouse filtering (set this to 1 to average the mouse over 2 frames). |
| m_forward | 1 | Mouse forward factor. |
| m_mouseaccel1 | 0 | Windows mouse acceleration initial threshold (2x movement). |
| m_mouseaccel2 | 0 | Windows mouse acceleration secondary threshold (4x movement). |
| m_mousespeed | 1 | Windows mouse speed factor (range 1 to 20). |
| m_pitch | 0 | Mouse pitch factor. |
| m_side | 0 | Mouse side factor. |
| m_yaw | 0 | Mouse yaw factor. |
| map | cmd | Start playing on specified map. |
| map_background | cmd | Runs a map as the background to the main menu. |
| map_edit | cmd | |
| map_noareas | 0 | Disable area to area connection testing. |
| mapcyclefile | 0 | |
| maps | cmd | Displays list of maps. |
| mat_antialias | 0 | |
| mat_bloom | 1 | |
| mat_bufferprimitives | 1 | |
| mat_bumpbasis | 0 | |
| mat_bumpmap | 1 | |
| mat_camerarendertargetoverlaysize | 128 | |
| mat_clipz | 1 | |
| mat_compressedtextures | 1 | |
| mat_configcurrent | cmd | show the current video control panel config for the material system |
| mat_crosshair | cmd | |
| mat_debug | cmd | |
| mat_debugdepth | 0 | |
| mat_debugdepthmode | 0 | |
| mat_debugdepthval | 128 | |
| mat_debugdepthvalmax | 256 | |
| mat_depthbias_decal | -262144 | |
| mat_depthbias_normal | 0 | |
| mat_diffuse | 1 | |
| mat_drawflat | 0 | |
| mat_drawwater | 1 | |
| mat_dxlevel | 90 | |
| mat_envmapsize | 128 | |
| mat_envmaptgasize | 32 | |
| mat_fastnobump | 0 | |
| mat_fastspecular | 1 | Enable/Disable specularity for visual testing. Will not reload materials and will not affect perf. |
| mat_fillrate | 0 | |
| mat_filterlightmaps | 1 | Smooths lightmaps. Lighting appears blocky when this is off. |
| mat_filtertextures | 1 | Smooths textures. Textures appear blocky when this is off. |
| mat_forceaniso | 1 | Sets Anistropic Filtering Level |
| mat_forcedynamic | 0 | |
| mat_forcehardwaresync | 1 | |
| mat_frame_sync_enable | 1 | |
| mat_frame_sync_force_texture | 0 | Force frame syncing to lock a managed texture. |
| mat_framebuffercopyoverlaysize | 128 | |
| mat_fullbright | 0 | |
| mat_hsv | 0 | |
| mat_info | cmd | Shows material system info |
| mat_leafvis | 0 | Draw wireframe of current leaf |
| mat_levelflush | 1 | |
| mat_loadtextures | 1 | |
| mat_luxels | 0 | |
| mat_maxframelatency | 1 | |
| mat_measurefillrate | 0 | |
| mat_mipmaptextures | 1 | |
| mat_monitorgamma | 2 | monitor gamma (typically 2.2 for CRT and 1.7 for LCD) |
| mat_norendering | 0 | |
| mat_normalmaps | 0 | |
| mat_normals | 0 | |
| mat_parallaxmap | 0 | |
| mat_picmip | 0 | Sets texture quality. Is the same as the "Texture Detail" menu. Values are 0-High, 1-Medium, 2-Low |
| mat_proxy | 0 | |
| mat_reducefillrate | 0 | |
| mat_reloadallmaterials | cmd | |
| mat_reloadmaterial | cmd | |
| mat_reloadtextures | cmd | |
| mat_reversedepth | 0 | |
| mat_savechanges | cmd | saves current video configuration to the registry |
| mat_setvideomode | cmd | sets the width, height, windowed state of the material system |
| mat_shadowstate | 1 | |
| mat_show_texture_memory_usage | 0 | Display the texture memory usage on the HUD. |
| mat_showcamerarendertarget | 0 | |
| mat_showenvmapmask | 0 | |
| mat_showframebuffertexture | 0 | |
| mat_showlightmapcomponent | 0 | 0: show normal-mapped lightmap
1: show component 1 1: show component 2 1: show component 3 |
| mat_showlightmappage | -1 | |
| mat_showlowresimage | 0 | |
| mat_showmaterials | cmd | Show materials. |
| mat_showmaterialsverbose | cmd | |
| mat_showmiplevels | 0 | |
| mat_showtextures | cmd | Show textures. |
| mat_showwatertextures | 0 | |
| mat_skybloomamount | 1 | |
| mat_slopescaledepthbias_decal | 0 | |
| mat_slopescaledepthbias_normal | 0 | |
| mat_softwarelighting | 0 | |
| mat_softwareskin | 0 | |
| mat_specular | 1 | Enable/Disable specularity for perf testing. Will cause a material reload upon change. |
| mat_spewvertexandpixelshaders | cmd | print all vertex and pixel shaders currently loaded to the console |
| mat_stub | 0 | |
| mat_suppress | cmd | Supress a material from drawing |
| mat_surfaceid | 0 | |
| mat_surfacemat | 0 | |
| mat_texture_limit | -1 | If this value is not -1, the material system will limit the amount of texture memory it uses in a frame. Useful for identifying performance cliffs. The value is in kilobytes. |
| -mat_texture_list | cmd | |
| +mat_texture_list | cmd | |
| mat_texture_list | 0 | For debugging, show a list of used textures per frame |
| mat_texture_list_all | 0 | If this is nonzero, then the texture list panel will show all currently-loaded textures. |
| mat_texturelist_directories | 0 | |
| mat_texturelist_files | 1 | |
| mat_trilinear | 1 | |
| mat_viewportscale | 1 | debugging viewport scale |
| mat_vsync | 0 | Force sync to vertical retrace |
| mat_wateroverlaysize | 128 | |
| mat_wireframe | 0 | |
| mat_yuv | 0 | Turns the screen monochrome |
| maxplayers | cmd | Change the maximum number of players allowed on this server. |
| mem_dump | cmd | dump memory stats. |
| mem_dumpstats | 0 | Dump current and max heap usage info to console at end of frame ( set to 2 for continuous output ) |
| mem_force_flush | 0 | Force cache flush of unlocked resources on every alloc |
| metropolice_charge | 1 | |
| metropolice_chase_use_follow | 0 | |
| metropolice_move_and_melee | 1 | |
| minisave | cmd | Saves game (for current level only!) |
| mod_forcedata | 1 | Forces all model file data into cache on model load. |
| monk_headshot_freq | 2 | |
| mortar_visualize | 0 | |
| +movedown | cmd | |
| -movedown | cmd | |
| +moveleft | cmd | |
| -moveleft | cmd | |
| +moveright | cmd | |
| -moveright | cmd | |
| +moveup | cmd | |
| -moveup | cmd | |
| mp_allowNPCs | 1 | |
| mp_allowspectators | 1 | toggles whether the server allows spectator mode or not |
| mp_autocrosshair | 1 | |
| mp_chattime | 10 | amount of time players can chat after the game is over |
| mp_decals | 200 | |
| mp_defaultteam | 0 | |
| mp_facefronttime | 3 | After this amount of time of standing in place but aiming to one side, go ahead and move feet to face upper body. |
| mp_falldamage | 0 | |
| mp_feetyawrate | 720 | How many degrees per second that we can turn our feet or upper body. |
| mp_flashlight | 0 | |
| mp_footsteps | 1 | |
| mp_forcecamera | 0 | Restricts spectator modes for dead players |
| mp_forcerespawn | 1 | |
| mp_fraglimit | 0 | |
| mp_friendlyfire | 0 | |
| mp_ik | 1 | Use IK on in-place turns. |
| mp_logecho | 1 | |
| mp_logfile | 1 | |
| mp_teamlist | 0 | |
| mp_teamoverride | 1 | |
| mp_teamplay | 0 | |
| mp_timelimit | 0 | game time per map in minutes |
| mp_weaponstay | 0 | |
| muzzleflash_light | 1 | |
| name | 0 | Current user name |
| nav_begin_area | cmd | Defines a corner of a new Area. To complete the Area, drag the opposite corner to the desired location and issue a 'nav_end_area' command. |
| nav_clear_walkable_marks | cmd | Erase any previously placed walkable positions. |
| nav_connect | cmd | To connect two Areas, mark the first Area, highlight the second Area, then invoke the connect command. Note that this creates a ONE-WAY connection from the first to the second Area. To make a two-way connection, also connect the second area to the first. |
| nav_corner_lower | cmd | Lower the selected corner of the currently marked Area. |
| 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_crouch | cmd | Toggles the 'must crouch in this area' flag used by the AI system. |
| nav_delete | cmd | Deletes the currently highlighted Area. |
| nav_disconnect | cmd | To disconnect two Areas, mark an Area, highlight a second Area, then invoke the disconnect command. This will remove all connections between the two Areas. |
| 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 and creates it. |
| nav_generate | cmd | Generate a Navigation Mesh for the current map and save it to disk. |
| nav_jump | cmd | Toggles the 'traverse this area by jumping' flag used by the AI system. |
| nav_load | cmd | Loads the Navigation Mesh for the current map. |
| nav_mark | cmd | Marks the Area under the cursor for manipulation by subsequent editing commands. |
| 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 sampling the map to generate a Navigation Mesh. |
| nav_merge | cmd | To merge two Areas into one, mark the first Area, highlight the second by pointing your cursor at it, and invoke the merge command. |
| 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 all adjacent Areas. Flood-filling stops when it hits an Area with the same Place, or a different Place than that of the initial Area. |
| nav_place_pick | cmd | Sets the current Place to the Place of the Area under the cursor. |
| 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. Useful for data collection and testing. |
| nav_save | cmd | Saves the current Navigation Mesh to disk. |
| nav_show_approach_points | 0 | Show Approach Points in the Navigation Mesh. |
| nav_show_danger | 0 | Show current 'danger' levels. |
| nav_splice | cmd | To splice, mark an area, highlight a second area, then invoke the splice command to create a new, connected area between them. |
| nav_split | cmd | To split an Area into two, align the split line using your cursor and invoke the split command. |
| nav_strip | cmd | Strips all Hiding Spots, Approach Points, and Encounter Spots from the current Area. |
| 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 current Place. |
| nav_use_place | cmd | If used without arguments, all available Places will be listed. If a Place argument is given, the current Place is set. |
| net_blockmsg | 0 | Discards incoming message: <0|1|name> |
| net_channels | cmd | Shows net channel info |
| net_chokeloop | 0 | Apply bandwidth choke to loopback packets |
| net_drawslider | 0 | Draw completion slider during signon |
| net_droppackets | 0 | Drops next n packets on client |
| net_fakelag | 0 | Lag all incoming network data (including loopback) by this many milliseconds. |
| net_fakeloss | 0 | Simulate packet loss as a percentage (negative means drop 1/n packets) |
| net_graph | 0 | Draw the network usage graph |
| net_graphheight | 64 | |
| net_graphpos | 1 | |
| net_graphsolid | 1 | |
| net_maxfragments | 1280 | Max fragment bytes per packet. |
| net_scale | 5 | |
| net_showdrop | 0 | Show dropped packets in console |
| net_showevents | 0 | Print game event infos to console. |
| net_showfragments | 0 | Show netchannel fragments |
| net_showmsg | 0 | Show incoming message: <0|1|name> |
| net_showpeaks | 0 | Show messages for large packets only: <size> |
| net_showsplits | 0 | Show info about packet splits |
| net_showtcp | 0 | Dump TCP stream summary to console |
| net_showudp | 0 | Dump UPD packets summary to console |
| net_start | cmd | Inits multiplayer network sockets |
| net_synctags | 0 | Insert tokens into the net stream to find client/server mismatches. |
| next | 0 | Set to 1 to advance to next frame ( when singlestep == 1 ) |
| nextdemo | cmd | Play next demo in sequence. |
| noclip | cmd | Toggle. Player becomes non-solid and flies. |
| notarget | cmd | Toggle. Player becomes hidden to NPCs. |
| npc_ammo_deplete | cmd | Subtracts half of the target's ammo |
| npc_barnacle_swallow | 0 | Use prototype swallow code. |
| npc_bipass | cmd | Displays the local movement attempts by the given NPC(s) (triangulation
detours). Failed bypass routes are displayed in red, successful bypasses
are shown in green.
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at. |
| npc_citizen_auto_player_squad | 1 | |
| npc_citizen_auto_player_squad_allow_use | 0 | |
| npc_citizen_explosive_resist | 0 | |
| npc_citizen_insignia | 0 | |
| npc_citizen_squad_marker | 0 | |
| npc_combat | cmd | Displays text debugging information about the squad and enemy of the
selected NPC (See Overlay Text)
Arguments: {npc_name} / {npc class_name} / no argument picks what player is looking at |
| npc_conditions | cmd | Displays all the current AI conditions that an NPC has in the overlay
text.
Arguments: {npc_name} / {npc class_name} / no argument picks what player is looking at |
| npc_create | cmd | Creates an NPC of the given type where the player is looking (if the
given NPC can actually stand at that location). Note that this only works
for npc classes that are already in the world. You can not create an entity
that doesn't have an instance in the level.
Arguments: {npc_class_name} |
| npc_create_aimed | cmd | Creates an NPC aimed away from the player of the given type where the
player is looking (if the given NPC can actually stand at that location).
Note that this only works for npc classes that are already in the world.
You can not create an entity that doesn't have an instance in the level.
Arguments: {npc_class_name} |
| npc_create_equipment | 0 | |
| npc_destroy | cmd | Removes the given NPC(s) from the universe
Arguments: {npc_name} / {npc_class_name} / no argument picks what player is looking at |
| npc_destroy_unselected | cmd | Removes all NPCs from the universe that aren't currently selected |
| npc_enemies | cmd | Shows memory of NPC. Draws an X on top of each memory.
Eluded entities drawn in blue (don't know where it went) Unreachable entities drawn in green (can't get to it) Current enemy drawn in red Current target entity drawn in magenta All other entities drawn in pink Arguments: {npc_name} / {npc class_name} / no argument picks what player is looking at |
| npc_focus | cmd | Displays red line to NPC's enemy (if has one) and blue line to NPC's
target entity (if has one)
Arguments: {npc_name} / {npc class_name} / no argument picks what player is looking at |
| npc_freeze | cmd | Selected NPC(s) will freeze in place (or unfreeze). If there are no
selected NPCs, uses the NPC under the crosshair.
Arguments: -none- |
| npc_go | cmd | Selected NPC(s) will go to the location that the player is looking (shown
with a purple box)
Arguments: -none- |
| npc_go_do_run | 1 | Set whether should run on NPC go |
| npc_go_random | cmd | Sends all selected NPC(s) to a random node.
Arguments: -none- |
| npc_heal | cmd | Heals the target back to full health |
| npc_height_adjust | 1 | Enable test mode for ik height adjustment |
| npc_kill | cmd | Kills the given NPC(s)
Arguments: {npc_name} / {npc_class_name} / no argument picks what player is looking at |
| npc_nearest | cmd | Draw's a while box around the NPC(s) nearest node
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| npc_reset | cmd | Reloads schedules for all NPC's from their script files
Arguments: -none- |
| npc_route | cmd | Displays the current route of the given NPC as a line on the screen.
Waypoints along the route are drawn as small cyan rectangles. Line is
color coded in the following manner:
Blue - path to a node Cyan - detour around an object (triangulation) Red - jump Maroon - path to final target position Arguments: {npc_name} / {npc_class_name} / no argument picks what player is looking at |
| npc_select | cmd | Select or deselects the given NPC(s) for later manipulation. Selected
NPC's are shown surrounded by a red translucent box
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| npc_sentences | 0 | |
| npc_speakall | cmd | Force the npc to try and speak all thier responses |
| npc_squads | cmd | Obsolete. Replaced by npc_combat |
| npc_steering | cmd | Displays the steering obstructions of the NPC (used to perform local
avoidance)
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| npc_steering_all | cmd | Displays the steering obstructions of all NPCs (used to perform local avoidance) |
| npc_strider_height_adj | 0 | |
| npc_strider_shake_ropes_magnitude | 150 | |
| npc_strider_shake_ropes_radius | 1200 | |
| npc_task_text | cmd | Outputs text debugging information to the console about the all the
tasks + break conditions of the selected NPC current schedule
Arguments: {npc_name} / {npc class_name} / no argument picks what player is looking at |
| npc_tasks | cmd | Displays detailed text debugging information about the all the tasks
of the selected NPC current schedule (See Overlay Text)
Arguments: {npc_name} / {npc class_name} / no argument picks what player is looking at |
| npc_thinknow | cmd | Trigger NPC to think |
| npc_viewcone | cmd | Displays the viewcone of the NPC (where they are currently looking and
what the extents of there vision is)
Arguments: {entity_name} / {class_name} / no argument picks what player is looking at |
| npc_vphysics | 0 | |
| old_radiusdamage | 0 | |
| overview_health | 1 | Show player's health in map overview. |
| overview_locked | 1 | Locks map angle, doesn't follow view angle. |
| overview_mode | cmd | Sets overview map mode off,small,large: <0|1|2> |
| overview_names | 1 | Show player's names in map overview. |
| overview_tracks | 1 | Show player's tracks in map overview. |
| overview_zoomabs | cmd | Sets overview map zoom: <zoom> |
| overview_zoomrel | cmd | Changes overview map zoom: <factor> |
| particle_simulateoverflow | 0 | Used for stress-testing particle systems. Randomly denies creation of particles. |
| password | 0 | Current server access password |
| path | cmd | Show the engine filesystem path. |
| pause | cmd | Toggle the server pause state. |
| perfui | cmd | Show/hide the level performance tools UI. |
| perfvisualbenchmark | cmd | |
| perfvisual |