Console commands:

Player actions

  • +<action> = activates when its assigned key is held.
  • -<action> = activates when its assigned key is released.

P#_Left

P#_Right

P#_Jump

P#_Up

P#_Down

P#_Change

P#_Fire

Game commands

Addbot

Addbot <team>

Adds a bot to the game. Team specifies to which team the bot is playing for.

Alias

Alias <newname> <variable/text>

Uses another name either for another variable, allowing to set the value of it, or to input text in the console. Example:

Alias SvrName NET_Server_Name
SvrName Test

<newname> cannot be the name of any of the built-in console instructions.

Ban

Ban <player_name>

Bans the player until the server shuts down. It doesn't kick the player immediately, so accompany it with Kick console command.

Bind

Bind <key_name> <action>

Binds the given key to input the given text in the console. Example:

Bind 1 "map poo"

Connect

Connect <ip:port>

Connects you to the game being played at the given ip and port. If the first parameter value is “localhost”, it connects to the server hosted with the person's own IP address.

Echo

Echo <message>

Displays a message which is seen in the console.

Exec

Exec <file.cfg>

Executes a given configuration file in the mod folder.

Game

Game <folder_name>

Loads the given mod to be used on the next map change.

Map

Map <map_name>

Loads the map specified.

NET_Set_Proxy

NET_Set_Proxy <address> <port>

Uses a proxy server for your LAN connection with the address and port specified. To disable the proxy, use an empty value for the address.

Default value if not used: ”” ””.

Kick

Kick <player_name>

Kicks the player with the name specified out of the current game. This include bots added using AddBot.

P#_Colour

P#_Colour <R> <G> <B>

Specifies the player worm color to be shown.

Default value if not used: 100 100 250.

P#_Team

P#_Team <Team_#>

Specifies the player team. Used generally for team spawnpoints. Team_# value range is from -255 to 255 (511 teams in total).

Default value if not used: -1.

Rest

Rest <milliseconds>

Rests Gusanos by the amount of milliseconds specified.

RND_Seed

RND_Seed <seed_number>

Assigns all random generators results to the ones with the seed_number specified. Used for debugging purposes.

RCON

RCON <command>

Sends an specific console command or variable value to be set in the server, when the RCON_Password console variable is set and the value is the same as set for the server. Example:

RCON map pokol

Say

Say <message>

Sends a message from the local player # 0 to all players in a game. Remember to use quotes if there are spaces in the message field.

Screenshot

Screenshot

Saves a screenshot of the game in the “screenshots” folder.

SetConsoleKey

SetConsoleKey <key_name>

Sets the key to open the console.

Quit

Quit

Closes the game.

Deprecated game commands (supported on 0.9b)

ExecScript

SetAltChar

SetChar

SetShiftChar

SwapKeys

Deprecated game commands (supported on 0.9c)

GUI_Focus

GUI_GSS

GUI_Load_GSS

GUI_Load_XML

Default mod game commands (0.9c)

Double

Double

Sets the console variable VID_DoubleRes to “1”, which makes the game to have 2x zoom.

Fullscreen

Fullscreen

Sets the console variable VID_Fullscreen to “1”, which makes the game to be shown fullscreen.

ShowChat

ShowChat

Shows/hides the chat window when playing the game.

ShowMenu

ShowMenu

Shows/hides the main window when playing the game.

Undouble

Undouble

Sets the console variable VID_DoubleRes to “0”, which makes the game to have 1x zoom restored.

Windowed

Windowed

Sets the console variable VID_Fullscreen to “0”, which makes the game to be shown in a window.

Default mod game actions (0.9c)

Scores

+Scores

Shows the scoreboard window.

  • -Scores

Hides the scoreboard window.

main/console_docs/console_commands.txt · Last modified: 2011/09/18 16:46 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki