GameBurnWorld

PC CHEATS

HALF LIFE 2

Cheat Mode

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.

Effect

Code

God mode (server only)

god

Spawn indicated item

give <item name>

Reduce your health

buddha

Damage player

hurtme <amount>

All weapons

impulse 101

Skulls

impulse 102

Spawn a jeep

impulse 82

Spawn a scout car

ch_createjeep

Spawn an airboat

ch_createairboat

Ignored by NPCs

notarget

Walk through objects (server only)

noclip

List maps

maps

Load indicated map

map <map name>

Toggle developer mode; 2 is verbose

developer <0-2>

Enable mouse look

+mlook

Show crosshairs

hud_quickhelp/text? 1

Sets the size of carried weapon; 54 is default

viewmodel_fov <number>

Execute script file

exec <filename>

Toggle HUD display

cl_drawhud <0 or 1>

Toggle HUD display

cl_enablehud <0 or 1>

Toggle frame rate display

cl_showfps <0 or 1>

Creates an NPC; only where NPC are allowed

npc_create <name>

Create an NPC aiming away from player

npc_create_aimed

Toggle picker mode.

picker

Set gravity value

sv_gravity <number>

Set minimum stopping speed when on ground

sv_stopspeed <number>

Set world friction

sv_friction <number>

Set bounce multiplier for physically simulated objects collision

sv_bounce <number>

Set maximum velocity of any moving object

sv_maxvelocity <number>

Set vertical view fixup when eyes are near water plane

sv_waterdist <number>

Change air density

air_density <number>

Set length of explosion confusion

dsp_explosion_effect_duration <number>

Toggle bounding-boxes debug mode; red: ignore damage, white: respond to damage, green: health

prop_debug

Toggle reporting missing .WAV files

sv_soundemitter_filecheck

Limits the number of texture units; 0 lets the game decide

mat_numtextureunits <number>

Unknown

mat_yuv 0

Developer Mode

After enabling cheat mode, enter sv_cheats 1 at the console window. The following codes may now be enabled at the console window

Effect

Code

Move player to indicated location

setpos <coordinates>

Set view to indicated pitch yaw

Setang <value>

Wire frame models

mat_wireframe1

Only wireframe objects effected by physics

vcollide_wireframe 1

Show game triggers

showtriggers_toggle

Show normal maps

mat_normalmaps 1

Show surface materials

mat_normals 1

Toggle bump mapping

mat_fastnobump <0 or 1>

No weapon model onscreen

impulse 200

Map Names

Use one of the following entries with the map code:

d1_canals_01
d1_canals_01a
d1_canals_02
d1_canals_03
d1_canals_05
d1_canals_06
d1_canals_07
d1_canals_08
d1_canals_09
d1_canals_10
d1_canals_11
d1_canals_12
d1_canals_13
d1_eli_01
d1_eli_02
d1_town_01
d1_town_01a
d1_town_02
d1_town_02a
d1_town_03
d1_town_04
d1_town_05
d1_trainstation_01
d1_trainstation_02
d1_trainstation_03
d1_trainstation_04
d1_trainstation_05
d1_trainstation_06
d2_coast_01
d2_coast_03
d2_coast_04
d2_coast_05
d2_coast_07
d2_coast_08
d2_coast_09
d2_coast_10
d2_coast_11
d2_coast_12
d2_prison_01
d2_prison_02
d2_prison_03
d2_prison_04
d2_prison_05
d2_prison_06
d2_prison_07
d2_prison_08
d3_breen_01
d3_c17_01
d3_c17_02
d3_c17_03
d3_c17_04
d3_c17_05
d3_c17_06a
d3_c17_06b
d3_c17_07
d3_c17_08
d3_c17_09
d3_c17_10a
d3_c17_10b
d3_c17_11
d3_c17_12
d3_c17_12b
d3_c17_13
d3_citadel_01
d3_citadel_02
d3_citadel_03
d3_citadel_04
d3_citadel_05

Weapon Names

Use one of the following entries with the give code:

weapon_357 (.357 Magnum)
weapon_alyxgun (may not work at certain times, and may cause undesired effects)
weapon_ar2 (pulse gun)
weapon_bugbait (Pheropod)
weapon_cguard (may not work at certain times, and may cause undesired effects)
weapon_crowbar (crowbar)
weapon_crossbow (crossbow)
weapon_frag (grenade)
weapon_physcannon (Gravity gun; may not work at certain times, and may cause undesired effects)
weapon_pistol (9mm pistol)
weapon_rpg (RPG)
weapon_shotgun (shotgun)
weapon_smg1 (submachine gun)
weapon_cubemap (may not work at certain times, and may cause undesired effects)

Item Names

Use one of the following entries with the give code:

item_ar2_grenade (submachine gun grenades)
item_box_buckshot (shotgun ammo)
item_box_lrounds (pulse gun ammo)
item_box_mrounds (submachine gun ammo)
item_box_srounds (9mm pistol ammo)
item_healthkit (large health kit; 25 HP)
item_battery (HEV suit battery; 15 AP)
item_ml_grenade (RPG ammo)
item_suit (HEV suit)
item_ar2_grenade
item_healthvial
(small health kit; 10 HP)
item_ammo_357 (.357 magnum ammo)
item_ammo_crossbow (crossbow ammo)

NPC Names

Use one of the following entries with the npc_create code:

npc_alyx
npc_antlion
npc_antlionguard
npc_barnacle
npc_barney
npc_breen
npc_citizen
npc_combine_s
npc_combinedropship
npc_combinegunship
npc_crow
npc_cscanner
npc_dog
npc_eli
npc_fastzombie
npc_gman
npc_headcrab
npc_headcrab_black
npc_headcrab_fast
npc_headcrab_poison
npc_helicopter
npc_ichthyosaur
npc_kleiner
npc_launcher
npc_manhack
npc_metropolice
npc_monk
npc_mossman
npc_pigeon
npc_poisonzombie
npc_rollermine
npc_seagull
npc_stalker
npc_strider
npc_vortigaunt
npc_zombie
npc_zombie_torso

Additional Command Line Parameters

Start the game with one of the following command line parameters to activate the corresponding feature.

Effect

Command line parameter

Full screen mode

-fullscreen

Set heap size

-heapsize 80000

Set window size

-width 1024 -height 768

Graph connection throughput in multi-player; 0 is off, 3 is most detailed

-netgraph <0-3>

Force DirectX <version> compatibility; less than 8 not advised

-dxlevel <number>0

Use indicated filename for shader library

-shaderdll <filename>

Look around by using mouse

-mouselook

Add debug messages to ingame console

-condebug

Software mode for rendering

-sw

Run in window

-startwindowed

Run in window

-window

Run in window

-windowed

Toggle anamorphic widescreen mode

-r_anamorphic <0 or 1>

Load all level data at start of level

-preload

Unknown

-mat_preloadshaders

All Chapters

Use a text editor to edit the "config.cfg" file in the "\hl2\cfg" directory. Locate the "sv_unlockedchapters" line and change its value to "15".

half life 2 Cheat, Cheats, Code and Codes, half life 2 Cheat, Cheats, Code and Codes

half life 2 Cheat, Cheats, Code and Codes, half life 2 Cheat, Cheats, Code and Codes

Navigation