Jump to content

Armor Scaling without HDT


Guest

Recommended Posts

Posted

I'm trying to make it so that armor will have node scaling without having HDT physics by adding NiStringExtraData HDT Havok Path branch to the nif file that leads to an empty xml file, which looks like this:

Quote

<?xml version="1.0" encoding="ascii"?>
<hkpackfile classversion="9" contentsversion="hk_2013.1.0-r1" toplevelobject="#0061">

    <hksection name="__data__">

        <hkobject name="#0061" class="hkpPhysicsSystem" signature="0xd6c543df">
            <!-- memSizeAndFlags SERIALIZE_IGNORED -->
            <!-- referenceCount SERIALIZE_IGNORED -->
            <hkparam name="rigidBodies" numelements="0"></hkparam>
            <hkparam name="constraints" numelements="0"></hkparam>
            <hkparam name="actions" numelements="0"></hkparam>
            <hkparam name="phantoms" numelements="0"></hkparam>
            <hkparam name="name">&#9216;</hkparam>
            <hkparam name="userData">0</hkparam>
            <hkparam name="active">true</hkparam>
        </hkobject>

    </hksection>

</hkpackfile>

But it's not working. Armor still has physics. Does anybody possibly know why it's not working?

Posted

Of course not.

That's not how it works. The rigids (bones + shapes) and constraints (motors + bridges) are defined in the XML. It is not overwritten xml with xml, but rigid with rigid and constraint with constraint.

In this way, additional things can be added adaptively or existing ones can be overwritten.
So you can have an xml for naked and a pushup xml for Bra etc.

 

If you want the bouncing etc. to disappear, create an XML with the same rigids (also the same groups) and create the constraints. In the constraints, make the adjustments for the pivots to 0. And use the same motors in the constraints (only different values)

Posted

@Andy14 I'm not sure what all of that means. I just downloaded an empty xml from somewhere online. What are rigids, groups, constraints, pivots, and motors? Am more than willing to edit the file myself, I just don't understand the terminology.

 

EDIT: If I edit the default hdtPhysicsExtensionsDefaultBBP.xml file, what do I have to change?

 

EDIT: Nevermind. After a lot of fiddling with it, I got something that works.

Archived

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

  • Recently Browsing   0 members

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