Risk of Rain Wiki
Advertisement
Risk of Rain Wiki

This page is very much a WIP, but intends to describe all the information about the in-game console, console commands, convars, and parsing of the config files.

RoR2.Console[]

clear

Type:Command
Code Path:RoR2.Console.CCClear
Help Text:Clears the console output.

cvarlist

Type:Command
Code Path:RoR2.Console.CCCvarList
Help Text:Print all available convars and concommands.

Use the help command to get the same list, but with a description of each command and convar.

echo

Type:Command
Code Path:RoR2.Console.CCEcho
Help Text:Echoes the given text to the console.
Useful for scripts and such. Note: only echos the first argument. Use quotes to echo an entire string.

exec

Type:Command
Code Path:RoR2.Console.CCExec
Help Text:Executes a named config from the "Config/" folder.

Specify the file name without the ".cfg" extension. The extension will be added by the exec command.

Upon starting Risk of Rain 2, the game runs the commands "exec config" and "exec autoexec" (RoR2.Console.LoadStartupConfigs). See archive for more information about the archive convar type, the config file, and saved settings.

find

Type:Command
Code Path:RoR2.Console.CCFind
Help Text:Find all concommands and convars with the specified substring.

Without argument: Executes the command "help find". See the help command for more details.

With argument: Finds all commands and convars that contain the specified substring, and prints out their name, value, and help text in the same method as the help command. This list is sorted alphanumerically. If the argument is just a single asterisk ("*"), then all commands and convars match. If using the console, the asterisk must be given in quotes: "find '*'" otherwise the asterisk will be interpreted by the console.

help

Type:Command
Code Path:RoR2.Console.CCHelp
Help Text:Show help text for the named convar or concommand.

Without argument: Executes the command "find '*'". See the find command for more details.

With argument: prints the command or convar matching the first argument to console (in red text), along with it's current value (if it's a convar, and also in red), and it's help text (in white on the next line). If no matching command or convar is found, nothing is printed to console.

max_messages

Type:Integer, Archive
Default:25
Code Path:RoR2.Console.maxMessages
Help Text:Maximum number of messages that can be held in the console log.

set_vstr

Type:Command
Code Path:RoR2.Console.CCSetVstr
Help Text:Sets the specified vstr to the specified value.
I don't know what a vstr is either. If you do, please edit this page and let others know!


RoR2.CameraRigController[]

aim_stick_exponent

Type:Float
Default:1
Code Path:RoR2.CameraRigController.aimStickExponent
Help Text:The exponent for stick input used for aiming.

aim_stick_dual_zone_threshold

Type:Float
Default:0.9
Code Path:RoR2.CameraRigController.aimStickDualZoneThreshold
Help Text:The threshold for stick dual zone behavior.

aim_stick_dual_zone_slope

Type:Float
Default:0.4
Code Path:RoR2.CameraRigController.aimStickDualZoneSlope
Help Text:The slope value for stick dual zone behavior.

aim_stick_smoothing

Type:Float
Default:0.05
Code Path:RoR2.CameraRigController.aimStickDualZoneSmoothing
Help Text:The smoothing value for stick aiming.

aim_stick_global_scale

Type:Float, Archive
Default:1
Code Path:RoR2.CameraRigController.aimStickGlobalScale
Help Text:The global sensitivity scale for stick aiming.

aim_stick_assist_min_slowdown_scale

Type:Float
Default:The MAX amount the sensitivity scales down when passing over an enemy.
Code Path:RoR2.CameraRigController.aimStickAssistMinSlowdownScale
Help Text:

aim_stick_assist_max_slowdown_scale

Type:Float
Default:0.4
Code Path:RoR2.CameraRigController.aimStickAssistMaxSlowdownScale
Help Text:The MAX amount the sensitivity scales down when passing over an enemy.

aim_stick_assist_min_delta

Type:Float
Default:0
Code Path:RoR2.CameraRigController.aimStickAssistMinDelta
Help Text:The MIN amount in radians the aim assist will turn towards

aim_stick_assist_max_delta

Type:Float
Default:1.57
Code Path:RoR2.CameraRigController.aimStickAssistMaxDelta
Help Text:The MAX amount in radians the aim assist will turn towards

aim_stick_assist_max_input_help

Type:Float
Default:0.2
Code Path:RoR2.CameraRigController.aimStickAssistMaxInputHelp
Help Text:The amount, from 0-1, that the aim assist will actually ADD magnitude towards. Helps you keep target while strafing. CURRENTLY UNUSED.

aim_stick_assist_max_size

Type:Float
Default:3
Code Path:RoR2.CameraRigController.aimStickAssistMaxSize
Help Text:The size, as a coefficient, of the aim assist 'white' zone.

aim_stick_assist_min_size

Type:Float
Default:1
Code Path:RoR2.CameraRigController.aimStickAssistMinSize
Help Text:The minimum size, as a percentage of the GUI, of the aim assist 'red' zone.

enable_sprint_sensitivity_slowdown

Type:Boolean, Archive
Default:1
Code Path:RoR2.CameraRigController.enableSprintSensitivitySlowdown
Help Text:Enables sensitivity reduction while sprinting.
Advertisement