Skip to content

AnimationCoreMap ​

Inherits: Resource

Parent package for animation inheritance When an animation is empty/null, the system will check the parent package

Properties ​

Stringparent_package""
Stringidle_standing"idle_standing"
Stringidle_crouch"idle_crouch"
Stringidle_swim"idle_swim"
Stringidle_fly"idle_fly"
Stringwalk_f"walk_f"
Stringwalk_b"walk_b"
Stringwalk_l"walk_l"
Stringwalk_r"walk_r"
Stringwalk_fl"walk_fl"
Stringwalk_fr"walk_fr"
Stringwalk_bl"walk_bl"
Stringwalk_br"walk_br"
Stringcrouch_walk_f"crouch_walk_f"
Stringcrouch_walk_b"crouch_walk_b"
Stringcrouch_walk_l"crouch_walk_l"
Stringcrouch_walk_r"crouch_walk_r"
Stringcrouch_walk_fl"crouch_walk_fl"
Stringcrouch_walk_fr"crouch_walk_fr"
Stringcrouch_walk_bl"crouch_walk_bl"
Stringcrouch_walk_br"crouch_walk_br"
Stringrun_f"run_f"
Stringrun_b"run_b"
Stringrun_l"run_l"
Stringrun_r"run_r"
Stringrun_fl"run_fl"
Stringrun_fr"run_fr"
Stringrun_bl"run_bl"
Stringrun_br"run_br"
Stringsprint_f"sprint_f"
Stringsprint_b"sprint_b"
Stringsprint_l"sprint_l"
Stringsprint_r"sprint_r"
Stringsprint_fl"sprint_fl"
Stringsprint_fr"sprint_fr"
Stringsprint_bl"sprint_bl"
Stringsprint_br"sprint_br"
Stringstrafe_l"strafe_l"
Stringstrafe_r"strafe_r"
Stringstrafe_lf"strafe_lf"
Stringstrafe_lb"strafe_lb"
Stringstrafe_rf"strafe_rf"
Stringstrafe_rb"strafe_rb"
Stringturn_standing_90_l"turn_standing_90_l"
Stringturn_standing_90_r"turn_standing_90_r"
Stringturn_standing_180_l"turn_standing_180_l"
Stringturn_standing_180_r"turn_standing_180_r"
Stringturn_crouch_90_l"turn_crouch_90_l"
Stringturn_crouch_90_r"turn_crouch_90_r"
Stringturn_crouch_180_l"turn_crouch_180_l"
Stringturn_crouch_180_r"turn_crouch_180_r"
Stringjump_idle"jump_idle"
Stringjump_running"jump_running"
Stringfall_start"fall_start"
Stringfall_loop"fall_loop"
Stringland_soft"land_soft"
Stringland_medium"land_medium"
Stringland_hard"land_hard"
Stringswim_f"swim_f"
Stringswim_b"swim_b"
Stringswim_l"swim_l"
Stringswim_r"swim_r"
Stringswim_fl"swim_fl"
Stringswim_fr"swim_fr"
Stringswim_bl"swim_bl"
Stringswim_br"swim_br"
Stringswim_up"swim_up"
Stringswim_down"swim_down"
Stringfly_f"fly_f"
Stringfly_b"fly_b"
Stringfly_l"fly_l"
Stringfly_r"fly_r"
Stringfly_fl"fly_fl"
Stringfly_fr"fly_fr"
Stringfly_bl"fly_bl"
Stringfly_br"fly_br"
Stringfly_up"fly_up"
Stringfly_down"fly_down"
Stringcombat_idle_unarmed"combat_idle"
Stringcombat_idle_shield"combat_idle_shield"
Stringcombat_idle_one_hand"combat_idle_1h"
Stringcombat_idle_dual_wield"combat_idle_dual_wield"
Stringcombat_idle_two_hand"combat_idle_2h"
Stringcombat_idle_ranged_weapon"combat_idle_ranged"
Stringcombat_idle_bow"combat_idle_bow"
Stringcombat_idle_polearm"combat_idle_polearm"
Array[String]block_unarmed[]
Array[String]block_shield[]
Array[String]block_one_hand[]
Array[String]block_dual_wield[]
Array[String]block_two_hand[]
Array[String]block_ranged_weapon[]
Array[String]block_bow[]
Array[String]block_polearm[]
Array[String]block_casting[]
Array[String]dodge[]
Array[String]hit[]
Stringsheathe_one_hand"sheathe_one_hand"
Stringsheathe_two_hand"sheathe_two_hand"
Stringsheathe_dual_wield"sheathe_dual_wield"
Stringsheathe_off_hand"sheathe_off_hand"
Stringsheathe_bow"sheathe_bow"
Stringsheathe_ranged_weapon"sheathe_ranged_weapon"
Stringsheathe_polearm"sheathe_polearm"
Stringunsheathe_one_hand"unsheathe_one_hand"
Stringunsheathe_two_hand"unsheathe_two_hand"
Stringunsheathe_dual_wield"unsheathe_dual_wield"
Stringunsheathe_off_hand"unsheathe_off_hand"
Stringunsheathe_bow"unsheathe_bow"
Stringunsheathe_ranged_weapon"unsheathe_ranged_weapon"
Stringunsheathe_polearm"unsheathe_polearm"
Array[String]death_default[]
Array[String]death_swim[]
Stringloot"loot"
Stringshort_interact"short_interact"
Stringloop_interact"loop_interact"
Stringpush"push"
Stringpull"pull"
Stringclimb"climb"
Dictionarytrigger_animations{}

Methods ​

Arrayget_trigger_animation_list( slot_name: String, weapon_tag: String = "" )
Stringget_trigger_animation( slot_name: String, weapon_tag: String = "" )
Arrayget_trigger_clips( key: String )
voidset_trigger_clips( key: String, clips: Array )
boolhas_parent()
AnimationCoreMapget_parent_map()
Variantget_with_fallback( property_name: String )
Stringget_animation_name( anim_enum: EntityAnimationPlayer.AnimationName )
Stringget_random_animation_from_array_with_fallback( property_name: String )
Array[String]get_inheritance_chain()

Property descriptions ​

Package Settings

String parent_package = "" ​

Parent package for animation inheritance When an animation is empty/null, the system will check the parent package

Idles

String idle_standing = "idle_standing" ​

The animation of standing still standing.

String idle_crouch = "idle_crouch" ​

The animation of standing still crouching.

String idle_swim = "idle_swim" ​

The animation of standing still swimming.

String idle_fly = "idle_fly" ​

The animation of standing still flying (floating in the air). Empty uses the swimming one.

Walk

String walk_f = "walk_f" ​

The animation of walking forward.

String walk_b = "walk_b" ​

The animation of walking backward.

String walk_l = "walk_l" ​

The animation of walking left.

String walk_r = "walk_r" ​

The animation of walking right.

String walk_fl = "walk_fl" ​

The animation of walking forward and left.

String walk_fr = "walk_fr" ​

The animation of walking forward and right.

String walk_bl = "walk_bl" ​

The animation of walking backward and left.

String walk_br = "walk_br" ​

The animation of walking backward and right.

Crouch Walk

String crouch_walk_f = "crouch_walk_f" ​

The animation of walking crouched forward.

String crouch_walk_b = "crouch_walk_b" ​

The animation of walking crouched backward.

String crouch_walk_l = "crouch_walk_l" ​

The animation of walking crouched left.

String crouch_walk_r = "crouch_walk_r" ​

The animation of walking crouched right.

String crouch_walk_fl = "crouch_walk_fl" ​

The animation of walking crouched forward and left.

String crouch_walk_fr = "crouch_walk_fr" ​

The animation of walking crouched forward and right.

String crouch_walk_bl = "crouch_walk_bl" ​

The animation of walking crouched backward and left.

String crouch_walk_br = "crouch_walk_br" ​

The animation of walking crouched backward and right.

Run

String run_f = "run_f" ​

The animation of running forward.

String run_b = "run_b" ​

The animation of running backward.

String run_l = "run_l" ​

The animation of running left.

String run_r = "run_r" ​

The animation of running right.

String run_fl = "run_fl" ​

The animation of running forward and left.

String run_fr = "run_fr" ​

The animation of running forward and right.

String run_bl = "run_bl" ​

The animation of running backward and left.

String run_br = "run_br" ​

The animation of running backward and right.

Sprint

String sprint_f = "sprint_f" ​

The animation of sprinting forward.

String sprint_b = "sprint_b" ​

The animation of sprinting backward.

String sprint_l = "sprint_l" ​

The animation of sprinting left.

String sprint_r = "sprint_r" ​

The animation of sprinting right.

String sprint_fl = "sprint_fl" ​

The animation of sprinting forward and left.

String sprint_fr = "sprint_fr" ​

The animation of sprinting forward and right.

String sprint_bl = "sprint_bl" ​

The animation of sprinting backward and left.

String sprint_br = "sprint_br" ​

The animation of sprinting backward and right.

Strafe

String strafe_l = "strafe_l" ​

The animation of strafing left.

String strafe_r = "strafe_r" ​

The animation of strafing right.

String strafe_lf = "strafe_lf" ​

The animation of strafing left and forward.

String strafe_lb = "strafe_lb" ​

The animation of strafing left and backward.

String strafe_rf = "strafe_rf" ​

The animation of strafing right and forward.

String strafe_rb = "strafe_rb" ​

The animation of strafing right and backward.

Turn

String turn_standing_90_l = "turn_standing_90_l" ​

The animation of turning 90 degrees to the left while standing.

String turn_standing_90_r = "turn_standing_90_r" ​

The animation of turning 90 degrees to the right while standing.

String turn_standing_180_l = "turn_standing_180_l" ​

The animation of turning 180 degrees to the left while standing.

String turn_standing_180_r = "turn_standing_180_r" ​

The animation of turning 180 degrees to the right while standing.

Crouch Turn

String turn_crouch_90_l = "turn_crouch_90_l" ​

The animation of turning 90 degrees to the left while crouching.

String turn_crouch_90_r = "turn_crouch_90_r" ​

The animation of turning 90 degrees to the right while crouching.

String turn_crouch_180_l = "turn_crouch_180_l" ​

The animation of turning 180 degrees to the left while crouching.

String turn_crouch_180_r = "turn_crouch_180_r" ​

The animation of turning 180 degrees to the right while crouching.

Jump

String jump_idle = "jump_idle" ​

The animation of jumping from standing still.

String jump_running = "jump_running" ​

The animation of jumping while running.

Fall

String fall_start = "fall_start" ​

The animation of the start of a fall.

String fall_loop = "fall_loop" ​

The animation of falling, played in a loop.

Landing

String land_soft = "land_soft" ​

The animation of a soft landing (by how far the entity fell).

String land_medium = "land_medium" ​

The animation of a medium landing (by how far the entity fell).

String land_hard = "land_hard" ​

The animation of a hard landing (by how far the entity fell).

Swim

String swim_f = "swim_f" ​

The animation of swimming forward.

String swim_b = "swim_b" ​

The animation of swimming backward.

String swim_l = "swim_l" ​

The animation of swimming left.

String swim_r = "swim_r" ​

The animation of swimming right.

String swim_fl = "swim_fl" ​

The animation of swimming forward and left.

String swim_fr = "swim_fr" ​

The animation of swimming forward and right.

String swim_bl = "swim_bl" ​

The animation of swimming backward and left.

String swim_br = "swim_br" ​

The animation of swimming backward and right.

String swim_up = "swim_up" ​

The animation of swimming up.

String swim_down = "swim_down" ​

The animation of swimming down.

Fly

String fly_f = "fly_f" ​

The animation of flying (floating) forward. Every fly animation that is empty uses the swimming one.

String fly_b = "fly_b" ​

The animation of flying backward.

String fly_l = "fly_l" ​

The animation of flying left.

String fly_r = "fly_r" ​

The animation of flying right.

String fly_fl = "fly_fl" ​

The animation of flying forward and left.

String fly_fr = "fly_fr" ​

The animation of flying forward and right.

String fly_bl = "fly_bl" ​

The animation of flying backward and left.

String fly_br = "fly_br" ​

The animation of flying backward and right.

String fly_up = "fly_up" ​

The animation of flying up.

String fly_down = "fly_down" ​

The animation of flying down.

Combat Idle

String combat_idle_unarmed = "combat_idle" ​

The animation of standing ready in combat, unarmed.

String combat_idle_shield = "combat_idle_shield" ​

The animation of standing ready in combat, with a shield.

String combat_idle_one_hand = "combat_idle_1h" ​

The animation of standing ready in combat, with a one hand weapon.

String combat_idle_dual_wield = "combat_idle_dual_wield" ​

The animation of standing ready in combat, with two weapons.

String combat_idle_two_hand = "combat_idle_2h" ​

The animation of standing ready in combat, with a two hand weapon.

String combat_idle_ranged_weapon = "combat_idle_ranged" ​

The animation of standing ready in combat, with a ranged weapon.

String combat_idle_bow = "combat_idle_bow" ​

The animation of standing ready in combat, with a bow.

String combat_idle_polearm = "combat_idle_polearm" ​

The animation of standing ready in combat, with a polearm.

Block

Array[String] block_unarmed = [] ​

The animations of blocking, unarmed (one is picked at random).

Array[String] block_shield = [] ​

The animations of blocking, with a shield (one is picked at random).

Array[String] block_one_hand = [] ​

The animations of blocking, with a one hand weapon (one is picked at random).

Array[String] block_dual_wield = [] ​

The animations of blocking, with two weapons (one is picked at random).

Array[String] block_two_hand = [] ​

The animations of blocking, with a two hand weapon (one is picked at random).

Array[String] block_ranged_weapon = [] ​

The animations of blocking, with a ranged weapon (one is picked at random).

Array[String] block_bow = [] ​

The animations of blocking, with a bow (one is picked at random).

Array[String] block_polearm = [] ​

The animations of blocking, with a polearm (one is picked at random).

Array[String] block_casting = [] ​

The animations of blocking while casting (one is picked at random).

Dodge

Array[String] dodge = [] ​

The animations of dodging (one is picked at random).

Hit

Array[String] hit = [] ​

The animations of being hit (one is picked at random).

Sheathe

String sheathe_one_hand = "sheathe_one_hand" ​

The animation of putting the weapon away, with a one hand weapon.

String sheathe_two_hand = "sheathe_two_hand" ​

The animation of putting the weapon away, with a two hand weapon.

String sheathe_dual_wield = "sheathe_dual_wield" ​

The animation of putting the weapon away, with two weapons.

String sheathe_off_hand = "sheathe_off_hand" ​

The animation of putting the weapon away, of the off hand.

String sheathe_bow = "sheathe_bow" ​

The animation of putting the weapon away, with a bow.

String sheathe_ranged_weapon = "sheathe_ranged_weapon" ​

The animation of putting the weapon away, with a ranged weapon.

String sheathe_polearm = "sheathe_polearm" ​

The animation of putting the weapon away, with a polearm.

Unsheathe

String unsheathe_one_hand = "unsheathe_one_hand" ​

The animation of drawing the weapon, with a one hand weapon.

String unsheathe_two_hand = "unsheathe_two_hand" ​

The animation of drawing the weapon, with a two hand weapon.

String unsheathe_dual_wield = "unsheathe_dual_wield" ​

The animation of drawing the weapon, with two weapons.

String unsheathe_off_hand = "unsheathe_off_hand" ​

The animation of drawing the weapon, of the off hand.

String unsheathe_bow = "unsheathe_bow" ​

The animation of drawing the weapon, with a bow.

String unsheathe_ranged_weapon = "unsheathe_ranged_weapon" ​

The animation of drawing the weapon, with a ranged weapon.

String unsheathe_polearm = "unsheathe_polearm" ​

The animation of drawing the weapon, with a polearm.

Death

Array[String] death_default = [] ​

The animations of dying (one is picked at random).

Array[String] death_swim = [] ​

The animations of dying in water (one is picked at random).

InteractObject

String loot = "loot" ​

The animation of looting.

String short_interact = "short_interact" ​

The animation of a short interaction (pressing a button, picking up).

String loop_interact = "loop_interact" ​

The animation of a long interaction, played in a loop (crafting, opening a lock).

String push = "push" ​

The animation of pushing.

String pull = "pull" ​

The animation of pulling.

String climb = "climb" ​

The animation of climbing.

Triggers

Dictionary trigger_animations = ​

The animations of the trigger tags that have an animation (Trigger Tags > Entity reactions), edited in the Triggers section of Assets > Animations. The key is the slot of the trigger (parry); for a trigger that depends on the weapon it is the slot and the attack tag of the weapon class (parry/1h_weapon_r, parry/unarmed). The value is the list of clips (one is picked at random)

Method descriptions ​

Array get_trigger_animation_list( slot_name: String, weapon_tag: String = "" ) ​

The clips for a trigger slot and the weapon in hand: the list for the weapon, else the list for unarmed, else the slot's own list, else the parent package's

String get_trigger_animation( slot_name: String, weapon_tag: String = "" ) ​

One clip for a trigger slot and the weapon in hand ("" when there is none)

Array get_trigger_clips( key: String ) ​

The clips of one key of the trigger animations (a slot, or slot/weapon): this map's own, not the parent's

void set_trigger_clips( key: String, clips: Array ) ​

No description yet.

bool has_parent() ​

Check if this package has a parent

AnimationCoreMap get_parent_map() ​

Get the parent package's animation map (returns null if no parent or parent not found)

Variant get_with_fallback( property_name: String ) ​

Get animation with parent fallback Returns the animation from this map, or from parent if this value is empty

String get_animation_name( anim_enum: EntityAnimationPlayer.AnimationName ) ​

Get the mapped animation name for a specific AnimationName enum Uses parent fallback automatically

String get_random_animation_from_array_with_fallback( property_name: String ) ​

Get a random animation name from an array property with parent fallback

Array[String] get_inheritance_chain() ​

Get the full inheritance chain (for debugging/UI)