> For the complete documentation index, see [llms.txt](https://captaindiqhedd.gitbook.io/caps-archive-space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://captaindiqhedd.gitbook.io/caps-archive-space/caps-titanfall-2-mods-v1/viewmodels.md).

# Viewmodels

Mods that change the position of the player's viewmodels in-game.

## What are viewmodels?

A viewmodel is, basically, your arms and weapon. It represents whatever action your character is currently doing with their hands.

## What if I want to edit these viewmodels for myself?

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:

<figure><img src="https://3229178430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzWpbBNlNErdKoq8n9DL%2Fuploads%2FUCWnnyvJDVSNycab4PkS%2Fassets_-MbT6A_iN6z35klmSlMZ_-MbcYwlI6oIq20_RMQQZ_-Mbc_07vogJlCDWMp6N4_bandicam%202021-06-07%2017-24-27-515.webp?alt=media&amp;token=676f7dfa-cfb1-41bb-b3b6-952dd890ca70" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="https://3229178430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzWpbBNlNErdKoq8n9DL%2Fuploads%2FMVjGP8NAmvKSfTKmC5os%2F20210607142624_1.jpg?alt=media&amp;token=519ca608-644f-4d0c-a02c-ad8afa331d47" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3229178430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzWpbBNlNErdKoq8n9DL%2Fuploads%2FvmlzDGkyxQQBpQUfk86N%2F20210607143306_1.jpg?alt=media&amp;token=b9a9aff0-3ba1-4d9c-b9c5-6f2033c21246" alt=""><figcaption></figcaption></figure>

## What do all these file names mean? Some of them aren't the same as the names in-game...

(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)
