I have a few questions I want to ask about the NPC cruncher.
1. How can assign animations to npcs?
2. How do I find and assign the back stretch/pain animation?
Hey, MyBoy2007. It's nice to see you back!
I've started writing an in-depth guide on animations following the release of
FPA+.
The
NPC Cruncher isn't actually required for this. Here is the process put as straight-forwardly as I can put it:
1. Find the Character file (npc_name_cha.xtbl) for the NPC you wish to add the animation to. Find which animation set they are using. This will be called something like "GML1" or "PML1".
2. Open a COPY of the animation set file (eg: "GML1.xtbl") which you will be adding the animation to.
3. Next, open "Anim_Files.xtbl", and make sure the animation you wish to add is listed in that file. (It shouldn't matter if <Preload> is "true" or "false". I think it was just there to help keep track during development.)
- It sounds like the animation you're describing is "pml1_bs_sd_idle_str.anim".
4. Open "preload_anim.tbl", and make sure "pml1_bs_sd_idle_str.anim" is listed somewhere in the file.
4a. If not, make a COPY of "preload_anim.tbl", and add "pml1_bs_sd_idle_str.anim" to the list (preferably at the top, for simplicity's sake).
5. In "GML1.xtbl" (or whichever animation set file you're editing), find the animation you want to change, and replace what's there with "pml1_bs_sd_idle_str.anim".
- For the sake of this tutorial, I recommend replacing "stand" first, just to make sure everything's working okay after your modifications.
6. Install your modded files and Run Saints Row 2. If you've edited "GML1.xtbl", your Playa should now be using the new animation while standing.
6a. If you've edited a different animation set file (like "PML1.xtbl"), you'll have to go looking for an NPC in-game who uses that animation set.
7. If the character is T-Posing instead of performing the animation, it's likely that the animation either isn't preloaded, or isn't listed in "Anim_Files.xtbl".
It's not possible to assign an animation to just one NPC. It will be used by any in-game character who uses that animation set.
Hope this helps!