> For the complete documentation index, see [llms.txt](https://wiki.redmodding.org/cyberpunk-2077-modding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/animations/facial-animations.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/animations/facial-animations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
