Your home of Half-Life 2 Codes and Half-Life 2 Hints
Half-Life 2 Cheats
Cheat Codes > PC Cheats > Half-Life 2 Cheat Codes

Half-Life 2 Cheats

PC

Additional Command-line Parameters
Start the game with one of the following command line parameters to activate the corresponding feature:

ResultCommand Line Parameter
Full screen mode-fullscreen
Set heap size-heapsize 80000
Set window size-width 1024 -height 768
Unknown-r_anamorphic 0
Unknown-netgraph 3
Unknown-mat_preloadshaders
Unknown-preload
Unknown-dx9
Unknown-dxlevel 90
Unknown-shaderdll shader_nvfx_ps20.dll
Unknown-mouselook
Unknown-dx8
Unknown-condebug
Unknown-sw
Unknown-startwindowed
Unknown-window
Unknown-windowed

Cheat Codes
Open Steam, go to your "Play Games" menu, and select Half-Life 2. Right click on it and select "Properties". Click the Launch Options button, then type "-console". Click "Ok", then close. Double click Half-Life 2 to start the game. Once it is loaded and you are playing, press the ~ key to bring up the console. Then, enter "sv_cheats 1" and press [Enter]. You can now enter the following codes at the console window. Also, any code can be used as a command line parameter by prefixing it with the "-" character.
Note: For games that were downloaded from Steam, to use cheats in single player mode, start the game with the "-applaunch -dev -tconsole" command line parameter.

Result Cheat Code
God mode (server only)god
Walk through objects (server only)noclip
All weaponsimpulse 101
Spawn a jeepimpulse 82
Ignored by NPCsnotarget
Load indicated mapmap [map name]
Spawn indicated itemgive [item name]
Reduce your healthbuddha
Damage playerhurtme [amount]
List mapsmaps
Toggle developer mode; 2 is verbosedeveloper [0-2]
Toggle picker modepicker
Toggle HUD displaycl_drawhud [0 or 1]
Toggle HUD displaycl_enablehud [0 or 1]
Toggle frame rate displaycl_showfps [0 or 1]
Enable mouse look+mlook
Show crosshairshud_quickhelp/text? 1
Sets the size of carried weapon; 54 is defaultviewmodel_fov [number]
Execute script fileexec [filename]
Creates an NPC; only where NPC are allowednpc_create
Create an NPC aiming away from playernpc_create_aimed
Move player to indicated location; requires
sv_cheats 1
setpos [coordinates]
Set view to indicated pitch yaw; requires
sv_cheats 1
Setang [value]
Set gravity valuesv_gravity [number]
Set minimum stopping speed when on groundsv_stopspeed [number]
Set world frictionsv_friction [number]
Set bounce multiplier for physically simulated
objects collision
sv_bounce [number]
Set maximum velocity of any moving objectsv_maxvelocity [number]
Set vertical view fixup when eyes are near water
plane
sv_waterdist [number]
Change air densityair_density [number]
Set length of explosion confusiondsp_explosion_effect_duration [number]
Toggle bounding-boxes debug mode; red: ignore
damage, white: respond to damage, green: health
prop_debug
Toggle reporting missing .WAV filessv_soundemitter_filecheck
Limits the number of texture units; 0 lets the game
decide
mat_numtextureunits [number]
Move player to indicated locationsetpos [coordinates]
Set view to indicated pitch yawSetang [value]
Wire frame modelsmat_wireframe1
Only wireframe objects effected by physicsvcollide_wireframe 1
Toggle bump mappingmat_fastnobump [0 or 1]
No weapon model onscreenimpulse 200
Show game triggersshowtriggers_toggle
Show normal mapsmat_normalmaps 1
Show surface materialsmat_normals 1
Unknownmat_yuv 0
Item Names
Use one of the following values with the "give [item name]" code:

    item_box_buckshot
    item_box_mrounds
    item_box_sniper_rounds
    item_box_srounds
    item_healthkit
    item_battery
    item_suit
    item_ml_grenade
    item_ar2_grenade
    item_healthvial
Map Names
Use one of the following values with the "map [map name]" code:

    d1_canals_01
    d1_canals_02
    d1_canals_end
    d1_tempanals_02
    d1_town_01
    d1_town_02
    d1_town_03
    d1_town_04
    d1_town_05
    d1_trainstation_01
    d1_trainstation_02
    d1_trainstation_03
    d1_trainstation_05
    d1_under_01
    d1_under_02
    d1_under_03
    d1_under_04
    d2_coast_01
    d2_coast_02
    d2_coast_03
    d2_coast_04
    d2_coast_04_dx60
    d2_coast_05
    d2_coast_06
    d2_coast_07
    d2_coast_08
    d2_prison_01
    d2_prison_02
    d2_prison_03
    d2_prison_04
    d2_prison_05
    d3_c17_03
    d3_c17_04
    d3_c17_05
    d3_c17_06a
    d3_c17_06b
    d3_c17_07
Weapon Names
Use one of the following values with the "give [item name]" code:

    weapon_alyxgun
    weapon_ar1
    weapon_ar2
    weapon_bugbait
    weapon_cguard
    weapon_crowbar
    weapon_extinguisher
    weapon_flaregun
    weapon_frag
    weapon_gauss
    weapon_hopwire
    weapon_iceaxe
    weapon_physcannon
    weapon_physgun
    weapon_pistol
    weapon_rpg
    weapon_shotgun
    weapon_smg1
    weapon_smg2
    weapon_stickylauncher
    weapon_stunstick
    weapon_thumper
    weapon_sniperrifle
    weapon_rollerwand
    weapon_molotov
    weapon_manhack
    weapon_immolator
    weapon_irifle
    weapon_slam
    weapon_hmg1
    weapon_cubemap
    weapon_binoculars
    weapon_ml
    weapon_brickbat


No Gameshark Half-Life 2 Hacks found.

Get Half-Life 2
Find a great deal on Half-Life 2 at Amazon.com

Half-Life 2 Strategy Guide
Get help with the Half-Life 2 Strategy Guide at Amazon.com

© 2017 Total Cheats. All Rights Reserved.