Portal
270 ratings
Weapon Cheats Guide!
By 󠀡
This guide will surprise you of how many weapons there are in Portal! You will need to know how to open up the developer console to do this. You can find a key to bind to console in the option on the keyboard category.
3
   
Award
Favorite
Favorited
Unfavorite
Crowbar

give weapon_crowbar
Gravity Gun

give weapon_physcannon
Portal Gun

give weapon_portalgun
If you want the portal gun to be upgraded, just type:
upgrade_portalgun
9mm Pistol

give weapon_pistol
.357 Magnum

give weapon_357
Alyx Gun
give weapon_alyxgun
SMG

give weapon_smg1
Pulse Rifle

give weapon_ar2
Shotgun

give weapon_shotgun
Crossbow

give weapon_crossbow
Grenade

give weapon_frag
RPG

give weapon_rpg
Hopwire

give weapon_hopwire
To be able to activate the hopwire grenade properly, you need to write down this too:
hopwire_vortex 1
This allows the grenade to create a mini black hole. Can crash the game if you stand at point blank range, next to it as you activate it! Otherwise, standing slightly near it will kill you. The rollermine you see on the picture is the actual black hole grenade when thrown.
Bugbait

give weapon_bugbait
Annabelle (Rifle)
give weapon_annabelle
Suitcase
give weapon_citizensuitcase
Package
give weapon_citizenpackage
Cubemap
give weapon_cubemap
Extra Weapons

give weapon_stunstick

To be able to equip up the stunstick, you need to make sure you have no crowbar on you and do the two following commands in this order:

  1. ent_create weapon_stunstick
  2. ent_fire weapon_stunstick AddOutPut "classname weapon_crowbar"

give weapon_striderbuster

give weapon_oldmanharpoon
The harpoon is not really in Portal. Half Life 2: Lost Coast only!
Guns attached to Vehicles
You need to write two commands. One to spawn the vehicle and another to attach the gun.



  1. To spawn the airboat, enter this in the console:
    ch_createairboat
  2. Now, we only need to unlock the gun, so type this down:
    ent_fire airboat enablegun 1
    Now you can go full rambo, because that gun is a lmg. Just don't overheat it.

  1. For the jeep, you will need to enter this down:
    ch_createjeep
  2. When you have done that, type in:
    ent_fire jeep enableradar; ent_fire jeep enablegun 1
    What happens is that you unlock the Gauss Cannon attachment for the jeep.
Do not enter the "ch_createjalopy" command because it will crash the game instantly. The vehicle is supposed to be the yellow drivable car from Half-Life 2 Episode 2, however because of how unfinished and broken it was at the time, it is not usable unfortunately.
Impulse 101 (Unlock all normal weapons)
impulse 101
This gives you:
  • Ammunition for the weapons
  • item_suit
  • weapon_crowbar
  • weapon_physcannon
  • weapon_portalgun (Upgraded)
  • weapon_pistol
  • weapon_357
  • weapon_smg1
  • weapon_ar2
  • weapon_shotgun
  • weapon_crossbow
  • weapon_frag
  • weapon_rpg
  • weapon_bugbait

This is a demonstration video:

Ammo
Before you spawn the ammo, aim at the ground where you want to spawn the ammo. You can use "give" instead of "ent_create" so you get the ammo instantly. For receiving ammo supply exclusive to the current weapon, use "givecurrentammo" alone instead.
ent_create item_ammo_pistol ent_create item_ammo_357 ent_create item_ammo_smg1 ent_create item_ammo_smg1_grenade ent_create item_ammo_ar2 ent_create item_ammo_ar2_altfire ent_create item_box_buckshot ent_create item_ammo_crossbow ent_create weapon_frag ent_create item_rpg_round ent_create weapon_hopwire ent_create item_box_sniper_rounds ent_create item_box_flare_rounds
There is no flare gun or sniper rifle in this game, but the developers left the rounds in Half Life 2 and Portal anyway! Even tho the npc_sniper exists, it doesn't use a sniper rifle. You can pick up sniper rounds, but not the flare rounds. If you try, you will get an error in the console, I quote:
Originally posted by author:
"ERROR: Attempting to give unknown ammo type (FlareRound)."
In Conclusion
There are 20 weapons in the game, excluding the guns attached to the vehicles.


Be sure to give this guide a like to show some support!
Comment for any suggestions or questions.
251 Comments
vantaoxz 29 Apr @ 3:00pm 
i cant spawn the Gravity Gun
Finnorbital 14 Dec, 2024 @ 3:12pm 
stridebuster does not spawn for me, it makes the large ERROR sign. help
Finnorbital 17 Oct, 2024 @ 4:06pm 
thanks!
󠀡  [author] 16 Oct, 2024 @ 6:50pm 
@Finnorbital Press e on the alyxgun since it will spawn below your feet.
AltairianGaming 11 Oct, 2024 @ 12:13pm 
I never knew you could spawn the Half Life 2 guns. This helped with turrets.
Finnorbital 5 Oct, 2024 @ 3:58pm 
help! i can't equip the alyx gun
Yapybara 14 Sep, 2024 @ 5:40pm 
How to take away? Console doesn't understand remove
Hextore 15 Aug, 2024 @ 2:55pm 
Is no longer feels like Portal
HuntermUA 8 Aug, 2024 @ 1:19am 
when i press ` it dosent open the developer console