Portal
Not enough ratings
Ridiculous console commands
By Dev8H24
Many console commands for Portal.
Not all console commands are listed here.
   
Award
Favorite
Favorited
Unfavorite
Developer console
In case you don't know, you need the developer console for these commands, and this is how you get it.

Click on options, highlighted in purple.

Go to keyboard settings, then click <Advanced...>

Tick <Enable developer console>

Now use the ` key to toggle the developer console.

WARNING: Enabling cheats will disable stats and achievements.
Spawn commands (ent_create)
ent_create_portal_metal_sphere - Spawns the sphere seen in Advanced chamber 17.

ent_create_portal_weight_box - Spawns a regular box used in almost every chamber.

ent_create prop_glados_core - Spawns a curiosity core that can't be used and speaks slowly.

ent_create updateitem2 - Spawns a radio with a red light. It is silent.

ent_create npc_security_camera - Spawns a camera with no function. It cannot be dismounted.

ent_create prop_dynamic - Spawns a red Error (because there's no model)

ent_create prop_physics - Spawns nothing.

Spawn commands (prop_physics_create)
prop_physics_create props/metal_box - Spawns a cube that can't be used or use buttons.

prop_physics_create props/sphere - Spawns a sphere that can't be used or use buttons.

prop_physics_create props/food_can/food_can - Spawns a can of BEANS.

prop_physics_create props/food_can/food_can_open - Spawns an open can of BEANS.

prop_physics_create props/water_bottle/water_bottle - Spawns a jug of water.

prop_physics_create props_bts/bts_chair - Spawns a chair.

prop_physics_create props/security_camera - Spawns a solid dismounted camera.

prop_physics_create props/kb_mouse/mouse - Spawns a computer mouse.

prop_physics_create props/kb_mouse/keyboard - Spawns a computer keyboard.

prop_physics_create props_bts/bts_clipboard - Spawns a clipboard.

prop_physics_create props_bts/metal_block - Spawns a 1x1x2 metal block.

prop_physics_create props/pc_case02/pc_case02 - Spawns a PC.

prop_physics_create props/milk_carton/milk_carton - Spawns a milk carton

prop_physics_create props/milk_carton/milk_carton_open - Spawns an open milk carton.

Spawn commands (npc_create)
NPCs from Portal

npc_create npc_portal_turret_floor - Spawns a turret from Portal.

npc_create npc_rocket_turret - Spawns a rocket turret.



NPCs from HL2

npc_create npc_turret_floor - Spawns a turret.

npc_create npc_turret_ceiling - Spawns a ceiling turret. (does not work)

npc_create npc_combine_camera - Spawns a camera.
Spawn commands (extra)
These are spawns with extra detail.

Morality core:
ent_create prop_glados_core coretype 3 spawnflags 1048904 cycle 1.00 playbackrate 1.00 sequence 2 delaybetweenlines 0.40

Curiosity core:
ent_create prop_glados_core coretype 0 spawnflags 1048904 cycle 0.12 playbackrate 1.00 sequence 3 delaybetweenlines 0.40 skin 1

Crazy core:
ent_create prop_glados_core coretype 2 spawnflags 1048904 cycle 0.78 playbackrate 1.00 sequence 5 delaybetweenlines 0.10 skin 3

Anger core:
ent_create prop_glados_core coretype 1 spawnflags 1048904 cycle 0.91 playbackrate 1.00 sequence 4 delaybetweenlines 0.10 skin 2

Curiosity core (talks very fast):
ent_create prop_glados_core coretype 0 spawnflags 1048904 cycle 0.91 playbackrate 1.00 sequence 4 delaybetweenlines 0.0 skin 1

Anger core (muted):
ent_create prop_glados_core coretype 1 spawnflags 1048904 cycle 0.78 playbackrate 1.00 sequence 5 delaybetweenlines 9999999 skin 2
Server commands (sv_)
sv_cheats 0/1 - You need this enabled for most commands. (def. 0)

sv_gravity n - Changes the gravity. (def. 600)

sv_portal_placement_never_fail 0/1 - Allows you to place portals on metal surfaces. (def. 0)
Client commands (cl_)
cl_portalgun_beam_size n - Changes the beam size on the portal gun. Requires loading for effect. (def. 0.04)

cl_showpos 0-2 - Displays the position, angle and velocity of the player if the value is not 0.
Material commands (mat_)
mat_fullbright 0/1 - Enables fullbright mode. This is enabled by default if there's no light. (def. 0)

mat_dxlevel n - Changes the DirectX version from 80-120. (def. 120)

mat_hsv 0/1 - Changes to greyscale if not set to 0. (def. 0)
Other commands
noclip - Toggles noclip.

god - Toggles invincibility.

notarget - Makes you pretty much invisible to entities.

buddha - Invincibility, but you can still take damage.

ent_remove - Removes what you are looking at. If used on walls, the game will crash.

ent_remove_all - Removes all of a specific entity type or name.

ent_teleport - Teleports one of a specific entity or name.

portal_disable_radios 0/1 - Disables the radios spawning if the value is not set to 1. (def. 0)

firstperson - Sets to first person mode.

thirdperson - Sets to third person mode.

viewmodel_fov 0;crosshair 0 - Hides crosshair and portalgun. Great for screenshots.

viewmodel_fov 54;crosshair 1 - Shows crosshair and portalgun. Regular view.

ent_pause - Pauses entity events.

cancelselect - Toggles the pause menu.
8 Comments
Cleano. 26 Jul, 2024 @ 3:10pm 
you can spawn combine, but it crashes the game lol
Wheatley0329 15 Jul, 2024 @ 12:00pm 
ent_create prop_glados_core coretype 0 spawnflags 1048904 cycle 0.91 playbackrate 1.00 sequence 4 delaybetweenlines 0.0 skin 1
Lucchetto3331 13 Jul, 2024 @ 5:23am 
Nice
Outrage_64 12 Jul, 2024 @ 12:25pm 
thx
i main 1x1x1x1 HI_1914 11 Jul, 2024 @ 3:58pm 
k thx
Dev8H24  [author] 11 Jul, 2024 @ 2:18pm 
sv_gravity 0
i main 1x1x1x1 HI_1914 10 Jul, 2024 @ 11:29am 
How do you turn off the grav
Boing 9 Jul, 2024 @ 7:53am 
thx so much