Aircraft maintenance: Difference between revisions

Jump to navigation Jump to search
Parking positions
(Parking positions)
Line 119: Line 119:
{{Main article|Formalizing Aircraft Status}}
{{Main article|Formalizing Aircraft Status}}
A new status rating system was introduced. Aircraft ratings should be encoded in the aircraft -set.xml file from where they are be picked up by launchers like FGRun, web pages etc.
A new status rating system was introduced. Aircraft ratings should be encoded in the aircraft -set.xml file from where they are be picked up by launchers like FGRun, web pages etc.
== Parking positions ==
The new <tt>--parkpos=AVAILABLE</tt> option selects a fitting parking position, based on the dimensions, class and operator of the aircraft. The following lines should be added to the <sim> part of the aircraft's -set.xml.
<syntaxhighlight lang="xml">
  <dimensions>
  <radius-m type="double">10.0</radius-m>
  <parkpos-offset-m type="double">0.0</parkpos-offset-m>
  </dimensions>
  <aircraft-class type="string">mil-fighter</aircraft-class>
  <aircraft-operator></aircraft-operator>
  <aircraft-data>
  <path>/sim/dimensions/radius-m</path>
  <path>/sim/dimensions/parkpos-offset-m</path>
  <path>/sim/aircraft-class</path>
  <path>/sim/aircraft-operator</path>
  </aircraft-data>
</syntaxhighlight>

Navigation menu