Crosshair modding

Guide to change crosshair icons

Preparation

Locate your game folder and find this folder if you are on Origin:

Origin Games\Titanfall2\vpk\

Or this folder if you are on Steam:

Steam\steamapps\common\Titanfall2\vpk\

Copy these files and paste them in a backup folder somewhere else:

  • englishclient_mp_common.bsp.pak000_dir.vpk

  • client_mp_common.bsp.pak000_000.vpk

You will need the Titanfall VPK Tool, the program which will allow you to open and repack Titanfall VPK files. Here

Unpacking

Now that these files have been backed up and everything installed. Navigate to your game folder and open this file:

Origin Games\Titanfall2\vpk\englishclient_mp_common.bsp.pak000_dir.vpk

Steam\steamapps\common\Titanfall2\vpk\englishclient_mp_common.bsp.pak000_dir.vpk

How to extract VPK's properly ?

Editing

Go to this location in your extracted folder

englishclient_mp_common.bsp.pak000_dir.vpk\scripts\weapons

This folder contains the "config files" for the weapons. Edit those files at your own risk, if you get banned because you edit some important value don’t blame me.

Find that code block to get where is the crosshair code part.

active_crosshair_count                      “1”
rui_crosshair_index                         “0”

RUI_CrosshairData

From this part to the bottom of the RUI_CrosshairData bracket that's the part that we will edit together ! (finally getting into the interesting part !)

To change the crosshair, you have to change the ui with the one you want. You can find the value for the different crosshair in the game down bellow.

For example, change

ui/crosshair_tri to ui/crosshair_alternator

That will change the classic AR / SMG (used on R201, CAR, R97...) to the Alternator crosshair.

Is possible to combine multiple crosshair at the same time, for that you need to duplicate Crosshair_1 bracket and is value inside like this example

Crosshair_1
{
    “ui”                                     “ui/crosshair_plus”
    “base_spread”                            “0.0”
    Args
    {
        //isFiring weapon_is_firing
    }
}

Don't copy paste the value from this example, use the one you have in the edited file!

active_crosshair_count

active_crosshair_count "2"

This value set the amount of crosshair you would like to use at once. To use multiple crosshair at once, you need to change that value to the amount of Crosshair_x bracket you want to combine.

You can change the base_spread value to change the based size of the crosshair, this won't change the vector size but the distance between the center of the screen and the different parts of the crosshair. You can use positive or negative values

ui/crosshair

These values are the crosshair itself. They can be swapped to any other ui/crosshair value you can find in other config files. You can send me a message if you find other ones.

Some crosshairs are dynamic, like the charge rifle, frag grenade and a couple of other crosshairs that have animations. In some cases changing to another dynamic crosshair will work fine, in other cases it won't. As a working example: my favorite crosshair combo is using the charge rifle crosshair for the Northstar railgun. For a non working example: the frag grenade crosshair on the CAR won't work well.

Some crosshair are dynamics, like the charge rifle, frag grenade and some other crosshair which have animation. In some case changing to another dynamic crosshair will work fine, in other cases it won't. As an example my favorite one is using the charge rifle crosshair for the Northstar railgun. For an opposite example, the frag grenade crosshair to the CAR won't work well.

base_spread

This value set the based size of the crosshair, this won't change the vector size but the distance between the center of the screen and the different parts of the crosshair. You can use positive or negative values.

RUI_CrosshairData & Arguments

Args or arguments can change how the crosshair is acting

ArgumentValueNote

adjustedSpread

weapon_spread

adsFrac

player_zoomFrac

ammoFrac

"progress_weapon_clip_ammo_frac"

ammoFrac

"progress_grapple_power"

chargeFrac

player_chargeFrac

chargeLevel

player_chargeLevel

chargeMaxTime

eWeaponVar.custom_float_0

chargeStartTime

weapon_script_time_0

clipAmmo

weapon_ammo

clipSize

weapon_clipSize

crosshairMovementX

crosshair_movement_x

crosshairMovementY

crosshair_movement_y

dryfireTime

"weapon_latest_dryfire_time"

isActive

weapon_is_active

isAmped

weapon_is_amped

isFiring

weapon_is_firing

isGrappleInRange

"grapple_in_range"

isLocked

smartammo_locked

isReloading

weapon_is_reloading

isSprinting

player_is_sprinting

readyFrac

progress_ready_to_fire_frac

regenRate

"eWeaponVar.regen_ammo_refill_rate"

smartFov

"eWeaponVar.smart_ammo_search_angle"

teamColor

crosshair_team_color

More argument information on this page

Weapons

Config file name

List of the different weapon config files. Sometimes names are not the same as in game name.

Weapon config

Repacking

How to repack VPK files properly?

After following step by step the previous link

Rename pak000_000.vpk to client_mp_common.bsp.pak000_000.vpk

Rename ak000_dir.vpk to englishclient_mp_common.bsp.pak000_dir.vpk

Place both of the renamed files back into your game directory and then launch Titanfall 2. You should be able to see your new crosshair!

Last updated