> 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/for-mod-creators-theory/files-and-what-they-do/file-formats/animations-.anims/npc-animations.md).

# NPC animations

## Summary

Created: Jan 02 2025 by [nutboy](mailto:undefined)\
Last documented update: Jan 02 2025 by [nutboy](mailto:undefined)

This page will explain how NPC animations are selected and connected within the files.

### Wait, this is not what I want!

* For a guide on creating a custom NPC, check [AMM: Custom NPCs](/cyberpunk-2077-modding/modding-guides/npcs/amm-custom-npcs.md)
* For a guide on creating an even more custom NPC, check [NPV - V as custom NPC](/cyberpunk-2077-modding/modding-guides/npcs/npv-v-as-custom-npc.md)

## entAnimatedComponent

The very base for any animations is the entAnimatedComponent with the name of `root`.\
You can usually find it insde the [root entity's](https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/entity-.ent-files#root-entity) `components` array:

<figure><img src="/files/JFRuMzizjK74TbfqKwUa" alt=""><figcaption></figcaption></figure>

`animations.gameplay` animations does...

(we needed to put those, or no photo mode animations. Where are they read? Why aren't they overwritten by SetupExtensionComponents?)

### entAnimatedSetupExtensionComponent

One or more extensions to the [#entanimatedcomponent](#entanimatedcomponent "mention") for different contexts.\
You can usually find them insde the [root entity's](https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/entity-.ent-files#root-entity) `components` array:

<figure><img src="/files/MEaabVhEF78FJItcVOSd" alt=""><figcaption></figcaption></figure>

As of January 2025, we don't exactly know what they do and where they are read. Maybe ask psi at some point.


---

# 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/for-mod-creators-theory/files-and-what-they-do/file-formats/animations-.anims/npc-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.
