Author Topic: Add Animation to a projectile Skill  (Read 709 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline MatTQFan2006

  • Member
  • *
  • Topic Author
  • Posts: 11
  • Country: de
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Add Animation to a projectile Skill
« on: 13 March 2023, 22:55:22 »
Hey, I'm trying to add a Skill for throwing a spear.
Thanks to a friend that was easy to work out.
But how can I put a special animation for this skill? Maybe even let the character grab (hold the item) the spear and throw it like he would with a normal throwing weapon?

I'm thankful for any help!

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: Add Animation to a projectile Skill
« Reply #1 on: 14 March 2023, 23:16:04 »
If you mean where to link the animation, there is a SpecialAnimation field under the Skill Config section of your spear throwing skill.
You have to put a string there, signifying the animation (for example "SpearThrow") and then in the character animation table, under one of the SpecialAnm slots of Spear section put the link to the ACTUAL animation file + your custom string under it. Then give that skill to your character somehow (via mastery skill or item) and if you did everything right, the skill should trigger the animation.
« Last Edit: 15 March 2023, 02:40:09 by nargil66 »

Tags:
 


SimplePortal 2.3.7 © 2008-2024, SimplePortal