Skip to content

Patched Dvars

uji edited this page May 11, 2026 · 7 revisions

Patched Dvars

Project: Consolation unlocks, restores, adjusts, or adds several dvars that are useful for gameplay tweaking, testing, and quality-of-life changes.

Patched Dvars

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

Notes

  • 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.

Writable Or Saved Stock Dvars

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.

com_maxfps

Made saved and writable.

Controls the frame rate cap.

vid_xpos and vid_ypos

Made saved and writable.

These control the window position in windowed mode.

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.

Gameplay And Camera Dvars

g_speed

Saved integer dvar with a default of 210.

Controls player movement speed.

jump_height

Saved float dvar with a default of 41.

Controls the maximum jump height used by the player movement code.

cg_fov

Saved float dvar with a default of 65 and a range of 0 to 160.

Controls the field of view angle in degrees.

cg_fovScale

Saved float dvar with a default of 1 and a range of 0 to 2.

Applies a multiplier to the base field of view.

r_lodScale

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.

Input And Windowing Dvars

input_viewSensitivity

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.

m_rawInput

Saved boolean dvar.

Enables raw mouse input handling.

See also: Patched Raw Input

gpad_enabled

Saved boolean dvar added by Project: Consolation.

Enables XInput gamepad support when the controller path is enabled.

gpad_present

Runtime boolean dvar added by Project: Consolation.

Becomes true when a supported controller is connected.

gpad_in_use

Runtime boolean dvar added by Project: Consolation.

Becomes true when recent controller input is being detected.

gpad_debug

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.

gpad_stick_deadzone_min

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.

gpad_stick_deadzone_max

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.

gpad_button_deadzone

Saved float dvar with a default of 0.13 and a range of 0.0 to 1.0.

Controls the trigger deadzone.

gpad_menu_scroll_delay_first

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.

gpad_menu_scroll_delay_rest

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.

input_invertPitch

Saved boolean dvar added by Project: Consolation.

Inverts native gamepad vertical look.

See also: Controller Support

Controller Tuning Note

The current port exposes deadzone tuning through:

  • gpad_stick_deadzone_min
  • gpad_stick_deadzone_max
  • gpad_button_deadzone

The IW3SP-style stick deflection limit dvars:

  • gpad_button_lstick_deflect_max
  • gpad_button_rstick_deflect_max

are not currently implemented in Project: Consolation.

r_borderless

Saved boolean dvar added by Project: Consolation.

When used with windowed mode, this removes the normal window border.

Status Note

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.

UI And Presentation Dvars

ui_smallFont

Saved float dvar with a range of 0 to 1.

Adjusts the small UI font scale.

ui_bigFont

Saved float dvar with a range of 0 to 1.

Adjusts the large UI font scale.

ui_extraBigFont

Saved float dvar with a range of 0 to 1.

Adjusts the extra-large UI font scale.

cg_overheadNamesSize

Saved float dvar with a default of 0.5 and a range of 0 to 1.

Adjusts the size of overhead player names.

cg_drawVersion

Saved boolean dvar added by Project: Consolation.

Draws the build version string in the bottom-right corner.

cg_debugInfoCornerOffset

Its default value is corrected to 0 0.

This affects the corner offset used by some debug-style HUD info such as cg_drawFPS.

Modding And Debug Dvars

monkeytoy

Registered as writable.

Useful for modding and development-oriented workflows where the stock restrictions are not wanted.

g_debugVelocity

Custom debug boolean dvar.

Prints velocity-related debug information to the console.

g_debugLocalization

Custom debug boolean dvar.

Prints information about unlocalized strings to the console.

bot_maxHealth

Custom integer dvar with a default of 100 and a range of 1 to 1000.

Controls the health bots receive when they spawn.

Experimental Note

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.

Clone this wiki locally