Half-Life: Natural Selection

Debug Cheats
NOTE: sv_cheats must be set to 1 in order for these cheats to work.
CodeEffect
addcat x (where x is 1-4)Adds a random upgrade category (1 is
defense, 2 used to be offense, 3 is movement, 4 is sensory)
tooltip lalaAdds a tooltip named ''lala''. It will translate this
tooltip if found in titles.txt, if possible.
bigdigAll buildings are built instantly, doesn't require manual
building
hightechAll research happens nearly instantly
spawnhiveAs an alien, creates a random new hive for your team
killhiveAs an alien, destroys a random hive addcat x - X where is
1-4. Adds a random upgrade
assertCauses NS to assert
crashCauses NS to crash.
givexp 99999CO maps only, gives you lvl 50
attackcsDoes a little damage to one command station
boxesDraws boxes around all buildables (not sure if this still
works). Effect goes away after a short time.
stopcommandermodeDrops you out of command mode, useful when your
mouse or the logout button stops working
endgameEnds the current game (as a victory for team one). You can
also type ''endgame 1'' for the same effect. If you type ''endgame
2'', it will be a victory for team 2.
buildminimapGenerates a new minimap. Very CPU intensive. Saved in
the ns/sprites/minimaps directory.
alertGenerates a random alert.
giveupgrade xGives an upgrade. 20-22 are the marine armor upgrades,
23-25 are the marine damage upgrades, 28 is jetpacks, 29 is power
armor, 31 is faster reinforcements, 33 is motion-tracking, 26 is
siege, 27 is stimpack, 30 is distress beacon
give item_jetpackGives you a jetpack ('rines only of course)
givepoints (bound to F11 by default)Gives you some points
webGives you the effects of having just touched one web. Use
multiple times to simulate touching multiple webs.
killcsKills all command stations.
killallKills all players in the game with your current weapon (won't
kill teammates unless FF is on via tournament mode)
removeupgrade xLike giveupgrade but removes one.
listpsLists all particle systems in NS and in the map
redeemMakes it easier to test redemption
paralyzeParalyzes self (like level 5 ability)
parasiteParasites self (no damage)
testeventPlays a ''you just got points for killing the enemy
event'', for testing where the commander can see events (he can not
sometimes, when hovering over the void, or inside geometry)
removecat xRemoves a random upgrade category
getnumplayersReports the current number of human players
clientrun Runs a client-side script.
run Runs a server-side script. Ignore this until scripting is
more in place.
deathmessage Sends test death message to all. Example:
''deathmessage machinegun'', ''deathmessage bitegun''
setgamma xSets the current env_gamma level, where x is a number from
1.0 to 2.0. This affects all players.
setskin xSets the players skin (0 for white marine, 1 for black
marine)
give team_xSpawns a structure, though I don't know how to make them
build (Maybe with bigdig active) (Examples: hive, armory,
turretfactory)
give weapon_xSpawns a weapon or ability (depending on your team)
(Examples: grenadegun, heavymachinegun, devour, blink)
startgameStarts game immediately
startcommandermodeTeleports you near the 1st command station it
finds and starts commander mode. This will sometimes teleport you
inside geometry.
invulToggles invulnerability for yourself.
overflowTries to overflow player.
setculldistance xUsed by mappers to find the minimum culling
distance needed for commander mode on their maps.
editps Used to edit a particle system
orderselfWhen commanding and giving orders, this will give the
orders to yourself, so you can logout and see how they look on the
HUD. (cannot be turned off)