Console Command List/G

From Valve Developer Community

Command Default Cheat? Help Text
g_ai_citizen_show_enemy0None
g_antlion_maxgibs16None
g_debug_antlion0None
g_debug_antlionguard0None
g_debug_antlionmaker0YesNone
g_debug_basehelicopter0YesNone
g_debug_combine_camera0None
g_debug_cscanner0None
g_debug_doors0None
g_debug_dropship0None
g_debug_dynamicresupplies0Debug 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_gunship0YesNone
g_debug_headcrab0YesNone
g_debug_physcannon0None
g_debug_ragdoll_removal0YesNone
g_debug_ragdoll_visualize0YesNone
g_debug_trackpather0YesNone
g_debug_transitions0Set 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_turret0None
g_debug_turret_ceiling0None
g_debug_vehiclebase0YesNone
g_debug_vehicledriver0YesNone
g_debug_vehicleexit0YesNone
g_debug_vehiclesound0YesNone
g_helicopter_bullrush_bomb_enemy_distance0None
g_helicopter_bullrush_bomb_speed850The maximum distance the player can be from the chopper before it stops firing
g_helicopter_bullrush_bomb_time10None
g_helicopter_bullrush_distance5000None
g_helicopter_bullrush_mega_bomb_health0Fraction of the health of the chopper before it mega-bombs
g_helicopter_bullrush_shoot_height650The maximum distance the player can be from the chopper before it stops firing
g_helicopter_chargetime2How much time we have to wait (on average) between the time we start hearing the charging sound + the chopper fires
g_helicopter_idletime3How much time we have to wait (on average) after we fire before we can charge up again
g_helicopter_maxfiringdist2500The maximum distance the player can be from the chopper before it stops firing
g_jeepexitspeed100YesNone
g_Language0None
g_ragdoll_fadespeed600None
g_ragdoll_maxcount8None
g_test_new_antlion_jump1None
gameui_hideNone
getposdump position and angles to the console
giveGive item to player. Arguments: <item_name>
gl_clear0None
godYesToggle. Player becomes invulnerable. (Suit will still take damage.)
+graphNone
-graphNone
groundlistDisplay ground entity list <index>