Cheats & Secrets

Half-Life 2 Cheats & Secrets Guide



Half-Life 2 includes a built-in developer console that allows for a variety of cheat codes. These are console commands that must be enabled first. This guide covers all known official cheat codes, unlock codes, Easter eggs, hidden features, and developer-intended secrets across all platforms (PC, Mac, Linux). Console versions (Xbox, PlayStation) do not support these cheats, but some Easter eggs are shared.

Enabling the Developer Console (PC/Mac/Linux)


1. Launch the game via Steam.
2. From the main menu, click OptionsKeyboardAdvanced.
3. Check Enable Developer Console and click OK.
4. Press the ~ (tilde) key to open the console during gameplay.
5. Type any cheat command and press Enter. Some cheats require `sv_cheats 1` to be set first.

Note: Cheats disable achievements for that save session. Always manually save before using cheats if you wish to continue earning achievements later.

Required Setup: `sv_cheats`


Most cheat commands require the game to be in developer mode. Type the following in the console:
```
sv_cheats 1
```
This must be entered each time you load a saved game or start a new chapter. Some cheats (like `god` and `noclip`) work without this, but for safety, always set `sv_cheats 1` first.

---

Essential Cheat Commands



CommandEffectExample
`god`Invincibility (toggles on/off)Type `god` again to disable
`noclip`Fly through walls (toggles on/off)Useful for exploring out-of-bounds areas
`notarget`Enemies ignore you (toggles on/off)Stealth through any encounter
`buddha`You take damage but never die (like invincibility with visible health)Useful for testing
`sv_infinite_ammo 1`Unlimited ammo for current weapon (set to 0 to disable)Does not require reloading
`impulse 101`Grant all weapons and full ammo/health/armor (classic HL cheat)Instant full loadout
`give weapon_<name>`Spawn a specific weapon (see weapon list below)`give weapon_physcannon` gives the Gravity Gun
`map <mapname>`Load any chapter/map (see map list below)`map d1_trainstation_01` starts the game
`sv_gravity <value>`Change gravity (default 800; lower = moon gravity)`sv_gravity 200` for low gravity
`host_timescale <value>`Change game speed (0.1 slow motion, 2 double speed)`host_timescale 0.5` slows time
`mat_wireframe 1`See the world in wireframe mode (set to 0 to disable)Debug visual
`r_drawothermodels 0`Hide all character models (set to 1 to restore)Useful for finding hidden items
`kill`Instantly dieRespawn at last save
`restart`Restart the current chapterUseful after messing with cheats
#### Weapon Spawn Commands
Use `give weapon_<name>` to spawn a weapon. Common weapon names:
  • `weapon_crowbar`

  • `weapon_pistol`

  • `weapon_smg1`

  • `weapon_shotgun`

  • `weapon_ar2` (OSIPR rifle)

  • `weapon_rpg`

  • `weapon_physcannon` (Gravity Gun – can be upgraded later in the story)

  • `weapon_crossbow`

  • `weapon_frag` (grenade)

  • `weapon_stunstick` (Combine baton)

  • `weapon_357` (Magnum revolver)

  • `weapon_bugbait` (used in Chapter 5)


  • #### Map List (Chapters)
  • `d1_trainstation_01` – Chapter 1: Point Insertion

  • `d1_trainstation_02` – Chapter 1 continued

  • `d1_trainstation_03` – Chapter 1 end

  • `d1_canals_01` – Chapter 2: A Red Letter Day

  • `d1_canals_02` – Chapter 2 continued

  • `d1_canals_03` – Chapter 2 end

  • `d1_canals_06` – Chapter 3: Water Hazard (note: gaps in numbering)

  • `d1_canals_10` – Chapter 3 end

  • `d1_canals_12` – Chapter 4: Black Mesa East (partial)

  • `d1_canals_13` – Chapter 4 end

  • `d1_eli_01` – Chapter 5: Black Mesa East

  • `d1_eli_02` – Chapter 5 end

  • `d2_coast_01` – Chapter 6: Highway 17

  • `d2_coast_03` – Chapter 6 continued

  • `d2_coast_05` – Chapter 6 end

  • `d2_coast_07` – Chapter 7: Sandtraps

  • `d2_coast_08` – Chapter 7 end

  • `d2_coast_10` – Chapter 8: Nova Prospekt (partial)

  • `d2_coast_11` – Chapter 8 end

  • `d2_prison_01` – Chapter 9: Entanglement

  • `d2_prison_02` – Chapter 9 end

  • `d2_prison_03` – Chapter 10: Anticitizen One (partial)

  • `d2_prison_04` – Chapter 10 end

  • `d2_prison_05` – Chapter 11: Follow Freeman (partial)

  • `d2_prison_06` – Chapter 11 end

  • `d2_prison_07` – Chapter 12: Our Benefactors (partial)

  • `d2_prison_08` – Chapter 12 end

  • `d3_c17_01` – Chapter 13: Dark Energy (final chapter)

  • `d3_c17_02` – Chapter 13 end

  • `d3_c17_03` – Final boss area

  • `d3_citadel_01` – Citadel start

  • `d3_citadel_02` – Citadel interior

  • `d3_citadel_03` – Citadel end (credits)


  • ---

    Unlock Codes & Hidden Features



    #### Unlocking the Developer Commentary Mode
    Half-Life 2 includes a developer commentary track. To activate:
    1. From the main menu, click OptionsAdvanced.
    2. Check Enable Developer Commentary.
    3. During gameplay, look for floating speech bubbles. Interact (press `E`) to hear commentary.

    Alternatively, you can enable it via the console: `sv_cheats 1` then `commentary 1`.

    #### Unlocking the "Advanced" Options Menu
    Already covered above, but note that some settings like Enable Developer Console are hidden in the Advanced options.

    #### Unlock All Chapters
    To jump directly to any chapter without starting a new game, use the `map` command with the appropriate map name (listed above). This will start that chapter with default items. For story consistency, you may want to use `map <mapname>` at the beginning of a chapter.

    #### Disable HUD for Screenshots
    `cl_drawhud 0` hides the HUD entirely. Set back to 1 to restore.
    `hidehud` also works.

    ---

    Easter Eggs & Developer Secrets



    Half-Life 2 is rich with Easter eggs placed by Valve. Here are the most notable:

    #### 1. The G-Man Sighting in the Train Station
    In Point Insertion (first chapter), as you walk through the train station, look up and to the left near the security checkpoint. You will see the G-Man standing on a balcony watching you. He disappears if you look too long, but it's a classic nod.

    #### 2. Hidden HEV Suit Charger in the Canals
    In Water Hazard, inside the old canal tunnels, there is a room with a vending machine and a hidden HEV suit recharge station behind a stack of crates. It gives extra armor.

    #### 3. The Unused Gravity Gloves
    There is a scrapped weapon called the "Gravity Gloves" (similar to Alyx's in HL: Alyx). It is not obtainable without mods, but you can see a model in the files. Use `give weapon_gravityglove` (if available in some modded versions) – does not work in vanilla.

    #### 4. The Lab Ringtone (Use the Phone)
    In Black Mesa East, after meeting Eli and Alyx, you can use the phone near the entrance. Press `E` on it multiple times to hear different ringtones. If you do this enough, Alyx will comment.

    #### 5. Hidden Cats
    In Highway 17, in the house near the lighthouse, there is a zombie that is holding a cat toy. In the same chapter, you can find a live cat in a cabinet (close the cabinet and open again – the cat is gone; it's a scripted event).

    #### 6. The Gnome Achievement (Half-Life 2: Episode Two and also in HL2 base?)
    In the base game, there is no official gnome achievement, but in Half-Life 2: Episode Two there is a hidden gnome you can carry through the entire game. In the original HL2, you can find a small garden gnome in Chapter 6: Highway 17 at the beginning of the coast. It is not tracked but is a nod.

    #### 7. The Airboat Engine Sound Easter Egg
    In Water Hazard, if you get out of your airboat while the engine is still running, the sound persists for a while. This is a bug but also a fun quirk.

    #### 8. The Frozen Combine Soldier
    In Nova Prospekt, there is a room where a Combine soldier is frozen in mid-air after being hit with a stunstick. It's a scripted scene but often missed if you rush.

    #### 9. The Toilet in the Sky
    In Chapter 3: Water Hazard, in the massive pump station, there is a toilet that has been placed on a high ledge. It's visible from the catwalk – a classic Valve easter egg.

    #### 10. The Destroyed G-Man Billboard
    In City 17 during the early chapters, look at the large propaganda screens. Occasionally, you'll see a brief flicker of the G-Man's face. This is intentional.

    #### 11. The Monkey with Cymbals
    In Chapter 4: Black Mesa East, in Alyx's room, there is a toy monkey with cymbals. You can shoot it to make it clap. Hidden in the attic area.

    #### 12. The "Lambda" Logo Hidden in the Citadel
    In the final chapters, while inside the Citadel, look closely at the walls – you can see the Lambda symbol (the resistance logo) carved into some panels. It's a subtle reference.

    #### 13. The Unused AK-47 Model
    In the game files, there is a model for an AK-47 (called "weapon_ak47") that was cut. It cannot be spawned without modification.

    #### 14. The Developer Room (Hidden Map)
    There is a hidden map called `testroom` or `test_chamber`. Use `map testroom` to access a gray room with all weapons and items – used for testing. Not an Easter egg per se, but a secret area.

    #### 15. The Dog (D0g) Can Be Spawned
    If you spawn `npc_dog` in a map, you can interact with him (he will follow and play). In certain chapters, like Black Mesa East, you can add him and watch his physics behavior.

    ---

    Console Version-Specific Secrets (Xbox, PlayStation)



    Console versions (Half-Life 2 on Xbox 2005, Xbox 360 via Orange Box, PS3 via Orange Box) do not have console cheats, but they include the same Easter eggs. Additionally:
  • Xbox 360/PS3: The Orange Box includes the original Half-Life 2, Episode One, and Episode Two, all with the same hidden content.

  • The Gnome Achievement: In Episode Two on console, you can earn an achievement by carrying a gnome to the end. This is a legitimate secret.


  • ---

    Safety & Exploit Notes


  • Always save manually before using cheats. Many cheats can break scripted sequences or soft-lock the game (e.g., `noclip` in tight corridors).

  • Never use `restart` during a crucial cutscene – it may crash.

  • The `give` command with incorrect weapon names may crash the game.

  • These cheats are developer-intended and do not harm your game. However, they are not allowed in multiplayer (no official multiplayer in HL2 base).


---

Summary


Half-Life 2 offers a robust set of console cheats, powerful for experimentation, skipping chapters, or just having fun. The Easter eggs are plentiful and reward careful exploration. Whether you want god mode, a guided tour of the code, or hidden jokes, this guide covers everything legitimate. Enjoy your enhanced playthrough, Dr. Freeman.