Half-Life 2 Guide

Half-Life 2 Cheat Commands for Half-Life 2

Half-Life 2 Cheat Commands

Overview

Deep guide about Half-Life 2 Cheat Commands. Exact list of various commands – from spawning alyx to changing chapters

Changelog & Info

2017/02/07
  • Changed guide image
  • Removed npc_kill command (doesnt work)
  • Added short description about commands
2017/02/18
  • Changed updates log style
  • Removed weapon_cguard
  • Removed “under” maps, and fixed misspelt with “tempanals”
2017/02/19
  • Changed position of my other guides (added “info” section below this text)
    2018/12/23
  • Fixed lots of grammar mistakes and more. Merry christmas!
    2018/12/25
  • Added “Super Gravity Gun” and command
    for unlocking all of the chapters in game
  • Added npc_kill command (it’s working…)
    2019/01/01
  • Added cl_drawhud 0 and 1 command
  • Changed descriptions of god and buddha commands
  • Fixed “uptade” misspeling in the update log
  • Added “givecurrentammo” command
  • Happy new year!
    2020/01/17
  • Major guide improvements that i didn’t really mention at all while applying them before.
  • Removed “My Other Guides” section (few weeks before im writing this)
  • Fixed lots of grammar errors
  • Changed descriptions of almost every section.
  • Changed the message from me that you can see below the changelog
    2020/01/31
  • Added Annabelle to Items & Weapons section.
    2020/08/20
  • Updated message visible under changelog
    2020/11/17
  • Fixed sv_unlockedchapters 15 (sv_unlockchapters before)

This guide is fairly old (made it in 2017) and contains lots of grammar errors and missspells. I fixed lots of them but you might still find them, so make sure to report them to me.

If you’re searching for a specific command, use CTRL+F shortcut to find it, before commenting that the guide is missing a command.

As of 2021, i’m still supporting this guide despite the fact it’s few years old, so make sure to comment if you’ve found any major error/mistake or if you have a interesting suggestion.

White Property Matters

How to enter commands, and where?

How to enable console

First we need to enable developer console. We can find such console in every source engine based game. If we want to enable it, we need to open Options, go to the keyboard section and click “Advanced”. Now we need to mark “Enable developer console”

How to open console

If we want to open console, we need to click this tilde on keyboard.

The following commands will not work if don’t type “sv_cheats 1” in console.
With enabled sv_cheats 1 you’ll not be able to receive achviements.

NPC Spawning Commands

The Basic Command
npc_create npc_ [name]

Copy the command, paste in console and rename [name] to following characters.
By using this command we can spawn various NPC’s. If you don’t know what a NPC is, it’s a AI controlled character like Alyx or Vortigaunt.

Available NPC’s to Spawn

“alyx” (Alyx Vance)
“barney” (Barney Calhoun)
“dog” (Dog)
“kleiner” (Dr. Kleiner)
“eli” (Eli Vance)
“mossman” (Judith Mossman)
“monk” (Father Grigori)
“citizen” (Citizen)
“headcrab” (Standard Headcrab)
“zombie” (Standard Zombie)
“zombie_torso” (Standard Zombie Torso)
“headcrab_fast” (Fast Headcrab)
“headcrab_black” (Black Headcrab, idk what it is…)
“headcrab_poison” (Poison Headcrab)
“fastzombie” (Fast Zombie)
“poisonzombie” (Poison Zombie)
“antlion” (Antlion)
“antlionguard” (Antlion Guard)
“combine_s” (Combine Soldier/Combine Elite/Prison Guard)
“metropolice” (Metro Cop)
“stalker” (Stalker)
“cscanner” (City Scanner)
“manhack” (Manhack)
“rollermine” (Rollermine)
“combine_mine” (Hopper Mine)
“combine_camera” (Combine Camera)
“turret_floor” (Combine Turret)
“turret_ceiling” (Ceiling Turret)
“turret_ground” (Ground Turret)
“launcher” (Available to spawn, but it havent got model already lulz)
“combinedropship” (Dropship)
“combinegunship” (Gunship)
“strider” (Strider)
“pigeon” (Pigeon)
“crow” (Crow)
“seagull” (Seagull)
“barnacle” (Barnacle)
“ichthyosaur” (Ichthyosaur)
“vortigaunt” (Vortigaunt)

How to kill all of the NPC’s?

Simply type “npc_kill” in your console, but remember to type “developer 1” before doing it.

Items & Weapons

The Basic Command
give weapon/item_[name]

By using this command we can spawn various items on the ground like healthkits, ammo etc. The item will appear under you after you type in the command.

Available Items to Spawn

item_healthkit – Spawns health kit
item_healthvial – Spawns health vial
item_box_buckshot – Spawns shotgun ammo
item_box_mrounds – Spawns SMG ammo
item_box_sniper_rounds – Spawns crossbow ammo
item_box_srounds – Spawns AR2 ammo
item_battery – Spawns HEV suit battery
item_suit – Spawns HEV Suit
item_ml_grenade – Spawns SMG grenade (alt attack)
item_ar2_grenade – Spawns AR2 gravity ball (alt attack)

Available Weapons to Spawn

weapon_ar2 – Spawn a Pulse Rifle
weapon_bugbait – Spawn a Bug Bait
weapon_crowbar – Spawn crowbar
weapon_frag – Spawns an frag grenade
weapon_crossbow – Spawns a crossbow
weapon_alyxgun – Spawns Alyx Gun
weapon_physcannon – Spawns Gravity Gun
weapon_physgun – Spawns Physics Gun (only hl2 beta)
weapon_pistol – Spawns 9 mm Pistol
weapon_rpg – Spawns RPG
weapon_shotgun – Spawns Classic Shotgun (SPAS-12)
weapon_smg1 – Spawns SMG
weapon_357 – Spawns Revolver
weapon_annabelle – Spawns Father Grigori’s Shotgun called Annabelle.

Autofill your ammunition

If you want to fill your ammunition on the weapon you are currently holding, type command “give currentammo”

Point of view

The Basic Command
[name]person

Copy the command, paste in console and rename [name] for following characters

Available types of person views.

first – default type of view
third – third person

Alyx Gun Cheat

The Basic Commands
npc_create_equipment weapon_alyxgun

Copy the command, paste and paste in console.
By this command we can get gun, that Alyx Uses
If we already paste that command in console, we need to type this command:

npc_create npc_combine_s

which is spawning combine soldier. We need to kill him and grab the Alyx Gun. The model looks like a big black box because it wasn’t designed to be used by the player. It also has no gun sounds and you’ll only hear the bullets hitting surface.

Super Gravity Gun cheat

You can obtain the super gravity gun by typing “physcannon_mega_enabled 1” in the console.

Spawning Vehicles

Commands

Airboat

ch_createairboat

Jeep

ch_createjeep

Maps / Changing Chapters

The Basic Command
map [name]

Copy the command, paste in console and rename [name] to following characters.
By this command we can change map, so chapter of the game same.

Unlock all chapters

You can unlock all of the chapters by typing in the console this simple command: sv_unlockedchapters 15

All HL2 Maps

d1_canals_01
d1_canals_02
d1_canals_end
d1_tempcanals_02
d1_town_01
d1_town_02
d1_town_03
d1_town_04
d1_town_05
d1_trainstation_01
d1_trainstation_02
d1_trainstation_03
d1_trainstation_05
d2_coast_01
d2_coast_02
d2_coast_03
d2_coast_04
d2_coast_04_dx60
d2_coast_05
d2_coast_06
d2_coast_07
d2_coast_08
d2_prison_01
d2_prison_02
d2_prison_03
d2_prison_04
d2_prison_05
d3_c17_03
d3_c17_04
d3_c17_05
d3_c17_06a
d3_c17_06b
d3_c17_07

Prison – Nova Prospekt
c17 – City 17
coast – Highway 17 and sandtraps
town – ravenholm
trainstation – dr. kleiner lab, citizens blocks and of course trainstation

Developer Commands

By these commands we can see triggers and other things useful for map developers. You can also use it to find the area that activates an event upon entering it etc.
Wire frame models: mat_wireframe1
Only objects effected by physics are wireframe: vcollide_wireframe 1
Draw game triggers: showtriggers_toggle
Draw normal maps: mat_normalmaps 1
Draw surface materials: mat_normals 1
Turn off bump mapping: mat_fastnobump 0
impulse 200: removes weapon model from the screen

Other Cheats

Fov (Field of View)

viewmodel_fov[number] – changing our weapon field of view on screen.
fov_desired – changing our main field of view

Other

Take no damage: god
Take damage but stay at 1hp: buddha
Hide the HUD (health bars etc.): cl_drawhud 0
Show the HUD again: cl_drawhud 1
Infinite power for your suit: infinite_aux_power or sv_infinite_aux_power (Outbreak)
All weapons and ammo: impulse 101
Enemies don’t attack: notarget
Fly through walls: noclip
Spawn skulls props: impulse 102

Getting Achviements by using Cheat Commands

At beginning of guide, i said we can’t get achviements. But…

For example we want to get achviement with airboat.

1. Spawn Airboat (ch_createairboat)
2. Save the game
3. In menu, write in console “sv_cheats 0”
4. Load the save

Thanks for reading

[img][link][/img]

SteamSolo.com