Difference between revisions of "Console Commands"

From Clogopedia, the Natural Selection 2 Wiki
Jump to: navigation, search
(specify parameters, added commands)
(add commands)
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. Required parameters are enclosed by <>. Optional parameters are enclosed by [].
+
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.
  
 
==Gameplay==
 
==Gameplay==
Line 9: Line 9:
 
!Parameters
 
!Parameters
 
!Description
 
!Description
 +
|-
 +
|style="color:white"|<kbd>bind</kbd>||[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.
 +
|-
 +
|style="color:magenta"|<kbd>cheats</kbd>||<float>||Turn cheats on or off. 0 turns off cheats, any other number turns cheats on.
 
|-
 
|-
 
|style="color:white"|<kbd>clear</kbd>||''none''||Clear the console.
 
|style="color:white"|<kbd>clear</kbd>||''none''||Clear the console.
Line 25: Line 29:
 
|-
 
|-
 
|style="color:white"|<kbd>name</kbd>||<string>||Change your name as seen on the scoreboard. Quotes are not required in general.
 
|style="color:white"|<kbd>name</kbd>||<string>||Change your name as seen on the scoreboard. Quotes are not required in general.
 +
|-
 +
|style="color:orange"|<kbd>pres</kbd>||[float]||Set your Personal Resources to the parameter. If no parameter is given, set it to 100.
 
|-
 
|-
 
|style="color:white"|<kbd>readyroom</kbd>||''none''||Leave your team and go to the ready room. ''Same as ''<kbd>rr</kbd>.
 
|style="color:white"|<kbd>readyroom</kbd>||''none''||Leave your team and go to the ready room. ''Same as ''<kbd>rr</kbd>.
Line 33: Line 39:
 
|-
 
|-
 
|style="color:white"|<kbd>spectate</kbd>||''none''||Join the spectators.
 
|style="color:white"|<kbd>spectate</kbd>||''none''||Join the spectators.
 +
|-
 +
|style="color:orange"|<kbd>tres</kbd>||[float]||Set your team's Team Resources to the parameter. If no parameter is given, set it to 100.
 
|}
 
|}
  
 
==Aliens==
 
==Aliens==
 
These commands can only be used while on Aliens.
 
These commands can only be used while on Aliens.
 +
{|class="ns2table collapsible"
 +
!Command
 +
!Parameters
 +
!Description
 +
|-
 +
|style="color:white"|<kbd>hivevision</kbd>||<string>||Enable or disable outlines around objects in commander view. "false" disables outlines, any other string enables outlines.
 +
|}
  
 
==Marines==
 
==Marines==

Revision as of 04:49, 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 delineated 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 yourself and others, and can be used while on either team.

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.
clear none Clear the console.
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 can only be used while on Aliens.

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 can only be used while on Marines.

Insight

These commands can only be used while spectating.

Bots

These commands affect the bots on the server.

Server Administration

These commands can help you manage the server.

Debug

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

Rendering

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

Networking

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