Commit 5f0c0505 authored by Jean Miraak's avatar Jean Miraak 💬 Committed by brabox

(!532) Added/fixed shelob animations state

parent 3b3ea9aa
- Added missing animations for Shelob and improved attack behiavor.
......@@ -676,7 +676,7 @@ Locomotor ShelobHillScalingLocomotor
;,;TurnThresholdHS = 60
Acceleration = 1500 ;,; 105 ;,; 100 ; 0.1 second to accelerate to full speed.
TurnPivotOffset = 1 ; where to pivot when turning (-1.0 = rear, 0.0 = center, 1.0 = front) ;,;
;,;TurnPivotOffset = 1 ; where to pivot when turning (-1.0 = rear, 0.0 = center, 1.0 = front) ;,;
Braking = 100 ; 0.1 second to brake from full speed.
MinTurnSpeed = 10% ;,; 0%
......@@ -1091,7 +1091,7 @@ Locomotor GoblinKingLocomotor
FastTurnRadius = 48.0 ;,; 10.0 ;;,;; 48.0 ; Once the catapult gets moving, still uses a 30 foot radius to turn.
FormationPriority = NO_FORMATION
TurnPivotOffset = 1 ; where to pivot when turning (-1.0 = rear, 0.0 = center, 1.0 = front)
;,;TurnPivotOffset = 1 ; where to pivot when turning (-1.0 = rear, 0.0 = center, 1.0 = front)
;Appearance = FOUR_LEGS_HUGE
Braking = 100 ; 1 second to brake from full speed.
......
......@@ -94,28 +94,48 @@ Object WildShelob
Flags = RANDOMSTART
End
AnimationState = STUNNED
;,;AnimationState = STUNNED
; Animation = Stun
; AnimationName = MUShelob_LNDA
; AnimationMode = ONCE
; End
;End
;,;AnimationState = STUNNED_STANDING_UP
; Animation = Stun
; AnimationName = MUShelob_GTPA
; AnimationMode = ONCE
; End
;End
; -------- DYING ANIMS ---------
AnimationState = DYING SPLATTED ;,;
Animation = LNDA
AnimationName = MUShelob_LNDA
AnimationMode = ONCE
End
End
AnimationState = DYING
Animation = DIEA
AnimationName = MUShelob_DIEA
AnimationMode = ONCE
End
End
AnimationState = STUNNED ;,;
Animation = Stun
AnimationName = MUShelob_LNDA
AnimationMode = ONCE
End
End
AnimationState = STUNNED_STANDING_UP
AnimationState = STUNNED_STANDING_UP ;,;
Animation = Stun
AnimationName = MUShelob_GTPA
AnimationMode = ONCE
End
End
; -------- DYING ANIMS ---------
AnimationState = DYING
Animation = DIEA
AnimationName = MUShelob_DIEA
AnimationMode = ONCE
End
End
AnimationState = SPECIAL_WEAPON_TWO ; InstillTerror
Animation
......@@ -126,7 +146,30 @@ Object WildShelob
End
; ------- MOVING ANIMS ---------
AnimationState = MOVING TURN_LEFT ;,; Added Moving
AnimationState = MOVING FIRING_OR_PREATTACK_A ;,;
Animation = RUNA
AnimationName = MUShelob_ATRA
AnimationMode = LOOP
End
End
AnimationState = MOVING TURN_LEFT_HIGH_SPEED ;,;
StateName = Turn
Animation = Walk
AnimationName = MUShelob_TRNL
AnimationMode = LOOP
End
End
AnimationState = MOVING TURN_RIGHT_HIGH_SPEED ;,;
StateName = Turn
Animation = Walk
AnimationName = MUShelob_TRNR
AnimationMode = LOOP
End
End
AnimationState = TURN_LEFT
StateName = Turn
Animation = Walk
AnimationName = MUShelob_TRNL
......@@ -134,7 +177,7 @@ Object WildShelob
End
End
AnimationState = MOVING TURN_RIGHT ;,; Added Moving
AnimationState = TURN_RIGHT
StateName = Turn
Animation = Walk
AnimationName = MUShelob_TRNR
......@@ -151,18 +194,25 @@ Object WildShelob
End
AnimationState = MOVING ATTACKING
StateName = STATE_Running ;,;
Animation = RUNA
AnimationName = MUShelob_RUNA
AnimationMode = LOOP
Distance = 21
;,;Distance = 21
End
BeginScript;script to set transition from moving ;,;
Prev = CurDrawablePrevAnimationState()
if Prev == "STATE_Climbing" then CurDrawableSetTransitionAnimState("Trans_ClimbingToRunning") return end
if Prev == "STATE_Rappelling" then CurDrawableSetTransitionAnimState("Trans_RappellingToRunning") return end
EndScript
End
AnimationState = MOVING
StateName = STATE_Running
Animation = WLKA
AnimationName = MUShelob_WLKA
AnimationMode = LOOP
Distance = 21
AnimationSpeedFactorRange = 5.0 5.0 ;,;
;,;Distance = 21
End
BeginScript;script to set transition from moving
......@@ -215,8 +265,31 @@ Object WildShelob
Animation = ATKA
AnimationName = MUShelob_ATKA
AnimationMode = ONCE
UseWeaponTiming = Yes ;,;
End
End
AnimationState = ATTACKING ;,;
Animation = IDLA
AnimationName = MUShelob_IDLA
AnimationMode = LOOP
End
End
; ------- HIT REACTION ANIMS --------- ;,;
AnimationState = HIT_REACTION HIT_LEVEL_1
Animation = Hit_Level_1_a
AnimationName = MUShelob_HITA
AnimationMode = ONCE
End
End
AnimationState = EMOTION_ALERT ;,;
Animation = ALERT
AnimationName = MUShelob_IDLA
AnimationMode = LOOP
End
End
AnimationState = SELECTED
Animation = IDLA
......@@ -237,12 +310,12 @@ Object WildShelob
End
; ------- HIT REACTION ANIMS ---------
AnimationState = HIT_REACTION HIT_LEVEL_1
Animation = Hit_Level_1_a
AnimationName = MUShelob_HITA
AnimationMode = ONCE
End
End
;,;AnimationState = HIT_REACTION HIT_LEVEL_1
; Animation = Hit_Level_1_a
; AnimationName = MUShelob_HITA
; AnimationMode = ONCE
; End
;End
End
; ***DESIGN parameters ***
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment