Titan Quest Fans Forum

Titan Quest - Anniversary Edition => Modifications => Topic started by: MatTQFan2006 on 13 March 2023, 22:55:22

Title: Add Animation to a projectile Skill
Post by: MatTQFan2006 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!
Title: Re: Add Animation to a projectile Skill
Post by: nargil66 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.
SimplePortal 2.3.7 © 2008-2026, SimplePortal