State overlay system: Difference between revisions

Jump to navigation Jump to search
add implementation
m (Move start parameter to status section)
(add implementation)
Line 15: Line 15:
* cruise (cruise configuration)
* cruise (cruise configuration)
* approach (approach configuration)
* approach (approach configuration)
== Implementation ==
To add state overlays to your aircraft, create a folder called <code>states</code>. In there you can put your <code>$state-overlay.xml</code>.
Now you need to include these in your <code>$Aircraft-set.xml</code> file like this:
<pre>
<PropertyList>
  <sim>
    ...
    <state include="states/parking-overlay.xml" n="0" />
    <state include="states/taxi-overlay.xml" n="1" />
    ...
  </sim>
</PropertyList>
</pre>


== Background ==
== Background ==
177

edits

Navigation menu