Skip to content
Snippets Groups Projects
Commit fc68c1ed authored by jonwd7's avatar jonwd7
Browse files

Fix up bhkBonePoseArray

Pull in some of the documentation from #39 and fix the type names and the bone transform layout.
parent 2bb9bc16
No related branches found
No related tags found
No related merge requests found
...@@ -1896,15 +1896,17 @@ ...@@ -1896,15 +1896,17 @@
<add name="Row 3" type="Vector4">W is unused as hkMatrix3 is only 4x3 because of memory alignment.</add> <add name="Row 3" type="Vector4">W is unused as hkMatrix3 is only 4x3 because of memory alignment.</add>
</compound> </compound>
<compound name="BonePoseMatrix"> <compound name="BoneTransform">
Matrix for deathposes.psa Transformation data for the bone at this index in bhkPoseArray.
<add name="Unknown Float" type="float" /> <add name="Translation" type="Vector3" />
<add name="Matrix" type="Matrix33" /> <add name="Rotation" type="QuaternionXYZW" />
<add name="Scale" type="Vector3" />
</compound> </compound>
<compound name="BonePoseArray"> <compound name="BonePose">
<add name="Num Matrices" type="uint" /> A list of transforms for each bone in bhkPoseArray.
<add name="Matrices" type="BonePoseMatrix" arr1="Num Matrices" /> <add name="Num Transforms" type="uint" />
<add name="Transforms" type="BoneTransform" arr1="Num Transforms" />
</compound> </compound>
<compound name="DecalVectorArray"> <compound name="DecalVectorArray">
...@@ -5607,12 +5609,13 @@ ...@@ -5607,12 +5609,13 @@
</niobject> </niobject>
<niobject name="bhkPoseArray" inherit="NiObject"> <niobject name="bhkPoseArray" inherit="NiObject">
Found in Fallout 3, extra ragdoll info for NPCs/creatures (usually idleanims\deathposes.psa). Found in Fallout 3 .psa files, extra ragdoll info for NPCs/creatures. (usually idleanims\deathposes.psa)
Defines different kill poses that are selected randomly after death. Defines different kill poses. The game selects the pose randomly and applies it to a skeleton immediately upon ragdolling.
Poses can be previewed in GECK Object Window-Actor Data-Ragdoll and selecting Pose Matching tab.
<add name="Num Bones" type="int">Number of target bones.</add> <add name="Num Bones" type="int">Number of target bones.</add>
<add name="Bones" type="string" arr1="Num Bones">Array of bone names.</add> <add name="Bones" type="string" arr1="Num Bones">Array of bone names.</add>
<add name="Num Poses" type="int">Number of poses.</add> <add name="Num Poses" type="int">Number of poses.</add>
<add name="Poses" type="BonePoseArray" arr1="Num Poses">Array of poses.</add> <add name="Poses" type="BonePose" arr1="Num Poses">Array of poses.</add>
</niobject> </niobject>
<niobject name="bhkRagdollTemplate" inherit="NiObject"> <niobject name="bhkRagdollTemplate" inherit="NiObject">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment