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

sv_rollangle

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
View rolling demonstration.
(Click to view if GIF does not play automatically).

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.
Icon-Important.pngImportant:When changing the value through launch options, the console may show Unknown command "sv_rollangle". However the value does actually changes.

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.