Garry's Mod

Garry's Mod

120 ratings
Universal ViewModel Offset !
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
43.142 KB
18 Apr, 2024 @ 4:25am
21 Apr, 2024 @ 8:37pm
3 Change Notes ( view )

Subscribe to download
Universal ViewModel Offset !

Description
If you find something wrong, press the fix button at the bottom of menu then re-switch weapon !!! Or see the comment below !!!

I see other viewmodel offset addons can't handle weapon's aim when pressing right mouse, so I made this one which can
Work while retaining your ability to Aim !!!

HOWEVER ! ! !
It works fine with Modern Warfare Base, however, many other weapon bases like TFA Base, Arc9 Base, etc, have their own viewmodel offset function, so will conflict terribly with any addons that modifies the viewmodel.
To avoid that, there's a Blacklist in the spawn menu, use buttons I provided to add these conflict weapons into the Blacklist so the addon will ignore these weapons when you switch to them.
After adding one weapon to the Blacklist, you need to re-switch the weapon to see the effect.

Also !
Weapon inspection/customization menu may look wired when viewmodel offset is on, so this addon provides a text box where you can type in your keys of inspection, customization, etc, so that when you press these keys, the viewmodel offset will be toggled on/off to make everything look satisfying.
You can bind multiple keys at once !!!
For example, type in "T,Y,N" (no space, just one single comma !!!!!), then T, Y, N these three keys will ALL be able to toggle the offset at the same time.

Menu location: Q Spawnmenu/Utilities/User

Commands
Command
Value
Function
offset_enabled
0/1
enable/disable the addon
offset_time
any number, recommend 0.2
change it and click right mouse and you'll know
offset_another_key
type in format of "A,B,C,D,E"
add multiple keys that can toggle the offset
offset_fov
any number, 0 is default fov
change field of view
offset_pos_x/y/z
any number
change viewmodel's position
offset_ang_roll/pitch/yaw
any number
change viewmodel's angle

Common Issues:
1.
Q: Why this addon doesn't work for my weapon?
A:
1. Because you are using an Arc9 or TFA or something, these bases have their own viewmodel offset function !!! See the description !!!
2. Because wired bugs, just press the [fix] button at the bottom of the menu and re-switch your held weapon and see if it works.

2.
Q: Why the scope can't line up when I aim?
A:
1. The scope itself is broken.
2. If you are using MW Base, then it may due to you aimed immediately after you spawn for the first time, that may break your scope, I'm pretty sure it's MW Base problem, not mine.

3.
Q: Why called "Universal" when it's basically for MW Base Weapons?
A:
It works for MW Base because this base doesn't have its own viewmodel offset function. This addon can also work for any other weapon bases which can AIM but can't offset viewmodel ( I don't know many weapon bases so I can only assume. )

4.
Q: This addon breaks my game !!!
A:
Trust me this addon only modifies a few things, It doesn't have the ability to break anything. If something's broken and you are sure it's this addon, try delete the folder of "SteamLibrary\steamapps\common\GarrysMod\garrysmod\data\viewmodeloffset_blacklist" and uninstall the addon and say goodbye to this addon.
If above method doesn't fix your game, then I'm pretty sure I'm innocent.

同志们,我不高兴翻译了,大家不会英语的话凑合着用翻译软件看吧
36 Comments
BλERREY 17 May @ 11:41pm 
is there a preset feature so i can just click any saved presets it will be more efficient
Ready 12 Feb @ 2:24pm 
an option to change the aim key to whatever you want instead of letters and right click would be much appreciated.
Ready 12 Feb @ 2:23pm 
addon is great but holy fuck is it janky to work with. it needs a lot of reworking.
Aicey 10 Feb @ 1:44pm 
I've removed all of the Keybinds of disabling the viewmodel when in customize menu.
but when I press N again it changes back to default like it's bound on N again
any help?
Jim 9 Feb @ 5:47am 
Don't Work With MW Guns.
lil guy 19 Nov, 2024 @ 11:46am 
how to disable the aim thinky and toogle buttons
i only want to edit viewmodel
The LAMBDA player 26 Oct, 2024 @ 5:40pm 
this shit lets you manipulate viewmodels,you can make ironsights,IN EVERY WEAPON with this which is very cool
MY BURGER IS SOGGY 3 Oct, 2024 @ 2:29pm 
it takes like two map changes and fourteen clicks of the fix button but it works very awesome thanks
Enviyon 13 Aug, 2024 @ 3:07am 
can you add compatibility to viewmodel lagger ?
112 shaboingboings 26 Jun, 2024 @ 7:23am 
how do I disable offset toggle key?