User:ThatAwesomeGuy173/SRB2Kart/Commands

From SRB2 Wiki
Jump to navigation Jump to search
This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article.
See also: Console/Commands

The following is a list of console commands exclusively available in SRB2Kart. Commands that have received additions or changes to their original behavior are also listed here.

Some commands may accept one or several parameters; others have no parameters and are executed on their own. In the list below, mandatory parameters are listed in angle brackets after the command name, e.g., alias <name> <command>. Optional parameters are enclosed in square brackets, e.g., bind [<key>] [<command>].

Some console commands that pertain to the player have second, third and fourth versions for players 2, 3 and 4 respectively in splitscreen mode. In these cases, all commands are listed together, e.g., setcontrol/setcontrol2/setcontrol3/setcontrol4, where setcontrol is for player 1, setcontrol2 is for player 2, and so on.

Uncategorized

manual

Shortcut: F1 key
Menu location: Options → Tricks & Secrets (F1)

Opens the game's manual.

setcontrol/setcontrol2/setcontrol3/setcontrol4 <control name> <key name> [<second key name>]

Manually changes the controls of the respective player. Note that both the control name and key name need to be enclosed in quotation marks. You can additionally set a secondary key for the selected control by adding it after the first, with the same format as the first key name. See config.cfg for examples of how this command is used, and Controls > Configurable controls for the full list of control names.

Many keys expect certain key name strings — see Special key names for the full list of these.

view/view2/view3/view4 <playername/node/#placement>

Requirements: Online multiplayer only (view), viewing a mutliplayer replay (view, view2, view3 and view4)
Shortcut: Change Viewpoint control (default key is F12, view only)

Sets the viewpoint for the specified players during a Replay. Changes the viewpoint in single-screen multiplayer games and multiplayer replays.

If a # is used before a number, it will change the view to that of the player with the specified placement; for example, view #3 will view whoever is currently in 3rd place.

setviews <integer>

Requirements: Viewing a multiplayer replay

Sets up to 4 splitscreen views on a multiplayer replay, should there be enough players to spectate.

changeteam/changeteam2/changeteam3/changeteam4 <spectator/playing>

Requirements: Online multiplayer only

Switch between an active player or a spectator.

Integer String
0 Spectator
1 Playing

respawn

Requirements: The player must be on the floor

Forces a player death, respawning at the last hit checkpoint in Race or a Match Start location in Battle.

add <variable> <integer>

Alters a numeric variable by the specified value. Negative numbers can also be used.