Welcome to Our Community

Wanting to join the rest of our members? Feel free to sign up today.

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Welcome to SimsWorkshop!

For more information, click here.

Technical XML Tuning Changes

Discussion in 'Custom Content & Mod Discussions' started by SMagGeorge, Jun 5, 2016.

  1. SMagGeorge

    SMagGeorge Administrator
    Staff Member Creator

    Joined:
    Jan 1, 2016
    Messages:
    47
    Likes Received:
    71
    If you have created an Interaction or Object XML tuning mod, it will need updating to be compatible with the June 2nd patch. Here's what has changed:

    The main change is that the structure of constraints tuning has changed. This is the new structure:

    <L n="_constraints">
    <U>
    <L n="constraints">
    <U>
    <E n="key">HUMAN</E>
    <V n="value" t="cone">
    <U n="cone">
    <T n="angle">15</T>
    <T n="max_radius">2</T>
    <T n="offset">0</T>
    </U>
    </V>
    </U>
    </L>
    </U>
    <U>
    <L n="constraints">
    <U>
    <E n="key">HUMAN</E>
    <V n="value" t="facing">
    <U n="facing">
    <T n="inner_radius">2</T>
    <T n="range">10</T>
    </U>
    </V>
    </U>
    </L>
    </U>
    <U>
    <L n="constraints">
    <U>
    <E n="key">HUMAN</E>
    <V n="value" t="posture">
    <U n="posture">
    <E n="body_target_tuning">INTERACTION_TARGET</E>
    <L n="posture_manifest_tuning">
    <U>
    <V n="posture_type" t="enabled">
    <T n="enabled">15537<!--Posture: posture_Stand--></T>
    </V>
    </U>
    </L>
    </U>
    </V>
    </U>
    </L>
    </U>
    </L>
    You should note that the way you create a notification pop up has also changed. This is the old way of doing things:

    <V n="text" t="single">
    <T n="single">0x6922E38C<!--Buy Camping Supplies--></T>
    </V>

    And the new way:

    <V n="text" t="enabled">
    <V n="enabled" t="single">
    <T n="single">0x6922E38C<!--Buy Camping Supplies--></T>
    </V>
    </V>
    I'm sure that lots more has changed. Please share it here to help your fellow creators!
     

Share This Page