Forum Announcement, Click Here to Read More From EA_Cade.

Object tuning "client states", which one is used per default?

Hello!

In a typical object tuning file's XML content, we can see that there can be several client states listed. These seem to be groups of states with similar "themes" (such as burned states and admired states).

However, underneath each client state it is also defined what the default state should be. But my question is, how does the game know which of these default values should be applied on the very first load of the object? That is before you even interacted with it.

Here's an example snippet from an object tuning:

<V n="state" t="enabled">
      <U n="enabled">
        <L n="states">
          <U>
            <L n="client_states">
              <U>
                <T n="key">39478<!--FireState_Burn_Incinerate_Burning--></T>
              </U>
              <U>
                <T n="key">39479<!--FireState_Burn_Incinerate--></T>
              </U>
              <U>
                <T n="key">39612<!--FireState_Burn_Incinerate_Not_Burning--></T>
              </U>
            </L>
            <V n="default_value" t="reference">
              <T n="reference">39612<!--FireState_Burn_Incinerate_Not_Burning--></T>
            </V>
          </U>
          <U>
            <L n="client_states">
              <U>
                <T n="key">35956<!--Materialistic_Admired--></T>
              </U>
              <U>
                <T n="key">35957<!--Materialistic_YetToAdmire--></T>
              </U>
            </L>
            <V n="default_value" t="reference">
              <T n="reference">35957<!--Materialistic_YetToAdmire--></T>
            </V>
          </U>
        </L>
      </U>
    </V>

Thanks! :)
Sign In or Register to comment.
Return to top