Cheat mode Load a game using the command
line hl.exe -dev -console.
Then, press ~
if the orange text on the screen does not show. while playing.
Then press ~
to show the text prompt and type in
sv_cheats 1.
Now press ~
and type in one of the console commands below to activate the
desired cheat.
Code
Effect
spawnhive
New
random hive for alien team
killhive
Destroy
random hive for alien team
addcat
<1-4>
Random
upgrade category (1 for defense, 2 for offense, 3 for
movement, 4 for sensory)
removecat
<1-4>
Remove
upgrade category
givepoints
Get
points
killall
Kill all
players with your current weapon
invul
Toggle
invincibility for yourself.
startgame
Immediately start game
Endgame
<1 or 2>
End game
with victory for indicated team
tooltip
lala
Lala
tooltip
testevent
Play test
event
getnumplayers
Display
current number of human players
startcommandermode
Teleport
to nearest command station and start commander mode
stopcommandermode
Exit
commander mode
web
Simulate
one web touch
setculldistance <value>
Set
culling distance needed for commander mode
setgamma
<1.0-2.0>
Set
env_gamma level
bigdig
Instant
building construction
hightech
Instant
research
orderself
Give
orders to yourself
editps
<name>
Edit
particle system
listps
Lists
particle systems
buildminimap
Generate
new minimap.
crash
Crash NS
assert
Causes NS
to assert
run
<name>
Run
server-side script
clientrun
<name>
Run a
client-side script
giveupgrade <upgrade code>
Get
indicated upgrade
removeupgrade <upgrade code>
Remove
indicated upgrade
killcs
Kill all
command stations
attackcs
Slightly
damage one command station
alert
Generate
random alert
parasite
Parasites
self (no damage)
paralyze
Paralyzes
self (as level 5 ability)
boxes
Show
bounding boxes
overflow
Attempt
to overflow player
deathmessage <weapon name>
Send test
death message
setskin
<0 or 1>
Set skin
color 0 is white, 1 is black
redeem
Easier
redemption test
Upgrade codes Use one of the values below
with the giveupgrade
and removeupgrade
codes above.