Codes

Debug Cheats

Adds a random upgrade category (1 is defense, 2 used to be offense, 3 is movement, 4 is sensory)

addcat x (where x is 1-4)

Adds a tooltip named ''lala''. It will translate this tooltip if found in titles.txt, if possible.

tooltip lala

All buildings are built instantly, doesn't require manual building

bigdig

All research happens nearly instantly

hightech

As an alien, creates a random new hive for your team

spawnhive

As an alien, destroys a random hive addcat x - X where is 1-4. Adds a random upgrade

killhive

Causes NS to assert

assert

Causes NS to crash.

crash

CO maps only, gives you lvl 50

givexp 99999

Does a little damage to one command station

attackcs

Draws boxes around all buildables (not sure if this still works). Effect goes away after a short time.

boxes

Drops you out of command mode, useful when your mouse or the logout button stops working

stopcommandermode

Ends 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.

endgame

Generates a new minimap. Very CPU intensive. Saved in the ns/sprites/minimaps directory.

buildminimap

Generates a random alert.

alert

Gives 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

giveupgrade x

Gives you a jetpack ('rines only of course)

give item_jetpack

Gives you some points

givepoints (bound to F11 by default)

Gives you the effects of having just touched one web. Use multiple times to simulate touching multiple webs.

web

Kills all command stations.

killcs

Kills all players in the game with your current weapon (won't kill teammates unless FF is on via tournament mode)

killall

Like giveupgrade but removes one.

removeupgrade x

Lists all particle systems in NS and in the map

listps

Makes it easier to test redemption

redeem

Paralyzes self (like level 5 ability)

paralyze

Parasites self (no damage)

parasite

Plays a ''you just got points for killing the enemy event'', for testing where the commander can see events (he can't sometimes, when hovering over the void, or inside geometry)

testevent

Removes a random upgrade category

removecat x

Reports the current number of human players

getnumplayers

Runs a client-side script.

clientrun <name>

Runs a server-side script. Ignore this until scripting is more in place.