"ai_disable" game cheat - 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_show_hull" game cheat - 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_connect" game cheat - 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" game cheat - 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" game cheat - 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_grid" game cheat - Draw a grid on the floor where looking. "ai_step" game cheat - 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_resume" game cheat - If NPC is stepping through tasks (see ai_step ) will resume normal processing. "ai_next_hull" game cheat - 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_nodes" game cheat - 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_show_visibility" game cheat - 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_show_graph_connect" game cheat - 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. "npc_bipass" game cheat - 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_enemies" game cheat - 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_create" game cheat - 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" game cheat - 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_freeze" game cheat - 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_random" game cheat - Sends all selected NPC(s) to a random node. Arguments: -none- "npc_route" game cheat - 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" game cheat - 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_squads" game cheat - Obsolete. Replaced by npc_combat "npc_conditions" game cheat - 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 "ainet_generate_report" game - Generate a report to the console. "ainet_generate_report_only" game - Generate a report to the console. "ent_bbox" game cheat - 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_absbox" game cheat - 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_rbox" game cheat - 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_messages" game cheat - 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_pause" game cheat - 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'. "picker" game cheat - Toggles 'picker' mode. When picker is on, the bounding box, pivot and debugging text is displayed for whatever entity the player is looking at. Arguments: full - enables all debug information "ent_pivot" game cheat - 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_step" game cheat - When 'ent_pause' is set this will step through one waiting input / output message at a time. "scene_allowoverrides" = "1" game - When playing back a choreographed scene, allow per-model expression overrides. "smoothstairs" = "1" game - Smooth player eye z coordinate when climbing stairs. "drawline" game cheat - Draws line between two 3D Points. Green if no collision Red is collides with something Arguments: x1 y1 z1 x2 y2 z2 "buddha" game cheat - Toggle. Player takes damage but won't die. (Shows red cross when health is zero) "give" game cheat - Give item to player. Arguments: "test_dispatcheffect" game cheat - Test a clientside dispatch effect. Usage: test_dispatcheffect Defaults are: "noclip" game cheat - Toggle. Player becomes non-solid and flies. "god" game cheat - Toggle. Player becomes invulnerable. "setpos" game cheat - Move player to specified origin (must have sv_cheats). "setang" game cheat - Snap player eyes to specified pitch yaw (must have sv_cheats). "notarget" game cheat - Toggle. Player becomes hidden to NPCs. "hurtme" game cheat - Hurts the player. Arguments: "fadeout" game - fadeout {time r g b}: Fades the screen to black or to the specified color over the given number of seconds. "fadein" game - fadein {time r g b}: Fades the screen in from black or from the specified color over the given number of seconds. "UseNetworkVars" = "1" game cheat - For profiling, toggle network vars. "sv_showhitboxes" = "-1" game server cheat - Send server-side hitboxes for specified entity to client (NOTE: this uses lots of bandwidth, use on listen server only). "sv_gravity" = "800" game server - World gravity. "sv_stopspeed" = "100" game server - Minimum stopping speed when on ground. "sv_friction" = "4" game server - World friction. "sv_bounce" = "1" game server - Bounce multiplier for when physically simulated objects collide with other objects. "sv_maxvelocity" = "3500" game - Maximum speed any ballistically moving object is allowed to attain per axis. "sv_waterdist" = "12" game - Vertical view fixup when eyes are near water plane. "air_density" game cheat - Changes the density of air for drag computations. "think_limit" = "10" game - Maximum think time in milliseconds, warning is printed if this is exceeded. "sv_thinktimecheck" = "0" game - Check for thinktimes all on same timestamp. "dsp_explosion_effect_duration" = "4" game - How long to apply confusion/ear-ringing effect after taking damage from blast. "ch_createjeep" game cheat - Spawn jeep in front of the player. "ch_createairboat" game cheat - Spawn airboat in front of the player. "prop_debug" game cheat - Toggle prop debug mode. If on, props will show colorcoded bounding boxes. Red means ignore all damage. White means respond physically to damage but never break. Green maps health in the range of 100 down to 1. "scene_print" = "0" game - When playing back a scene, print timing and event info to console. "sv_soundemitter_flush" game - Flushes the sounds.txt system (server only) "sv_soundemitter_filecheck" game - Report missing .wav files for sounds and game_sounds files. "wc_destroy" game cheat - When in WC edit mode, destroys the node that the player is nearest to looking at. (The node will be highlighted by a red box). "flush" - Flush cache memory. "vprof_generate_report_AI_only" - Generate a report to the console. "vprof_generate_report_AI" - Generate a report to the console. "vprof_generate_report" - Generate a report to the console. "vprof_dump_spikes" = "0" - Framerate at which vprof will begin to dump spikes to the console. 0 = disabled. "vgui_togglepanel" - show/hide vgui panel by name. "vgui_drawpopups" = "0" - Draws the vgui popup list in hierarchy(1) or most recently used(2) order. "vgui_treestart" = "0" - Depth level to start printing info out at for vgui_drawtree. "vgui_drawpanel" = "" - Draws the vgui panel hiearchy starting with the named panel. "vgui_drawtree" = "0" - Draws the vgui panel hiearchy to the specified depth level. "vgui_drawfocus" = "0" - Report which panel is under the mouse. "Test_RandomChance" - Test_RandomChance - Roll the dice and maybe run the command following the percentage chance. "Test_LoopForNumSeconds" - Test_LoopForNumSeconds