HT Games

Half-Life 1: Enable Developer Console (All Methods)

The developer console in Half-Life 1 (GoldSrc) unlocks cheats, debugging, and scripting. Here are every way to enable it.

Method 1: Launch Option (Persistent, Recommended)

  1. Steam Library → Right-click Half-Life → Properties → General.
  2. Launch Options: Enter -console (or -dev -console for developer messages).
  3. Launch game. Press ` (tilde / backtick) to open console.

Method 2: In-Game (One Session)

  1. Options → Keyboard → Advanced → Check "Enable Developer Console" → OK → Apply.
  2. Press ` in-game.

Method 3: Config File (Non-Steam / Legacy)

  1. Open valve/config.cfg (or userconfig.cfg) in Notepad.
  2. Add: con_enable "1"
  3. Save. Launch game. Press `.

Method 4: Shortcut (Non-Steam)

  1. Right-click hl.exe → Create Shortcut.
  2. Properties → Target: "C:\Path\hl.exe" -console

Essential Commands Once Open

CommandEffect
sv_cheats 1Enable cheats (required for most below)
godInvincibility
noclipFly through walls (press again to disable)
give <weapon>e.g., give weapon_glock, give weapon_rpg, give item_suit
impulse 101All weapons + ammo + HEV
thirdpersonThird-person view
firstpersonBack to first-person
cl_showfps 1FPS counter
r_drawviewmodels 0Hide weapon viewmodel
map <name>Load map (e.g., map c1a0)
changelevel <name>Change level keeping inventory
ent_create <class>Spawn entity (e.g., ent_create npc_barney)

Note

  • sv_cheats 1 disables achievements (Steam) and may block VAC-secured multiplayer.
  • Single-player only. Multiplayer requires server-side sv_cheats 1 (host only).
  • GoldSrc console is powerful — alias, bind, scripts possible.

Happy experimenting in Black Mesa.


https://www.htfbw.com © HT Games