Half-Life 2 Cheat Codes: All Console Commands — Weapons, God Mode, NPC (2026)

Чит-коды Half-Life 2: все консольные команды — оружие, неуязвимость, NPC (2026)

Half-Life 2 is Valve’s legendary 2004 shooter, which more than twenty years later remains the standard of the genre. Gordon Freeman, gravity gun, City 17, Alliance - all this is etched in my memory forever. And to try the game in a new way or just have fun in City 17, HL2 has a rich set of console commands and cheats. We have collected them all in one table with descriptions - add the page to your bookmarks.

What's new for Half-Life 2 in 2025–2026

  • 20th Anniversary Update : Valve has combined Episode One and Episode Two into the base game, added new developer commentary, Steam Workshop support, and a bunch of graphics fixes—no need to buy episodes separately anymore.
  • Half-Life 2 RTX : Orbifold Studios, together with NVIDIA, have released a demo of a remaster with full ray tracing and redesigned textures - available for free on Steam to all owners of the game, a full version is in development.
  • The game is regularly given away for free during Steam sales and costs pennies - a great reason to replay the classic.

How to enable the console and cheats

  1. In the game menu: “Settings” → “Keyboard” → “Advanced” → check the “Enable developer console (~)” checkbox.
  2. In the game, press the tilde ~ (the key with the letter E).
  3. Enter sv_cheats 1 - this turns on cheat mode. Without it, the commands below will not work.
  4. Enter any commands from the tables. To disable cheats - sv_cheats 0 .

Important: when sv_cheats is enabled, Steam achievements are not counted, so for an “honest” passage it is better not to enable cheats.

Basic Half-Life 2 cheat codes

CodeWhat does
godgod mode - complete invulnerability
buddhademigod: damage is dealt, but health does not drop below 1
noclipflying through walls (repeated entry disables)
notargetenemies don't notice you
impulse 101all weapons and full ammunition - the most famous code of the game
sv_infinite_ammo 1endless ammo without reloading
sv_infinite_aux_power 1infinite supply of suit energy (sprint, flashlight, oxygen)
hurtme Xtake away X units of health (for tests)
givecurrentammofull cartridges for weapons in hands
thirdperson / firstpersonthird/first person view
ch_createairboatcreate an airboat in front of you
ch_createjeepcreate a buggy in front of you
cl_showfps 1show FPS counter
r_drawothermodels 2“wireframe” mode – wireframe rendering of models
mat_wireframe 1wireframe mode for the whole world (0 - disable)

Weapon commands

Format: give NAME - the weapon appears directly in your hands. For example, give weapon_ar2 .

CodeWeapon
give weapon_crowbarGordon's famous mount
give weapon_pistolpistol 9 mm
give weapon_357Magnum revolver .357
give weapon_smg1submachine gun with grenade launcher
give weapon_shotgunshotgun SPAS-12
give weapon_ar2Alliance Pulse Rifle
give weapon_crossbowcrossbow with hot bolts
give weapon_rpggrenade launcher RPG
give weapon_fraggrenades
give weapon_slammine SLAM
give weapon_physcannongravity gun (zero field weapon)
give weapon_bugbaitPheropods to control antlions
give weapon_annabelleFather Gregory's gun (usually not available to the player)

Commands for items and ammo

CodeWhat does it give?
give item_healthkitfirst aid kit (+25 health)
give item_healthvialsmall flask (+10 health)
give item_suitcharger - in some versions give item_suitsuit charge/HEV suit itself
give item_batterysuit battery (+15 armor)
give item_ammo_pistolpistol cartridges
give item_ammo_smg1cartridges for PP
give item_ammo_ar2pulse rifle cartridges
give item_ammo_357Magnum cartridges
give item_box_buckshotshotgun cartridges
give item_rpg_roundcharges for RPG
give item_ammo_crossbowbolts for crossbow

How to spawn any character

The command npc_create NAME creates a creature or NPC right in front of you:

CodeWhom he calls
npc_create npc_alyxAlix Vance
npc_create npc_barneyBarney Calhoun
npc_create npc_dogdog D-0g
npc_create npc_citizenrebel
npc_create npc_metropoliceCivil Defense fighter
npc_create npc_combine_sAlliance soldier
npc_create npc_zombiezombie
npc_create npc_fastzombiefast zombie
npc_create npc_poisonzombiepoisonous zombie
npc_create npc_headcrabheadcrab
npc_create npc_antlionantlion
npc_create npc_antlionguardantlion guard
npc_create npc_striderstrider
npc_create npc_hunterhunter (in Episode Two)

Do you want to make a mess? Spawn a dozen zombies and a couple of striders, enter notarget and watch from the sidelines. Friendly NPCs under the player's command: spawn rebels, enter ent_fire !picker setrelationship "player D_LI 99" is not required - citizens are already allies, just give them weapons with the command ent_fire npc_citizen addoutput "weapontype weapon_smg1" .

How to jump to any chapter (maps)

The map TITLE command loads the desired chapter. The full list of maps can be viewed using the maps * command in the console. Key points:

CodeChapter
map d1_trainstation_01“Arrival” - start of the game, trip to City 17
map d1_canals_01canals and airboat
map d2_coast_01Route 17 by buggy
map d2_prison_01Nova Prospekt
map d3_c17_01uprising in City 17
map d3_citadel_01Citadel
map ep1_citadel_00Episode One - the beginning
map ep2_outland_01Episode Two - the beginning

Frequently asked questions

  • Codes not working? Make sure you have entered sv_cheats 1 - most commands without it are blocked. give commands require the correct name with the prefix weapon_ or item_.
  • Do cheats work in Episode One and Two? Yes, all commands are identical, and after the anniversary update, the episodes are built directly into Half-Life 2.
  • Is it possible to cheat in HL2 RTX? Yes, the console and commands are the same - it’s the same game on the RTX Remix engine.
  • Will cheats break saves? No, they only apply to the current session. Just restart the game or enter sv_cheats 0.

Sources: Valve Developer Community , Steam Guides , IGN

47
RSS
No comments yet. Be the first to add a comment!
Loading...
Яндекс.Метрика