Codes

  • For Half-Life 2, Episode One and Episode Two

    EffectCode
    Set Vertical View when eyes are near water plane.sv_waterdist #
    # is new max ammo for SMG grenadessk_max_smg1_grenade #
    Change the density of air. (Add number in place of #)air_density #
    Changes the radius of the cone used to pick up objectsphyscannon_cone #
    Creates an NPC (Aiming away from player)npc_create_aimed
    Damages player by whatever variable you input as #Hurtme #
    Enables ragdolls that don't clip through each other, but stack realistically on one another.cl_ragdoll_collide 1
    Execute a script file (Input filename in place of #)exec #
    replace $ with a command to get a brief description of ithelp $
    Toggle reporting missing .wav files for soundssv_soundemitter_filecheck
    # is new damage for Alyx Gun (default 150)sk_plr_dmg_alyxgun #
    # is new damage value for grenadessk_plr_dmg_grenade #
    # is new damage value for the .357 Magnumsk_plr_dmg_357 #
    # is new damage value for the crossbowsk_plr_dmg_crossbow #
    # is new damage value for the crowbarsk_plr_dmg_crowbar #
    # is new damage value for the pistolsk_plr_dmg_pistol #
    # is new damage value for the Pulse Riflesk_plr_dmg_ar2 #
    # is new damage value for the RPGsk_plr_dmg_rpg_round #
    # is new damage value for the shotgunsk_plr_dmg_buckshot #
    # is new damage value for the SMGsk_plr_dmg_smg1 #
    # is new damage value for the SMG's grenadessk_plr_dmg_smg1_grenade #
    # is new max ammo for Alyx Gun (default 0)sk_max_alyxgun #
    # is new max ammo for grenadessk_max_grenade #
    # is new max ammo for submachine gunsk_max_smg1 #
    # is new max ammo for the .357 Magnumsk_max_357 #
    # is new max ammo for the crossbowsk_max_crossbow #
    # is new max ammo for the pistolsk_max_pistol #
    # is new max ammo for the Pulse Riflesk_max_ar2 #
    # is new max ammo for the Pulse Rifle's energy orbssk_max_ar2_altfire #
    # is new max ammo for the RPGsk_max_rpg_round #
    # is new max ammo for the Shotgunsk_max_buckshot #
    a more thorough fps displaynet_graph 1
    Adjusts size of the weapon you're carrying (54 = default)viewmodel_fov #
    Brings up position display in top right of screen (0 removes it)cl_showpos 1
    can be used to get current coords for use with setposgetpos
    change skill level (# = 1, 2, or 3)skill #
    Changes how hard you propel objects with the Gravity Gunphyscannon_maxforce #
    Changes how large pulled objects can bephyscannon_maxmass #
    Changes how quickly objects are pulledphyscannon_pullforce #
    Changes the length that objects can be pulled fromphyscannon_tracelength #
    Changes the speed of the game (for slow-mo/fast-mo) (# < 1 = slower, # > 1 = faster)host_timescale #
    Creates a human grunt.impulse 76
    Creates an earthquake.shake
    Disables Color Modemat_yuv 1
    Disables Crosshaircrosshair 0
    Displays map listingmaps
    Enables Color Modemat_yuv 0
    Enables Crosshaircrosshair 1
    Enables mouse look+mlook
    First Person Viewfirstperson
    Gives full ammo for current weapon. Only refills secondary ammo if that was fired most recently. Cannot refill empty weapons.givecurrentammo
    Gives infinite power for sprinting, breating underwater, etc.sv_infinite_aux_power 1
    Gives you 15+ batterygive item_battery
    Gives you 25+ healthkitgive item_healthkit
    Gives you a frag grenadeweapon_frag
    Gives you all weaponsimpulse 101
    Gives you Combine vision during gameplay.r_screenoverlay effects/combine_binocoverlay.vmt
    Gives you Father Gregori's modified shotgungive weapon_annabelle
    Gives you the 'Alyx Gun'give weapon_alyxgun
    Gives you the .357 Magnum.weapon_357
    Gives you the crossbowweapon_crossbow
    Gives you the crowbarweapon_crowbar
    Gives you the Gravity Gungive weapon_physcannon
    Gives you the HEV suitgive item_suit
    Gives you the large health kit (25HP)item_healthkit
    Gives you the Overwatch Standard Issue Pulse Rifleweapon_ar2
    Gives you the pistolweapon_pistol
    Gives you the RPGweapon_rpg
    Gives you the shotgunweapon_shotgun
    Gives you the small health vial (10HP)give item_healthvial
    Gives you the SMGweapon_smg1
    Gives you weird vision during gameplay.r_screenoverlay effects/tp_eyefx/tp_eyefx.vmt
    Health never goes below 1buddha
    Increases pellets fired from each shotgun shell. 100 works well. 1000+ and it lags.sk_plr_num_shotgun_pellets #
    Increases suit charge by 15 points.give item_battery
    Kills yourself (I hardly see use for this)kill
    Limit the number of texture units. (Add number in place of #) (0=Default)mat_numtextureunits #
    Makes your Gravity Gun a Super Gravity Gunphyscannon_megacannon 1
    Move player to specified originsetpos
    NPC's do # damage with shotgunsk_npc_dmg_shotgun #
    NPC's do # damage with the pulse riflesk_npc_dmg_ar2 #
    NPC's do # damage with the smgsk_npc_dmg_smg1 #
    Plays demo.(change demo_name to the demo you want to be played)play demo_name
    Records a demo of all the user's actions within the game until the "stop" command is issued.record demo_name
    removes all shadows (a 0 restores them)mat_fullbright 1
    Removes the item or NPC you are pointed atimpulse 203
    See through wallsmat_depthbias_normal 1
    Set Gravity (Add number in place of #)dsp_explosion_effect_duration #sv_gravity #
    Set length of confusion/ear-ringing effect(Add number in place of #)dsp_explosion_effect_duration #
    Set Minimum Stopping Speed on ground (Add number in place of #)sv_stopspeed #
    Set World Friction (Add number in place of #)sv_friction #
    Sets bounce multiplier for physically simulated object collisionssv_bounce #
    Sets developer mdoe to onDeveloper 1
    Sets developer mode to offDeveloper 0
    Sets developer mode to verboseDeveloper 2
    Sets Maximum Velocity of any moving object (Add number in place of #)sv_maxvelocity #
    Show FPS ratecl_showfps 1
    shows some game info, incl. current mapstatus
    Snap players eyes to a specified pitch yawsetang
    Spawn a Jeepch_createjeep
    Spawn an airbotch_createairboat
    Spawns a Jeepimpulse 82
    Spawns a Pherapods.weapon_bugbait
    Spawns ammo for the .357 magnumgive item_ammo_357
    Spawns ammo for the Crossbowgive item_ammo_crossbow
    Spawns ammo for the Pistolgive item_box_srounds
    Spawns an Airboatimpulse 83
    Spawns energy grenades for the Overwatch Pulse Riflegive item_ammo_ar2_altfire
    Spawns grenades for the RPGgive item_rpg_round
    Spawns grenades for the RPGgive item_ml_grenade
    Spawns grenades for the SMG (strangely enough)give item_ar2_grenade
    Spawns primary fire ammo for the Overwatch Pulse Riflegive item_ammo_ar2
    Spawns primary fire ammo for the SMGgive item_box_mrounds
    Spawns shells for the 12-gauge shotgungive item_box_buckshot
    Stops recording the current demo.stop
    Takes away infinite power for sprinting, breating underwater, etc.sv_infinite_aux_power 0
    Third Person Viewthirdperson
    This creates Non-Player Characters. Guide to these characters are a bit below.npc_create
    Toggle bounding-boxes debug mode on/off red - ignore damage, white - respond to damage, green - health)prop_debug
    Turn off Black and White modemat_yuv 0
    Turn on Black and White modemat_yuv 1
    Turns cheats on. Type 0 to turn them off. Doing this will turn off achievements, though.sv_cheats 1
    Turns Non-Player Characters off. Type again to resume.ai_disable
    Turns off your HUDcl_drawhud 0
    Turns off your HUDcl_enablehud 0
    Turns on your HUDcl_drawhud 1
    Turns on your HUDcl_enablehud 1
    Unlocks Chapters 1 through #sv_unlockedchapters #

    Contributed By: Shadow., tcfreema, and DrDeanDarko.

  • Half Life 2, Episode 1, 2 and Portal Console Commands

    Activate developers code by going to the keyboard options and clicking advance. Then when in game press the ~ button.

    EffectCode
    Activates cheatssv_cheats 1
    Enemies dont target younotarget
    flynoclip
    God modeGod

    Contributed By: Deadwaste.

  • Map codes

    Enter these with the 'map' code in the console. Press ~ to activate the console.

    EffectCode
    Spawn the lab chapter near the end.d1_under_04
    Spawns in the train station after the second load point.d1_trainstation_03
    Spawns in the train station after the third load point.d1_trainstation_05
    Spawns in you in the canals after the eighth load point.d1_canal_09
    Spawns in you in the canals after the eleventh load point.d1_canals_12
    Spawns in you in the canals after the fifth load point.d1_canals_06
    Spawns in you in the canals after the fourth load point.d1_canals_05
    Spawns in you in the canals after the ninth load point.d1_canal_10
    Spawns in you in the canals after the second load point.d1_canals_03
    Spawns in you in the canals after the seventh load point.d1_canal_08
    Spawns in you in the canals after the sixth load point.d1_canals_07
    Spawns in you in the canals after the tenth load point.d1_canals_11
    Spawns in you in the canals after the third load point.d1_canals_04
    Spawns in you in the canals close to the end.d1_canals_13
    Spawns you after the canal, outside of Eli's Lab.d1_eli_01
    Spawns you after the first load point in the Citadel.d3_citadel_02
    Spawns you after the second load point in the Citadel.d3_citadel_03
    Spawns you after the third load point in the Citadel.d3_citadel_04
    Spawns you at the beginning of Chapter 13.d1_breen_01
    Spawns you at the end of the Citadel.d3_citadel_05
    Spawns you deeper in the canals.d1_canals_02
    Spawns you in City 17 after the eighth load point.d3_c17_09
    Spawns you in City 17 after the eleventh load point.d3_c17_12
    Spawns you in City 17 after the fifth load point.d3_c17_06
    Spawns you in City 17 after the first load point.d3_c17_02
    Spawns you in City 17 after the fourth load point.d3_c17_05
    Spawns you in City 17 after the ninth load point.d3_c17_10
    Spawns you in City 17 after the second load point.d3_c17_03
    Spawns you in City 17 after the seventh load point.d3_c17_08
    Spawns you in City 17 after the sixth load point.d3_c17_07
    Spawns you in City 17 after the tenth load point.d3_c18_11
    Spawns you in City 17 after the third load point.d3_c17_04
    Spawns you in Eli's Lab.d1_eli_02
    Spawns you in labd1_under_01
    Spawns you in Nova Prospektd2_prison_01
    Spawns you in Nova Prospekt after the fifth load point.d2_prison_06
    Spawns you in Nova Prospekt after the first load point.d2_prison_02
    Spawns you in Nova Prospekt after the second load point.d2_prison_03
    Spawns you in Nova Prospekt after the sixth load point.d2_prison_07
    Spawns you in Nova Prospekt after the third load point.d2_prison_04
    Spawns you in Nova Prospekt near the end of the level.d2_prison_05
    Spawns you in Ravenholmd1_town_01
    Spawns you in Ravenholm after the first load point area.d1_town_02
    Spawns you in Ravenholm after the second load point area.d1_town_03
    Spawns you in Ravenholm after the third load point area.d1_town_04
    Spawns you in the canals.d1_canals_01
    Spawns you in the city 17 rebelliond3_c17_01
    Spawns you in the coast area after the eighth load point.d2_coast_09
    Spawns you in the coast area after the fifth load point.d2_coast_06
    Spawns you in the coast area after the first load point.d2_coast_02
    Spawns you in the coast area after the fourth load point.d2_coast_05
    Spawns you in the coast area after the ninth load point.d2_coast_10
    Spawns you in the coast area after the second load point.d2_coast_03
    Spawns you in the coast area after the sixth load point.d2_coast_07
    Spawns you in the coast area after the tenth load point.d2_coast_11
    Spawns you in the coast area after the third load point.d2_coast_04
    Spawns you in the coast area near the end of it.d2_coast_08
    Spawns you in the lab chapter after the second load point.d1_under_02
    Spawns you in the lab chapter after the third load point.d1_under_03
    Spawns you in train stationd1_trainstation_01
    Spawns you in train station after the first load point.d1_trainstation_02
    Spawns you near the beginning of the Citadel.d3_citadel_01
    Spawns you near the end of City 17.d3_c17_13
    Spawns you near the end of Nova Prospekt.d2_prison_08
    Spawns you near the end of Ravenholm.d1_town_05
    Spawns you near the end of the canals.d1_canals_end
    Spawns you near the end of the coast area.d2_coast_12
    Spawns you near the end of the train station.d1_trainstation_06
    Spawns you on the coast (Vehicle)d2_coast_01
    Starts you at the creditscredits
    Starts you at the games Intro.intro

    Contributed By: Abraham SATO and Shadow..

  • Map codes

    Enter these with the 'map' code in the console. Press ~ to activate the console.

    EffectCode
    Spawns you at the beginning of Chapter 3ep1_c17_00
    Spawns you at the beginning of Chapter 4ep1_c17_01
    Spawns you in Chapter 4 City 17 after the first load point.ep1_c17_02
    Spawns you in Chapter 4 City 17 after the second load point.ep1_c17_02a
    Spawns you in Chapter 4 City 17 after the third load point.ep1_c17_02b
    Spawns you in City 17 after the first load point.ep1_c17_00a
    Spawns you in the Citadel after the first load point.ep1_citadel_01
    Spawns you in the Citadel after the second load point.ep1_citadel_02
    Spawns you in the Citadel after the third load point.ep1_citadel_03
    Spawns you in the Citadel before the lift ride.ep1_citadel_02b
    Spawns you in the last Chapter near the end.ep1_c17_06
    Spawns you in the last Chapter.ep1_c17_05
    Spawns you looking in the car garage. (You are unable to move or do anything)ep1_background01a
    Spawns you looking off into the damaged City 17. (You are unable to move or do anything)ep1_background02
    Spawns you looking up at the citadel. (You are unable to move of do anything)ep1_background01
    Spawns you near the end of the Citadel.ep1_citadel_04
    Starts you at the credits.credits
    Starts you at the intro of the game.ep1_citadel_00

    Contributed By: Shadow..

  • Spawning NPCs

    Access the console, type in "npc_create npc_<name>" and replace the name with one of these:

    EffectCode
    Spawns a barnacle.barnacle
    Spawns a Ceiling Turret.turret_ceiling
    Spawns a City 17 Citizen.citizen
    Spawns a Combine Dropshipcombinedropship
    Spawns a Combine Helicopterhelicopter
    Spawns a Combine Metrocopmetropolice
    Spawns a Combine Scanner.cscanner
    Spawns a Combine Soldier.combine_s
    Spawns a Crab Synthcrabsynth
    Spawns a Crowcrow
    Spawns a Fast Headcrabheadcrab_fast
    Spawns a Fast Zombie.fastzombie
    Spawns a Floor Turret.turret_floor
    Spawns a Headcrab Launcherlauncher
    Spawns a Headcrab.headcrab
    Spawns a Ichthyosaur.ichthyosaur
    Spawns a Manhackmanhack
    Spawns a Mortar Synthmortarsynth
    Spawns a Pigeon.pigeon
    Spawns a Poison Headcrabheadcrab_poison
    Spawns a Poison Headcrabheadcrab_black
    Spawns a Poison Zombie.poisonzombie
    Spawns a Rollermine.rollermine
    Spawns a Seagullseagull
    Spawns a Stalker.stalker
    Spawns a Strider.strider
    Spawns a Vortigaunt.vortigaunt
    Spawns a Zombie without legs.zombie_torso
    Spawns a Zombie.zombie
    Spawns a Zombine (Combine Zombie)zombine
    Spawns Alyx.alyx
    Spawns an Antlion Guard.antlionguard
    Spawns an Antlion.antlion
    Spawns Barney.barney
    Spawns Breen.breen
    Spawns Combine Gunshipcombinegunship
    Spawns Dog.dog
    Spawns Elieli
    Spawns Father Gregorimonk
    Spawns Gmangman
    Spawns Kleinerkleiner
    Spawns Mossmanmossman

    Contributed By: Shadow..

Unlockables

  • Cake Title Screen for Portal

    Beat the game to unlock it.

    Contributed By: Shadow..

  • Portal Steam Achievements

    Your achievements and stats can be viewed in Steam under: "Community -> My profile -> View all my games -> Portal (view stats)"

    UnlockableHow to Unlock
    Aperture ScienceEarn gold medals on all Portal challenges.
    Basic ScienceEarn bronze medals on all Portal challenges.
    Camera ShyDetach security cameras from the walls.
    CupcakeBeat two Portal advanced maps.
    FratricideDo whatevr it takes to survive
    Friendly FireKnock down a turret with another turret.
    FruitcakeBeat four Portal advanced maps.
    Lab RatAcquire the fully powered Aperture Science Handheld Portal Device.
    Long JumpJump 300 feet
    PartygoerMake the correct party escort submission position decision
    Rocket ScienceEarn silver medals on all Portal challenges.
    Terminal VelocityFall 30,000 feet.
    Vanilla Crazy CakeBeat six Portal advanced maps.

    Contributed By: SpiralSage.

Half-Life 2: Episode One Cheats

Achievements

  • Steam Achievements

    AchievementDescription
    Attica!Destroy the gunship in the hospital attic.
    Car CrusherUse the cars to squash 15 antlions in Episode One.
    Citizen EscortDon't let any citizens die when escorting them to the escape train.
    ConservationistKill five enemies with the same energy ball.
    ContainmentContain the Citadel core.
    Elevator ActionSurvive long enough to get on the parking garage elevator.
    Escape From City 17Escape city 17 with alyx.
    Live BaitHelp Alyx snipe 30 enemies in Episode One.
    PacifistContain the Citadel core without killing any stalkers.
    The One Free BulletFinish the game firing exactly one bullet. Grenade, crowbar, rocket, and Gravity Gun kills are okay!
    Think Fast!Kill an Elite Soldier with his own energy ball.
    Watch Your Head!Make it to the bottom of the Citadel's main elevator shaft in one piece.
    Zombie-queUse flares to light 15 zombies on fire.

    Contributed By: Guard Master.

Portal Cheats

Unlockables

  • New Intro Screen

    Beat the game

    UnlockableHow to Unlock
    Cake Intro ScreenBeat Portal once.

    Contributed By: Jankers.

Team Fortress 2 Cheats

Achievements

  • Astro-Achievements

    This is a list of the Astro-chievements. There are 11 achievements and 1 milestone in the Astro-chievements pack, released in the Pyromania Update on June 27, 2012. They can currently be achieved only in the map Doomsday.

    AchievementDescription
    Best Case ScenarioKill 6 enemies carrying the Australium during the same round.
    Cap-ogeeWin a round with at least 5 teammates on the elevator.
    Doomsday MilestoneAchieve 7 of the achievements in the Doomsday pack.
    Escape FerocityKill an enemy who has damaged the Australium carrier in the last 3 seconds.
    Failure to LaunchKill 3 players riding the elevator within 10 seconds.
    Flight CrewPlay in a game with 5 or more players from your Friends list.
    Lift-offedPush a player into the rocket's exhaust path at the end of the round.
    Mission ControlPick up the Australium from its home position and capture it without dropping it.
    Plan Nine to Outer SpaceLaunch the rocket as all 9 classes.
    Rocket BoosterWin a round after the enemy team has opened the rocket lid.
    Space CampKill an enemy within the broken crate area while they attempt to pick up the neutral Australium.
    The Fight StuffWin 138 Rounds.

    Contributed By: Apalapan.

  • Christmas Event achievements

    AchievementDescription
    Gift GrabCollect three gifts dropped by opponents.

    Contributed By: Apalapan.

  • Halloween 2012 Acheivements

    AchievementDescription
    A Lovely Vacation SpotGet to Skull Island and claim your reward!
    Wizards Never ProsperKill MERASMUS!

    Contributed By: DeadWhiteRabbit.

  • Halloween 2013 Achievements

    These pertain to the Scream Fortress event released on October 29, 2013.

    AchievementDescription
    Hat Out of HellGet the loot from Skull Island in Hell
    Helltower: Competitive SpiritWin 142 rounds
    Helltower: Hell on WheelsSend Redmond/Blutarch to Hell 10 times
    Helltower: Hell's SpellsGet and use a rare spell
    Helltower: Mine GamesScore 17 environmental kills in Hell
    Helltower: Skeleton CoupKill 99 skeletons
    Helltower: Spelling SpreeKill 25 players with spells
    The Mann-tastic FourEarn 4 Helltower achievements

    Contributed By: Shotgunnova.

  • MVM Achievements - Mannhattan &amp; Rottenburg

    These MVM maps were added on November 21, 2013.

    AchievementDescription
    A Bygone CenturyPit 100 enemies in Rottenburg
    Bank On ItAs a sniper, collect $500 in a mission without using any currency packs
    Bot-BusterKill 5 robots by destroying a sentry buster
    Chippin' InAs a team, pit 10 guys during a single wave in Manhattan
    Crasher CrusherPlay an advanced wave in Rottenburg without the bomb entering town
    Dazed and ConfusedStun 50 robots with the Rocket Specialist upgrade
    Get Off My LawnPlay an advanced mission in Manhattan without losing a single gate
    Now Legal to EatIn Manhattan, get a bot to slip on the banana peel and die in the grinder
    Palace-AidKill the tank before it crashes through Rottenburg's barrier
    Reanimator 2Use one ubercharge to reanimate two teammates within 5 seconds
    Robot FlushKill 5 robots via a single rocket while upgraded with Rocket Specialist
    Software DowngradeAs a team, kill 50 stunned radiowave bots during an advanced Manhattan mission
    Urban StrikeKill 50 gate-crashing robots in Manhattan
    Wall of PainAs a medic, block 5000 damage with the shield in one life

    Contributed By: Shotgunnova.

  • Process &amp; Standin Achievements

    These achievements were added on November 21, 2013.

    AchievementDescription
    Process of EliminationWin 141 rounds on Process
    Stand and DeliverWin 139 rounds on Standin

    Contributed By: Shotgunnova.

  • Snakewater Achievements

    These achievements were added on November 21, 2013.

    AchievementDescription
    Log JamminKill 15 enemies in the rafters above the central control point
    Mutually Air-Sured-DestructionWhile rocket-jumping, kill a rocket-jumping enemy who also kills you with a rocket
    SnakebitWin a round in which the enemy has attempted to capture your final control point
    Snakewater SalesmanWin 141 rounds
    The SnakeoutWipe the other team with 12 or more players on the server

    Contributed By: Shotgunnova.

  • The Replay Update Achievements

    Fulfill the requirements to unlock the achievements.

    AchievementDescription
    BlockbusterAchieve 100,000 YouTube™ views for your movie.
    Home MovieAchieve 100 YouTube™ views for your movie.
    Indie Film SensationAchieve 10,000 YouTube™ views for your movie.
    Local Cinema StarAchieve 1,000 YouTube™ views for your movie.
    Star of My Own ShowSpend some time editing a replay.
    That’s a WrapSave your very first replay.
    Time For Your Close-Up, Mr. HaleRender a replay into a movie.
    We Can Fix It In PostWhile watching a replay, press space bar to enter the editor.

    Contributed By: Shadow Edge.

Know Something We Don't?

You can submit new cheat codes for this game using our Cheat Submission Form.

Have We Been Fooled?

If you see a non-working or fake code in the list above, let us know by using our Problem Submission Form.