Skip to content

UnitMotionFlying

XML Elements

The following elements can be used within this component:

UnitMotionFlying

MaxSpeed

Type: non-negative decimal

Path: UnitMotionFlying/MaxSpeed

TakeoffSpeed

Type: non-negative decimal

Path: UnitMotionFlying/TakeoffSpeed

StationaryDistance

Allows the object to be stationary when reaching a target. Value defines the maximum distance at which a target is considered reached.

Type: positive decimal

Path: UnitMotionFlying/StationaryDistance

LandingSpeed

Type: non-negative decimal

Path: UnitMotionFlying/LandingSpeed

AccelRate

Type: non-negative decimal

Path: UnitMotionFlying/AccelRate

SlowingRate

Type: non-negative decimal

Path: UnitMotionFlying/SlowingRate

BrakingRate

Type: non-negative decimal

Path: UnitMotionFlying/BrakingRate

TurnRate

Type: non-negative decimal

Path: UnitMotionFlying/TurnRate

OvershootTime

Type: non-negative decimal

Path: UnitMotionFlying/OvershootTime

FlyingHeight

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

Path: UnitMotionFlying/FlyingHeight

ClimbRate

Type: non-negative decimal

Path: UnitMotionFlying/ClimbRate

DiesInWater

Type: boolean (true or false)

Path: UnitMotionFlying/DiesInWater

PassabilityClass

Type: text

Path: UnitMotionFlying/PassabilityClass

RELAX NG Grammar

<define name="component.UnitMotionFlying">
  <element name="UnitMotionFlying">
    <interleave>
      <element name="MaxSpeed">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="TakeoffSpeed">
        <ref name="nonNegativeDecimal"/>
      </element>
      <optional>
        <element name="StationaryDistance">
          <ref name="positiveDecimal"/>
        </element>
      </optional>
      <element name="LandingSpeed">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="AccelRate">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="SlowingRate">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="BrakingRate">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="TurnRate">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="OvershootTime">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="FlyingHeight">
        <data type="decimal"/>
      </element>
      <element name="ClimbRate">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="DiesInWater">
        <data type="boolean"/>
      </element>
      <element name="PassabilityClass"/>
    </interleave>
  </element>
</define>