# Exporting Models

## Required Software

* Blender
  * Blender Source Tool - For importing models into blender
  * S/G Shader - For linking textures
* Legion - RPAK ripping tool
* Crowbar - Source Engine model tool
* Titanfall VPK Tool - Titanfall VPK tool

{% hint style="info" %}
Check down bellow for the tools page where all the link are provided
{% endhint %}

{% content-ref url="/pages/-LQf1VwnfcshCxN-w0r9" %}
[Modding tools](/titanfall2/intro/duction/tools.md)
{% endcontent-ref %}

## Getting The Models

First, we need to actually obtain the models. You can do this by extracting this VPK file you can learn how to extract VPKs

{% content-ref url="/pages/-LQezxgguZKAdHMEde32" %}
[How to backup, extract & repack](/titanfall2/intro/duction/vpk-packpack.md)
{% endcontent-ref %}

For the most part, models can be found in the common vpk. But you will find other models in the other vpk from Titanfall 2.

```
"Titanfall2\vpk\englishclient_mp_common.bsp.pak000_dir.vpk"
```

Next, you need to find the model you want. In this guide, as an example, the CAR SMG will be chosen. Which is located here

```
ExtractedVPK\models\weapons\car101
```

However, we can't just straight import this into blender, we will need to decompile the model using crowbar. So first, extract crowbar using your archive software of choice, and load up `crowbar.exe`

![Copy these settings here, with the filepath to your model and click decompile](/files/-MENUuOhOOJeHEcnOS8U)

Once you've decompiled the model into the folder of your choice, we need to open up blender and install blender source tools.

![Go into your preferences panel](/files/-MENYqGy5knaSuOcUzpm)

![Click the install button on top of the blender preferences window](/files/-MEN_Oe_B_8gFxaHtAha)

![Locate your add-on and install it as shown.](/files/-MENa9S_aj6wgyFyUjdh)

## Importing The Models

Next, we need to import the models using blender source tools. This can easily be done by clicking on `File > import`, and importing the `.qc` file as shown

![](/files/-MENbOu1aIPvCv1SSbI-)

After the model is imported, if you zoom out it should look like this

![](/files/-MENbjt2wd424eOBkdgf)

As you can see, it has addons equipped, such as the proscreen. We can delete this as shown below

![](/files/-MENcdWqK4qD9lloywYd)

## Texturing The Model

Finally, we can begin to texture our model, this is perhaps the most tedious step, so buckle up

![We can begin to import the nodetree which helps with texturing the model](/files/-MENdW9lfqwQjun9xNBg)

![Change your workspace from layout, to shading.](/files/-MENdqKzmFx2DFLkhD3p)

![Press File / Append](/files/-MFM6m-OBqU_JPhmnbaL)

![Select your SG\_Shader blend file](/files/-MFM70cjG6Ws15XrJg4L)

![Select The Nodetree folder, and then the S/G shader](/files/-MFM7BomeYrAm9KrI7wY)

![Delete / Import the nodes as shown](/files/-MENeyJk3NCnHomQ3QLO)

![Set your legion settings to these here](/files/-MENgAnVebt_WoCxwNAY)

![Copy paste the texture name and paste it into the legion extractor search bar.](/files/-MENfkhsaCRmrzhC7kEg)

![The textures are located within the "exported\_files/materials" path for legion.](/files/-MENgSJxyaNxXWMe6jdH)

Now, we need to link up the textures to the blender node, however. we need to figure out which texture is which type. I've created a handy little image to help you identify them

![](/files/-MENmQnjhqnPQzGkBcd_)

Link them up using the visual guide above

![](/files/-MENnw4mhvSA73ng23Zo)

## Congrats!

Once its all textured up, your model should look like this, congrats!

![](/files/-MENoGc3_mUIk0CNl8WX)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://noskill.gitbook.io/titanfall2/r2-ripping/model-ripping.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
