Jump to content


Photo

Glorious Charge Animation for Knights of Dol Amroth


  • Please log in to reply
10 replies to this topic

#1 Andy^

Andy^
  • Members
  • 9 posts
  • Projects:http://www.gamereplays.org/riseofthewitchking/

Posted 23 October 2016 - 10:11 PM

Hi!

 

I've tried to use RURohrm_SKL.RURohrm_CHRC but somehow doesn't work... here's the problem:

 

Example: Theoden has:

 

AnimationState = PACKING_TYPE_1 MOUNTED
StateName = SPELL
Animation = SPCC
AnimationName = RUHHs_Theo_IDLC
AnimationSpeedFactorRange = 0.842 0.842
AnimationMode = ONCE
End
End
 
which is the animation for:
 
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenGloriousChargeEnabler
SpecialPowerTemplate = SpecialAbilityTheodenGloriousCharge
TriggeredBy = Upgrade_TheodenGloriousCharge
End
Behavior = SpecialPowerModule ModuleTag_TheodenGloriousChargeUpdate   
SpecialPowerTemplate      = SpecialAbilityTheodenGloriousCharge
UpdateModuleStartsAttack  = Yes
StartsPaused = Yes
AttributeModifier = TheodenGloriousCharge
AttributeModifierRange = 200
AttributeModifierAffectsSelf = Yes
AttributeModifierAffects = ANY +CAVALRY -MordorBlackRiderHorde -MordorBlackRider -GondorKnightsofDolHorde -GondorKnightsofDol -WildBabyDrakeHorde -WildBabyDrake ;;.;; Removed MHH
AttributeModifierFX = FX_TheodenGloriousChargeFX
End
 
Behavior = AutoAbilityBehavior ModuleTag_GloriousChargeAutoAbility ;;,;;
SpecialAbility = SpecialAbilityTheodenGloriousCharge
ForbiddenStatus = INSIDE_GARRISON ;;,;; This seems to prevent the ability from being used inside a tower
MaxScanRange = 200
Query = 20 ANY +CAVALRY -MordorBlackRiderHorde -MordorBlackRider -GondorKnightsofDolHorde -GondorKnightsofDol -WildBabyDrakeHorde -WildBabyDrake ALLIES
End
 
Behavior = SpecialAbilityUpdate ModuleTag_GloriousChargeAnimation
UnpackTime              = 1000
UnpackingVariation = 1
 
SpecialPowerTemplate = SpecialAbilityTheodenGloriousCharge
  PreparationTime         = 0  
  PersistentPrepTime      = 0
  PackTime                = 1330
  End

 

What I wanna do is replacing the animation state shared above with RURohrm_CHRC. For some reason I've tried a lot but it was an waste. Literally no animation. Your help is really appreciated. What I used so far:

 

AnimationState = PACKING_TYPE_1 
StateName = SPELL
Animation = SPCC
AnimationName = RURohrm_CHRC or RURohrm_SKL.RURohrm_CHRC
AnimationSpeedFactorRange = 0.842 0.842
AnimationMode = ONCE
End
End

 

or 

 

AnimationState = PACKING_TYPE_1 
Animation = CheerC
AnimationName = RURohrm_CHRC or RURohrm_SKL.RURohrm_CHRC
AnimationSpeedFactorRange = 0.842 0.842
AnimationMode = ONCE
End
End
 
Anything missing?

Edited by Andy^, 23 October 2016 - 10:48 PM.


#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 16 November 2016 - 10:40 AM

And this unit still has the theoden skl?


Ridder Geel

#3 Andy^

Andy^
  • Members
  • 9 posts
  • Projects:http://www.gamereplays.org/riseofthewitchking/

Posted 16 November 2016 - 12:41 PM

Hi Ridder Geel!

 

Not exactly, I just wanna use this animation "RURohrm_CHRC" which is the horse standing, similar with Theoden animation. Knights of Dol Amroth already have the animation while cheering,  giving the animation for their ability it's the problem.

 

#4 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 16 November 2016 - 06:12 PM

Unless you have made changes to the animation setup, this is what you should try:

AnimationState = PACKING_TYPE_1 
 StateName = SPELL
  Animation = SPCC
  AnimationName = RURohrm_SKL.RURohrm_CHRC
  AnimationSpeedFactorRange = 0.842 0.842
  AnimationMode = ONCE
 End
End

I don't see why this shouldn't work, except for maybe because EA never meant this ability to be used by hordes. The ability works though, just the animation doesn't?


26285.png


#5 Andy^

Andy^
  • Members
  • 9 posts
  • Projects:http://www.gamereplays.org/riseofthewitchking/

Posted 16 November 2016 - 06:26 PM

Yes, just the animation which is kinda annoying, because the slayer ability from Zealots works fine yet they use the Gimli skeleton, which means this can't be a horde issue :D


Edited by Andy^, 16 November 2016 - 06:29 PM.


#6 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 16 November 2016 - 09:17 PM

The slayer ability however doesn't trigger an animation. I think the game has issues to make a horde use a certain animation of a single unit. Have you tried creating the single unit (instead of the horde) and checked if it uses the animation then? Might be worth a try. And if the animation works for the single unit, we know where the issue is.


26285.png


#7 Andy^

Andy^
  • Members
  • 9 posts
  • Projects:http://www.gamereplays.org/riseofthewitchking/

Posted 16 November 2016 - 11:50 PM

I will try this tomorrow, thanks Echo :)

 

EDIT : Doesn't work.


Edited by Andy^, 17 November 2016 - 02:28 PM.


#8 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 19 November 2016 - 06:27 PM

That's really odd. I don't really know why this isn't working, then.. I cannot test it myself right now either. What have you added to the Dol Amroth Knight Horde? Any code that might refer to an animation?


26285.png


#9 Andy^

Andy^
  • Members
  • 9 posts
  • Projects:http://www.gamereplays.org/riseofthewitchking/

Posted 19 November 2016 - 08:02 PM

; --------------- Knights Glorious Charge -----------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenGloriousChargeEnabler
SpecialPowerTemplate = SpecialAbilityTheodenGloriousCharge
TriggeredBy = Upgrade_MiniHordeLvl5 ;,; Upgrade_MiniHordeLvl7
End
Behavior = SpecialPowerModule ModuleTag_TheodenGloriousChargeUpdate   
SpecialPowerTemplate     = SpecialAbilityTheodenGloriousCharge
UpdateModuleStartsAttack = Yes
StartsPaused = Yes
AttributeModifier = KnightsofDolCharge
;AttributeModifierRange = 10
AttributeModifierAffectsSelf = Yes
;AttributeModifierAffects = ANY +GondorKnightsofDol
AttributeModifierFX = FX_TheodenGloriousChargeFX
InitiateSound = KnightsDolAmrothGloriousCharge
End
 
Behavior = SpecialAbilityUpdate ModuleTag_GloriousChargeAnimation
UnpackTime               = 1000
UnpackingVariation = 1
 
SpecialPowerTemplate = SpecialAbilityTheodenGloriousCharge
  PreparationTime         = 0  
  PersistentPrepTime      = 0
  PackTime                = 1330
  End
 
:/


#10 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Lot3A
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 20 November 2016 - 04:48 AM

It's a hit or miss. I assume that no animation plays because the two Special Power modules might stand in conflict with each other. In the horde module, you're referring to an Unpacking Variation that doesn't exist for the Horde object, so it cannot play that animation for the horde. It might be that this overwrites the animation for the single unit. Does anything happen if you comment out/remove this line for the horde?

UnpackingVariation = 1

I will see if I have some time to look into this later.


26285.png


#11 Andy^

Andy^
  • Members
  • 9 posts
  • Projects:http://www.gamereplays.org/riseofthewitchking/

Posted 20 November 2016 - 10:55 PM

I will try this as soon as possible. Thanks again :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users