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