• Debug Cheats

    NOTE: sv_cheats must be set to 1 in order for these cheats to work.

    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 buildingbigdig
    All research happens nearly instantlyhightech
    As an alien, creates a random new hive for your teamspawnhive
    As an alien, destroys a random hive addcat x - X where is 1-4. Adds a random upgradekillhive
    Causes NS to assertassert
    Causes NS to crash.crash
    CO maps only, gives you lvl 50givexp 99999
    Does a little damage to one command stationattackcs
    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 workingstopcommandermode
    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 beacongiveupgrade x
    Gives you a jetpack ('rines only of course)give item_jetpack
    Gives you some pointsgivepoints (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 maplistps
    Makes it easier to test redemptionredeem
    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 categoryremovecat x
    Reports the current number of human playersgetnumplayers
    Runs a client-side script.clientrun <name>
    Runs a server-side script. Ignore this until scripting is more in <name>
    Sends test death message to all. Example: ''deathmessage machinegun'', ''deathmessage bitegun''deathmessage <weaponname>
    Sets the current env_gamma level, where x is a number from 1.0 to 2.0. This affects all players.setgamma x
    Sets the players skin (0 for white marine, 1 for black marine)setskin x
    Spawns a structure, though I don't know how to make them build (Maybe with bigdig active) (Examples: hive, armory, turretfactory)give team_x
    Spawns a weapon or ability (depending on your team) (Examples: grenadegun, heavymachinegun, devour, blink)give weapon_x
    Starts game immediatelystartgame
    Teleports you near the first command station it finds and starts commander mode. This will sometimes teleport you inside geometry.startcommandermode
    Toggles invulnerability for yourself.invul
    Tries to overflow player.overflow
    Used by mappers to find the minimum culling distance needed for commander mode on their maps.setculldistance x
    Used to edit a particle systemeditps <name>
    When 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)orderself

    Contributed By: pikachu1221 and Mrperson13989.

Know Something We Don't?

You can submit new cheat codes for this game using our Cheat Submission Form.

Have We Been Fooled?

If you see a non-working or fake code in the list above, let us know by using our Problem Submission Form.