-
Notifications
You must be signed in to change notification settings - Fork 1
Patched Dvars
Project: Consolation unlocks, restores, adjusts, or adds several dvars that are useful for gameplay tweaking, testing, and quality-of-life changes.
| Name | Description | Default / Range |
|---|---|---|
r_fullscreen |
Made saved and writable so fullscreen behavior can be controlled more reliably and does not get forced back as aggressively by the stock game. | N/A |
com_maxfps |
Made saved and writable. Controls the frame rate cap. | N/A |
vid_xpos |
Made saved and writable. Controls the window position in windowed mode. | N/A |
vid_ypos |
Made saved and writable. Controls the window position in windowed mode. | N/A |
developer |
Registered with a 0 to 2 range. Enables the game's development environment behavior and is mainly useful for debugging or internal-style testing. |
0 to 2
|
g_speed |
Saved integer dvar. Controls player movement speed. | Default: 210
|
jump_height |
Saved float dvar. Controls the maximum jump height used by the player movement code. | Default: 41
|
cg_fov |
Saved float dvar. Controls the field of view angle in degrees. | Default: 65, Range: 0 to 160
|
cg_fovScale |
Saved float dvar. Applies a multiplier to the base field of view. | Default: 1, Range: 0 to 2
|
r_lodScale |
Saved float dvar. Adjusts level-of-detail distance. Higher values can keep more detail visible at range. | Default: 0, Range: 0 to 3
|
input_viewSensitivity |
Saved float dvar. Controls mouse sensitivity and also serves as the base sensitivity input for gamepad look tuning. | Default: 1.0, Range: 0.01 to 30.0
|
m_rawInput |
Saved boolean dvar. Enables raw mouse input handling. See also: Patched Raw Input | Boolean |
r_borderless |
Saved boolean dvar added by Project: Consolation. When used with windowed mode, this removes the normal window border. | Boolean |
ui_smallFont |
Saved float dvar. Adjusts the small UI font scale. | Range: 0 to 1
|
ui_bigFont |
Saved float dvar. Adjusts the large UI font scale. | Range: 0 to 1
|
ui_extraBigFont |
Saved float dvar. Adjusts the extra-large UI font scale. | Range: 0 to 1
|
cg_overheadNamesSize |
Saved float dvar. Adjusts the size of overhead player names. | Default: 0.5, Range: 0 to 1
|
cg_drawVersion |
Saved boolean dvar added by Project: Consolation. Draws the build version string in the bottom-right corner. | Boolean |
cg_debugInfoCornerOffset |
Default value corrected to 0 0. Affects the corner offset used by some debug-style HUD info such as cg_drawFPS. |
Default: 0 0
|
monkeytoy |
Registered as writable. Useful for modding and development-oriented workflows where the stock restrictions are not wanted. | N/A |
g_debugVelocity |
Custom debug boolean dvar. Prints velocity-related debug information to the console. | Boolean |
g_debugLocalization |
Custom debug boolean dvar. Prints information about unlocalized strings to the console. | Boolean |
bot_maxHealth |
Custom integer dvar. Controls the health bots receive when they spawn. | Default: 100, Range: 1 to 1000
|
- Some of these dvars are stock dvars that have been made writable or saved.
- Some are custom dvars added by Project: Consolation.
- A few are mainly intended for testing, debugging, or modding.
Made saved and writable so fullscreen behavior can be controlled more reliably and does not get forced back as aggressively by the stock game.
Made saved and writable.
Controls the frame rate cap.
Made saved and writable.
These control the window position in windowed mode.
Registered with a 0 to 2 range.
Enables the game's development environment behavior and is mainly useful for debugging or internal-style testing.
Saved integer dvar with a default of 210.
Controls player movement speed.
Saved float dvar with a default of 41.
Controls the maximum jump height used by the player movement code.
Saved float dvar with a default of 65 and a range of 0 to 160.
Controls the field of view angle in degrees.
Saved float dvar with a default of 1 and a range of 0 to 2.
Applies a multiplier to the base field of view.
Saved float dvar with a default of 0 and a range of 0 to 3.
Adjusts level-of-detail distance. Higher values can keep more detail visible at range.
Saved float dvar with a default of 1.0 and a range of 0.01 to 30.0.
Controls mouse sensitivity.
Project: Consolation's native gamepad look code also uses this dvar as the base sensitivity value for right-stick turning.
Saved boolean dvar.
Enables raw mouse input handling.
See also: Patched Raw Input
Saved boolean dvar added by Project: Consolation.
Enables XInput gamepad support when the controller path is enabled.
Runtime boolean dvar added by Project: Consolation.
Becomes true when a supported controller is connected.
Runtime boolean dvar added by Project: Consolation.
Becomes true when recent controller input is being detected.
Runtime boolean dvar added by Project: Consolation.
Prints controller state debug information to the console.
The controller support page documents the current status of the active controller path, including when it is commented out in the build.
Saved float dvar with a default of 0.2 and a range of 0.0 to 1.0.
Controls the inner stick deadzone used by the current gamepad implementation.
Saved float dvar with a default of 0.01 and a range of 0.0 to 1.0.
Controls the outer stick clamp zone near full deflection.
Saved float dvar with a default of 0.13 and a range of 0.0 to 1.0.
Controls the trigger deadzone.
Saved integer dvar with a default of 420 and a range of 0 to 1000.
Controls the initial repeat delay for menu navigation on a controller.
Saved integer dvar with a default of 210 and a range of 0 to 1000.
Controls the repeat delay after the first held menu-navigation step.
Saved boolean dvar added by Project: Consolation.
Inverts native gamepad vertical look.
See also: Controller Support
The current port exposes deadzone tuning through:
gpad_stick_deadzone_mingpad_stick_deadzone_maxgpad_button_deadzone
The IW3SP-style stick deflection limit dvars:
gpad_button_lstick_deflect_maxgpad_button_rstick_deflect_max
are not currently implemented in Project: Consolation.
Saved boolean dvar added by Project: Consolation.
When used with windowed mode, this removes the normal window border.
Some features that tie into these dvars are still experimental, commented out, or under active rework.
Controller support is currently commented out in the build, ultrawide support is currently disabled, and profile config support remains experimental but available.
Saved float dvar with a range of 0 to 1.
Adjusts the small UI font scale.
Saved float dvar with a range of 0 to 1.
Adjusts the large UI font scale.
Saved float dvar with a range of 0 to 1.
Adjusts the extra-large UI font scale.
Saved float dvar with a default of 0.5 and a range of 0 to 1.
Adjusts the size of overhead player names.
Saved boolean dvar added by Project: Consolation.
Draws the build version string in the bottom-right corner.
Its default value is corrected to 0 0.
This affects the corner offset used by some debug-style HUD info such as cg_drawFPS.
Registered as writable.
Useful for modding and development-oriented workflows where the stock restrictions are not wanted.
Custom debug boolean dvar.
Prints velocity-related debug information to the console.
Custom debug boolean dvar.
Prints information about unlocalized strings to the console.
Custom integer dvar with a default of 100 and a range of 1 to 1000.
Controls the health bots receive when they spawn.
Not every patched dvar is guaranteed to behave perfectly in every mode.
If a value seems unstable, gets reset by the game, or causes odd behavior, return it to a safer default and test again before assuming the feature itself is broken.