Console Command Summary

This is a general summary of some of the console commands that are in SRB2. More information can be found on the website.

Commands

CONNECT <ip> Connects to the specified IP address. If no IP is specified, it will search on the LAN for a game.
KICK <name or node #> Kicks a player in the current game (server only).
GETPLAYERNUM Lists all of the players in the game, their number in the array, and their node #s.
TUNES <slot> Temporarily changes the game music.
DISPLAYPLAYER Displays the number of the current player being displayed.
LISTSERV Retrieves a list of games currently running if the master list is active.
NODES Lists all of the players in the game and their node #s.
SCREENSHOT Takes a screenshot of the game. Useful to bind a key to.
CHANGECFG <filename> Saves the current config and loads another.
LOADCFG <filename> Loads a new config without saving.
SAVECFG <filename> Saves the current configuration.
SETCONTROL

SETCONTROL2

Manually changes the controls of 1P and 2P. See config.cfg for an example.
QUIT Exits the game.
PAUSE Pauses the game.
ADDFILE <filename> Adds a file to the game.
EXITLEVEL Exits the current level.
EXITGAME Exits the current game.
MAP MAPxx (01-99) Changes the level.
STOPDEMO Stops the currently running demo.
TIMEDEMO Plays back a demo at full speed. Useful for benchmarking.
PLAYDEMO Plays back a recorded demo.
CHANGETEAM x (RED or BLUE) Changes the current CTF team you are on.
BIND <key> <command> Binds a command to a key.
CLS Clears the console buffer.
TOGGLE Type HELP TOGGLE for more information
HELP Provides help.
WAIT Waits a certain number of game tics before executing the next command.
EXEC <filename> Executes a console script.
ECHO Echos whatever you type.
ALIAS Creates an alias. Type HELP ALIAS for more information.
SAYTEAM <message> Sends a message to your team.
SAYTO <playername> <message> Sends a message to this player.
SAY <message> Sends a message to everyone.
MEMFREE Displays memory usage statistics.

Variables

MAXPLAYERS (on/off) Sets the maximum number of players allowed to be in this game.
ALLOWJOIN (on/off) Allow new players to join instantly or not. Setting this to NO forces them to wait until the next map change.
SURROUND (on/off) Toggles DirectSound3D acceleration.
PRECACHESOUND (on/off) Tells the game to precache sound or not before playing.
STEREOREVERSE (on/off) Toggles reverse stereo mode.
CAM_ROTSPEED <integer>

CAM2_ROTSPEED <integer>

Changes the rotation speed of the camera.
CAM_ROTATE <integer>

CAM2_ROTATE <integer>

Changes the angle of the camera's rotation.
CAM_SPEED <integer>

CAM2_SPEED <integer>

Changes the speed of the camera.
CAM_HEIGHT <integer>

CAM2_HEIGHT <integer>

Changes the height of the camera.
CAM_STILL (on/off)

CAM2_STILL (on/off)

Forces the camera angle to freeze in place.
CAM_DIST <integer>

CAM2_DIST <integer>

Changes the distance of the camera.
ALLOWMLOOK Allow players to mouselook in a netgame (server only)
SONICCD (on/off) An alternate mode of death for enemies.
CHASECAM (on/off)

CHASECAM2 (on/off)

Turns the camera on and off.
GRAVITY <decimal value> Changes the gravity when allowed.
TRANSLUCENCY (on/off) Turns sprite translucency on and off.
SND_CHANNELS <integer> Sets the number of sound channels.
MUSICVOLUME <integer> Changes the music volume.
SOUNDVOLUME <integer> Changes the sound volume.
ALLOWTEAMCHANGE (yes/no) Allows players to change teams in CTF. (server only)
ALLOWEXITLEVEL (yes/no) Allows players to exit the level. (server only)
SHOWMESSAGES (on/off) Suppresses or enables some screen messages.
GAMMA <integer> Changes the gamma level.
COLOR <colorname>

COLOR2 <colorname>

Changes your player's color
NAME <name>

NAME2 <name>

Changes your player's name.
SKIN <name>

SKIN2 <name>

Changes your player's character.
FORCESKIN (on/off) Forces all players in the game to use the character that the server is using. (server only)
PLAYDEMOSPEED <integer> Changes the speed at which a demo is played back.
NETSTAT (on/off) Shows network statistics.
TIMELIMIT <integer> Sets a time limit for multiplayer levels. (server only)
INTTIME <integer> Changes the intermission time in multiplayer levels. (server only)
SERVERNAME <name> Changes the name of the server.
VID_WAIT (on/off) Enables/Disables V-Sync.
SHOWFPS (on/off) Shows game speed stats on a graph.