Adding events to existing animations

Post » Sun Feb 24, 2013 3:54 am

That title probably doesn't make sense, which is a good way to start this thread since I really don't have a clue what I'm talking about, so let's dive right in.

I've been toying around with the Bloodskal Blade recently, I made a spell that could apply the effect to any 2 handed sword, with the intention of expanding that to any weapon eventually, however, I've hit a snag.

To do this I've been using the same animation events Beth used for the vanilla sword, they are however, only present in 2 handed sword animations, in the behavior file of update.bsa.

I'm currently under the impression that these were added specifically for use with that sword, there are other events I could register for in some of the animations but I wouldn't be able to differentiate between different directional power attacks with them, which is key to what I'm attempting.

So my question is this, is there a way I could add those same animation events, or ones tweaked to be suitable if change is necessary, to the equivalent animations for the other weapon types myself?

And if this is possible, would doing so just break everything under the sun?

If what I'm asking is all jibberish and nonsense, I apologize, be gentle.

Below is an example that may or may not help explain what I mean:
Spoiler

The animationdatasinglefile.txt from within update.bsa's meshes folder has annotations that show what I'm talking about:
2HM_AttackPowerRightUncropped1131007preHitFrame:1.102attackPowerRight_FXstart:1.164weaponSwing:1.197HitFrame:1.304AttackWinStart:2.1AttackWinEnd:2.333PowerAttackStop:2.33333
In this case a right power attack has the animation event "attackPowerRight_FXstart at 1.164 < I assume that's frames or seconds or something. (Again, I know nothing)
2HW_AttackPowerRightUncropped1951006preHitFrame:1.102weaponSwing:1.197HitFrame:1.304AttackWinStart:2.1AttackWinEnd:2.333PowerAttackStop:2.33333
The same animation for not-swords (I think that's it anyway) is identical but missing the "attackPowerRight_FXStart" event completely, that's what I want to add to these, that or just an equivalent appropriate event I can register for.

I spoiler'd it cause it's ugly and probably embarrassingly stupid.
User avatar
El Goose
 
Posts: 3368
Joined: Sun Dec 02, 2007 12:02 am

Return to V - Skyrim