# Facial Animations

Summary

**Created by @Simarilius 3/10/24**

**Based on info from Loomy and JohnCO**

John CO worked out how to export facial animations to blender while creating his[ like a Supreme bootleg video](https://www.youtube.com/watch?v=aSQvmkor0TE) (check it out if you havent seen it, its impressive) with help from Loomy, and the resulting script is available in the plugin resources folder.

The original could only process scenerid files but its now able to process .anim files too.

Thats all well and good but you need to be able to find them, so again with the help of Loomy I've been digging into the file structures to work out how things are related. A pictures worth a 1000 words so here you go:

<figure><img src="/files/kgOv8IJHkMy0tG69aBEm" alt=""><figcaption><p>The Relationships (as far as I can tell from FAFO so far) between scene node, dialog event to sound/anim files</p></figcaption></figure>

Basically you want to find the audio on <https://sounddb.redmodding.org/subtitles> get the locStringId, then the tricky bit is finding the scene its referenced by, from that you can find the dialogLine, which lets you find the actor id, and locate the anims file. Anim for it should be in there with the locstring as its name. Am going to try scrape all the scene files to a db to make the tricky bit easier.


---

# 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://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/animations/facial-animations.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.
