Definition Type Element
Name init-def
Abstract False
MinOccurs 0
MaxOccurs (1)
Documentation Definition of rules governing how initiative is handled.
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" name="init-def" >
  <xs:annotation>
    <xs:documentation>Definition of rules governing how initiative is handled.</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="round-duration" type="xs:integer">
        <xs:annotation>
          <xs:documentation>The duration, in seconds, of a single combat round.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="resolve-init-conflict" type="xs:string">
        <xs:annotation>
          <xs:documentation>The ID of a field where the program should look for a hint about resolving identical initiative values.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" default="false" name="init-high-to-low" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Flag to indicate that initiative should progress from highest initiative roll to lowest roll.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="combat-start-sound" type="xs:string">
        <xs:annotation>
          <xs:documentation>The name of the sound to play when combat is started.  This value is expressed as a relative path name beneath the &quot;data location.&quot;  Therefore, you would specify it as &quot;sounds/combat_start.wav&quot; instead of &quot;/Data/Location/Folder/sounds/combat_start.wav.&quot;</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="init-sound" type="xs:string">
        <xs:annotation>
          <xs:documentation>The name of the sound to play when initiative changes.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="round-sound" type="xs:string">
        <xs:annotation>
          <xs:documentation>The name of the sound to play when the round changes.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" maxOccurs="1" default="true" name="init-low-to-high" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Flag indicating that initiative should proceed from lowest initiative roll to highest roll.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" maxOccurs="1" name="segments">
        <xs:annotation>
          <xs:documentation>For game systems that use combat segments instead of initiative values, you can define the segments here.</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" name="segment">
              <xs:annotation>
                <xs:documentation>An individual segment in a list of segments.</xs:documentation>
              </xs:annotation>

              <xs:complexType>
                <xs:sequence>
                  <xs:element minOccurs="1" maxOccurs="1" name="name" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>The name of the segment.</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                  <xs:element minOccurs="1" maxOccurs="1" name="value-range" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>The range of values that falls within this segment.  This can be a literal value (&quot;1&quot;), a range (&quot;2-6&quot;), a comma-separated list (&quot;7,9,11&quot;) or a combination (&quot;3,6-9,11,13-20&quot;).</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                </xs:sequence>

              </xs:complexType>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

    </xs:sequence>

  </xs:complexType>

</xs:element>
Child Elements
Name Type Min Occurs Max Occurs
Derivation Tree
[No Sub Types]
init-def
    [No Super Types]
Generated using Liquid XML Studio by Liquid Technologies Ltd