Types/CharacterArmorAnimation

From Official Factorio Wiki
Revision as of 12:30, 23 May 2018 by Bilka (talk | contribs) (Created page with "== Basics == The data for one variation of character animations. See Prototype/Charactet#animations. == Mandatory properties == === idle === '''Type''': Types/RotatedAn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

The data for one variation of character animations. See Prototype/Charactet#animations.

Mandatory properties

idle

Type: Types/RotatedAnimation

idle_with_gun

Type: Types/RotatedAnimation

running

Type: Types/RotatedAnimation

running_with_gun

Type: Types/RotatedAnimation

Must contain exactly 18 directions, so all of the combination of gun direction and moving direction can be covered. Some of these variations are used in reverse to save space. You can use the character animation in the base game for reference.

mining_with_hands

Type: Types/RotatedAnimation

mining_with_tool

Type: Types/RotatedAnimation

Optional properties

armors

Type: Types/table of Types/string

The names of the armors this animation data is used for. Don't define this if you want the animations to be used for the player without armor.