TUTORIAL - Replacing an Animation
Added 2019-10-03 10:14:15 +0000 UTCSo, I was asked by YourFalseHope if it's possible to enable the reading of books with magic for normal books. I wanted to see if the animations can work, so I tried to make a little simple mod to replace the animation for reading normal books with the one for reading books with magic, and I'm going to teach you how you do it. It's really easy.
We need to look at the interactions for reading magic tomes with magic, because that's where the animation reference is, so let's search it in S4S

There are 3 Interactions to look at, now... the 2 we need are the Read_Active and Read_Passive but let's look at the Read_UseMagic first....

This interaction is the one that calls the other two... so let's have a look at the Read_Active one...

This is the animation reference for reading a book using magic, so this is the animation we need. In the other interaction (Read_Passive) there is the other animation we need.
At this point, we need to find the corresponding interaction for reading a normal book... so let's search for "read" in the extract tuning

We only need to edit the Book_Read_Active and Book_Read_Passive, so let's add them to the package...

And here is the line we need to replace, so let's copy the animation reference from the Read_Active_UseMagic interaction and replace the animation for read_active

You only need the number, but I usually paste also the commentary just to know what I'm doing. Do the same for the Read_Passive with the animation for the Read_Passive_UseMagic
At this point we can delete from the package the XMLs we don't need

And put the file into our mod folder to see if it works...

There you go!
I'm putting the file for download for reference, this is not a mod to use in gameplay.
Comments
Is it possible to replace the in-game dancing animations with custom dance animations?
2021-11-13 16:22:28 +0000 UTCI never looked at how clubs work... maybe it's not so hard to do.
Zero_
2019-10-03 23:51:21 +0000 UTCty for this tutorial I'm going to try this out i'm wondering how easy would it be to add magic dueling to club activity that is something they should've added
sunhair
2019-10-03 22:53:08 +0000 UTC