privacy

Half Life 2 Console Commands

Use the [~] key during game play to bring up the console and enter the following codes there:

  • sv_cheats 1 = Activates Cheats
  • +mlook = Enables mouse look
  • ai_disable = toggles enemy AI on/off
  • air_density # = Change the density of air. (Add number in place of #)
  • buddha = Health never goes below 1
  • ch_createairboat = Makes an airboat
  • ch_createjeep = Make a jeep
  • cl_drawhud 1 = Toggle HUD display On
  • cl_ragdoll_collide 1 = Enables ragdolls that don’t clip through each other, but stack realistically on one another.
  • cl_showfps 1 = Shows FPS Rate
  • cl_showpos 1 = brings up position display in top right of screen (0 removes it)
  • crosshair 0 = Disables Crosshair
  • dsp_explosion_effect_duration # = Set length of confusion/ear-ringing effect(Add number in place of #)
  • exec # = Execute a script file (Input filename in place of #)
  • firstperson =First Person View
  • getpos = can be used to get current coords for use with setpos
  • give # =Give weapon (Input weapon name in place of #)
  • give item_ammo_357 =Spawns ammo for the .357 magnum
  • give item_ammo_ar2 =Spawns primary fire ammo for the Overwatch Pulse Rifle
  • give item_ammo_ar2_altfire =Spawns energy grenade for the Overwatch Pulse Rifle
  • give item_ammo_crossbow =Spawns ammo for the crossbow
  • give item_ar2_grenade =Spawns grenades for the submachinegun
  • give item_battery =Increases suit charge by 15 points.
  • give item_box_buckshot =Spawns shells for the 12-gauge shotgun
  • give item_box_mrounds =Spawns primary fire ammo for the submachinegun
  • give item_box_srounds =Spawns ammo for the 9mm pistol
  • give item_rpg_round =Spawns grenades for the RPG
  • give weapon_annabelle =gives you Father Gregori’s modified shotgun
  • give weapon_shotgun =Receive a Shotgun
  • God =God Mode
  • help # =replace # with a command to get a brief description of it
  • host_timescale # =Changes the speed of the game (for slow-mo/fast-mo) (# < 1 = slower, # > 1 = faster).
  • Hurtme # =Damages player by whatever variable you input as #
  • impulse 101 =All Weapons
  • impulse 203 =removes the item or NPC pointed at
  • impulse 76 =Grunt-O-Matic
  • impulse 82 =Spawn a Jeep
  • impulse 83 =Spawn an Air Boat
  • Kill =You die.
  • Map # =Load Map (Input title in place of #)
  • mat_depthbias_normal 1 =See through walls
  • mat_fullbright 1 =removes all shadows (a 0 restores them)
  • mat_yuv 1 =black-and-white mode
  • net_graph 1 =a more thorough fps display
  • noclip =Ability to walk through walls
  • notarget =Invisible to NPC’s
  • npc_create =Creates an NPC
  • npc_create_aimed =Creates an NPC (Aiming away from player)
  • physcannon_cone # =Changes the radius of the cone used to pick up objects
  • physcannon_maxforce # =Changes how hard you propel objects
  • physcannon_maxmass # =Changes how large pulled objects can be
  • physcannon_pullforce # =Changes how quickly objects are pulled
  • physcannon_tracelength # =Changes the length that objects can be pulled from
  • sk_max_357 # =# is new max ammo for .357 Magnum
  • sk_max_ar2 # =# is new max ammo for Pulse Rifle
  • sk_max_ar2_altfire # =# is new max ammo for Pulse Rifle energy orbs
  • sk_max_buckshot # =Raises your max number of shells to that number.
  • sk_max_buckshot # =# is new max ammo for shotgun
  • sk_max_crossbow # =# is new max ammo for crossbow
  • sk_max_grenade # =# is new max ammo for hand grenades
  • sk_max_pistol # =# is new max ammo for pistol
  • sk_max_rpg_round # =# is new max ammo for RPG
  • sk_max_smg1 # =# is new max ammo for submachine gun
  • sk_max_smg1_grenade # =# is new max ammo for SMG grenades
  • sk_npc_dmg_ar2 # =NPC’s do # damage with the pulse rifle
  • sk_npc_dmg_shotgun # =NPC’s do # damage with shotgun
  • sk_npc_dmg_smg1 # =NPC’s do # damage with the smg
  • sk_plr_dmg_357 # =# is new damage value for .357 Magnum
  • sk_plr_dmg_ar2 # =# is new damage value for Pulse Rifle
  • sk_plr_dmg_buckshot # =# is new damage value for shotgun
  • sk_plr_dmg_buckshot # =Raises damage done by each pellet.
  • sk_plr_dmg_crossbow # =# is new damage value for crossbow
  • sk_plr_dmg_crowbar # =# is new damage value for crowbar
  • sk_plr_dmg_grenade # =# is new damage value for grenades
  • sk_plr_dmg_pistol # =# is new damage value for pistol
  • sk_plr_dmg_rpg_round # =# is new damage value for RPG rockets
  • sk_plr_dmg_smg1 # =# is new damage value for submachine gun
  • sk_plr_dmg_smg1_grenade # =# is new damage value for SMG grenades
  • sk_plr_num_shotgun_pellets # =Increases pellets fired from each shotgun shell. 100 works well. 1000+ and it lags.
  • status =shows some game info, incl. current map
  • sv_bounce # =Sets bounce multiplier for physically simulated object collisions
  • sv_friction # =Set World Friction (Add number in place of #)
  • sv_gravity # =Set Gravity (Add number in place of #)
  • sv_infinite_aux_power 1 =gives infinite power for sprinting, etc.
  • sv_maxvelocity # =Sets Maximum Velocity of any moving object (Add number in place of #)
  • sv_stopspeed # =Set Minimum Stopping Speed on ground (Add number in place of #)
  • sv_unlockedchapters # =unlocks chapters 1 thru # (15 is end credits)
  • thirdperson =Third Person View
  • viewmodel_fov # =Adjusts size of the weapon you’re carrying (54 = default)
  • give weapon_357 =.357 Magnum
  • give weapon_ar2 =Overwatch Standard Issue Pulse Rifle
  • give weapon_bugbait =Pherapods
  • give weapon_crossbow =Crossbow
  • give weapon_frag =Fragmentation Grenade
  • give weapon_physcannon =Zero Point Energy Field Manipulator Gun
  • give weapon_pistol =9mm Pistol
  • give weapon_rpg =Rocket-Propelled Grenade Launcher
  • give weapon_shotgun =12-Gauge Shotgun
  • give weapon_smg1 =Submachine Gun
podcast