branchrust_reboot/main/fov_viewmodel_scalecancel

9 Commits over 30 Days - 0.01cph!

4 Years Ago
Remove a log
4 Years Ago
Another null check
4 Years Ago
Calculate fov vm scale based on actual fov, not just the convar (to account for things like ironsights changing fov)
4 Years Ago
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
4 Years Ago
Merge from main -> fov_viewmodel_scale
4 Years Ago
Replace animation curve with a remap
4 Years Ago
Merge from main
4 Years Ago
Added Graphics.vm_fov_scale convar to switch back to old vm behaviour
4 Years Ago
Scale offset viewmodel based on fov