Facial expressions in custom animations

From Nexus Mods Wiki
Jump to: navigation, search

How to embed facial expression in custom animations in Fallout 3

Ok I found out how to do it. Becouse it was/is hard I thought i should post a how to....

Things you will need.

Blender or Max. - To make the anim in the first place.

NifScope. - To hack the face anim into your .kf

FAFF - A template found at FAFF

Time. - I dont need to explain do I?


Step 1

Make your anim and export your .KF, this is beond the scope of this how to. But i am assuming you have called it New.KF

Step 2

Open a copy of FAFF's fa01.kf.

Open a copy of your new.kf in a new nifscope.

In fa01 scrol down the block list untill you find number 86 (It should be a NiBoolInterpolator ) , Right click on it, Block -> copy branch.

In New.KF right click on NiControllerSequence, Block -> Past Branch. Repete with number 87 (NiFloatInterpolator) .

In fa01 click the NiControllerSequence, and find in the block detales Controlled Blocks,Expand it, and find the one with a value of HeadAnims, expand HeadAnims and find Node Name, right click on Node name and pick Edit String Index, Copy(Ctr c) the Vale HeadAnims.

In New.kf click the NiControllerSequence and in the block detales find Num Controlled Blocks, dubble click the value and rase it buy two, right click on Controlled Blocks in the block detales and pick Array->update.

Expand Controlled Blocks and find the two blank ones at the end, Expand the first one, dubble click in the value of Interpolator and enter the number next to the pasted NiBoolInterpolator (Mine is 148 yours will be different), copy across all of the rest of the values from fa01's HeadAnims's block,note-ably:Priority, Node Name,Controller Type. AKA...

Interpolator = The number befor your pasted NiBoolInterpolator
Priority = 99
Node Name = HeadAnims
Controller Type = NiVisController

Do the same for the second new Controlled Block , but this time for the value of Interpolator enter the number next to the pasted NiFloatInterpolator(Mine is 149 yours will be different,but should be higher buy 1 the the last number),And agean copy the data from fa01's HeadAnims:0 Controlled Block. This time though when you get to Variable 2, Pick any face anim type from the list in Apendix 1.AKA...

Interpolator = The number befor your pasted NiFloatInterpolator
Priority = 99
Node Name = HeadAnims:0
Controller Type = NiGeomMorpherController
Variable 2 = BigAah. Or the Anim you wish to use form apendix 1

Almost done:

All that remains is to set the times on when to use the anim and how much... Expand your pasted NiFloatInterpolator, and click on the NiFloatData that is the clild,down in the block detales expand data, keys, and each key. mess with the Time and Value to match your needs. Time is when in the anim that the efect takes place, and value is how much with 1 being full power. Its worth noting that you can change the number of keys buy clicking in the value of Num Keys and hitting right click on the keys ,Array -> update.

Step 3

Save you work.... :)

Step 4

Try it in game and enjoy.

Hope this helps.

Apendix 1

Face keys you can use.

Aah
Anger
BigAah
BMP
BrowDownLeft
BrowDownRight
BrowInLeft
BrowInRight
BrowUpLeft
BrowUpRight
ChJSh
Disgust
DST
Ee
Eh
Fear
FV
Happy
I
K
N
Oh
OohQ
R
Sad
Surprise
Th
W
MoodNeutral
MoodAfraid
MoodAnnoyed
Cocky
MoodDrugged
MoodPleasant
MoodAngry
MoodSad
Pained
CombatAnger
BlinkLeft
BlinkRight
SquintLeft
SquintRight
LookDown
LookLeft
LookRight
LookUp


Apendix 2

I have posted a proof that this works

Breezes FO3 Female

Download the optional file BB and moving parts Demo. It has a face anim bult in. You DO NOT need the body to go with it.