Skip to content

RallyPointRenderer

Examples

Example

<RallyPointRenderer>
  <MarkerTemplate>
    special/rallypoint
  </MarkerTemplate>
  <LineThickness>
    0.75
  </LineThickness>
  <LineStartCap>
    round
  </LineStartCap>
  <LineEndCap>
    square
  </LineEndCap>
  <LineDashColor r="158" g="11" b="15"/>
  <LinePassabilityClass>
    default
  </LinePassabilityClass>
</RallyPointRenderer>

XML Elements

The following elements can be used within this component:

RallyPointRenderer

MarkerTemplate

Template name for the rally point marker entity (typically a waypoint flag actor)

Type: text

Path: RallyPointRenderer/MarkerTemplate

LineTexture

Texture file to use for the rally point line

Type: text

Path: RallyPointRenderer/LineTexture

LineTextureMask

Texture mask to indicate where overlay colors are to be applied (see LineColor and LineDashColor)

Type: text

Path: RallyPointRenderer/LineTextureMask

LineThickness

Thickness of the marker line connecting the entity to the rally point marker

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

Path: RallyPointRenderer/LineThickness

LineDashColor

Path: RallyPointRenderer/LineDashColor

LineStartCap

Path: RallyPointRenderer/LineStartCap

LineEndCap

Path: RallyPointRenderer/LineEndCap

LinePassabilityClass

The pathfinder passability class to use for computing the rally point marker line path

Type: text

Path: RallyPointRenderer/LinePassabilityClass

RELAX NG Grammar

<define name="component.RallyPointRenderer">
  <element name="RallyPointRenderer">
    <interleave>
      <element name="MarkerTemplate"/>
      <element name="LineTexture"/>
      <element name="LineTextureMask"/>
      <element name="LineThickness">
        <data type="decimal"/>
      </element>
      <element name="LineDashColor">
        <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>
      <element name="LineStartCap">
        <choice>
          <value>
          </value>
          <value>
          </value>
          <value>
          </value>
          <value>
          </value>
        </choice>
      </element>
      <element name="LineEndCap">
        <choice>
          <value>
          </value>
          <value>
          </value>
          <value>
          </value>
          <value>
          </value>
        </choice>
      </element>
      <element name="LinePassabilityClass"/>
    </interleave>
  </element>
</define>