View roll
Jump to navigation
Jump to search
Note:Works on all branches.
Tip: If you want users to be able to change the value when

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)

This article has no
links to other VDC articles. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024


January 2024

This article is an orphan, meaning that few or no articles link to it.
You can help by
adding links to this article from other relevant articles.
January 2024
You can help by

January 2024
Have you ever wanted to add that cool Black Mesa view rolling effect into your mod? Well now you can!

The code
First, go to movevars_shared.cpp and search around line 82 for this:
ConVar sv_rollangle ( "sv_rollangle", "0", FCVAR_NOTIFY | FCVAR_REPLICATED | FCVAR_DEVELOPMENTONLY, "Max view roll angle");
Change the 0 to anything between 0 and 10. Example:
ConVar sv_rollangle ( "sv_rollangle", "3", FCVAR_NOTIFY | FCVAR_REPLICATED | FCVAR_DEVELOPMENTONLY, "Max view roll angle");

sv_cheats
is enabled, replace FCVAR_DEVELOPMENTONLY with FCVAR_CHEATAfter that, compile your mod and you should have view rolling in your mod.

This article has not been added to any content
categories. Please help out by
adding categories.
January 2024


January 2024