Skip to content

Minimap

XML Elements

The following elements can be used within this component:

Minimap

Color

Path: Minimap/Color

Icon

Icon texture that should be displayed on a minimap. Filepath relative to art/textures/ui/session/icons/minimap/.

Type: text

Path: Minimap/Icon

RELAX NG Grammar

<define name="component.Minimap">
  <element name="Minimap">
    <interleave>
      <optional>
        <element name="Color">
          <attribute name="r">
            <data type="integer">
              <param name="minInclusive">
              </param>
              <param name="maxInclusive">
              </param>
            </data>
          </attribute>
          <attribute name="g">
            <data type="integer">
              <param name="minInclusive">
              </param>
              <param name="maxInclusive">
              </param>
            </data>
          </attribute>
          <attribute name="b">
            <data type="integer">
              <param name="minInclusive">
              </param>
              <param name="maxInclusive">
              </param>
            </data>
          </attribute>
        </element>
      </optional>
      <optional>
        <element name="Icon">
          <attribute name="size">
            <data type="float">
              <param name="minExclusive">
              </param>
            </data>
          </attribute>
          <text/>
        </element>
      </optional>
    </interleave>
  </element>
</define>