All commands are done via the console. They must be enabled via the console option on shortcut, or enabled through the in-game options under the Advanced section of Controls. It is then accessed by pressing ~. (Note: Most of these require sv_cheats to be set to 1.)
change_portalgun_linkage_id #
Replace # with 0, 1, 2, or 3. This allows for separate sets of portals to be created.
ent_create_portal_weight_box
Creates a Weighted Storage Cube for your use.
fire_energy_ball
Fires an energy ball that can be used in solving puzzles.
sv_portal_placement_never_bump 1
Self-explanitory.
sv_portal_placement_never_fail 1
Portals can be placed on almost any surface.
upgrade_portalgun
Will allow use of second portal placement.
Half-Life 2: Black Box Cheat: Half-Life 2 Cheats
Turn on the cheat console in-game, and press the tilde (~) to bring it up. You can then type the codes in below for the desired effect...
- ai_disable - NPCs are turned off
- give item_battery - Receive 15 battery points
- give item_healthkit - Receive 25 health points
- kill - Character eliminates himself
- npc_create - Create NPCs
Hit tilde “~” and type "npc_create npc_ [name]” to spawn an NPC. Here is a list of the names you can enter for [name]:
- "alyx" (Alyx Vance)
- "barney" (Barney Calhoun)
- "dog" (Dog)
- "kleiner" (Dr. Kleiner)
- "eli" (Eli Vance)
- "mossman" (Judith Mossman)
- "monk" (Father Grigori)
- "citizen" (Citizen)
- "headcrab" (Regular Headcrab)
- "zombie" (Regular Zombie)
- "zombie_torso" (Regular Zombie Torso)
- "headcrab_fast" (Fast Headcrab)
- "headcrab_black" (Black Headcrab)
- "headcrab_poison" (Poison Headcrab)
- "fastzombie" (Fast Zombie)
- "poisonzombie" (Poison Zombie)
- "antlion" (Antlion)
- "antlionguard" (Antlion Guard)
- "combine_s" (Combine Soldier/Combine Elite/Prison Guard)
- "metropolice" (Metro Cop)
- "stalker" (Stalker)
- "cscanner" (City Scanner)
- "manhack" (Manhack)
- "rollermine" (Rollermine)
- "combine_mine" (Hopper Mine)
- "combine_camera" (Combine Camera)
- "turret_floor" (Combine Turret)
- "turret_ceiling" (Ceiling Turret)
- "turret_ground" (Ground Turret)
- "launcher" (?)
- "combinedropship" (Dropship)
- "combinegunship" (Gunship)
- "strider" (Strider)
- "pigeon" (Pigeon)
- "crow" (Crow)
- "seagull" (Seagull)
- "barnacle" (Barnacle)
- "ichthyosaur" (Ichthyosaur)
- "vortigaunt" (Vortigaunt)
Episode One and Episode Two
- "clawscanner" (Shield Scanner)
- "zombine" (Combine Zombie/Zombine)
- "fastzombie_torso" (Fast Zombie Torso)
Episode Two Only
- "antlion_grub" (Antlion Grub)
- "antlion" (Antlion Worker)
- "hunter" (Good A.I. Hunter)
- "combine_s" (Combine Shotgunner)
- "antlionguard" (Green Antlion Guard)
- "magnusson" (Dr. Magnusson)
- "vortigaunt" (Vortigaunt Doctor)
DOWNLOAD GAMES