ret2end / HKX2Library

A HKX library to pack and unpack hkx for skyrim se.
MIT License
11 stars 2 forks source link

extra bit in TYPE_FLAG #4

Open ret2end opened 1 year ago

ret2end commented 1 year ago

in actors\cow\behaviors\quadrupedbehavior.xml converted from LE by hkxcmd

<hkparam name="characterPropertyInfos" numelements="25">
  <hkobject>
    <hkparam name="role">
      <hkobject>
        <hkparam name="role">ROLE_DEFAULT</hkparam>
        <!-- this can parse -->
        <hkparam name="flags">FLAG_NOT_VARIABLE|FLAG_RAGDOLL|FLAG_NONE|<!-- UNKNOWN BITS -->0x4c0</hkparam>
      </hkobject>
    </hkparam>
    <hkparam name="type">VARIABLE_TYPE_BOOL</hkparam>
    </hkobject>
  <hkobject>
  <!-- SKIP -->
  <hkobject>
    <hkparam name="role">
    <hkobject>
      <hkparam name="role">ROLE_DEFAULT</hkparam>
      <!-- extra bits will discard-->
      <hkparam name="flags">FLAG_HIDDEN|FLAG_NORMALIZED|FLAG_NONE|<!-- UNKNOWN BITS -->0xfffff300</hkparam>
    </hkobject>
    </hkparam>
    <hkparam name="type">VARIABLE_TYPE_BOOL</hkparam>
  </hkobject>
</hkparam>

currently type RoleFlags is short need a way to handle 0xfffff300 unknown bit or RE skyrim check what unknown flags are used for.