Game Platforms

Half Life 2

PC Windows

Console Codes

In order to enter the following passwords you will need to first modify the game shortcut. To do this right-click on the Half-Life 2 icon on your desktop, select Properties and in the properties window add the " -console" parameter (without the quotes) at the end of the target field so it looks similar to this: "C:\Program Files\Half-Life 2\hl2.exe" -console. Next click apply to save the changes and now run the game by using that shortcut. Use the [~] key during gameplay to bring up the console and enter the following codes there:

Code - Effect

noclip - Ability to walk through walls (Server Side Only)

sv_cheats 1 - Activates Cheats

viewmodel_fov # - Adjusts size of the weapon you're carrying (54 = default)

impulse 101 - All Weapons

air_density # - Change the density of air. (Add number in place of #)

npc_create - Creates an NPC

npc_create_aimed - Creates an NPC (Aiming away from player)

Hurtme # - Damages player by whatever variable you input as #

maps - Displays Map listing

+mlook - Enables mouse look

exec # - Execute a script file (Input filename in place of #)

firstperson - First Person View

give # - Give weapon (Input weapon name in place of #)

God - God Mode (Server side only)

impulse 76 - Grunt-O-Matic

notarget - Invisible to NPC's

mat_numtextureunits # - Limit the number of texture units. (Add number in place of #) (0=Default)

Map # - Load Map (Input title in place of #)

setpos - Move player to specified origin

give weapon_shotgun - Recieve a Shotgun

buddha - Reduces Health

mat_depthbias_normal 1 - See through walls

sv_gravity # - Set Gravity (Add number in place of #)

dsp_explosion_effect_duration # - Set length of confusion/ear-ringing effect(Add number in place of #)

sv_stopspeed # - Set Minimum Stopping Speed on ground (Add number in place of #)

sv_waterdist # - Set Vertical View when eyes are near water plane.

sv_friction # - Set World Friction (Add number in place of #)

sv_bounce # - Sets bounce multiplier for physically simulated object collisions

Developer # - Sets developer mode to on/off/verbose (0-off, 1-on, 2-verbose)

sv_maxvelocity # - Sets Maximum Velocity of any moving object (Add number in place of #)

hud_quickhelp/text? 1 - Shows Crosshairs

cl_showfps 1 - Shows FPS Rate

setang - Snap players eyes to a specified pitch yaw

impulse 82 - Spawn a Jeep

thirdperson - Third Person View

prop_debug - Toggle bounding-boxes debug mode on/off red - ignore damage, white - respond to damage, green - health)

cl_enablehud 1 - Toggle HUD display On

cl_drawhud 1 - Toggle HUD display On

sv_soundemitter_filecheck - Toggle reporting missing .wav files for sounds

picker - Toggles Picker mode on