Example state overlays for the C172
This commit is contained in:
parent
c6644c7cbc
commit
a949a5b641
3 changed files with 30 additions and 0 deletions
10
Aircraft/c172p/c172-approach-overlay.xml
Normal file
10
Aircraft/c172p/c172-approach-overlay.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<name type="string" n="0">approach</name>
|
||||
<name type="string" n="1">circuit</name>
|
||||
|
||||
<overlay>
|
||||
<foo type="int">42</foo>
|
||||
</overlay>
|
||||
</PropertyList>
|
17
Aircraft/c172p/c172-cruise-overlay.xml
Normal file
17
Aircraft/c172p/c172-cruise-overlay.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<name type="string" n="0">cruise</name>
|
||||
<name type="string" n="1">climb</name>
|
||||
|
||||
<overlay>
|
||||
<wibble type="bool">true</wibble>
|
||||
|
||||
<sim>
|
||||
<dimensions>
|
||||
<radius-m type="double">10</radius-m>
|
||||
</dimensions>
|
||||
</sim>
|
||||
</overlay>
|
||||
|
||||
</PropertyList>
|
|
@ -430,6 +430,9 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
|
|||
<mouse>
|
||||
<invert-mouse-wheel type="bool">true</invert-mouse-wheel>
|
||||
</mouse>
|
||||
|
||||
<state include="c172-approach-overlay.xml" n="0"/>
|
||||
<state include="c172-cruise-overlay.xml" n="1"/>
|
||||
</sim>
|
||||
|
||||
<controls>
|
||||
|
|
Loading…
Reference in a new issue