Not a member yet? Why not Sign up today
Create an account  

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Tutorial: Editing a face in Blender

#1
Photo 
This tutorial will walk you through the steps I took to change a face model in character creation. It borrows a fair amount from "Part I: How to Swap Weapon Meshes" by Spectator Sly

Sorry if at times the tutoral is a bit basic, or vague.
If you have any questions, let me know, and I'll edit accordingly.

Tools used:

Step 1 - Extract models:

Follow the tutorial posted by Spectator Sly to access the games files un Umodel, and get the face you want to replace from creation/03_Face/*FaceID*

A note on beards - If you want to make a face with facial hair, you need to make sure you extract a face that already has facial hair, otherwise the material won't exist.

Step 2 - Importing into Blender

In blender, after instailling the psk plugin, go to misc in the toolbar, under PSK/PSA Import, tick the "Don't invert root bone" checkbox, and click import PSK

[Image: tz2othn.jpg]

Import your file, select both the skeleton and the mesh,and scale it down to 0.1. You can do that in object properties, or using the resize handle (scale down slightly, and edit the numbers that appear in the left toolbar)

[Image: uiB4qKx.jpg].

Then, on the bottom toolbar click Object>Apply>Scale, and make sure the scale is applied to both the skeleton and the mesh (object properties on the right toolbar, (looks like a cube) scale should say 1.000).

You will also have to smooth the shading on the faces, just enter edit mode, make sure all the faces are selected, and in the left toolbar, on the "Shading/UVs" tab, under "Faces" click "Smooth".
[Image: XS87NEA.jpg]

You can now do your edits.


Step 3 (optional) - Beards

When editing/creating facial hair, I find it best to separate the mesh, so that you can transfer the bone weights afterwards.

To seperate the existing facial hair:
[Image: O6O2UIm.jpg]

Once you've made the beard select the beard and the face, making sure the beard is the primary selection, and go to Weight paint.
In the left toolbar, click transfer weights, and change the destination to All layers

[Image: WWLaTz3.jpg]

Once that is done, join the meshes back together (Left toolbar, Tools>Join)

Go back to edit mode and select the facial hair, and in the materials tab on the right apply the facial hair material (It has a name like "Ml_Face_*FaceID*_E02")

[Image: csctRuE.jpg]


Step 4 - Exporting

Go to File>export>FBX, and set the export settings as below:

[Image: caH7kgC.jpg]


Change the name of the file to match the name of the face you extracted, and click export.

Step 5 - UE4

Start up a blank project in UE4 and create a directory of Creation>03_Face>*FaceID*, then create two folders named "Materials" and "Textures"

[Image: NjLFiFE.jpg]

Drag your model into the *FaceID* folder, and in the dialogue box that pops up, set the "Import Uniform Scale" to 40

[Image: 8u8C1jE.jpg]

Put the materials that are generated into the materials folder.

If you made a beard, you'll probably want to texture it. Make sure you save it in a format that allows transparency, like png, and name it "face_*FaceID*_m_3_COLOR" (check the name of the texture you got from umodel), and import it into the textures folder.


Step 5 - Build and package

This section has been transposed from Spectator Sly's tutorial as he explains it pretty well (Edits in red):


Now we can commence cooking the files! But we must change one option right quick: File -> Package Project -> Packaging Settings... ->Packaging -> Uncheck 'Use Pak File'.
Then just do File -> Package Project -> Windows (32-bit)/(64-bit) -> Save it wherever.

There will be a WindowsNoEditor folder, open that up, then go to SoulcaliburVI -> Content -> Copy the Content folder.
Go to your u4pak folder, create a SoulcaliburVI folder there. Place your Content folder inside. Delete the skeleton files (Keep the physics files!) inside your face's folder, along with the Material folder; the game will use the default one.

Now open up a Command Prompt. Use the cd command to change the directory to where your u4pak folder is. EX: cd C:\Users\Spectator Sly\Downloads\u4pak-master\u4pak-master
Then type the following into the Command Prompt: u4pak.py pack NAMEOFYOURMOD.pak SoulcaliburVI
A PAK file will generate in the u4pak folder. Create a ~mods folder where your SCVI Paks folder is, and put the PAK there. Test that bad boy out in-game!
Reply

#2
Thankyou so much!
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)