2.0:SRB2CB/Console
A list of all new or modified console commands and variables in SRB2CB:
Commands
add <filename>
This command is short-hand for addfile
. Not to be confused with add
from XSRB2.
addbot <skin name> <color> <bot name>
Adds a bot with the given skin, color, and name. For example, typing in addbot tails blue tailsbot
will add a Tails skin colored blue with the name "tailsbot". Adding a bot in single player will turn on cheat protection.
kill
Kills the player. Activates the cheat protection. Disabled in multiplayer.
shield <integer>
Gives the player a shield. Activates the cheat protection. Disabled in multiplayer.
Value | Shield |
---|---|
1 | Whirlwind Shield |
2 | Attraction Shield |
3 | Armageddon Shield |
4 | Elemental Shield |
5 | Force Shield |
6 | S3&K Flame Shield |
7 | S3&K Lightning Shield |
8 | S3&K Bubble Shield |
Variables
botcanflyme <boolean>
If set to on, flying bots will be able to carry players just like normal flying players can (works similarly to SRB2JTE's botcanflyme
). Default is "Off".
botai <integer>
Changes the skill level of CPU players in modes such as Match.
Value | Skill level |
---|---|
0 | "Sissy" |
1 | "Normal" (Default) |
2 | "Angry" |
3 | "Ruthless" |
con_trans <integer>
Changes the translucency alpha level of the console. Minimum is 0 (invisible), maximum is 255 (opaque). Default value is 128.
con_textsize <size>
Sets console text size. Possible values (either values or names can be used):
Value | Size |
---|---|
0 | "Huge" |
256 | "Small" |
512 | "Medium" (Default) |
768 | "Large" |
fade <integer>
Changes the type of transition between levels.
Value | Name | Description |
---|---|---|
0 | "None" | Fastest transition |
1 | "Cross-Fade" | The screen fades directly to the next (Default) |
2 | "Black-Fade" | Makes the screen fade to black between levels, slowest transition |
grtest <value>
OpenGL only. A development tool for source code modders to test out new OpenGL effects.
gr_compat
A special OpenGL compatibility mode for older hardware that can't handle new effects such as screen fades and motion blur.
inactivepause <boolean>
Pauses the game when its window is inactive. Default is "On".
inactivemusic <boolean>
Plays music when the game is inactive. Default is "On".
maxbots <integer>
Sets the maximum amount of bots allowed in a network game. Minimum is 0, maximum is 32.
motionblur <boolean>
Turns on or off the motion blur visual effect for movements at high speed. Default is "On".
pauseresume <boolean>
Auto-resumes the game when it becomes active if it was paused. Default is "On".
polycount <boolean>
OpenGL only. Displays the number of polygons currently rendered on screen. This can be a very helpful tool for removing lag from a level. A polycount consistently less than 5,000 is recommended for good framerate.
ringcolor <boolean>
Turns on or off colored rings for shooting. Default is "Off".
shownames <boolean>
Turn on or off the display of players and bots' names. A simplified version of seenames
from standard SRB2.