viewmodel tweaks
Globally change the viewmodel position & FOV from only 4 editable files (edit: The 4 is a lie)INSTRUCTIONS
Everything you need to edit is located in the "mod" folder.
To identify what file affects what type of viewmodel, look at the presets images below.
In the vm_pos files, the default value for most of the "viewmodel_offset_hip" is "X=0 Z=0 Y=0". The only exceptions are mp_weapon_defender (ChargeRifle) using "0 -3 0", mp_weapon_lstar aog using "0 0 -.9".
A positive "X" value is going to move the gun to the right, a negative one to the left.
A positive "Z" value is going to move the gun forward, a negative one backward.
A positive "Y" value is going to move the gun up, a negative one down.
If you want weapons with no ads animation (MGL, titan guns, grenadiers, etc...) to follow the same positioning in hipfire and ads like they're originally intended to, your values in viewmodel_offset_ads have to be the same as the ones in viewmodel_offset_hip of the same file.
The viewmodel_offset_ads in vm_pos_pilot_zoom is linked to vm_pos_pilot.
Changing the XZY values of viewmodel_offset_ads will change your weapon positioning during its base aim down sight animation ( sights attachements all have their own values (R101 old AOG count as one) ).
Weapon positioning examples and infos can be found on NoSkill or on the Northstar.tf modding docs.
The "zoom_fov_viewmodel" value is gonna change your weapon FOV in ADS only, ignoring your original vmfov value. Uncommenting it without changing the value will just remove the dynamic adsfov feature.
2) having a higher zoom_fov_viewmodel not only makes the sight cleaner but also reduces the amount of ADS sway you have to deal with.
Uncommenting sway_rotate_attach will remove the ads sway. Yes ik i already made a mod for that but here that's just the 2nd out of the 3 methods to remove it lol.
Additionnal infos
- For reference in Counter-Strike Valve decided to limit the "viewmodel_offset_x/z/y" command between "-2 -2 -2" and "2.5 2 2" so huhh yeah consider that going beyond isn't very fair
- If you want to change your viewmodel fov on hipfire only, you can lock your "zoom_fov_viewmodel" to its original 70 camera fov value for each single gun by using ADS VM Fix and benefit from the other advantages of the mod.
- if you want to test different offsets, go in campaign, enable
sv_cheat 1, get the gun you want using thegivecommand (ex:give mp_weapon_car holosight fast_reload), change your values in the mod and reload them withweapon_reparse. - Since titans are ~10x bigger than pilots, their offset values are ~x10. In reality it's probably only 8x but whatever.
Preset values showcase
The preset values you'll find on the mod folder are just the original offsets, but minimized a little with no number above 0.9 for pilot weapons and 9 for titan stuff, since according to respawn with the L-STAR it's not necessary to go beyond to minimize an invasive viewmodel. Too bad all VMs are.
VM_POS_TITAN_LEFTSHOULDER
VM_POS_TITAN_LEFTHAND
VM_POS_TITAN_MIDDLEDOWN
VM_POS_TITAN_MIDDLEUP
VM_POS_TITAN
VM_POS_PILOT
VM_POS_THROWABLES
Credits
Originally made by Craty, i just added the extra options, removed the useless files affected, added the instructions and packed the mod with his agreement.
For any problem or info you can ping me on discord.
Changelog
3.0.0 : Shorter instructions without too many infos since thunderstore users don't need all the yap from the v2 + addition of 7 positioning files, changed the default values. This will most likely be the final version unless i made mistakes while writing. 2.0.0 : Far better instructions, removed my custom values, added the viewmodel_offset_ads for pilot guns. 1.1.1 : Added the titan ads vmfov option + the pilot weapons positioning should also be applied in campaign now. And I added the missing word in the mod description lol. 1.0.0 : release yeepee.
