Black Mesa, a fan remake of the legendary Half-Life, allows you to once again get used to the role of Gordon Freeman and get a lot of fresh impressions from passing old locations that have sparkled with new colors. If you just want to wander around, feel nostalgic and admire the fruits of the remake authors’ labor, without being distracted by shootouts and solving puzzles, cheats will come to the rescue.
Console commands for Black Mesa allow you not only to become invulnerable, fly, walk through walls and give yourself weapons. With their help, you can also delete characters from the game world, or create new ones. If you want, you can even arrange gladiator fights, for example, aliens with the military, creating a squad for each side. All this is in our article.
How to open console in black mesa
To enter cheats in Black Mesa, you will need a console. By default, it is hidden, and to enable it, you need to use one of two methods.
Method one: find Black Mesa in your games library, right-click on the game, go to “Properties”, then select “Launch Options”. In the text field, enter -console and launch the game. When the game loads, a console will appear, where you need to enter bind p toggleconsole and press Enter. Instead of p, you can use any key that is convenient for you.
The second way: in the game settings, go to the keyboard settings , there – to the advanced settings, and select the item “enable developer console”. Save the changes, in the game press the ~ (tilde) key and enter sv_cheats 1 in the console that appears – this is permission to activate cheats. Note that activating this command will not allow you to receive achievements.
It is worth noting that some of the commands below work without sv_cheats 1, therefore, they do not affect the achievements. These are mainly commands for issuing items.
Basic Console Commands in Black Mesa
- god – god mode (invulnerability)
- buddha – immortality mode (attacks take away health, but you will not die)
- notarget – enemies will not react to you
- noclip – flight mode and passing through walls
- impulse 101 – get all weapons, ammo and suit
- give [item id] – get the desired item (first aid kits, weapons, ammo), more information below
- map [map id] – move to the desired level, more information below
- ent_remove – removes the object or creature the crosshair is pointing at from the world
- ent_remove_all [creature id] – remove all creatures of the specified type from the world
- npc_create [creature id] – create a creature of the specified type, more information below
- sv_gravity [number] – set gravity value
- sv_friction [number] – set the friction force value
- sv_bounce [number] – set the bounce force when objects collide
Important: the ent_remove command should be used with caution, as the game contains invisible objects that are necessary for scripts to work, and if they are accidentally deleted, further progress may be impossible. The same applies to some characters that are necessary for scripted scenes to work.
Commands to get items in Black Mesa
To instantly get any weapon, item, or ammo, use the give [item id] command . The list of ids is given below, square brackets are not used when entering the command. For example, to get a revolver, enter the following command:
- give weapon_357
Items
- give item_battery – battery for the suit
- give item_healthkit – first aid kit
- give item_healthvial – small first aid kit
- give item_longjump – jump module
- give item_sodacan – a can of soda (restores a little health)
- give item_suit – HEV suit
Weapons and ammunition
- give weapon_crowbar – crowbar
- give weapon_glock – pistol
- give weapon_357 – revolver
- give weapon_mp5 – MP5 submachine gun
- give weapon_shotgun – shotgun
- give weapon_crossbow – crossbow
- give weapon_rpg – rocket launcher
- give weapon_tau – tau gun
- give weapon_gluon – quantum destabilizer (“vacuum cleaner”)
- give weapon_hivehand – hive hand
- give weapon_frag – fragmentation grenade
- give weapon_satchel – radio-controlled explosive
- give weapon_snark – snark
- give weapon_tripmine – laser mine
- givecurrentammo – full ammo for the selected weapon (use it before all the ammo runs out!)
Chapters in Black Mesa are divided into individual maps-levels. To move to the desired level, use the map [map id] command . The names of the maps are listed below.
Black Mesa Complex Maps
Arrival at Black Mesa
- bm_c0a0a
- bm_c0a0b
- bm_c0a0c
Anomalous materials
- bm_c1a0a
- bm_c1a0b
Unforeseen consequences
- bm_c1a1a
- bm_c1a1b
- bm_c1a1c
- bm_c1a1d
- bm_c1a1e
Office complex
- bm_c1a2a
- bm_c1a2b
- bm_c1a2c
We met the enemy
- bm_c1a3a
- bm_c1a3b
- bm_c1a3c
Sump well
- bm_c1a4a
- bm_c1a4b
- bm_c1a4c
- bm_c1a4d
- bm_c1a4e
Power supply
- bm_c2a1a
- bm_c2a1b
On rails
- bm_c2a2a
- bm_c2a2b
- bm_c2a2c
Apprehension
- bm_c2a3a
- bm_c2a3b
Waste recycling
- bm_c2a4a
- bm_c2a4b
- bm_c2a4c
- bm_c2a4d
Questionable Ethics
- bm_c2a4e
- bm_c2a4f
- bm_c2a4g
- bm_c2a4h
Surface tension
- bm_c2a5a
- bm_c2a4b
- bm_c2a5c
- bm_c2a5d
- bm_c2a5e
- bm_c2a5f
- bm_c2a5g
Forget about Freeman
- bm_c3a1a
- bm_c3a1b
Lambda Core
- bm_c3a2a
- bm_c3a2b
- bm_c3a2c
- bm_c3a2d
- bm_c3a2e
- bm_c3a2f
- bm_c3a2g
- bm_c3a2h
Xena Cards
Arrival in Zen
- bm_c4a1a
- bm_c4a1a1
- bm_c4a1b
- bm_c4a1b1
- bm_c4a1c
- bm_c4a1c1
Gonarch’s Nest
- bm_c4a2a
- bm_c4a2b
- bm_c4a2c
Violator
- bm_c4a3a
- bm_c4a3a1
- bm_c4a3b
- bm_c4a3b1
- bm_c4a3b2
- bm_c4a3c
- bm_c4a3c1
- bm_c4a3c2
- bm_c4a3d
- bm_c4a3d1
Nihilanth
- bm_c4a4a
The final
- bm_c4a5a
Building Your Own Army in Black Mesa
The npc_create command can be used to summon any characters or creatures in the game, both friendly and hostile, into the game world. The former can provide you with fire support, while the latter can draw fire from creatures hostile to them (while remaining hostile to the player and his allies). To summon a character armed with a specific weapon (only works with people), use the following combination of commands: npc_create_equipment [weapon id]; npc_create [creature id] . Thus, the command to create a guard armed with a revolver will look like this:
- npc_create_equipment weapon_357; npc_create npc_human_security
The name of the weapon can be found in the weapon cheats section, the names of the creatures are listed below.
Creature codes and weapons available to them
Marines and guards can use a pistol, revolver, MP5, shotgun, and flare gun. The rest of the human characters either don’t use weapons at all or always use their own. These are also the only weapons usable by NPCs: if you create a guard armed with a beehive arm, for example, he won’t be able to fire it and will effectively be unarmed.
It is also worth considering that when creating a character without specifying a weapon, he will be automatically given the last weapon that you assigned to someone via the npc_create_equipment command . If you did not use this command, the character will be armed as usual.
Staff
- npc_human_scientist – male scientist
- npc_human_scientist_female – female scientist
- npc_human_scientist_eli – Eli Vance
- npc_human_scientist_kleiner – Dr. Kleiner
- npc_gman – G-man (invulnerable)
- npc_human_security – security guard (weapons: Glock, revolver, MP5, shotgun, flare gun)
Military and black operatives
- npc_human_grunt – marine
- npc_human_medic – medic
- npc_human_commander – Marine Commander
- npc_human_grenadier – grenade launcher (weapon: MP5, can use grenades)
- npc_sniper – sniper (can only be killed by grenades)
- npc_human_assassin – assassin (uses only his own weapon)
Zombie
- npc_zombie_scientist – zombie scientist
- npc_zombie_scientist_torso – legless zombie scientist
- npc_zombie_security – zombie security guard
- npc_zombie_grunt_torse – legless zombie soldier
- npc_zombie_grunt – zombie soldier
- npc_zombie_hev – zombie in HEV suit
Aliens
- npc_snark – snark
- npc_headcrab – headcrab
- npc_houndeye – houndeye
- npc_bullsquid – bullsquid
- npc_ichthyosaur – ichthyosaur
- npc_alien_slave – vortigaunt
- npc_xort – friendly vortigaunt
- npc_alien_grunt – alien soldier
- npc_alien_grunt_melee – Alien soldier without armor and hive arm, attacks in melee
- npc_alien_controller – controller
- npc_gargantua – gargantua (invulnerable, use sk_gargantua_debug_allow_death 1 to be able to kill it)
- npc_tentacle – tentacles
- npc_houndeye_suicide – red houndeye
- npc_alien_grunt_elite – alien elite soldier
- npc_xentree – Xena tree
- npc_xenturret – Zen’s turret
Turrets
- npc_sentry_ceiling – Ceiling turret
- npc_sentry_ground – ground turret
Technique
- npc_abrams – Abrams tank
- npc_lav – armored personnel carrier with a machine gun
- npc_apache – combat helicopter
- npc_osprey – transport helicopter
To quickly create a large number of identical characters, bind the creation command to a key using the command bind [key] “[command combination]” . Example:
- bind u “npc_create_equipment weapon_357; npc_create npc_human_security”
By entering this command once, you will be able to spawn guards armed with revolvers with a single press of the U key.
There is also a combination of commands that can be used to change the characters’ attitude towards you. For example, make an enemy character neutral (before executing the command, you need to aim at him):
- ent_fire !picker setrelationship “!player D_NU 99”
Replace D_NU with D_LI , D_HT , or D_FR to get a command to change the attitude to friendly, hostile, or fearful, respectively.



