Aircraft-set.xml: Difference between revisions

Jump to navigation Jump to search
m
→‎The -set.xml file itself: documenting best practice: http://forum.flightgear.org/viewtopic.php?f=4&t=28010&p=264797#p264788
m (→‎The -set.xml file itself: A lot of aircraft use a version number; Aircraft rating system — FG 3.0 → 2.0; wav → WAV)
m (→‎The -set.xml file itself: documenting best practice: http://forum.flightgear.org/viewtopic.php?f=4&t=28010&p=264797#p264788)
Line 81: Line 81:


Version of the aircraft.  Often the date of the last change or a version number.
Version of the aircraft.  Often the date of the last change or a version number.
<syntaxhighlight lang="xml">
  <minimum-flightgear-version>4.0</minimum-flightgear-version>
</syntaxhighlight>
Minimum FlightGear version required for this aircraft [http://forum.flightgear.org/viewtopic.php?f=4&t=28010&p=264797#p264788], note that this is a "soft" requirement - i.e. it will not trigger an error, but only show a warning in the console/fg window using a Nasal script that checks if the property is set. This is mainly intended to make compatibility issues more obvious, i.e. end-users downloading new aircraft and wanting to use them in conjunction with an old version of FlightGear.
We are hoping to also display this info int he [[About dialog]]


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu