Black Mesa Console Commands: Enable Console, God, Give, NPCs

November 18, 2026 · Cheat Codes, Shooter and Action
Quick answer: Black Mesa console commands run on the Source engine console. Enable the Developer Console in the keyboard options, press ~, type sv_cheats 1, then use god, noclip, impulse 101 or give weapon_mp5.

Black Mesa console commands work like those of other Source games: you enable the developer console in the options, press the tilde key, and switch cheats on with sv_cheats 1. After that, god mode, noclip, weapon and NPC spawning commands are available in single player.

The commands below were checked against two cheat guides and a Steam community guide for the console launch options. Black Mesa is a Half-Life remake, so the same style works in Half-Life console commands and Half-Life 2 console commands. More games are listed in all game cheat codes.

How to open the console in Black Mesa

  1. Open the game options and go to the keyboard section.
  2. Click Advanced and enable the Developer Console.
  3. Press ~ (tilde), the key above Tab, to open and close the console.
  4. Type sv_cheats 1 and press Enter.

A Steam guide also lists a launch option: add -dev in the game properties, or if you use -oldgameui the option sits under keyboard settings. Cheats and achievements are not covered by any of the sources, so treat achievement progress with care.

Black Mesa cheat commands list

Run sv_cheats 1 before the rest.

Command What it does
sv_cheats 1 Allows cheat-flagged commands. Enter this first.
god Invincibility.
noclip Float and fly through walls without gravity.
notarget Enemies ignore you.
impulse 101 Gives every weapon.
impulse 105 Listed with the cheats in one guide; its effect is not explained there.
chase_active 1 Third-person camera.
sv_gravity <value> Changes gravity. The guide gives no valid range.
npc_kill Kills an NPC, listed with the cheats.

Black Mesa give commands for weapons and items

The pattern is give <name>. Guides list the item names below. The ammo names mix prefixes, so if one is rejected try the other form.

Command What it does
give weapon_crowbar Crowbar. Other listed weapons: weapon_glock, weapon_357, weapon_mp5, weapon_shotgun, weapon_crossbow, weapon_rpg, weapon_tau, weapon_gluon, weapon_hivehand.
give weapon_frag Grenade. Also weapon_satchel, weapon_tripmine and weapon_snark.
give item_healthkit Health kit. Also item_battery, item_suit and item_longjump.
give item_ammo_mp5 MP5 ammo. Also item_ammo_glock, item_ammo_357, item_ammo_shotgun, item_ammo_crossbow, item_ammo_energy, item_grenade_mp5 and item_grenade_rpg.

How to spawn NPCs in Black Mesa

Use npc_create <name> with a class name. The enemy spawns where you look.

Command What it does
npc_create npc_human_scientist Spawns a scientist. Also npc_human_security.
npc_create npc_human_grunt Military grunt. Also npc_human_medic, npc_human_commander, npc_human_grenadier, npc_human_assassin and npc_sniper.
npc_create npc_headcrab Headcrab. Also npc_snark, npc_houndeye, npc_bullsquid, npc_alien_slave, npc_alien_grunt and npc_alien_controller.
npc_create npc_zombie_scientist Zombie. Also npc_zombie_security, npc_zombie_grunt and npc_zombie_hev.
npc_create npc_gargantua Gargantua. Also npc_gonarch. Vehicles: npc_abrams, npc_lav, npc_apache and npc_osprey.

Console fixes and settings that are not cheats

The Steam guide lists settings entered in the console, not cheats: cl_mdldetailfx_enable 1 for missing decals, mat_chromatic_damage_enable 0 to turn off chromatic aberration, hud_fastswitch 0 for the HUD, and exec 360controller for controller trouble. For a Source game with practice and performance configs, see CS2 console commands for FPS and performance and CS2 practice commands. Source-engine habits such as sv_cheats also appear in the Left 4 Dead 2 console commands guide.

Black Mesa console commands not working

  • The console does not open: enable Developer Console in the options, or add -dev as a launch option.
  • Cheat commands say they cannot be used: run sv_cheats 1 first.
  • A weapon or NPC name is rejected: check spelling; the names are lowercase with underscores.
  • Wrong keyboard layout: the tilde key sits elsewhere on some layouts, so rebind the console key.
  • Server commands such as rcon status, kick and changelevel belong to dedicated servers and do nothing in the campaign.

FAQ

How do I open the console in Black Mesa?

Enable the Developer Console in the keyboard options under Advanced, then press the tilde key (~) above Tab. A -dev launch option also works, according to a Steam guide.

What is the Black Mesa god mode command?

Enter sv_cheats 1 first, then god. It gives invincibility. noclip lets you fly, and notarget makes enemies ignore you.

How do I get all weapons in Black Mesa?

With sv_cheats 1 on, type impulse 101 to receive every weapon. You can also type give followed by a weapon name, such as give weapon_mp5.

How do I spawn enemies in Black Mesa?

Type npc_create and a class name, for example npc_create npc_headcrab. Guides list scientists, soldiers, zombies, aliens, turrets and vehicles.

Do Black Mesa console commands work in multiplayer?

The sources do not cover multiplayer. Cheat commands need sv_cheats, which is a campaign setting, and server commands like kick and changelevel are for dedicated server admins.

Can I use Black Mesa cheats on Xbox or PlayStation?

No. Black Mesa is a PC game, and the developer console is enabled in the PC options.

Sources

  • Gameplay.tips – Black Mesa cheat codes and console commands
  • Magic Game World – Black Mesa PC console commands
  • Steam Community – Black Mesa guide with console and launch options

Leave a Reply

Your email address will not be published. Required fields are marked *