Jump to content

How is the animation system implemented?


troy8696

Recommended Posts

Hey guys, I have been working on a mod for some time now and created new soldier classes, weapons abilities etc. One of the characters I have created for fun is a primary melee unit that has a sword in weapon slot 1 with a default higher damage value and passive perks which grant additional damage similar to the ranger but on a bigger scale, and this works fine however I want to use custom animations for this unit because the sword still is returned to the soldiers back after use and the other animations use the default ones where it looks like a gun is being held but there is no weapon in the hand. I have already checked out the documentation which is very bare bones to say the least about animation a lot about Maya and the rig. I have sifted through a lot of code to try and figure out how this is implemented, used uncodex to try and search for things within all Xcom class files. I've seen some animation calls in x2action files and within some unit class script files such as the advent units that have some abilities with custom animation track calls etc. But I am still confused which animtree is being called where its referenced from which animset is being used? when I click for my character to move to a location where is the call coming from to do the run animation? and how could I possibly use a custom walk animation of my own on a unit? Believe me its not through lack of trying because I really did want to do this on my own but I'm at the point now where I've got some fun stuff to play around with in game but it's either crappy or broken due to the animation stuff. Please help me or give me a hint. I'm not a total beginner with programming, I am somewhere between novice and intermediate. so please be gentle when explaining to a degree, Thanks in advance.

Link to comment
Share on other sites

Wow, that was very quick. thank you so much for giving me a starting point. I would never have thought to look at the archetypes in the the content browser. I shall go and play around with these archetypes, copies of the originals of course and see what I can come up with. Awesome Xenomorph by the way.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...