SMG HumanAnimationLogic

From SIMboxWiki
Jump to navigation Jump to search

Animation logic that controls human entities.

Type: Logic Object Component
File: SMG_HumanAnimationLogic.slc
Version: 450.1000.342.1


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_HUMAN_ANIMATION_MAX_REVERSE_SPEED  The maximum reverse speed for the motion state before switching using PROP_HUMAN_ANIMATION_NEXT_ANIMATION_STATE_IF_TOO_FAST    Default  Default 
PROP_HUMAN_ANIMATION_MAX_SPEED  The maximum speed for the motion state before switching using PROP_HUMAN_ANIMATION_NEXT_ANIMATION_STATE_IF_TOO_FAST    Default  Default 
PROP_HUMAN_ANIMATION_MIN_REVERSE_SPEED  The minimum reverse speed for the motion state before switching using PROP_HUMAN_ANIMATION_NEXT_ANIMATION_STATE_IF_TOO_SLOW    Default  Default 
PROP_HUMAN_ANIMATION_MIN_SPEED  The minimum speed for the motion state before switching using PROP_HUMAN_ANIMATION_NEXT_ANIMATION_STATE_IF_TOO_SLOW    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_CRAWL_MOTION_STATE  Motion state value of the crawl state to set in ATT_HUMAN_MOTION_CURRENT_MOTION_STATE    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_CRAWL_NAME  The name of the crawl animation    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_DEATH_NAME  The name of the death animation    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_JUMP_MOTION_STATE  Motion state value of the jump state to set in ATT_HUMAN_MOTION_CURRENT_MOTION_STATE  1000  -1    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_JUMP_NAME  The name of the jump animation    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_RUN_MOTION_STATE  Motion state value of the run state to set in ATT_HUMAN_MOTION_CURRENT_MOTION_STATE    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_RUN_NAME  The name of the run animation    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_SILENT_WALK_NAME  The name of the silent walk animation    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_SILENTWALK_MOTION_STATE  Motion state value of the silent walk state to set in ATT_HUMAN_MOTION_CURRENT_MOTION_STATE    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_WALK_MOTION_STATE  Motion state value of the walk state to set in ATT_HUMAN_MOTION_CURRENT_MOTION_STATE  1000  -1    Default  Default 
PROP_HUMAN_ANIMATION_MOVEMENT_WALK_NAME  The name of the normal walk animation    Default  Default 
PROP_HUMAN_ANIMATION_NEXT_ANIMATION_STATE_IF_TOO_FAST  Change to next action state if too fast    Default  Default 
PROP_HUMAN_ANIMATION_NEXT_ANIMATION_STATE_IF_TOO_SLOW  Change to next action state if too slow    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_COWER_NAME  The name of the cower animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_CROUCH_NAME  The name of the crouch animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_HANDS_BEHIND_NAME  The name of the 'hands behind back' animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_HANDS_UP_NAME  The name of the 'hands up' animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_IDLE_NAME  The name of the idle animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_KNEEL_NAME  The name of the kneel animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_PRONE_NAME  The name of the prone animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_SIT_NAME  The name of the sit animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_SQUAT_NAME  The name of the squat animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_TALK_NAME  The name of the talk animation    Default  Default 
PROP_HUMAN_ANIMATION_STATIC_WAVE_NAME  The name of the wave animation    Default  Default 
PROP_HUMAN_ANIMATION_UPPER_BODY_NAME  The name of the animation for the upper body    Default  Default 
PROP_HUMAN_ANIMATION_XML_PATH  Path to human animation XML file    File System  File 
PROP_HUMAN_INITIAL_MOVEMENT_ANIMATION  The name of the initial movement animation    Default  Default 
PROP_HUMAN_INITIAL_STATIC_ANIMATION  The name of the initial static animation    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_HUMAN_ANIMATION_IS_IN_MOTION  Is human in motion?  bool &      Default  Default 
ATT_HUMAN_ANIMATION_IS_LOOPED  Is current animation looped?  bool &      Default  Default 
ATT_HUMAN_ANIMATION_RATE  Animation Rate for Human Entity  float &      Default  Default 
ATT_HUMAN_CURRENT_ANIMATION_EXTENSION  The current extension that an animation may have for different types of animations  string &      Default  Default 
ATT_HUMAN_CURRENT_JUMP_ANIMATION_NAME  The current jump animation name  string &      Default  Default 
ATT_HUMAN_CURRENT_MOVEMENT_ANIMATION_NAME  The current animation being played while moving  string &      Default  Default 
ATT_HUMAN_CURRENT_MOVEMENT_VELOCITY  The current movement speed  float &      Default  Default 
ATT_HUMAN_CURRENT_STATIC_ANIMATION_NAME  The current static animation name. when not moving this animation will be playing  string &      Default  Default 
ATT_HUMAN_CURRENT_UPPER_BODY_ANIMATION_NAME  The current animation name of the upper body  string &      Default  Default 
ATT_HUMAN_IS_IN_JUMP  Human is currently in jump  bool &      Default  Default 
ATT_HUMAN_NEXT_MOVEMENT_STATE  To change the movement state if necessary  int &      Default  Default 
ATT_HUMAN_USE_ANIMATION_EXTENSION  Will use the animation extension when true  bool &      Default  Default 
ATT_HUMAN_USE_UPPER_BODY_ANIMATION_BLEND  Will use the upper body animation blend if active.  bool &      Default  Default 
ATT_HUMAN_USE_WEAPON_EXTENSION  Will use the weapon extension on the end of animations  bool &      Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_HUMAN_ANIMATION_MODE_DEATH  Plays the death animation. Does not kill entity.        Default  Default 
ACTION_HUMAN_ANIMATION_MOVEMENT_MODE_CRAWL  Sets the current movement animation to crawl        Default  Default 
ACTION_HUMAN_ANIMATION_MOVEMENT_MODE_RUN  Sets the current movement animation to run        Default  Default 
ACTION_HUMAN_ANIMATION_MOVEMENT_MODE_SILENT_WALK  Sets the current movement animation to silent walk        Default  Default 
ACTION_HUMAN_ANIMATION_MOVEMENT_MODE_WALK  Sets the current movement animation to walk        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_COWER  Set the static animation to cower        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_CROUCH  Set thet static animation to crouch        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_HANDS_BEHIND  Sets the static animation to 'hands behind'        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_HANDS_UP  Sets the static animation to 'hands up'        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_IDLE  Set the static animation to idle        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_KNEEL  Set the static animation to kneel        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_PRONE  Set the static animation to prone        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_SIT  Set the static animation to sit        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_SQUAT  Sets the static animation to squat        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_TALK  Set the static animation to talk        Default  Default 
ACTION_HUMAN_ANIMATION_STATIC_MODE_WAVE  Sets the static animation to wave        Default  Default 
ACTION_HUMAN_JUMP  The human will jump        Default  Default 
ACTION_HUMAN_MOVE_BACKWARD_START  Human will start moving backward        Default  Default 
ACTION_HUMAN_MOVE_BACKWARD_STOP  Human will stop moving backward        Default  Default 
ACTION_HUMAN_MOVE_FORWARD_START  Human will start moving forward        Default  Default 
ACTION_HUMAN_MOVE_FORWARD_STOP  Human will stop moving forward        Default  Default 
ACTION_HUMAN_RUN_FORWARD_START  Human will start running forward        Default  Default 
ACTION_HUMAN_RUN_FORWARD_STOP  Human will stop running forward        Default  Default 
ACTION_HUMAN_TOGGLE_CROUCH  Toggles human to be in crouch states        Default  Default 
ACTION_HUMAN_TOGGLE_PRONE  Toggle human to be in prone states        Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_HUMAN_MOTION_CURRENT_MOTION_STATE 
ATT_HUMAN_MOTION_FORWARD_SPEED 
ATT_HUMAN_MOTION_MOVEMENT_TYPE 
ATT_PATH_FOLLOWER_IS_ACTIVE 

back to top

Icon actions.png Required Actions

Name
ACTION_HUMAN_MOTION_SET_MOTION_STATE 
ACTION_HUMAN_MOTION_STOP_MOVING 

back to top