This article's documentation is for anything that uses the Source engine. Click here for more information.

sv_rollangle

From Valve Developer Community
Revision as of 06:55, 10 April 2025 by Kr0tchet (talk | contribs) (Created page with "{{LanguageBar}} {{this is a|console variable|name=sv_rollangle}} This float cvar adjusts or disable view rolling (which is used in {{bms|1}}, and works similarly to {{quake|1}} and {{hl|1}}). {{Note|This console variable is flagged as "launcher"-only in all Source games since {{src07|1}}, so it can be only changed through launch options. Alternatively, you can also use {{sourcemod|1}} or VScript: {{hl2}} {{L4d}} {{code|sm_cvar sv_rollangle <val...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

sv_rollangle is a console variable available in all Source Source games. This float cvar adjusts or disable view rolling (which is used in Black Mesa, and works similarly to Quake and Half-Life).

Note.pngNote:This console variable is flagged as "launcher"-only in all Source games since Source 2007, so it can be only changed through launch options.

Alternatively, you can also use SourceMod or VScript:

Half-Life 2 Left 4 Dead sm_cvar sv_rollangle <value> command (with SourceMod installed) or
Team Fortress 2 branchLeft 4 Dead 2 script Convars.SetValue("sv_rollangle", "<value>") (using VScript).
Note.pngNote:Black Mesa Black Mesa replaced this command with rollangle.
Confirm:This is confirmed on 2012 mod version, needs confirm on latest Steam version aswell.