The Orange Box: Portal Hints

PC Cheat Codes

  • Portal pretty much uses all the same cheat codes as the original game (including the ability to give yourself all of the original game's weapons), with the obvious exception that the map codes (listed below) are all different. Also, there are only eleven chapters to unlock, not fifteen.


    Backgrounds for main menu screen -- background* (1, 2)

    Testchamber 00 -- testchmb_a_* (00, 01)
    Testchamber 04 -- testchmb_a_* (02, 03)
    Testchamber 08 -- testchmb_a_* (04, 05)
    Testchamber 10 -- testchmb_a_* (06, 07)
    Testchamber 13 -- testchmb_a_08
    Testchamber 14 -- testchmb_a_09
    Testchamber 15 -- testchmb_a_10
    Testchamber 16 -- testchmb_a_11
    Testchamber 17 -- testchmb_a_13
    Testchamber 18 -- testchmb_a_14
    Testchamber 19 -- testchmb_a_15, escape_* (00, 01, 02)


    There are also a few new Portal-specific codes that you might want to try.

    * give weapon_portalgun -- gives you a portal gun if you don't already have one
    * upgrade_portalgun -- upgrades your portal gun (if you have one) to fire both types of portals
    * sv_portal_placement_never_fail # -- set # to 1 so portals can form almost anywhere, including on metal surfaces (0 is default)
    * ent_create_portal_weight_box -- creates a storage cube
    * ent_create_portal_metal_sphere -- creates a large and bouncy metal sphere
    * fire_energy_ball -- creates an energy orb in front of your face and fires it outward (sv_cheats has to be set to 1)


    NOTE: When you finish advanced and challenge versions of chambers, the game will check the sv_cheats setting to see whether or not to accuse you of cheating. So if you want to cheat on the challenges, be sure to change sv_cheats back to zero before entering the chamber's exit elevator.