Skip to content

Using Facial Expressions

ocealot edited this page Apr 20, 2022 · 4 revisions

Certain animations will have facial expressions (smiling, grimacing, etc.) play during them. The can be specified both in the .tmb file and the "Tmb" section of the .pap file.

image

The most important thing to remember about modding expressions (and animations in general), is that you need to make sure you have accounted for each race+gender combination, as there are often differences between them. No matter what, animations have access to the poses available in face.pap. The paths for all facial animation data is specific for each face. For example, the face 4 female Au'ra smile is chara/human/c1401/animation/f0004/nonresident/smile.pap

image

However, there are many more expressions than just those in face.pap. In order to use them, a "face library" needs to be used

image

These are similar to face.pap in that they are bundled sets of facial animations. In this example, the following file lets the animation use the expressions cfxf_smile_wk and cfxf_wink_l

image

If you want an animation to be able to use different expressions, you will either need to edit the corresponding face library .pap, point to a different face library, or both. Remember that when modifying a face library .pap, you will need to do so for all of the relevant races and faces.