Skip to content

WallSet

Examples

Example

<WallSet>
</WallSet>

XML Elements

The following elements can be used within this component:

WallSet

Templates

Path: WallSet/Templates

Tower

Template name of the tower piece

Type: text

Path: WallSet/Templates/Tower

Gate

Template name of the gate piece

Type: text

Path: WallSet/Templates/Gate

WallLong

Template name of the long wall segment

Type: text

Path: WallSet/Templates/WallLong

WallMedium

Template name of the medium-size wall segment

Type: text

Path: WallSet/Templates/WallMedium

WallShort

Template name of the short wall segment

Type: text

Path: WallSet/Templates/WallShort

WallCurves

Whitespace-separated list of template names of curving wall segments.

Type: text

Path: WallSet/Templates/WallCurves

WallEnd

Type: text

Path: WallSet/Templates/WallEnd

Fort

Type: text

Path: WallSet/Templates/Fort

MinTowerOverlap

Maximum fraction that wall segments are allowed to overlap towers, where 0 signifies no overlap and 1 full overlap

Type: decimal (e.g. -10.0 or 0.0 or 2.5)

Path: WallSet/MinTowerOverlap

MaxTowerOverlap

Minimum fraction that wall segments are required to overlap towers, where 0 signifies no overlap and 1 full overlap

Type: decimal (e.g. -10.0 or 0.0 or 2.5)

Path: WallSet/MaxTowerOverlap

RELAX NG Grammar

<define name="component.WallSet">
  <element name="WallSet">
    <interleave>
      <element name="Templates">
        <interleave>
          <element name="Tower"/>
          <element name="Gate"/>
          <element name="WallLong"/>
          <element name="WallMedium"/>
          <element name="WallShort"/>
          <optional>
            <element name="WallCurves"/>
          </optional>
          <optional>
            <element name="WallEnd"/>
          </optional>
          <optional>
            <element name="Fort"/>
          </optional>
        </interleave>
      </element>
      <element name="MinTowerOverlap">
        <data type="decimal">
          <param name="minInclusive">
          </param>
          <param name="maxInclusive">
          </param>
        </data>
      </element>
      <element name="MaxTowerOverlap">
        <data type="decimal">
          <param name="minInclusive">
          </param>
          <param name="maxInclusive">
          </param>
        </data>
      </element>
    </interleave>
  </element>
</define>