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
Effect Code Changes speed of game, 0.1 = 10% of original game speed, 2 = twice the original game speed host_timescale # (default=1) Changes the acceleration of the speed gel sv_speed_paint_acceleration (default = 500.0f) Changes the maximum speed obtainable from speed gel sv_speed_paint_max (default = 800.0f) Changes the minimum speed (in seconds) in which the portal gun shoots when you hold click. (Affected by portalgun_fire_delay) portalgun_held_button_fire_fire_delay (default = 0.5) Changes the minimum speed (in seconds) in which you can fire a portal gun portalgun_fire_delay (default = 0.20) Changes view to first person firstperson Changes view to third person thirdperson Creates a Companion Cube ent_create_portal_companion_cube Creates a reflector cube for lasers ent_create_portal_reflector_cube Creates a Weighted Sphere ent_create_portal_weighted_sphere Creates the 1900s version of the Weighted Storage Cube (from "The Fall" chapter ent_create_portal_weighted_antique Creates the original Weighted Storage Cube (the normal one) ent_create_portal_weighted_cube gives you the basic portal gun. Upgrade with upgrade_portalgun give_portalgun Invincibility god Lets you change the gravity in the game sv_gravity # (600=normal) Lets you go through walls and fly around noclip Place portals anywhere sv_portal_placement_never_fail # (1 or 0) Player can take damage but won't die buddha Shoots conversion gel out of your face ent_create_paint_bomb_portal Shoots propulsion gel out of your face ent_create_paint_bomb_speed Shoots repulsion gel out of your face ent_create_paint_bomb_jump Shoots water out of your face ent_create_paint_bomb_erase Shows FPS Rate cl_showfps 1 (change 1 to 0 to deactivate) spawns wheatley personality core ent_create npc_personality_core Turns Cheats on/off sv_cheats (0=off/1=on) Turrets won't shoot at you notarget Used to see your position and speed cl_showpos 1 (change 1 to 0 to deactivate)
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.