Weapon Replacement Guide - KarbonAKitt/CVWiki GitHub Wiki
This will be a pretty straightforward guide to make model replacement for weapons.
Tools needed:
- umodel https://www.gildor.org/en/projects/umodel
- The psk importer https://github.com/Befzz/blender3d_import_psk_psa
- 4.18.X Unreal Engine https://www.unrealengine.com/en-US/download
- Unrealpak to make a .pak
- a working model to replace a weapon with
- a Normal Map, an RMT and Albedo textures
1.- First open umodel and extract the model you are going to replace, this will create a .psk file in the folder of your choice. In this example we are going to replace the Black Sword weapon.
2.- Open the .psk in Blender (or any modelling program you are comfortable with that can open .psk files and export as .fbx)
3.- Import the model you want to replace your weapon with, in this case we are going to replace it.
4.-
- Select the mesh you are replacing, go to edit mode and deselect all
- Go into OBJECT MODE
- Select the original mesh
- Select the replacement mesh
- shift + right click on the original weapon mesh
- ctrl + J to join the meshes
- press TAB to do into edit mode
- press ctrl + I to invert selection (at this point only the original mesh should be selected)
- press X to delete and then press V to delete vertices
4.1.-
- If you are using Blender 2.79 you will more likely end up with 2 different UV Maps after merging the meshses, delete the empty UV Map or you will end up with a texture-less, white model.
5.- Export as FBX with the correct settings:
6.- Open Unreal Engine 4.18.X and create a new project.
7.- Import the FBX into unreal engine with the correct import settings:
8.- Create the appropriate references, drag the textures in the correct folder path in unreal engine:
- PHAT: Physics Asset
- Shadow: Physics Asset
- MI: Material Instance
- PPABP: Animation Blueprint
9.- Double click the mesh file and fill the blanks inside:
10.- When done click
- SAVE ALL
- Go to SETTINGS in the TOP BAR
- Go to PROJECT SETTINGS
- Go to PACKAGING
- UNCHECK USE PAK FILE
- Go to FILE -> PACKAGE PROJECT -> WINDOWS -> Windows (64 Bits)