How NPC animations work
Created: Jan 02 2025 by nutboy Last documented update: Jan 02 2025 by nutboy
This page will explain how NPC animations are selected and connected within the files.
For a guide on creating a custom NPC, check AMM: Custom NPCs
For a guide on creating an even more custom NPC, check NPV - V as custom NPC
The very base for any animations is the entAnimatedComponent with the name of root. You can usually find it insde the root entity'sarrow-up-right components array:
root
components
animations.gameplay animations does...
animations.gameplay
(we needed to put those, or no photo mode animations. Where are they read? Why aren't they overwritten by SetupExtensionComponents?)
One or more extensions to the entAnimatedComponent for different contexts. You can usually find them insde the root entity'sarrow-up-right components array:
As of January 2025, we don't exactly know what they do and where they are read. Maybe ask psi at some point.
Last updated 1 year ago