Understanding the SR2 Animation Tree

I’ve been working on a couple of optional mods that change player animations over the last few days. One of the biggest hurdles for me was trying to get a grip on how the animation tree worked with the parent/child relationships between the animation files.

So, I decided to map the whole thing out to try and figure out what the hell is going on.

My understanding so far is that the tree is parsed at the top and the higher branches take precedence above the lower ones. With the above pic, a modder should now be able to easily trace back the animation to see why a change didn’t work the way he expected. It’s already come in extremely handy for me, so I figured I would share the chart.

This may also be the key to understanding some of the animation oddities like why female gun animations don’t work right after saving/loading. It looks like it may be because of GFL1′s child relationship to GML1, though testing and research is definitely needed.

5 Responses to “Understanding the SR2 Animation Tree”

  1. rudemaker says:

    Were you trying things such as changing the running animation? If so could that be something that can be changed in the plastic surgeon?

  2. rudemaker says:

    Cool, I’ll check it out when I have the time!:) That’s a bummer. I was hoping that there could be a running style option, similar to walking styles at Image as Designed. :( Hopefully, that can be a feature the Saints Row: the Third!

  3. rudemaker says:

    So, I tried it like I said, but however, I used a male and he ran like a female and stood absolutely still with his arms spread.

    • IdolNinja says:

      @rudemaker
      Sounds like the pose animation wasn’t loaded for some reason. You may have to add it to preload_anim.tbl. What crib were you in btw? I only tested it at the Suburbs dock one. (The different areas of the game automatically preload certain things.)

      I’m assuming you’re talking about the super girly animation mod?

      EDIT:
      This is the new stand animation for the super girly mod that may need to be preloaded:
      “pfl1_celb_sd_fpstar.anim”

      I just confirmed that it did the airplane arms at the redlight and it was fixed after adding that to the top of preload.