Cheat mode Note:
This cheat involves editing a game file so make a backup copy of
the file before going on. Nowse a text editor to edit the
"ep2cfgconfig.cfg" file in the game directory. Set the value of
the "con_enable" line to "1". Now check the "toggleconsole" line
to be sure it is bound to a key (default is `). Then
press that key while playing to bring up the console window and
type sv_cheats 1
to activate cheat mode. Then, type in one of the codes below to
activate the desired cheat . You can also display the debug menu
by pressing [Shift]
+ 1.
Also most other codes from the original
Half-Life 2
can be used as well.
Code
Effect
sv_cheats 0
Disable cheat mode
ai_disable
Toggle enemy
artificial intelligence
buddha
Toggle Buddha mode,
damage does not result in death
ch_createairboat
Spawn airboat
ch_createjeep
Spawn jeep
god
Toggle God mode
hurtme <number>
Lose indicated number
of health points
impulse 101
All weapons and
ammunition
mat_wireframe 1
Wireframe mode
noclip
No clipping mode
notarget
Toggle ignored by
enemies
r_modelwireframedecal
1
Display damage done to
enemy in wireframe mode
sv_noclipduringpause 1
Allows no clipping
while game is paused
sv_infinite_aux_power
1
Unlimited auxiliary
power
showtriggers 0
Shows trigger brushes
when set to 0
bind
Bind key to console
command
cl_showfps <0 or 1>
Toggle display of
frame rate and filename of current map
cl_showpos <0 or 1>
Toggle current
position and angle display
crosshair <0 or 1>
Toggle crosshair
getpos
Display current
positional co-ordinates
give <name>
Spawn item, one time
only
jpeg
Save screenshot to
"episodicscreenshots.<number>"
kill
Commit suicide
map <name>
Load indicated map to
a specific map
maps *
List map names
perfui 1
Level performance
tools
playdemo
Play back existing
demo
record
Records a demo of your
game
reload
Reload current save
file
restart
Restart the current
level
setang
Set view direction
setpos <coordinates>
Set position on the
map
shake
Shake your character
stop
Stop demo recording
sv_gravity <number>
Set gravity; default
is "600"
Spawn names Use one of the entries below
with the npc_create
code above.