c172p: make tank selector work
Typify boolean properties - tank selector didn't work with properties of "UNSPECIFIED" type.
This commit is contained in:
parent
a09fe39b10
commit
ca3ff66e36
1 changed files with 17 additions and 15 deletions
|
@ -37,17 +37,17 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|||
<file type="string">n301dp</file>
|
||||
<index type="int">0</index>
|
||||
</liverytail>
|
||||
|
||||
|
||||
<liverywing>
|
||||
<file type="string">n301dp</file>
|
||||
<index type="int">0</index>
|
||||
</liverywing>
|
||||
|
||||
|
||||
<c172p>
|
||||
<immat>false</immat>
|
||||
<fairing1>true</fairing1>
|
||||
<fairing2>false</fairing2>
|
||||
<fairing3>false</fairing3>
|
||||
<immat type="bool">false</immat>
|
||||
<fairing1 type="bool">true</fairing1>
|
||||
<fairing2 type="bool">false</fairing2>
|
||||
<fairing3 type="bool">false</fairing3>
|
||||
</c172p>
|
||||
|
||||
</model>
|
||||
|
@ -59,13 +59,13 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|||
<!-- hide the 2D panel -->
|
||||
|
||||
<panel>
|
||||
<visibility archive="y">false</visibility>
|
||||
<visibility type="bool" archive="y">false</visibility>
|
||||
</panel>
|
||||
|
||||
<!-- position the pilot viewpoint and angle -->
|
||||
|
||||
<view>
|
||||
<internal archive="y">true</internal>
|
||||
<internal type="bool" archive="y">true</internal>
|
||||
<config>
|
||||
<x-offset-m archive="y">-0.21</x-offset-m>
|
||||
<y-offset-m archive="y">0.235</y-offset-m>
|
||||
|
@ -148,10 +148,12 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|||
<consumables>
|
||||
<fuel>
|
||||
<tank n="0">
|
||||
<level-gal_us>20</level-gal_us>
|
||||
<level-gal_us type="double">20</level-gal_us>
|
||||
<selected type="bool">true</selected>
|
||||
</tank>
|
||||
<tank n="1">
|
||||
<level-gal_us>20</level-gal_us>
|
||||
<level-gal_us type="double">20</level-gal_us>
|
||||
<selected type="bool">true</selected>
|
||||
</tank>
|
||||
</fuel>
|
||||
</consumables>
|
||||
|
@ -178,9 +180,9 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|||
</engines>
|
||||
|
||||
<lighting>
|
||||
<strobe type="bool">true</strobe>
|
||||
<beacon type="bool">true</beacon>
|
||||
<nav-lights type="bool">true</nav-lights>
|
||||
<strobe type="bool">true</strobe>
|
||||
<beacon type="bool">true</beacon>
|
||||
<nav-lights type="bool">true</nav-lights>
|
||||
</lighting>
|
||||
|
||||
<nasal>
|
||||
|
@ -255,7 +257,7 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|||
<key n="76">
|
||||
<name>L</name>
|
||||
<desc>Decrease Panel lighting</desc>
|
||||
<repeatable>true</repeatable>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>controls/lighting/instruments-norm</property>
|
||||
|
@ -268,7 +270,7 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|||
<key n="108">
|
||||
<name>l</name>
|
||||
<desc>Increase Panel lighting</desc>
|
||||
<repeatable>true</repeatable>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>controls/lighting/instruments-norm</property>
|
||||
|
|
Loading…
Add table
Reference in a new issue