GamingWell

Console Cheats

Make sure the Developer Console is enabled in options, and assign a proper key to open the console. Open the developer console in-game and note the following commands:

  • Portals_ResizeAll - Changes portal sizes to what you specify (Replace and with half of the width and length you want on the portals)
  • sv_portal_placement_never_bump 1 - Makes sure your portals can be placed in any way you shoot them, even inside eachother
  • sv_portal_placement_never_fail 1 - You can place portals wherever you want
  • sv_portal_placement_on_paint 1 - Makes your portals placable on paint
  • portal2_portal_width XXX - Specify the width you want your portals to be, where XXX is a numerical value
  • portal2_square_portals - Make all portals entirely circle-shaped (Not long)
  • impulse 101 - Gives you all weapons (Including Half-Life 2 weapons)
  • Buddha - Makes you immortal (You never go below 1 health)
  • God - Makes you immortal (Your health is static)
  • noclip - Ability to fly, even through walls (Type again to toggle)
  • ent_create - Creates any entity you specify, where your crosshair is aiming
  • ent_create_paint_bomb_erase - Creates paint-erasing fluid (The blank kind of paint that removes other kinds) where you're aiming
  • ent_create_paint_bomb_jump - Creates Blue Gel paint, the jumpable type
  • ent_create_paint_bomb_portal - Creates White Gel paint, that allows you to place portals on it
  • ent_create_paint_bomb_speed - Creates Red Gel paint, allowing you to run at high speeds on it
  • ent_create_portal_companion_cube - Creates a Companion Cube
  • ent_create_portal_reflector_cube - Creates a Reflector Cube (For lasers)
  • ent_create_portal_weighted_antique - Creates ???
  • ent_create_portal_weighted_cube - Creates ???
  • ent_create_portal_weighted_sphere - Creates ???
  • sv_gravity XXX - Sets the gravity amount, where XXX is a numerical valueThere are more 'ent' commands (aka entity commands) and they are the same as those for Half-Life 2 and other Source games. To see what you can spawn using ent_create, type listmodels in console.