Portal 2

Portal 2

52 ratings
The Ultimate Portal 2 Console Command List
By 𝘚𝘰𝘭𝘰
3
   
Award
Favorite
Favorited
Unfavorite
Spawns
]Companion Cube: ent_create_portal_companion_cube

Weighted Storage Cube: ent_create_portal_weighted_cube

Weighted Pivot Cube: ent_create_portal_reflector_cube

Old Aperture Science Cube: ent_create_portal_weighted_antique

Edgeless Safety Cube: ent_create_portal_weighted_sphere

Turret: npc_create npc_portal_turret_floor

Frankenturret: ent_create prop_monster_box

Wheatley : ent_create npc_personality_core

GLaDOS: prop_dynamic_create npcs/glados/glados_animation

Water (clear): ent_create_paint_bomb_erase

Repulsion Gel (blue): ent_create_paint_bomb_jump

Propulsion Gel (orange): ent_create_paint_bomb_speed

Conversion Gel (white): ent_create_paint_bomb_portal

Rocket: fire_rocket_projectile

Beta Energy Pellet: fire_energy_ball

Door: give prop_testchamber_door

Thermal Discouragement Beam: ent_create env_portal_laser

Excursion Funnel Emitter (no funnel): ent_create prop_tractor_beam

Mounted Security Camera: ent_create npc_security_camera

Standing Button: ent_create prop_button

Error: ent_create prop_dynamic
Environment
Turn Cheats On: sv_cheats # (0=off, 1=on)

Portals Work Anywhere: sv_portal_placement_never_fail # (0=off, 1=on)

Change Portal Size (w=width, h=height): portals_resizeall w h (default="portals_resizeall 33 55")

Change Gravity: sv_gravity # (600=default)

Change Game Speed: host_timescale # (1=default, 0.5=half speed, 2=double speed)

Change Frankenturret Velocity: sv_monster_turret_velocity # (100=default)

Activate Excursion Funnel Emitter: ent_fire !picker enable

Turrets Target Cameras: ent_fire !picker addoutput "spawnflags 512"

Burn Objects: ent_fire !picker ignite

Remove Objects (may crash game): ent_remove

Remove All Portals: ent_fire prop_portal fizzle

Rotate Objects: http://forums.steampowered.com/forum...4&postcount=38

Change Maps: changelevel "map name"
User Modifications
Turrets Don't Shoot You: notarget

Kill Yourself: kill

Kill Partner: kill "partner's name"

Invincibility: god

Fly: noclip

Teleport Atlas: ent_teleport blue

Teleport P-body: ent_teleport red

Flashlight: impulse 100

Remove Portal Gun (can still shoot): impulse 200

Regain Portal Gun: give_portalgun

Potato Portal Gun: upgrade_potatogun

Move Portal Gun Left/Right: viewmodel_offset_x # (0=default)

Move Portal Gun Forward/Back: viewmodel_offset_y # (0=default)

Move Portal Gun Up/Down: viewmodel_offset_z # (0=default)

First-Person View : firstperson

Third-Person View: thirdperson

Third-Person Shoulder View: thirdpersonshoulder

Show FPS: cl_showfps # (0=off, 1=fps, 2=smooth fps, 3=server MS, 4=show fps and log to file
More Spawns
ent_create prop_weighted_cube - spawns a cube

ent_create prop_monster_box - spawns a frankenturret

ent_create prop_scaled_cube - spawns a scaled cube (only works in the Sixense MotionPack)

ent_create prop_glass_futbol - spawns an unused glass futbol

ent_create prop_exploding_futbol - spawns a bomb that explodes when it hits the ground

ent_create_paint_bomb_jump - spawns a repulsion gel bomb

ent_create_paint_bomb_speed - spawns a propulsion gel bomb

ent_create_paint_bomb_portal - spawns a conversion gel bomb

ent_create_paint_bomb_erase - spawns a water bomb

ent_create prop_paint_bomb - spawns a gel bomb

ent_create weapon_portalgun - spawns a portal gun on the ground that you can pick up

ent_create prop_portal - spawns a portal (non-working)

ent_create npc_portal_turret_floor - spawns a turret

ent_create npc_hover_turret - spawns a hover turret

ent_create npc_rocket_turret - spawns a rocket turret (non-working)

ent_create prop_rocket_tripwire - spawns a tripwire turret

ent_create npc_personality_core - spawns Wheatley

ent_create prop_glados_core - spawns Wheatley without animations, can't be picked up

ent_create prop_personality_sphere - spawns Wheatley without animations, can be picked up

ent_create npc_wheatley_boss - spawns Wheatley in GLaDOS' body (non-working)

ent_create npc_security_camera - spawns a mounted security camera

ent_create generic_actor - spawns the entity that allows GLaDOS to talk (crashes game)

ent_create prop_button - spawns a standing button

ent_create prop_under_button - spawns an antique standing button

ent_create prop_floor_button - spawns a floor button (only works sometimes)

ent_create prop_floor_cube_button - spawns a cube button

ent_create prop_floor_ball_button - spawns a ball button

ent_create prop_under_floor_button - spawns an antique floor button

ent_create prop_testchamber_door - spawns a door

ent_create prop_dynamic - spawns a prop_dynamic

ent_create env_portal_laser - spawns a laser

ent_create prop_laser_catcher - spawns a laser catcher

ent_create prop_laser_relay - spawns a laser relay

ent_create prop_tractor_beam - spawns an excursion funnel emitter

ent_create prop_wall_projector - spawns a light bridge emitter

ent_create projected_wall_entity - spawns a light bridge (spawns in a random spot)

create_flashlight - spawns a flashlight effect

fire_rocket_projectile - fires a rocket

fire_energy_ball - fires an energy pellet

prop_physics_create npcs/potatos/world_model/potatos_wmodel - spawns PotatOS

prop_physics_create props/food_can/food_can_open - spawns a bean can

prop_physics_create npcs/monsters/monster_a_head - spawns a frankenturret without cube

prop_physics_create npcs/monsters/monster_a_cube - spawns a frankenturret without head

prop_physics_create player/ballbot/gib_core_ball - spawns Atlas' head

prop_physics_create player/eggbot/gib_core - spawns P-Body's head

prop_physics_create npcs/turret/turret - spawns a turret, can't be picked up

prop_physics_create npcs/turret/turret_skeleton - spawns a defective turret

prop_physics_create npcs/turret/turret_backwards - spawns a sideways turret

prop_physics_create npcs/turret/turret_boxed - spawns a turret box

prop_physics_create props_junk/wood_crate002a - spawns a crate

prop_physics_create npcs/glados/glados_small_head - spawns a small GLaDOS head

prop_physics_create props/lab_chair/lab_chair - spawns a lab chair

prop_physics_create props/pc_case02/pc_case02 - spawns a pc case

prop_physics_create props/security_camera - spawns a security camera

prop_physics_create gibs/hgibs - spawns a skull

prop_physics_create props/sphere - spawns a W H I T E O R B

prop_dynamic_create props_lab/bot_male - spawns a mannequin

prop_dynamic_create props/faith_plate - spawns a faith plate

prop_dynamic_create props/fizzler - spawns an emancipation grill emitter

prop_dynamic_create props_vac_anim/turret_lowres - spawns a low resolution turret

prop_dynamic_create elevator/elevator_b - spawns an elevator

prop_dynamic_create elevator/elevator_escape - spawns an escape elevator

prop_dynamic_create elevator/elevator - spawns an unused elevator

prop_dynamic_create props/round_elevator_body - spawns a Portal 1 elevator

prop_dynamic_create npcs/bird/bird - spawns a bird

prop_dynamic_create props_sabotage/bird_nest - spawns a bird nest

prop_dynamic_create npcs/glados/glados_disc - spawns one of GLaDOS' large discs

prop_dynamic_create npcs/glados/glados_animation - spawns GLaDOS

prop_dynamic_create npcs/glados/glados_head_anim - spawns GLaDOS' head only

prop_dynamic_create npcs/glados/glados_wheatley_newbody - spawns GLaDOS Wheatley

prop_dynamic_create npcs/glados/glados_wheatley_boss - spawns the Wheatley Boss

prop_dynamic_create npcs/glados/glados_wheatley_boss_screen - spawns Wheatley T.V. mdl prop_dynamic_create npcs/glados/glados_wheatley - spawns beta GLaDOS Wheatley

prop_dynamic_create npcs/personality_sphere/personality_sphere_skins - spawns corrupt cores

prop_dynamic_create npcs/personality_sphere/personality_sphere_50percent - spawns a core

prop_dynamic_create npcs/personality_sphere/personality_sphere_shell - spawns a core shell

prop_dynamic_create npcs/personality_sphere/personality_sphere_pile - spawns a core pile

prop_dynamic_create npcs/turret/turretwife - spawns the opera turret (fat turret)

prop_dynamic_create npcs/turret/turret_fx_fizzler - spawns a Portal 1 turret

prop_dynamic_create npcs/turret/turret_debris_sml - spawns a small destroyed turret pile

prop_dynamic_create npcs/turret/turret_debris_med - spawns a medium destroyed turret pile

prop_dynamic_create npcs/turret/turret_debris_lrg - spawns a large destroyed turret pile

prop_dynamic_create gladdysdestruction/glados_junk_05_ - spawns Hoopy

prop_dynamic_create props_underground/life_preserver - spawns a Borealis life preserver

prop_dynamic_create props_underground/test_chamber_door - spawns an old chamber door

prop_dynamic_create props/portal_door - spawns an unused door

prop_dynamic_create props/portaldoor - spawns a Portal 1 door but it has missing textures

prop_dynamic_create props_basement/incinerator_hatch - spawns an incinerator

prop_dynamic_create props/pedestal_center_reference - spawns a portal gun pedestal

prop_dynamic_create error - spawns an error model

prop_dynamic_create anim_wp/cursher/crusher - spawns a crusher

prop_dynamic_create catwalk_destruction/catwalk_fx_c - spawns a catwalk

prop_dynamic_create props/radio_reference - spawns a radio, can't be picked up (no music)

prop_dynamic_create props/toilet_body_reference - spawns a toilet

prop_dynamic_create props/toilet_lid_reference - spawns a toilet lid

prop_dynamic_create props/bed_body_reference - spawns a bed

prop_dynamic_create props/table_reference - spawns a table

prop_dynamic_create props/combine_ball_launcher - spawns an energy pellet launcher

prop_dynamic_create props/combine_ball_catcher - spawns an energy pellet catcher

prop_dynamic_create props_foliage/mall_tree_large01 - spawns a tree

prop_dynamic_create player/ballbot/ballbot - spawns Atlas

prop_dynamic_create player/eggbot/eggbot - spawns P-Body

prop_dynamic_create player/chell/player - spawns Chell

prop_dynamic_create info_character/info_character_player - spawns Bendy

prop_dynamic_create player/chell/roboarm50percent - spawns the claw arm

prop_dynamic_create props_moon/lunar_rover - spawns the lunar rover seen on the moon

prop_dynamic_create props_moon/lunar_module - spawns the lunar module seen on the moon

prop_dynamic_create props_moon/parts/moon_flag - spawns an American Flag

prop_dynamic_create stars/allstars - spawns a ton of stars out of bounds
More Environment
buddha - makes it so you can't die, but you still take damage

sv_allow_mobile_portals # - allows you to place portals on moving surfaces (0 = off, 1 = on)

sv_portal_placement_never_bump # - allows you to overlap portals (0 = off, 1 = on)

sv_portal_placement_debug # - puts a blue rectangle around portals (0 = off, 1 = on)

pause - pauses the game

unpause - unpauses the game

showconsole - shows the console

hideconsole - hides the console

clear - clears the console

save - saves the game

stopvideos - stops the video that is playing

ent_info <entity name> - shows information on the specified object

ent_remove - removes what you are looking at

ent_remove_all <entity name here> - removes all of the specified entity

thirdperson - makes your view thirdpersonal)
More User Modifications
thirdpersonshoulder - makes your view thirdpersonshoulder

firstperson - makes your view firstperson

impulse 100 - gives the player a flashlight

impulse 200 - removes the portal gun texture (can still shoot)

give_portalgun - gives a standard portal gun that can only shoot blue portals

upgrade_portalgun - upgrades the standard portal gun to a dual portal gun

upgrade_potatogun - puts PotatOS on your portal gun

viewmodel_offset_x # - moves your portal gun on the x coordinate (0 is normal, -15 is on left)

viewmodel_offset_y # - moves your portal gun on the y coordinate (0 is normal)

viewmodel_offset_z # - moves your portal gun on the z coordinate (0 is normal)

+remote_view - shows your co-op partner's screen

-remote_view - hides your co-op partner's screen

+mouse_menu_playtest - shows the co-op ping menu

+right - makes you always turn right

-right - makes you stop turning right

+left - makes you always turn left

-left - makes you stop turning left

+attack - makes you constantly shoot your primary portal

-attack - makes you stop shooting your primary portal

+attack2 - makes you constantly shoot your secondary portal

-attack2 - makes you stop shooting your secondary portal

enable_skeleton_draw # - shows wireframes for every model (0 = off, 1 = on)

change_portalgun_linkage_id # - allows you to place multiple sets of portals (0,1,2,3,)

fadeout - makes the screen fade to black

fadein - makes the screen fade to the level

escape - closes the pause menu

sv_cheats # - sets the cheats (0 = off, 1 = on)

sv_gravity # - sets the gravity (600 is normal)

sv_voiceenable # - sets the ability to voice chat (0 = off, 1 = on)

sv_monster_turret_velocity # - sets the velocity of the frankenturret (100 is normal)

portals_resizeall # # - changes the size of your portals (32 56 is normal)

crosshair # - shows your crosshair (0 = off, 1 = on)

mat_fullbright # - disables shadows (0 = off, 1 = on)

mat_showlowresimage # - pixelates textures (0 = off, 1 = on)

bind <key> <command name here> - binds a command to a key

unbind <key> - unbinds the command set to the specified key

unbindall - unbinds all keys

setmodel <entity name here> - sets your model to an entity (only works with prop_dynamics)

showtriggers_toggle - shows the triggers in the map

removeallpaint - removes all the gel from a map

snd_playsounds <sound name here> - plays the specified sound

crash - crashes the game

quit - quits the game

exit - exits the game

killserver - kills the server

changelevel <map name here> - changes the level to the specified map

map <map name here> - loads the specified map

map_background <map name here> - changes the title screen image to the specified map

restart_level - restarts the level

respawn_entities - respawns entities you removed, and sets your position to the start of the level

ent_teleport <player name here> - teleports your co-op partner to you

kill <player name here> - kills the specified player

explode - explodes the player

cl_showfps # - shows FPS (0 = off, 1 = on)

cl_showpos # - shows position (0 = off, 1 = on)

host_timescale # - changes the speed of the game (1 is normal)
Changing Test Chambers
Must Add ''changelevel'' First. Or else it won't Work

example, changelevel sp_a1_intro1

Chapter 1 - The Courtesy Call

sp_a1_intro1 //Relaxation Vault

sp_a1_intro2 //Original 1

sp_a1_intro3 //Original 2

sp_a1_intro4 //Original 3 and 4

sp_a1_intro5 //Original 5

sp_a1_intro6 //Original 6

sp_a1_intro7 //Original 7

sp_a1_wakeup //GLaDOS

sp_a2_intro //Original 19





Chapter 2 - The Cold Boot

sp_a2_laser_intro //GLaDOS 1

sp_a2_laser_stairs //GLaDOS 2

sp_a2_dual_stairs //GLaDOS 3

sp_a2_laser_over_goo //GLaDOS 4

sp_a2_catapult_intro //GLaDOS 5

sp_a2_trust_fling //GLaDOS 6

sp_a2_pit_flings //GLaDOS 7

sp_a2_fizzler_intro //GLaDOS 8





Chapter 3 - The Return

sp_a2_sphere_peek //GLaDOS 9

sp_a2_ricochet //GLaDOS 10

sp_a2_bridge_intro //GLaDOS 11

sp_a2_bridge_the_gap //GLaDOS 12

sp_a2_turret_intro //GLaDOS 13

sp_a2_laser_relays //GLaDOS 14

sp_a2_turret_blocker //GLaDOS 15

sp_a2_laser_vs_turret //GLaDOS 16

sp_a2_pull_the_rug //GLaDOS 17





Chapter 4 - The Surprise

sp_a2_column_blocker //GLaDOS 18

sp_a2_laser_chaining //GLaDOS 19

sp_a2_triple_laser //GLaDOS 20

sp_a2_bts1 //GLaDOS 21

sp_a2_bts2





Chapter 5 - The Escape

sp_a2_bts3

sp_a2_bts4 //Turret Assembly Line

sp_a2_bts5 //Neurotoxin Generator

sp_a2_bts6 //Tube ride (no gameplay)

sp_a2_core //Core Swap





Chapter 6 - The Fall

sp_a3_00 //Falling

sp_a3_01 //Ruins

sp_a3_03 //Initiative Intro, Alpha Pump

sp_a3_jump_intro //Blue Gel 1

sp_a3_bomb_flings //Blue Gel 2

sp_a3_crazy_box //Blue Gel 3

sp_a3_transition01 //Beta Pump, Potato





Chapter 7 - The Reunion

sp_a3_speed_ramp //Orange Gel 1

sp_a3_speed_flings //Orange Gel 2

sp_a3_portal_intro //Gamma Pump, White Gel 1

sp_a3_end //Master Pump





Chapter 8 - The Itch

sp_a4_intro //Wheatley intro

sp_a4_tb_intro //Wheatley 1

sp_a4_tb_trust_drop //Wheatley 2

sp_a4_tb_wall_button //Wheatley 3

sp_a4_tb_polarity //Wheatley 4

sp_a4_tb_catch //Wheatley 5

sp_a4_stop_the_box //Wheatley 6

sp_a4_laser_catapult //Wheatley 11

sp_a4_laser_platform //Wheatley 12

sp_a4_speed_tb_catch //Wheatley 15

sp_a4_jump_polarity //Wheatley 16





Chapter 9 - The Part Where…

sp_a4_finale1 //Wheatley 17, This is that part.

sp_a4_finale2

sp_a4_finale3

sp_a4_finale4 //That happened.

sp_a5_credits //Credits

The End
Hope You Guys Enjoyed

This is The Website Verson of This https://sites.google.com/view/portalconsolecommands/home
12 Comments
eryk Dec 19, 2024 @ 7:57pm 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░
▀█▌░░░▄░▀█▀░▀ ░░░COPY AND PASTE HIM SO HE TAKE OVER STEAM
░░░░░░░▄▄▐▌▄▄░░░░
░░░░░░░▀█▄░░░░░░░
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░
░░░░░░█░░░░░░░░█░ why take over steam
Godslayer78 May 3, 2023 @ 1:14pm 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░
▀█▌░░░▄░▀█▀░▀ ░░░COPY AND PASTE HIM SO HE TAKE OVER STEAM
░░░░░░░▄▄▐▌▄▄░░░░
░░░░░░░▀█▄░░░░░░░
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░
░░░░░░█░░░░░░░░█░ dont leave bob
pyro mother figure May 22, 2022 @ 8:57am 
how change time so go slower
𝘚𝘰𝘭𝘰  [author] Apr 18, 2022 @ 6:05pm 
@maks7594 There is one at the changing test chambers
TheGorillaGamer Apr 18, 2022 @ 4:16pm 
helpful commands (finaly):steamthumbsup:
Themakerofbadgames Apr 18, 2022 @ 2:19pm 
where input
Maximized Apr 16, 2022 @ 5:12am 
we need the ending credits command
dot Apr 5, 2022 @ 6:24pm 
𝘚𝘰𝘭𝘰  [author] Apr 4, 2022 @ 1:55pm 
Pezu515 Ill try to add them in
connorman Apr 3, 2022 @ 11:38am 
@SirKnightOwl bind "key" "cmd"