Difference between revisions of "Console Commands"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
(add commands)
m
Line 1: Line 1:
 
{{Under Construction}}
 
{{Under Construction}}
This page lists '''console commands'''. To execute a command, open the console by pressing '~', type the command, then press 'ENTER'.
+
This page lists '''console commands'''. To execute a command, open the console by pressing ~, type the command, then press ENTER.
Commands listed in <font color=white><kbd>white</kbd></font> can be executed at any time. Commands listed in <font color=orange><kbd>orange</kbd></font> require cheats to be enabled. Commands listed in <font color='magenta'><kbd>magenta</kbd></font> require permission from the server. The ''Parameters'' column states the type of parameter accepted (e.g. float, key), or lists the accepted parameters delineated by |. Required parameters are enclosed by <>. Optional parameters are enclosed by []. If a command accepts multiple parameters, these are separated by spaces.
+
Commands listed in <font color=white><kbd>white</kbd></font> can be executed at any time. Commands listed in <font color=orange><kbd>orange</kbd></font> require cheats to be enabled. Commands listed in <font color='magenta'><kbd>magenta</kbd></font> require permission from the server. The ''Parameters'' column states the type of parameter accepted (e.g. float, key), or lists the accepted parameters separated by |. Required parameters are enclosed by <>. Optional parameters are enclosed by []. If a command accepts multiple parameters, these are separated by spaces.
  
 
==Gameplay==
 
==Gameplay==

Revision as of 05:52, 8 July 2016

MAC.png This article is currently under construction.


This page lists console commands. To execute a command, open the console by pressing ~, type the command, then press ENTER. Commands listed in white can be executed at any time. Commands listed in orange require cheats to be enabled. Commands listed in magenta require permission from the server. The Parameters column states the type of parameter accepted (e.g. float, key), or lists the accepted parameters separated by |. Required parameters are enclosed by <>. Optional parameters are enclosed by []. If a command accepts multiple parameters, these are separated by spaces.

Gameplay

These commands affect gameplay for both Marines and Aliens.

Command Parameters Description
bind [key [function]] Bind the specified function to the specified key. If a function is not specified, the key will be unbound from every action that does not appear in the list of bindings in the settings menu. If a key is not specified, a list of bindable keys will be displayed in the console.
cheats <float> Turn cheats on or off. 0 turns off cheats, any other number turns cheats on.
darwinmode none Toggle invulnerability and unlimited energy/ammo.
j1 none Join the Marine team. Same as jointeamone.
j2 none Join the Alien team. Same as jointeamtwo.
jointeamone none Join the Marine team. Same as j1.
jointeamtwo none Join the Alien team. Same as j2.
kill none Commit suicide.
logout none Exit the Command Station or Hive.
name <string> Change your name as seen on the scoreboard. Quotes are not required in general.
pres [float] Set your Personal Resources to the parameter. If no parameter is given, set it to 100.
readyroom none Leave your team and go to the ready room. Same as rr.
rr none Leave your team and go to the ready room. Same as readyroom.
say <string> Send a text message to allchat. Quotes are not required in general.
spectate none Join the spectators.
tres [float] Set your team's Team Resources to the parameter. If no parameter is given, set it to 100.


Aliens

These commands affect gameplay for the Alien team.

Command Parameters Description
hivevision <string> Enable or disable outlines around objects in commander view. "false" disables outlines, any other string enables outlines.

Marines

These commands affect gameplay for the Marine team.

Command Parameters Description
giveammo <string> Give yourself ammo for the currently selected weapon.


Insight

These commands affect gameplay for spectators.


Bots

These commands affect the bots on the server.


Server Administration

These commands can help you manage the server.

Command Parameters Description
sv_status none List in-game name, game ID, and Steam ID for all players on the server.
sv_changemap <string> Change the map to the one specified. Default maps are not case-sensitive, custom maps are. If the map cannot be found, the server selects the first map in MapCycle.json.


Debug

These commands can give you more information about how the game is running.

Command Parameters Description
debugspeed none Toggles a speedometer on your HUD.
fps none Display your current frames-per-second in the top left corner of your screen.


Rendering

These commands tell the game what to draw on your screen.

Command Parameters Description
clear none Clear the console.


Networking

These commands can give you more information about how your client and the server are communicating.