branchrust_reboot/main/fov_viewmodel_scalecancel
9 Commits over 30 Days - 0.01cph!
Calculate fov vm scale based on actual fov, not just the convar (to account for things like ironsights changing fov)
Added a new option to viewmodels to add a positional z offset only on ultrawide resolutions to fix weapons clipping into the camera due to the clipping plane
The offset is calculated based on the camera near clip plane
Enabled on the waterpipe shotgun, rocket launcher, mp5, thompson, spas12, pump shotgun, m39, compound bow, grenade launcher, m39, lr300 and l96
Merge from main -> fov_viewmodel_scale
Replace animation curve with a remap
Added Graphics.vm_fov_scale convar to switch back to old vm behaviour
Scale offset viewmodel based on fov