viewmodel_offset_y
viewmodel_offset_y
<Y Offset>
this command moves the weapon on the Y-axis (forwards and backward). The default value is also 1, but the value range is between -2 and 2. Negative values move the gun closer to the screen, and positive values move it away from the screen.
Name:
Y Offset
Description:
Set this to a number between 2 and -2. 2 would be closer to the top of the screen. -2 would be closer to the bottom of the screen
EXTRA INFORMATION
Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Client

viewmodel_offset_y Command Tips and Help

This is the command that sets the Y offset for you view model- how far or close it is from your character. The view model extends from your hand with your gun within it too. The maximum value for the Y offset is 2 and -2.

 

Command Generator

Make sure to adjust your settings to generate the command automatically. Copy and paste the command below.

viewmodel_offset_y 1

 

viewmodel_offset_y Examples

viewmodel_offset_y 2

This is the command that will place your view model in the far front to yourself as possible.

viewmodel_offset_y -2

This command will place your view model to be as close as possible to yourself.