How to open the Portal 2 console on PC and enter commands
From the main menu, go to Options -> KEYBOARD/MOUSE -> Allow Developer Console and set it to Enabled. Note: to make some of these codes work, you need to enter this code into the console: sv_cheats 1
Code Effect host_timescale # (default=1) Changes speed of game, 0.1 = 10% of original game speed, 2 = twice the original game speed sv_speed_paint_acceleration (default = 500.0f) Changes the acceleration of the speed gel sv_speed_paint_max (default = 800.0f) Changes the maximum speed obtainable from speed gel portalgun_held_button_fire_fire_delay (default = 0.5) Changes the minimum speed (in seconds) in which the portal gun shoots when you hold click. (Affected by portalgun_fire_delay) portalgun_fire_delay (default = 0.20) Changes the minimum speed (in seconds) in which you can fire a portal gun firstperson Changes view to first person thirdperson Changes view to third person ent_create_portal_companion_cube Creates a Companion Cube ent_create_portal_reflector_cube Creates a reflector cube for lasers ent_create_portal_weighted_sphere Creates a Weighted Sphere ent_create_portal_weighted_antique Creates the 1900s version of the Weighted Storage Cube (from "The Fall" chapter ent_create_portal_weighted_cube Creates the original Weighted Storage Cube (the normal one) give_portalgun gives you the basic portal gun. Upgrade with upgrade_portalgun god Invincibility sv_gravity # (600=normal) Lets you change the gravity in the game noclip Lets you go through walls and fly around sv_portal_placement_never_fail # (1 or 0) Place portals anywhere buddha Player can take damage but won't die ent_create_paint_bomb_portal Shoots conversion gel out of your face ent_create_paint_bomb_speed Shoots propulsion gel out of your face ent_create_paint_bomb_jump Shoots repulsion gel out of your face ent_create_paint_bomb_erase Shoots water out of your face cl_showfps 1 (change 1 to 0 to deactivate) Shows FPS Rate ent_create npc_personality_core spawns wheatley personality core sv_cheats (0=off/1=on) Turns Cheats on/off notarget Turrets won't shoot at you cl_showpos 1 (change 1 to 0 to deactivate) Used to see your position and speed
Some items from the store can be unlocked by completing achievements:
Unlockable How to Unlock Bionic Beanie Complete "Lunacy" WCC Flag Complete "High Five"
Contributed By: And_Man.
In test chamber 16, there is a turret inside a ventilation grate right past the elevator. Jump over it, get the refraction cube and use the laser to destroy that turret. The grate will open up, and when you go in, there will be 4 turrets singing a song in unison.
Contributed By: GreatSkeeve.
Know Something We Don't?
You can submit new cheats for this game and help our users gain an edge.
Have We Been Fooled?
You can submit a problem report for any non-working or fake code in the lists above.