Viewmodels
Mods that change the position of the player's viewmodels in-game.
Last updated
Mods that change the position of the player's viewmodels in-game.
Last updated
A viewmodel is, basically, your arms and weapon. It represents whatever action your character is currently doing with their hands.
This isn't too hard to do, however it is rather tedious to edit the numbers, repack, replace, go in-game and check, repeat. Unpack the vpk then follow along.
Inside englishclient_mp_common.bsp.pak000_dir.vpk, in scripts > weapons, there are a bunch of text files with important details about each weapon that the game uses.
For all but a few exceptions, you're going to scroll down until you see MP_BASE. Right under that should be "viewmodel_offset_hip" and possibly "viewmodel_offset_ads" if you're using a viewmodel mod. If not, you can add them in like so:
These dictate the position of your weapon from hipfire or ads. As you can see there are 3 numbers after each of the offset lines. These change the position of the weapon, with 0 being the default position for each.
The numbers are ordered in X Z Y. Positive X moves the gun to the right, negative left. Positive Z moves the gun forward, negative backward. Positive Y moves the gun up, negative down.
Titan weapons, like Leadwall in the example above, will need larger numbers to make a noticeable difference compared to pilot weapons.
(I won't be using underscores due to formatting, but these are in order!)
(Items marked out like this are not important and have no noticeable viewmodel)
ammo suck behaviors ----------------------------------------------- No clue
melee pilot arena ------------------------------------------------------- No clue
melee pilot emptyhanded ------------------------------------------ Pilot melee
melee pilot sword ------------------------------------------------------ Cut sword melee
melee titan punch ------------------------------------------------------ Every titan's melee position (besides ronin)