Portal 2

Portal 2

Not enough ratings
How to make the "Extras" menu into a cheat menu
By Theo
   
Award
Favorite
Favorited
Unfavorite
Removing files
OK, let's get started!
Navigate to your portal 2 directory, you should see the folder "portal2" double click to open.
Once you're inside the folder, open up the "scripts" folder, look for "extras.txt", after you find it, delete it.
Next go out of the "portal2" folder and go into the "portal2_dlc2" now go into the "scripts" folder do the same thing, look for "extras.txt" and delete it but don't leave the folder just yet.
Adding files
Now that we've removed the files we need to add them, you should be in your "portal2_dlc2" folder.
Next create a text file called "extras.txt", copy and paste the flowing into the file.
"Extras" { "1" { "title" "Enable sandbox mode" "subtitle" "" "pic" "" "command" "sv_cheats 1; bind x ent_remove; bind v noclip; disconnect Done;" } "2" { "title" "Disable sandbox mode" "subtitle" "" "pic" "" "command" "sv_cheats 0; unbind x; unbind v; disconnect Done;" } "sm" { "title" "--# Spawnmenu #--" "subtitle" "" "pic" "" "command" "" } "sm1" { "title" "Cube" "subtitle" "" "pic" "" "command" "ent_create_portal_weighted_cube" } "sm2" { "title" "Lazer Cube" "subtitle" "" "pic" "" "command" "ent_create_portal_reflector_cube" } "sm3" { "title" "Jump Gel" "subtitle" "" "pic" "" "command" "ent_create_paint_bomb_jump" } "sm4" { "title" "Speed Gel" "subtitle" "" "pic" "" "command" "ent_create_paint_bomb_speed" } "sm5" { "title" "Water" "subtitle" "" "pic" "" "command" "ent_create_paint_bomb_erase" } "end_sm" { "title" "----" "subtitle" "" "pic" "" "command" "" } "cheat1" { "title" "Portals work anywhere" "subtitle" "" "pic" "" "command" "toggle_convar sv_portal_placement_never_fail 0 1" } "cheat2" { "title" "Enable Object" "subtitle" "" "pic" "" "command" "ent_fire !picker enable" } "cheat3" { "title" "Disable Object" "subtitle" "" "pic" "" "command" "ent_fire !picker disable" } "cheat4" { "title" "SPAAAAAAAAAACE" "subtitle" "" "pic" "" "command" "sv_gravity 0" } "cheat5" { "title" "Go back to Earth" "subtitle" "" "pic" "" "command" "sv_gravity 600" } "cheat4" { "title" "PotatOS" "subtitle" "" "pic" "" "command" "upgrade_potatogun" } "cheat5" { "title" "Rocket launcher" "subtitle" "" "pic" "" "command" "fire_rocket_projectile" } }
Thank you to this guide for the commands: https://steamcommunity.com/sharedfiles/filedetails/?id=263127894 .

Once you've done that save it then close.
Now open Portal 2 and it should've worked.
Press the Extras button to show the commands.