AnimationCoreMap ​
Inherits: Resource
Parent package for animation inheritance When an animation is empty/null, the system will check the parent package
Properties ​
String | parent_package | "" |
String | idle_standing | "idle_standing" |
String | idle_crouch | "idle_crouch" |
String | idle_swim | "idle_swim" |
String | idle_fly | "idle_fly" |
String | walk_f | "walk_f" |
String | walk_b | "walk_b" |
String | walk_l | "walk_l" |
String | walk_r | "walk_r" |
String | walk_fl | "walk_fl" |
String | walk_fr | "walk_fr" |
String | walk_bl | "walk_bl" |
String | walk_br | "walk_br" |
String | crouch_walk_f | "crouch_walk_f" |
String | crouch_walk_b | "crouch_walk_b" |
String | crouch_walk_l | "crouch_walk_l" |
String | crouch_walk_r | "crouch_walk_r" |
String | crouch_walk_fl | "crouch_walk_fl" |
String | crouch_walk_fr | "crouch_walk_fr" |
String | crouch_walk_bl | "crouch_walk_bl" |
String | crouch_walk_br | "crouch_walk_br" |
String | run_f | "run_f" |
String | run_b | "run_b" |
String | run_l | "run_l" |
String | run_r | "run_r" |
String | run_fl | "run_fl" |
String | run_fr | "run_fr" |
String | run_bl | "run_bl" |
String | run_br | "run_br" |
String | sprint_f | "sprint_f" |
String | sprint_b | "sprint_b" |
String | sprint_l | "sprint_l" |
String | sprint_r | "sprint_r" |
String | sprint_fl | "sprint_fl" |
String | sprint_fr | "sprint_fr" |
String | sprint_bl | "sprint_bl" |
String | sprint_br | "sprint_br" |
String | strafe_l | "strafe_l" |
String | strafe_r | "strafe_r" |
String | strafe_lf | "strafe_lf" |
String | strafe_lb | "strafe_lb" |
String | strafe_rf | "strafe_rf" |
String | strafe_rb | "strafe_rb" |
String | turn_standing_90_l | "turn_standing_90_l" |
String | turn_standing_90_r | "turn_standing_90_r" |
String | turn_standing_180_l | "turn_standing_180_l" |
String | turn_standing_180_r | "turn_standing_180_r" |
String | turn_crouch_90_l | "turn_crouch_90_l" |
String | turn_crouch_90_r | "turn_crouch_90_r" |
String | turn_crouch_180_l | "turn_crouch_180_l" |
String | turn_crouch_180_r | "turn_crouch_180_r" |
String | jump_idle | "jump_idle" |
String | jump_running | "jump_running" |
String | fall_start | "fall_start" |
String | fall_loop | "fall_loop" |
String | land_soft | "land_soft" |
String | land_medium | "land_medium" |
String | land_hard | "land_hard" |
String | swim_f | "swim_f" |
String | swim_b | "swim_b" |
String | swim_l | "swim_l" |
String | swim_r | "swim_r" |
String | swim_fl | "swim_fl" |
String | swim_fr | "swim_fr" |
String | swim_bl | "swim_bl" |
String | swim_br | "swim_br" |
String | swim_up | "swim_up" |
String | swim_down | "swim_down" |
String | fly_f | "fly_f" |
String | fly_b | "fly_b" |
String | fly_l | "fly_l" |
String | fly_r | "fly_r" |
String | fly_fl | "fly_fl" |
String | fly_fr | "fly_fr" |
String | fly_bl | "fly_bl" |
String | fly_br | "fly_br" |
String | fly_up | "fly_up" |
String | fly_down | "fly_down" |
String | combat_idle_unarmed | "combat_idle" |
String | combat_idle_shield | "combat_idle_shield" |
String | combat_idle_one_hand | "combat_idle_1h" |
String | combat_idle_dual_wield | "combat_idle_dual_wield" |
String | combat_idle_two_hand | "combat_idle_2h" |
String | combat_idle_ranged_weapon | "combat_idle_ranged" |
String | combat_idle_bow | "combat_idle_bow" |
String | combat_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 | [] |
String | sheathe_one_hand | "sheathe_one_hand" |
String | sheathe_two_hand | "sheathe_two_hand" |
String | sheathe_dual_wield | "sheathe_dual_wield" |
String | sheathe_off_hand | "sheathe_off_hand" |
String | sheathe_bow | "sheathe_bow" |
String | sheathe_ranged_weapon | "sheathe_ranged_weapon" |
String | sheathe_polearm | "sheathe_polearm" |
String | unsheathe_one_hand | "unsheathe_one_hand" |
String | unsheathe_two_hand | "unsheathe_two_hand" |
String | unsheathe_dual_wield | "unsheathe_dual_wield" |
String | unsheathe_off_hand | "unsheathe_off_hand" |
String | unsheathe_bow | "unsheathe_bow" |
String | unsheathe_ranged_weapon | "unsheathe_ranged_weapon" |
String | unsheathe_polearm | "unsheathe_polearm" |
Array[String] | death_default | [] |
Array[String] | death_swim | [] |
String | loot | "loot" |
String | short_interact | "short_interact" |
String | loop_interact | "loop_interact" |
String | push | "push" |
String | pull | "pull" |
String | climb | "climb" |
Dictionary | trigger_animations | {} |
Methods ​
Array | get_trigger_animation_list( slot_name: String, weapon_tag: String = "" ) |
String | get_trigger_animation( slot_name: String, weapon_tag: String = "" ) |
Array | get_trigger_clips( key: String ) |
void | set_trigger_clips( key: String, clips: Array ) |
bool | has_parent() |
AnimationCoreMap | get_parent_map() |
Variant | get_with_fallback( property_name: String ) |
String | get_animation_name( anim_enum: EntityAnimationPlayer.AnimationName ) |
String | get_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)