Jump to content

Creating a "simple" offset command for havok animation


Phygnos

Recommended Posts

Posted

I figured it out, nevermind.

 

OH MY GOD I FIGURED IT OUT! YOU TRIED YOUR BEST HAVOK PHYSICS BUT I FIGURED YOU OUT!

TONIGHT I DRINK WITH THE VERY GODS!

 

 

 

Hello, friends! I'm finally about ready to release my Schlongs of Skyrim transgender/futanari (it'll come later) mod for Skyrim.

But, I forgot that SoS uses animations for positioning. I.E a flaccid penis is just 1 (maybe 2?) frames of nothing happening, as the penis mesh is naturally level with the ground.

 

The default position is intended for the male SoS body, so naturally that doesn't work. However, VectorPlexus was nice enough to provide a new setup for me a couple months back. It seems to apply an "offset" .hkx file to the behavior file. However, since that time I have moved the bone positions utilized by SoS so in-game it stretches the mesh as such:

(NSFW)

post-145041-0-01265000-1378459114_thumb.jpg

(NSFW)

(ignore the black areas, that normal map is straight from zbrush)

 

For the life of me, I can't figure out how to produce an .hkx file that exists solely to modify the location of... uhh... other animations or something?

I just need the position to be -0.5 Y and +2.0 Z.

 

Attached to this post is the default setup for SoS+female support, courtesy of the God of Skyrim, Vectorplexus. Or, if you just want to see what the .xml of the offset animation looks like, I included that separately as well.

The relevant part looks like this:

</hkparam>
  <hkparam name="numFrames">2</hkparam>
  <hkparam name="numBlocks">1</hkparam>
  <hkparam name="maxFramesPerBlock">256</hkparam>
  <hkparam name="maskAndQuantizationSize">32</hkparam>
  <hkparam name="blockDuration">850.000000</hkparam>
  <hkparam name="blockInverseDuration">0.001176</hkparam>
  <hkparam name="frameDuration">3.333333</hkparam>
  <hkparam name="blockOffsets" numelements="1">0</hkparam>
  <hkparam name="floatBlockOffsets" numelements="1">140</hkparam>
  <hkparam name="transformOffsets" numelements="0" />
  <hkparam name="floatOffsets" numelements="0" />
  <hkparam name="data" numelements="144">69 6 15 0 69 7 15 0 69 2 15 0 69 2 15 0 69 2 7 0 69 2 15 0 69 2 7 0 69 2 7 0 61 145 37 64 248 177 62 191 1 24 66 247 23 0 0 0 122 239 158 188 82 26 66 64 16 98 80 64 56 67 139 77 120 0 0 0 154 9 240 63 36 4 122 27 56 0 0 0 94 84 218 63 248 103 134 255 55 0 0 0 98 76 192 63 7 248 127 255 55 0 0 0 80 253 187 63 247 183 128 255 55 0 0 0 184 105 173 63 4 8 128 255 55 0 0 0 200 34 132 63 5 56 128 254 55 0 0 0 0 0 0 0</hkparam>
  <hkparam name="endian">0</hkparam>

Also, damn. Default shadows really do suck in Skyrim.

SOSOffset.XML

auxbones.rar

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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