This page lists the various console commands that apply directly to The Stanley Parable. There are many more commands (applicable to the Source engine but not to TSP,) but the below are the most interesting and functional of them.
Enabling The Console
- Open up your Steam library.
- Right click The Stanley Parable and click Properties.
- Select Launch Options. In the text box that appears, type -console (or -dev console)
- Launch the game as normal.
- Another way is to open up the
config.cfgwith a text editor, then search for "toggleconsole" and replacing it with a key in case tilde (~) doesn't work.
- Save, then go in-game and enable the console from the Options. Otherwise, search for "con_enable" and set it to 1 and then save.
hideous - Opens up a random page of the Team Fortress 2 Wiki.
bark - Whenever Stanley uses the action button (E or primary click,) you will hear a barking sound instead of the normal key-pushing sound.
raphael - In place of all dialog, the Narrator simply says "Stanley." "Stanley" is also printed in the console whenever dialogue would normally be spoken.
sv_cheats 1 - Normally enables server cheats, but instead, teleports Stanley to the Serious Room and Serious Ending.
In the demo the console prints "Why????", but doesn't take the player
to the Serious Room. Staying in the Serious Room and repeatedly entering
the command will cause the narrator to "go shopping for another table."
However, if you enter the command before loading or starting a new game on the main menu
-- it will display the "Why????" message - now allowing for commands
such as noclip and impulse (100, etc) - The game is now susceptible to
most -- if not all HL2/Portal 2 console commands.
imabird - Float gently into the air, as in the Mariella Ending.
Flying does not allow Stanley to overcome any obstacle, door or window
that would normally block Stanley's progress on the ground; it's merely
an aesthetic effect.
facepunch - Replaces all world textures with the Facepunch logo printed on top of them.
impulse 100 - Enables/Disables a flashlight.
noclip - Toggles clipping On/Off - *CAN CAUSE CRASH!!* - Be careful of what you fly through! and you can see The Narrator using this.
thirdperson - Sets a third person view - showing a purple block shaped character model lying on the floor as you move about.
firstperson - Sets the view back to first person mode.
secret - Plays a special song when the credits roll in the Freedom Ending or when you select the Credits option from the Main Menu.
map babygame - Teleports the player to the Baby Game, as seen in the Games Ending.
map blockbase - Teleports the player to the Minecraft demo, as seen in the Games Ending.
map buttonworld - Teleports the player to the Heaven Ending.
map incorrect - Teleports the player to the deteriorated map, as seen in the Not Stanley Ending after unplugging the phone.
map map - Teleports the player to the last sub-ending of the Confusion Ending.
map map1 - Restarts the game.
map map2 - Teleports the player to the Mind Control Facility (as if they had taken the elevator in The Boss's Office.)
map map_death - Teleports the player to the Museum Ending.
map map_one - Teleports the player to the first loop of the Confusion Ending (in Stanley's office, after the Narrator restarted the game in the Monitor Room.)
map map_two - Teleports the player to the room below the Maintenance Room, the beginning of the Confusion Ending.
map redstair - Teleports the player to the Escape Pod Ending staircase.
map seriousroom - Teleports the player to the Serious Room and repeats the narration from the last time you went there. If you didn't input sv_cheats at all, it proceeds like normal.
map testchmb_a_00 - Teleports the player to the Portal demo, as seen in the Games Ending.
map thefirstmap - Teleports the player to the second loop of the Confusion Ending.
map theonlymap - Teleports the player to the third loop of the Confusion Ending.
map zending - Teleports the player to the Zending.
ent_create_portal_companion_cube - Creates a Weighted Companion Cube, now you can pick up and drop. and in this game, this cube named the #Instructor.
ent_create_portal_antique_cube - Creates an "Old Aperture Science"-style Weighted Storage cube, from Portal 2, at the place you're looking at. now you can pick up and drop.
Bind 3 "Create_Flashlight" - Creates a Flash of light at the current cursor position.
bind 5 "ent_fire !picker unlock; ent_fire !picker open" - Point at any door with a handle, and press 5 and it'll open; even random environmental doors and doors closed by the narrator. Beware as this cheat may cause an unintended game crash.
bind 6 "ent_fire !picker unlock; ent_fire !picker close" - Same thing as above, but with 6; closes any open door.
bind 4 "fire_rocket_projectile" - Press 4 to fire a giant missile shaped like the word ERROR. Stanley can actually "die" from this, and will force the game to the beginning of the map you are currently on. This is inherited from the Source Engine itself, on which the game is based.
ent_teleport player - Teleports the player to wherever they're looking within the map. You can get stuck doing this; use at your own discretion. and it is so useful when you travel Minecraft World.
bind "r" "ent_remove" - You can delete doors and some other stuff (note that game can crash).
host_timescale X - replace X with any number between 0.1 and 10.0. This is used to slow down and speed up the game in the Source engine, but without cheats here it just sets the speed of the Narrator's talking. 1.0 is the default setting.
tsp_resetzaxis - reset all achievements.
bind "mwheelup" "cl_fov 10" - mouse up to zoom in. The number can be anything between 89 and 1, but a good zoom is 30. 10 is a cloze zoom.
bind "mwheeldown" "cl_fov 90" - mousewheel down to zoom back out
you can also bind other codes like map, create or imabird.