Guides

Does sv_cheats 1 disable achievements in Portal 2?

Yes. In Portal 2, achievements are blocked while sv_cheats is set to 1, as in other Source engine games. It is not permanent: set sv_cheats back to 0 and reload the level (or restart the game), and achievements work again. Your profile and earlier achievements are not affected.

How it works

  • sv_cheats 1 unlocks cheat commands such as noclip and god. While cheats are active, the game will not unlock achievements.
  • In co-op, sv_cheats is a server setting, so the host decides whether cheats are enabled for both players.
  • To be safe, turn cheats off (sv_cheats 0), then load a save or restart the chapter before continuing an achievement hunt.

How to open the console

  1. In Steam, right-click Portal 2, open Properties and add -console to the launch options. Some versions also have a developer console option in the keyboard/mouse settings.
  2. Start the game and press the tilde key (~) to open the console.
  3. Type sv_cheats 1 to enable cheats, or sv_cheats 0 to disable them.

FAQ

How long does it take to beat Portal 2 solo?

The single-player campaign usually takes about 8 to 10 hours. Co-op is a separate campaign that adds several more hours.

Is Portal 1 or Portal 2 longer?

Portal 2 is much longer. The original Portal can be finished in about 3 to 4 hours.

Does sv_cheats affect Challenge Mode?

Yes. With cheats on, your Challenge Mode times are not submitted to the leaderboards.

What is god mode?

A cheat that makes the player invulnerable. In Portal 2 it is the god command and requires sv_cheats 1.