1
0
Fork 0

Heiko Schulz:

-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect

still work on the interior to do like the seats, walls and so on...
This commit is contained in:
martin 2008-12-04 22:44:18 +00:00
parent 31977abb98
commit 922a09ebcf
67 changed files with 40884 additions and 26565 deletions

View file

@ -1,49 +0,0 @@
<?xml version="1.0"?>
<!-- KI 227-00
ADF Heading Indicator -manually rotated compass card
Syd Adams
-->
<PropertyList>
<path>ki227.ac</path>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/kr-87/outputs/needle-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -1,49 +0,0 @@
<?xml version="1.0"?>
<!-- KI 227-01
ADF Heading Indicator -HSI driven compass card
Syd Adams
-->
<PropertyList>
<path>ki227.ac</path>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>
<property>instrumentation/heading-indicator/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/kr-87/outputs/needle-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -0,0 +1,224 @@
<?xml version="1.0"?>
<!--
ADF based on ki227 by Torsten Dreyer
-->
<PropertyList>
<path>ki227_228.ac</path>
<params>
<model>instrumentation/adf[0]/model</model>
<rotation-deg>instrumentation/adf[0]/rotation-deg</rotation-deg>
<adf-bearing-deg>instrumentation/adf[0]/indicated-bearing-deg</adf-bearing-deg>
<vor-bearing-deg>instrumentation/nav[0]/radials/reciprocal-radial-deg</vor-bearing-deg>
<indicated-heading>instrumentation/heading-indicator/indicated-heading-deg</indicated-heading>
</params>
<animation>
<type>noshadow</type>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
<animation>
<type>material</type>
<object-name>CompassRose</object-name>
<object-name>KI227.ADFNeedle</object-name>
<object-name>Marker</object-name>
<object-name>HDGSelector</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>KI227.ADFNeedle</object-name>
<object-name>HDGSelector</object-name>
<object-name>HDGSelectorPick.L</object-name>
<object-name>HDGSelectorPick.R</object-name>
<condition>
<not>
<equals>
<property alias="../../../../../params/model"/>
<value>ki228</value>
</equals>
</not>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>CompassRose</object-name>
<property alias="../../params/rotation-deg"/>
<condition>
<not>
<equals>
<property alias="../../../../../params/model"/>
<value>ki228</value>
</equals>
</not>
</condition>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CompassRose</object-name>
<property alias="../../params/indicated-heading"/>
<condition>
<equals>
<property alias="../../../../params/model"/>
<value>ki228</value>
</equals>
</condition>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.ADFNeedle</object-name>
<property alias="../../params/adf-bearing-deg"/>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>HDGSelector</object-name>
<property alias="../../params/rotation-deg"/>
<factor>8.0</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.0318072</y-m>
<z-m>-0.0327009</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>HDGSelectorPick.L</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>-10</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>HDGSelectorPick.R</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>10</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>HDGSelector</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/rotation-deg"/>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
</PropertyList>

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -1,309 +1,339 @@
<?xml version="1.0"?>
<!--
KR-87
Bendix/King ADF Reciever
Syd Adams
-->
<?xml version="1.0" ?>
<PropertyList>
<params>
<right-display>/instrumentation/adf[0]/right-display</right-display>
</params>
<path>kr87.ac</path>
<panel>
<path>Aircraft/c172p/Instruments/kr87-adf/kr87Panel.xml</path>
<bottom-left>
<x-m>0.027</x-m>
<y-m>-0.079</y-m>
<z-m>-0.015</z-m>
</bottom-left>
<bottom-right>
<x-m>0.027</x-m>
<y-m>0.079</y-m>
<z-m>-0.015</z-m>
</bottom-right>
<top-left>
<x-m>0.027</x-m>
<y-m>-0.079</y-m>
<z-m>0.015</z-m>
</top-left>
</panel>
<animation>
<type>select</type>
<object-name>kr87.indicators</object-name>
<condition>
<property>/instrumentation/adf[0]/serviceable</property>
<property>/instrumentation/adf[0]/power-btn</property>
</condition>
</animation>
<animation>
<type>noshadow</type>
<object-name>kr87</object-name>
</animation>
<animation>
<type>material</type>
<object-name>KR87.adf</object-name>
<object-name>KR87.bfo</object-name>
<object-name>KR87.frq</object-name>
<object-name>KR87.flt</object-name>
<object-name>KR87.set</object-name>
<object-name>KR87.volume</object-name>
<object-name>kr87.knobs.ADF</object-name>
<object-name>kr87.knobs.BFO</object-name>
<object-name>kr87.knobs.FRQ</object-name>
<object-name>kr87.knobs.FLT</object-name>
<object-name>kr87.knobs.SET</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
<red-prop>/sim/model/instrument-lighting/emission/red</red-prop>
<green-prop>/sim/model/instrument-lighting/emission/green</green-prop>
<blue-prop>/sim/model/instrument-lighting/emission/blue</blue-prop>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<name>in-use-leds</name>
<object-name>freq.001</object-name>
<object-name>freq.002</object-name>
<object-name>freq.003</object-name>
<object-name>freq.004</object-name>
</animation>
<animation>
<name>standby-leds</name>
<object-name>stby.001</object-name>
<object-name>stby.002</object-name>
<object-name>stby.003</object-name>
<object-name>stby.004</object-name>
</animation>
<animation>
<type>select</type>
<object-name>in-use-leds</object-name>
<object-name>standby-leds</object-name>
<object-name>kr87.indicators.ANT</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
<not>
<property>/instrumentation/adf[0]/adf-btn</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>freq.001</object-name>
<object-name>kr87.indicators.ADF</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
<greater-than>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<value>999</value>
</greater-than>
</and>
<property>/instrumentation/adf[0]/adf-btn</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby.001</object-name>
<object-name>kr87.indicators.BFO</object-name>
<condition>
<property>/instrumentation/adf[0]/bfo-btn</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>kr87.indicators.FRQ</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<or>
<greater-than>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<value>999</value>
</greater-than>
<equals>
<property>instrumentation/kr-87/modes/stby</property>
<value>1</value>
<property>/instrumentation/adf[0]/display-mode</property>
<value type="int">0</value>
</equals>
</or>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby</object-name>
<object-name>kr87.indicators.FLT</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>instrumentation/kr-87/modes/stby</property>
<value>0</value>
</greater-than>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
<equals>
<property>/instrumentation/adf[0]/display-mode</property>
<value type="int">1</value>
</equals>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KR87.volume</object-name>
<property>instrumentation/kr-87/inputs/volume</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.00</x-m>
<y-m>0.038</y-m>
<z-m>-0.006</z-m>
</center>
<type>select</type>
<object-name>kr87.indicators.ET</object-name>
<condition>
<equals>
<property>/instrumentation/adf[0]/display-mode</property>
<value type="int">2</value>
</equals>
</condition>
</animation>
<!-- Use FREQ -->
<animation>
<type>select</type>
<object-name>kr87.indicators.Use.1000</object-name>
<condition>
<greater-than-equals>
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
<value type="int">1000</value>
</greater-than-equals>
</condition>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Use.1000</object-name>
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>-1</x>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Use.100</object-name>
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Use.10</object-name>
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Use.1</object-name>
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
<step>1</step>
<factor>0.1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- STBY FREQ -->
<animation>
<condition>
<not-equals>
<property>/instrumentation/adf[0]/display-mode</property>
<value type="int">0</value>
</not-equals>
</condition>
<type>select</type>
<object-name>kr87.indicators.dots</object-name>
</animation>
<animation>
<condition>
<greater-than-equals>
<property alias="../../../../params/right-display"/>
<value type="int">1000</value>
</greater-than-equals>
</condition>
<type>select</type>
<object-name>kr87.indicators.Stby.1000</object-name>
</animation>
<animation>
<condition>
<greater-than-equals>
<property alias="../../../../params/right-display"/>
<value type="int">100</value>
</greater-than-equals>
</condition>
<type>select</type>
<object-name>kr87.indicators.Stby.100</object-name>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Stby.1000</object-name>
<property alias="../../params/right-display"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Stby.100</object-name>
<property alias="../../params/right-display"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Stby.10</object-name>
<property alias="../../params/right-display"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>kr87.indicators.Stby.1</object-name>
<property alias="../../params/right-display"/>
<step>1</step>
<factor>0.1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>translate</type>
<object-name>KR87.adf</object-name>
<property>instrumentation/kr-87/annunciators/adf</property>
<factor>0.001</factor>
<object-name>kr87.knobs.ADF</object-name>
<property>/instrumentation/adf[0]/adf-btn</property>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>kr87.knobs.BFO</object-name>
<property>/instrumentation/adf[0]/bfo-btn</property>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>kr87.knobs.FRQ</object-name>
<property>/instrumentation/adf[0]/frq-btn</property>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>kr87.knobs.FLT</object-name>
<property>/instrumentation/adf[0]/flt-btn</property>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>kr87.knobs.SET</object-name>
<property>/instrumentation/adf[0]/set-btn</property>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>kr87.knobs.Volume</object-name>
<property>/instrumentation/adf[0]/volume-norm</property>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.00</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
<x-m>0.0188946</x-m>
<y-m>0.03362955</y-m>
<z-m>-0.00472295</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- FREQUENCIES -->
<animation>
<type>textranslate</type>
<object-name>freq.001</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.002</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.003</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.004</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Standby -->
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>ant.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/ant</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>adf.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/adf</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>bfo.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/bfo</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>et.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/et</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>flt.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/flt</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>frq.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/frq</property>
</condition>
</animation>
</PropertyList>

View file

@ -0,0 +1,296 @@
<?xml version="1.0"?>
<!--
$Id$
This is the hotspot fake instrument for the kr87 ADF 3d instrument.
Maintainer: Torsten Dreyer
$Log$
Revision 1.1 2008/12/04 22:44:23 martin
Heiko Schulz:
-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect
still work on the interior to do like the seats, walls and so on...
Revision 1.1 2006/06/01 12:58:33 mfranz
Torsten Dreyer: version 0.3 of the PA34-200T Seneca II (2006.05.30)
-->
<PropertyList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../XMLSchemas/panel.xsd">
<name>KR87Panel</name>
<background>Aircraft/SenecaII/Instruments-3d/transparent.rgb</background>
<w>158</w>
<h>30</h>
<instruments>
<instrument>
<name>panel hotspots</name>
<x>79</x>
<y>15</y>
<w>158</w>
<h>30</h>
<w-base>158</w-base>
<h-base>30</h-base>
<actions>
<!-- ADF Button -->
<action>
<name>ADFButton</name>
<button>0</button>
<x>-53</x>
<y>-13</y>
<w>9</w>
<h>5</h>
<binding>
<command>property-toggle</command>
<property>/instrumentation/adf[0]/adf-btn</property>
</binding>
</action>
<!-- BFO Button -->
<action>
<name>BFOButton</name>
<button>0</button>
<x>-37</x>
<y>-13</y>
<w>9</w>
<h>5</h>
<binding>
<command>property-toggle</command>
<property>/instrumentation/adf[0]/bfo-btn</property>
</binding>
</action>
<!-- FRQ Button -->
<action>
<name>FRQButton</name>
<button>0</button>
<x>-22</x>
<y>-13</y>
<w>9</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>/instrumentation/adf[0]/frq-btn</property>
<value type="int">1</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/adf[0]/display-mode</property>
<value type="int">0</value>
</equals>
</condition>
<command>property-swap</command>
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
</binding>
<binding>
<command>property-assign</command>
<property>/instrumentation/adf[0]/display-mode</property>
<value type="int">0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/adf[0]/frq-btn</property>
<value type="int">0</value>
</binding>
</mod-up>
</action>
<!-- FLT/ET Button -->
<action>
<name>FLTButton</name>
<button>0</button>
<x>-6</x>
<y>-13</y>
<w>9</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>/instrumentation/adf[0]/flt-btn</property>
<value type="int">1</value>
</binding>
<binding>
<command>property-adjust</command>
<property>/instrumentation/adf[0]/display-mode</property>
<step>1</step>
<min>1</min>
<max>3</max>
<wrap>true</wrap>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/adf[0]/flt-btn</property>
<value type="int">0</value>
</binding>
</mod-up>
</action>
<!-- SET/RST Button -->
<action>
<name>SETButton</name>
<button>0</button>
<x>8</x>
<y>-13</y>
<w>9</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>/instrumentation/adf[0]/set-btn</property>
<value type="int">1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/adf[0]/set-btn</property>
<value type="int">0</value>
</binding>
</mod-up>
</action>
<!-- small frequencies increase -->
<action>
<name>small com frequency increase</name>
<button>0</button>
<x>63</x>
<y>-10</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
<step>1</step>
<min>200</min>
<max>1800</max>
<wrap>true</wrap>
</binding>
</action>
<!-- small frequencies decrease -->
<action>
<name>small com frequency decrease</name>
<button>0</button>
<x>55</x>
<y>-10</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
<step>-1</step>
<min>200</min>
<max>1800</max>
<wrap>true</wrap>
</binding>
</action>
<!-- large frequencies increase -->
<action>
<name>small com frequency increase</name>
<button>1</button>
<x>63</x>
<y>-10</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
<step>100</step>
<min>200</min>
<max>1800</max>
<wrap>true</wrap>
</binding>
</action>
<!-- large frequencies decrease -->
<action>
<name>small com frequency decrease</name>
<button>1</button>
<x>55</x>
<y>-10</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
<step>-100</step>
<min>200</min>
<max>1800</max>
<wrap>true</wrap>
</binding>
</action>
<!-- volume increase -->
<action>
<name>volume increase</name>
<button>0</button>
<x>36</x>
<y>-9</y>
<w>4</w>
<h>8</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/adf[0]/volume-norm</property>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
</binding>
<binding>
<condition>
<greater-than>
<property>/instrumentation/adf[0]/volume-norm</property>
<value>0.0</value>
</greater-than>
</condition>
<command>property-assign</command>
<property>/instrumentation/adf[0]/power-btn</property>
<value type="bool">1</value>
</binding>
</action>
<!-- volume decrease -->
<action>
<name>volume decrease</name>
<button>0</button>
<x>32</x>
<y>-9</y>
<w>4</w>
<h>8</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/adf[0]/volume-norm</property>
<step>-0.1</step>
<min>0</min>
<max>1.0</max>
</binding>
<binding>
<condition>
<less-than>
<property>/instrumentation/adf[0]/volume-norm</property>
<value>0.1</value>
</less-than>
</condition>
<command>property-assign</command>
<property>/instrumentation/adf[0]/power-btn</property>
<value type="bool">0</value>
</binding>
</action>
</actions>
</instrument>
</instruments>
</PropertyList>

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,917 @@
<?xml version="1.0" ?>
<PropertyList>
<!--
Bendix/King KX155/165 COMM/NAV radio
Use this instrument as COMM1/NAV1 radio
Created by Torsten Dreyer, October 2008
You might want to use the following code in your aircraft's nasal
init function to keep the settings of the radio persistent between
flightgear sessions
aircraft.data.add(
"instrumentation/comm[0]/volume",
"instrumentation/comm[0]/frequencies/selected-mhz",
"instrumentation/comm[0]/frequencies/standby-mhz",
"instrumentation/comm[0]/test-btn",
"instrumentation/nav[0]/audio-btn",
"instrumentation/nav[0]/power-btn",
"instrumentation/nav[0]/frequencies/selected-mhz",
"instrumentation/nav[0]/frequencies/standby-mhz",
);
-->
<params>
<comm-serviceable>instrumentation/comm[0]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[0]/serviceable</nav-serviceable>
<power>instrumentation/nav[0]/power-btn</power>
<comm-frq-swp>instrumentation/comm[0]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[0]/frequencies/selected-mhz</comm-frq-selected>
<comm-frq-standby>instrumentation/comm[0]/frequencies/standby-mhz</comm-frq-standby>
<comm-volume>instrumentation/comm[0]/volume</comm-volume>
<comm-test>instrumentation/comm[0]/test-btn</comm-test>
<nav-frq-swp>instrumentation/nav[0]/frq-swap-btn</nav-frq-swp>
<nav-frq-selected>instrumentation/nav[0]/frequencies/selected-mhz</nav-frq-selected>
<nav-frq-standby>instrumentation/nav[0]/frequencies/standby-mhz</nav-frq-standby>
<nav-volume>instrumentation/nav[0]/volume</nav-volume>
<nav-audio>instrumentation/nav[0]/audio-btn</nav-audio>
<dimming>instrumentation/comm[0]/dimming-norm</dimming>
</params>
<path>kx165.ac</path>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<property alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<emission>
<red>-1.0</red>
<green>-1.0</green>
<blue>-1.0</blue>
<factor-prop alias="../../../params/dimming"/>
<offset>1</offset>
</emission>
</animation>
<!-- comm part -->
<animation>
<type>translate</type>
<object-name>CommToggle</object-name>
<property alias="../../params/comm-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse1M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby1M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- NAV part -->
<animation>
<type>translate</type>
<object-name>NavToggle</object-name>
<property alias="../../params/nav-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse1M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby1M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188947</x-m>
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-test"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-360</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-360</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188946</x-m>
<y-m>0.0180001</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolume</object-name>
<visible>true</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/comm-test"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
</condition>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommMHz</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolume</object-name>
<visible>true</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/nav-audio"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavMHz</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/comm-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/comm-frq-selected"/>
<property alias="../../../../params/comm-frq-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/comm-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/nav-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/nav-frq-selected"/>
<property alias="../../../../params/nav-frq-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/nav-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
</PropertyList>

View file

@ -0,0 +1,917 @@
<?xml version="1.0" ?>
<PropertyList>
<!--
Bendix/King KX155/165 COMM/NAV radio
Use this instrument as COMM1/NAV1 radio
Created by Torsten Dreyer, October 2008
You might want to use the following code in your aircraft's nasal
init function to keep the settings of the radio persistent between
flightgear sessions
aircraft.data.add(
"instrumentation/comm[1]/volume",
"instrumentation/comm[1]/frequencies/selected-mhz",
"instrumentation/comm[1]/frequencies/standby-mhz",
"instrumentation/comm[1]/test-btn",
"instrumentation/nav[1]/audio-btn",
"instrumentation/nav[1]/power-btn",
"instrumentation/nav[1]/frequencies/selected-mhz",
"instrumentation/nav[1]/frequencies/standby-mhz",
);
-->
<params>
<comm-serviceable>instrumentation/comm[1]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[1]/serviceable</nav-serviceable>
<power>instrumentation/nav[1]/power-btn</power>
<comm-frq-swp>instrumentation/comm[1]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[1]/frequencies/selected-mhz</comm-frq-selected>
<comm-frq-standby>instrumentation/comm[1]/frequencies/standby-mhz</comm-frq-standby>
<comm-volume>instrumentation/comm[1]/volume</comm-volume>
<comm-test>instrumentation/comm[1]/test-btn</comm-test>
<nav-frq-swp>instrumentation/nav[1]/frq-swap-btn</nav-frq-swp>
<nav-frq-selected>instrumentation/nav[1]/frequencies/selected-mhz</nav-frq-selected>
<nav-frq-standby>instrumentation/nav[1]/frequencies/standby-mhz</nav-frq-standby>
<nav-volume>instrumentation/nav[1]/volume</nav-volume>
<nav-audio>instrumentation/nav[1]/audio-btn</nav-audio>
<dimming>instrumentation/comm[1]/dimming-norm</dimming>
</params>
<path>kx165.ac</path>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<property alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<emission>
<red>-1.0</red>
<green>-1.0</green>
<blue>-1.0</blue>
<factor-prop alias="../../../params/dimming"/>
<offset>1</offset>
</emission>
</animation>
<!-- comm part -->
<animation>
<type>translate</type>
<object-name>CommToggle</object-name>
<property alias="../../params/comm-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse1M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby1M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- NAV part -->
<animation>
<type>translate</type>
<object-name>NavToggle</object-name>
<property alias="../../params/nav-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse1M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby1M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>1</step>
<factor>0.1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>0.1</step>
<factor>1</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>0.01</step>
<factor>10</factor>
<bias>0.0001</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188947</x-m>
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-test"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-360</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-360</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188946</x-m>
<y-m>0.0180001</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolume</object-name>
<visible>true</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/comm-test"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>0</value>
<condition>
<less-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</less-than>
</condition>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
<binding>
<command>property-assign</command>
<property alias="../../../../params/power"/>
<value>1</value>
<condition>
<greater-than>
<property alias="../../../../../../params/comm-volume"/>
<value>0.05</value>
</greater-than>
</condition>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommMHz</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolume</object-name>
<visible>true</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/nav-audio"/>
</binding>
</action>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavMHz</object-name>
<visible>true</visible>
<action>
<button>3</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<button>4</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/comm-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/comm-frq-selected"/>
<property alias="../../../../params/comm-frq-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/comm-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/nav-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/nav-frq-selected"/>
<property alias="../../../../params/nav-frq-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/nav-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
</PropertyList>

Binary file not shown.

View file

@ -1,716 +0,0 @@
<?xml version="1.0" ?>
<PropertyList>
<params>
<comm-serviceable>instrumentation/comm[0]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[0]/serviceable</nav-serviceable>
<power>instrumentation/nav[0]/power-btn</power>
<comm-frq-swp>instrumentation/comm[0]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[0]/frequencies/selected-khz</comm-frq-selected>
<comm-frq-standby>instrumentation/comm[0]/frequencies/standby-khz</comm-frq-standby>
<comm-frq-mhz-standby>instrumentation/comm[0]/frequencies/standby-mhz</comm-frq-mhz-standby>
<comm-frq-mhz-selected>instrumentation/comm[0]/frequencies/selected-mhz</comm-frq-mhz-selected>
<comm-volume>instrumentation/comm[0]/volume</comm-volume>
<comm-test>instrumentation/comm[0]/test-btn</comm-test>
<nav-frq-swp>instrumentation/nav[0]/frq-swap-btn</nav-frq-swp>
<nav-frq-selected>instrumentation/nav[0]/frequencies/selected-khz</nav-frq-selected>
<nav-frq-standby>instrumentation/nav[0]/frequencies/standby-khz</nav-frq-standby>
<nav-frq-mhz-standby>instrumentation/nav[0]/frequencies/standby-mhz</nav-frq-mhz-standby>
<nav-frq-mhz-selected>instrumentation/nav[0]/frequencies/selected-mhz</nav-frq-mhz-selected>
<nav-volume>instrumentation/nav[0]/volume</nav-volume>
<nav-audio>instrumentation/nav[0]/audio-btn</nav-audio>
</params>
<path>kx165tso.ac</path>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<property alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
</condition>
</animation>
<!-- comm part -->
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red-prop>sim/model/instrument-lighting/emission/red</red-prop>
<green-prop>sim/model/instrument-lighting/emission/green</green-prop>
<blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>translate</type>
<object-name>CommToggle</object-name>
<property alias="../../params/comm-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse1M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby1M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- NAV part -->
<animation>
<type>translate</type>
<object-name>NavToggle</object-name>
<property alias="../../params/nav-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse1M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby1M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188947</x-m>
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-test"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188946</x-m>
<y-m>0.0180001</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/comm-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/comm-frq-mhz-selected"/>
<property alias="../../../../params/comm-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/comm-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/nav-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/nav-frq-mhz-selected"/>
<property alias="../../../../params/nav-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/nav-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>noshadow</type>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
</PropertyList>

View file

@ -1,716 +0,0 @@
<?xml version="1.0" ?>
<PropertyList>
<params>
<comm-serviceable>instrumentation/comm[1]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[1]/serviceable</nav-serviceable>
<power>instrumentation/nav[1]/power-btn</power>
<comm-frq-swp>instrumentation/comm[1]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[1]/frequencies/selected-khz</comm-frq-selected>
<comm-frq-standby>instrumentation/comm[1]/frequencies/standby-khz</comm-frq-standby>
<comm-frq-mhz-standby>instrumentation/comm[1]/frequencies/standby-mhz</comm-frq-mhz-standby>
<comm-frq-mhz-selected>instrumentation/comm[1]/frequencies/selected-mhz</comm-frq-mhz-selected>
<comm-volume>instrumentation/comm[1]/volume</comm-volume>
<comm-test>instrumentation/comm[1]/test-btn</comm-test>
<nav-frq-swp>instrumentation/nav[1]/frq-swap-btn</nav-frq-swp>
<nav-frq-selected>instrumentation/nav[1]/frequencies/selected-khz</nav-frq-selected>
<nav-frq-standby>instrumentation/nav[1]/frequencies/standby-khz</nav-frq-standby>
<nav-frq-mhz-standby>instrumentation/nav[1]/frequencies/standby-mhz</nav-frq-mhz-standby>
<nav-frq-mhz-selected>instrumentation/nav[1]/frequencies/selected-mhz</nav-frq-mhz-selected>
<nav-volume>instrumentation/nav[1]/volume</nav-volume>
<nav-audio>instrumentation/nav[1]/audio-btn</nav-audio>
</params>
<path>kx165tso.ac</path>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<property alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
</condition>
</animation>
<!-- comm part -->
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red-prop>sim/model/instrument-lighting/emission/red</red-prop>
<green-prop>sim/model/instrument-lighting/emission/green</green-prop>
<blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>translate</type>
<object-name>CommToggle</object-name>
<property alias="../../params/comm-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse1M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby1M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- NAV part -->
<animation>
<type>translate</type>
<object-name>NavToggle</object-name>
<property alias="../../params/nav-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse1M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby1M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188947</x-m>
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-test"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188946</x-m>
<y-m>0.0180001</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/comm-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/comm-frq-mhz-selected"/>
<property alias="../../../../params/comm-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/comm-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/nav-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/nav-frq-mhz-selected"/>
<property alias="../../../../params/nav-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/nav-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>noshadow</type>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
</PropertyList>

View file

@ -5,7 +5,7 @@
<PropertyList>
<name>Radio-Panel</name>
<background>Aircraft/pa24-250/Models/radio_stack/transparent-bg.rgb</background>
<!--<background>Aircraft/pa24-250/Models/radio_stack/transparent-bg.rgb</background>-->
<w>512</w>
<h>1024</h>
<instruments>

View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">CAP</name>
<index type="int">9</index>
<texture>Liveries/fuselage.CAP.png</texture>
</livery>
<liverytail>
<name type="string">CAP</name>
<index type="int">9</index>
<texture>Liveries/tail.CAP.png</texture>
</liverytail>
<liverywing>
<name type="string">CAP</name>
<index type="int">9</index>
<texture>Liveries/wing.CAP.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -1,36 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">D-EEQA</name>
<index type="int">3</index>
<texture>Liveries/fuselage.deeqa.rgb</texture>
</livery>
<liverytail>
<name type="string">D-EEQA</name>
<index type="int">3</index>
<texture>Liveries/tail.deeqa.rgb</texture>
</liverytail>
<liverywing>
<name type="string">D-EEQA</name>
<index type="int">3</index>
<texture>Liveries/wing.deeqa.rgb</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>true</fairing2>
<fairing3>true</fairing3>
</c172p>
</model>
</sim>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">D-EEQA</name>
<index type="int">3</index>
<texture>Liveries/fuselage.deeqa.png</texture>
</livery>
<liverytail>
<name type="string">D-EEQA</name>
<index type="int">3</index>
<texture>Liveries/tail.deeqa.png</texture>
</liverytail>
<liverywing>
<name type="string">D-EEQA</name>
<index type="int">3</index>
<texture>Liveries/wing.deeqa.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>true</fairing2>
<fairing3>true</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">G-BEMB</name>
<index type="int">7</index>
<texture>Liveries/fuselage.G-BEMB.png</texture>
</livery>
<liverytail>
<name type="string">G-BEMB</name>
<index type="int">7</index>
<texture>Liveries/tail.G-BEMB.png</texture>
</liverytail>
<liverywing>
<name type="string">G-BEMB</name>
<index type="int">7</index>
<texture>Liveries/wing.G-BEMB.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -1,36 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">HB-CHX</name>
<index type="int">4</index>
<texture>Liveries/fuselage.HB-CHX.rgb</texture>
</livery>
<liverytail>
<name type="string">HB-CHX</name>
<index type="int">4</index>
<texture>Liveries/tail.HB-CHX.rgb</texture>
</liverytail>
<liverywing>
<name type="string">HB-CHX</name>
<index type="int">4</index>
<texture>Liveries/wing.HB-CHX.rgb</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">HB-CHX</name>
<index type="int">4</index>
<texture>Liveries/fuselage.HB-CHX.png</texture>
</livery>
<liverytail>
<name type="string">HB-CHX</name>
<index type="int">4</index>
<texture>Liveries/tail.HB-CHX.png</texture>
</liverytail>
<liverywing>
<name type="string">HB-CHX</name>
<index type="int">4</index>
<texture>Liveries/wing.HB-CHX.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">IVA</name>
<texture>Liveries/fuselage.IVA.png</texture>
</livery>
<liverytail>
<name type="string">IVA</name>
<texture>Liveries/tail.IVA.png</texture>
</liverytail>
<liverywing>
<name type="string">IVA</name>
<texture>Liveries/wing.IVA.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>true</fairing1>
<fairing2>true</fairing2>
<fairing3>true</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -1,36 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">KLM</name>
<index type="int">6</index>
<texture>Liveries/fuselage.KLM.rgb</texture>
</livery>
<liverytail>
<name type="string">KLM</name>
<index type="int">6</index>
<texture>Liveries/tail.KLM.rgb</texture>
</liverytail>
<liverywing>
<name type="string">KLM</name>
<index type="int">6</index>
<texture>Liveries/wing.KLM.rgb</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">KLM</name>
<index type="int">6</index>
<texture>Liveries/fuselage.KLM.png</texture>
</livery>
<liverytail>
<name type="string">KLM</name>
<index type="int">6</index>
<texture>Liveries/tail.KLM.png</texture>
</liverytail>
<liverywing>
<name type="string">KLM</name>
<index type="int">6</index>
<texture>Liveries/wing.KLM.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>false</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -1,36 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">ZK-WAX</name>
<index type="int">5</index>
<texture>Liveries/fuselage.ZK-WAX.rgb</texture>
</livery>
<liverytail>
<name type="string">ZK-WAX</name>
<index type="int">5</index>
<texture>Liveries/tail.ZK-WAX.rgb</texture>
</liverytail>
<liverywing>
<name type="string">ZK-WAX</name>
<index type="int">5</index>
<texture>Liveries/wing.ZK-WAX.rgb</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>true</fairing1>
<fairing2>true</fairing2>
<fairing3>true</fairing3>
</c172p>
</model>
</sim>
</PropertyList>
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">ZK-WAX</name>
<index type="int">5</index>
<texture>Liveries/fuselage.ZK-WAX.png</texture>
</livery>
<liverytail>
<name type="string">ZK-WAX</name>
<index type="int">5</index>
<texture>Liveries/tail.ZK-WAX.png</texture>
</liverytail>
<liverywing>
<name type="string">ZK-WAX</name>
<index type="int">5</index>
<texture>Liveries/wing.ZK-WAX.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>true</fairing1>
<fairing2>true</fairing2>
<fairing3>true</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -127,7 +127,7 @@
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.311</y-m>
<z-m>-0.152</z-m>
<z-m>-0.142</z-m>
</offsets>
</model>
@ -161,20 +161,21 @@
</offsets>
</model>
<model>
<name>adf</name>
<path>Aircraft/c172p/Instruments/kr87-adf/ki227-00.xml</path>
<path>Aircraft/c172p/Instruments/kr87-adf/ki227_228.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.041</y-m>
<z-m>-0.144</z-m>
<z-m>-0.141</z-m>
</offsets>
</model>
<model>
<name>RadioStack</name>
<path>Aircraft/c172p/Instruments/radio_stack/radio-stack.xml</path>
<name>kx165</name>
<path>Aircraft/c172p/Instruments/kx165/kx165-1.xml</path>
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
@ -182,6 +183,30 @@
</offsets>
</model>
<model>
<name>kx165</name>
<path>Aircraft/c172p/Instruments/kx165/kx165-2.xml</path>
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
<z-m>0.017</z-m>
</offsets>
</model>
<model>
<name>kr87</name>
<path>Aircraft/c172p/Instruments/kr87-adf/kr87.xml</path>
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
<z-m>0.061</z-m>
</offsets>
</model>
<model>
<name>clock</name>
<path>Aircraft/c172p/Instruments/clock/clock.xml</path>
@ -298,6 +323,317 @@
<max-m>10.0</max-m>
</animation> -->
<!--pick animation for the doors-->
<animation>
<type>pick</type>
<object-name>doorhandleext_right</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>c172p.rightDoor.toggle();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>doorhandleext_left</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>c172p.leftDoor.toggle();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>baggagedoorhandle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>c172p.baggageDoor.toggle();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>doorhandleint_right</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>c172p.rightDoor.toggle();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>doorhandle_intle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>c172p.leftDoor.toggle();</script>
</binding>
</action>
</animation>
<!--door animation-->
<animation>
<type>rotate</type>
<object-name>rightdoor</object-name>
<object-name>rightwindow</object-name>
<object-name>doorhandleext_right</object-name>
<object-name>doorint_right</object-name>
<object-name>doorhandleint_right</object-name>
<object-name>windlocket</object-name>
<property>/sim/model/door-positions/rightDoor/position-norm</property>
<interpolation>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>0.5</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>70.0</dep>
</entry>
</interpolation>
<axis>
<x1-m>-0.117</x1-m>
<y1-m>0.530</y1-m>
<z1-m>-0.376</z1-m>
<x2-m>-0.054</x2-m>
<y2-m>0.535</y2-m>
<z2-m>-0.117</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>doorhandleint_right</object-name>
<property>/sim/model/door-positions/rightDoor/position-norm</property>
<interpolation>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>0.5</ind>
<dep>70.0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>70.0</dep>
</entry>
</interpolation>
<center>
<x-m>0.166</x-m>
<y-m>0.482</y-m>
<z-m>-0.263</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>leftdoor</object-name>
<object-name>leftwindow</object-name>
<object-name>doorhandleext_left</object-name>
<object-name>doorint_left</object-name>
<object-name>doorhandle_intle</object-name>
<object-name>windlocket.002</object-name>
<property>/sim/model/door-positions/leftDoor/position-norm</property>
<interpolation>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>0.5</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>-70.0</dep>
</entry>
</interpolation>
<axis>
<x1-m>-0.117</x1-m>
<y1-m>-0.530</y1-m>
<z1-m>-0.376</z1-m>
<x2-m>-0.054</x2-m>
<y2-m>-0.535</y2-m>
<z2-m>-0.117</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>doorhandle_intle</object-name>
<property>/sim/model/door-positions/leftDoor/position-norm</property>
<interpolation>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>0.5</ind>
<dep>70.0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>70.0</dep>
</entry>
</interpolation>
<center>
<x-m>0.166</x-m>
<y-m>-0.482</y-m>
<z-m>-0.263</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>baggagedoor</object-name>
<object-name>baggagedoor.002</object-name>
<object-name>baggagedoorhandle</object-name>
<property>/sim/model/door-positions/baggageDoor/position-norm</property>
<factor>-90</factor>
<axis>
<x1-m>1.373</x1-m>
<y1-m>-0.445</y1-m>
<z1-m>-0.656</z1-m>
<x2-m>1.424</x2-m>
<y2-m>-0.445</y2-m>
<z2-m>-0.204</z2-m>
</axis>
</animation>
<!--pick animation for switches-->
<animation>
<type>pick</type>
<object-name>LandingLightSwitch</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/lighting/landing-lights</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>TaxiLightSwitch</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/lighting/taxi-light</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>StrobeSwitch</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/lighting/strobe</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>BeaconSwitch</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/lighting/beacon</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavLightSwitch</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/lighting/nav-lights</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>PitotHeatSwitch</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/anti-ice/pitot-heat</property>
</binding>
</action>
</animation>
<animation>
<type>translate</type>
<object-name>LeftYoke</object-name>
@ -580,43 +916,27 @@
<animation>
<type>select</type>
<object-name>LeftNavLightOn</object-name>
<object-name>RightNavLightOn</object-name>
<object-name>RearNavLightOn</object-name>
<object-name>navlight_left</object-name>
<object-name>navlight_right</object-name>
<object-name>navlight_back</object-name>
<condition>
<property>controls/lighting/nav-lights</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>LeftNavLightOff</object-name>
<object-name>RightNavLightOff</object-name>
<object-name>RearNavLightOff</object-name>
<condition>
<not>
<property>controls/lighting/nav-lights</property>
</not>
</condition>
</animation>
<animation>
<name>BeaconFlasher</name>
<type>timed</type>
<object-name>BeaconOff</object-name>
<object-name>BeaconOn</object-name>
<duration-sec>1.0</duration-sec>
</animation>
<animation>
<type>select</type>
<object-name>BeaconFlasher</object-name>
<object-name>BeaconOffX</object-name>
<condition>
<property>controls/lighting/beacon</property>
</condition>
</animation>
<!-- Experimental Taxi and Landing Lights -->
<animation>
@ -670,24 +990,7 @@
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>NoseWheel</object-name>
<object-name>NoseWheelStrut</object-name>
<object-name>Axle</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>-30.0</factor>
<center>
<x-m>-0.9</x-m>
<y-m>0</y-m>
<z-m>-0.59</z-m>
</center>
<axis>
<x>0.25</x>
<y>0.00</y>
<z>1.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
@ -855,7 +1158,7 @@
<animation>
<type>rotate</type>
<object-name>rudder</object-name>
<object-name>RearNavLightOn</object-name>
<object-name>navlight_back</object-name>
<object-name>RearNavLightOff</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>17.5</factor>
@ -894,7 +1197,7 @@
<object-name>Oleo</object-name>
<object-name>Axle.001</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>17.5</factor>
<factor>30</factor>
<axis>
<x1-m>-0.975</x1-m>
<y1-m>0</y1-m>
@ -944,6 +1247,213 @@
</axis>
</animation>
<!--Lights-->
<!--landinglight-->
<animation>
<type>select</type>
<object-name>landinglight</object-name>
<object-name>landinglight2</object-name>
<condition>
<property>controls/lighting/landing-lights</property>
</condition>
</animation>
<animation>
<type>noshadow</type>
<object-name>landinglight</object-name>
</animation>
<animation>
<type>flash</type>
<object-name>landinglight</object-name>
<center>
<x-m>-0.117</x-m>
<y-m>-2.872</y-m>
<z-m>0.528</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<power>0.5</power>
<factor>1</factor>
<offset>0</offset>
<two-sides type="bool">false</two-sides>
<min>0.01</min>
<max>1</max>
</animation>
<!--strobe-->
<animation>
<type>select</type>
<object-name>strobe1</object-name>
<object-name>strobe2</object-name>
<condition>
<property>/sim/model/c172p/lighting/strobes/state</property>
</condition>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>25000</max-m>
</animation>
<Plane.014Xparams>
<light-near>0.8</light-near>
<light-med>3.2</light-med>
<light-far>160</light-far>
</Plane.014Xparams>
<animation>
<name>Plane.014XGroup</name>
<object-name>strobe1</object-name>
<object-name>strobe2</object-name>
</animation>
<animation>
<type>alpha-test</type>
<object-name>Plane.014XGroup</object-name>
<alpha-factor>0.001</alpha-factor>
</animation>
<animation>
<type>translate</type>
<object-name>strobe1</object-name>
<offset-m>5.760493</offset-m>
<axis>
<x>0.253912</x>
<y>-5.727128</y>
<z>0.564638</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>strobe2</object-name>
<offset-m>5.742337</offset-m>
<axis>
<x>0.253912</x>
<y>5.708865</y>
<z>0.564638</z>
</axis>
</animation>
<animation>
<type>billboard</type>
<object-name>strobe1</object-name>
<spherical type="bool">true</spherical>
</animation>
<animation>
<type>billboard</type>
<object-name>strobe2</object-name>
<spherical type="bool">true</spherical>
</animation>
<animation>
<type>dist-scale</type>
<object-name>strobe1</object-name>
<interpolation>
<entry>
<ind>0</ind>
<dep alias="../../../../Plane.014Xparams/light-near"/>
</entry>
<entry>
<ind>500</ind>
<dep alias="../../../../Plane.014Xparams/light-med"/>
</entry>
<entry>
<ind>16000</ind>
<dep alias="../../../../Plane.014Xparams/light-far"/>
</entry>
</interpolation>
</animation>
<animation>
<type>dist-scale</type>
<object-name>strobe2</object-name>
<interpolation>
<entry>
<ind>0</ind>
<dep alias="../../../../Plane.014Xparams/light-near"/>
</entry>
<entry>
<ind>500</ind>
<dep alias="../../../../Plane.014Xparams/light-med"/>
</entry>
<entry>
<ind>16000</ind>
<dep alias="../../../../Plane.014Xparams/light-far"/>
</entry>
</interpolation>
</animation>
<animation>
<type>select</type>
<object-name>BeaconOffX</object-name>
<condition>
<property>/sim/model/c172p/lighting/beacon-top/state</property>
</condition>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>25000</max-m>
</animation>
<BeaconOffXparams>
<light-near>0.4</light-near>
<light-med>0.8</light-med>
<light-far>10</light-far>
</BeaconOffXparams>
<animation>
<type>alpha-test</type>
<object-name>BeaconOffX</object-name>
<alpha-factor>0.001</alpha-factor>
</animation>
<animation>
<type>translate</type>
<object-name>BeaconOffX</object-name>
<offset-m>5.588312</offset-m>
<axis>
<x>5.466914</x>
<y>0</y>
<z>1.15848</z>
</axis>
</animation>
<animation>
<type>billboard</type>
<object-name>BeaconOffX</object-name>
<spherical type="bool">true</spherical>
</animation>
<animation>
<type>dist-scale</type>
<object-name>BeaconOffX</object-name>
<interpolation>
<entry>
<ind>0</ind>
<dep alias="../../../../BeaconOffXparams/light-near"/>
</entry>
<entry>
<ind>500</ind>
<dep alias="../../../../BeaconOffXparams/light-med"/>
</entry>
<entry>
<ind>16000</ind>
<dep alias="../../../../BeaconOffXparams/light-far"/>
</entry>
</interpolation>
</animation>
<animation>
<type>select</type>
<object-name>fairing1</object-name>
@ -968,6 +1478,43 @@
</condition>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>RightWheelStrut</object-name>
<object-name>LeftWheelStrut</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>fairing1</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>fairing2</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>fairing3</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
@ -977,6 +1524,18 @@
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>charniere1</object-name>
<object-name>charniere2</object-name>
<object-name>charniere3</object-name>
<object-name>charniere4</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage.n301dp.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
@ -1057,14 +1616,7 @@
<texture>tai.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>elevators</object-name>
<property-base>sim/model/liverytail/</property-base>
<texture-prop>texture</texture-prop>
<texture>tail.png</texture>
</animation>
<animation>
<type>material</type>
@ -1074,5 +1626,15 @@
<texture-prop>texture</texture-prop>
<texture>tail.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>elevatorleft</object-name>
<object-name>elevatorright</object-name>
<property-base>sim/model/liverytail/</property-base>
<texture-prop>texture</texture-prop>
<texture>tail.png</texture>
</animation>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 KiB

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

View file

@ -1,23 +1,4 @@
# =====
# Doors
# =====
Doors = {};
Doors.new = func {
obj = { parents : [Doors],
crew : aircraft.door.new("instrumentation/doors/crew", 8.0),
};
return obj;
};
Doors.crewexport = func {
me.crew.toggle();
}
# ==============
# Initialization
# ==============
# objects must be here, otherwise local to init()
doorsystem = Doors.new();
# doors ============================================================
leftDoor = aircraft.door.new( "/sim/model/door-positions/leftDoor", 2, 0 );
rightDoor = aircraft.door.new( "/sim/model/door-positions/rightDoor", 2, 0 );
baggageDoor = aircraft.door.new( "/sim/model/door-positions/baggageDoor", 2, 0 );

View file

@ -0,0 +1,176 @@
#
# This Timer is for stop-watches
#
# ./time (double) elapsed time since last start or reset
#
# ./running (bool) true if timer is running, false if stopped
# ./start-time (double) timestamp when the timer was last started or reset
var elapsedTimeSecN = props.globals.getNode( "/sim/time/elapsed-sec" );
var timer = {
new : func {
var m = { parents: [timer] };
m.base = arg[0];
m.baseN = props.globals.getNode( m.base, 1 );
m.timeN = m.baseN.initNode( "time", 0.0 );
m.runningN = m.baseN.initNode( "running", 0, "BOOL" );
m.startTimeN = m.baseN.initNode( "start-time", -1.0 );
return m;
},
getTime : func {
return me.timeN.getDoubleValue();
},
start : func {
me.runningN.setBoolValue( 1 );
},
stop : func {
me.runningN.setBoolValue( 0 );
},
reset : func {
me.startTimeN.setDoubleValue( elapsedTimeSecN.getValue() );
me.timeN.setDoubleValue( 0 );
},
restart : func {
me.reset();
me.start();
},
# return integer coded time as hmmss
computeBCDTime : func {
var t = me.timeN.getValue();
var h = int(t / 3600);
var t = t - (h*3600);
var m = int(t / 60 );
var t = t - (m*60);
var s = int(t);
return h * 10000 + m * 100 + s;
},
update : func {
if( me.runningN.getValue() ) {
me.timeN.setDoubleValue( elapsedTimeSecN.getValue() - me.startTimeN.getValue() );
}
}
};
####################################################################
# KR87
var kr87 = {
new : func {
var m = { parents: [kr87] };
m.base = arg[0];
m.baseN = props.globals.getNode( m.base, 1 );
m.flt = timer.new( m.base ~ "/flight-timer" );
m.flt.restart();
m.et = timer.new( m.base ~ "/enroute-timer" );
m.et.restart();
m.displayModeN = m.baseN.initNode( "display-mode", 0, "INT" );
m.rightDisplayN = m.baseN.getNode( "right-display", 1 );
m.standbyFrequencyN = m.baseN.getNode( "frequencies/standby-khz", 1 );
# will be set from audiopanel
# m.baseN.getNode( "ident-audible" ).setBoolValue( 1 );
m.volumeNormN = m.baseN.initNode( "volume-norm", 0.0 );
m.power = 0;
m.powerButtonN = m.baseN.initNode( "power-btn", 0, "BOOL" );
m.powerButtonN.setBoolValue( m.volumeNormN.getValue() != 0 );
m.setButtonN = m.baseN.initNode( "set-btn", 0, "BOOL" );
m.powerButtonN.setBoolValue( m.powerButtonN.getValue() );
m.adfButtonN = m.baseN.initNode( "adf-btn", 0, "BOOL" );
m.bfoButtonN = m.baseN.initNode( "bfo-btn", 0, "BOOL" );
m.modeN = m.baseN.getNode( "mode" );
setlistener( m.base ~ "/adf-btn", func { m.modeButtonListener() } );
setlistener( m.base ~ "/bfo-btn", func { m.modeButtonListener() } );
m.modeButtonListener();
return m;
},
modeButtonListener : func {
if( me.adfButtonN.getBoolValue() ) {
if( me.bfoButtonN.getBoolValue() ) {
me.modeN.setValue( "bfo" );
} else {
me.modeN.setValue( "adf" );
}
} else {
me.modeN.setValue( "ant" );
}
},
powerButtonListener : func(n) {
if( n.getBoolValue() and !me.power ) {
# power on, restart timer and start with FRQ display
me.et.restart();
me.flt.restart();
me.displayModeN.setIntValue( 0 );
}
me.power = me.powerButtonN.getValue();
},
update : func {
me.flt.update();
me.et.update();
var m = me.displayModeN.getValue();
if( m == 0 ) {
# FRQ
me.rightDisplayN.setIntValue( me.standbyFrequencyN.getValue() );
}
# the display works up to 99h, 59m, 59s and then
# displays 00:00 again. Don't know if this is the like the true kr87
# handles this - never flewn that long...
if( m == 1 ) {
# FLT, show mm:ss up to 59:59, then hh:mm
var t = me.flt.computeBCDTime();
if( t >= 10000 ) {
t = t / 100;
}
me.rightDisplayN.setIntValue( t );
}
if( m == 2 ) {
# ET, show mm:ss up to 59:59, then hh:mm
t = me.et.computeBCDTime();
if( t >= 10000 ) {
t = t / 100;
}
me.rightDisplayN.setIntValue( t );
}
if( me.setButtonN.getValue() ) {
me.et.restart();
}
if( me.powerButtonN.getBoolValue() and !me.power ) {
# power on, restart timer and start with FRQ display
me.et.restart();
me.flt.restart();
me.displayModeN.setIntValue( 0 );
}
me.power = me.powerButtonN.getValue();
settimer( func { me.update() }, 0.1 );
}
};
var kr87_0 = kr87.new( "/instrumentation/adf[0]" ).update();
#setlistener("/sim/signals/fdm-initialized", func { timer_update() } );

View file

@ -1,36 +1,8 @@
sbc1 = aircraft.light.new( "/sim/model/lights/sbc1", [0.5, 0.3] );
sbc1.interval = 0.1;
sbc1.switch( 1 );
# strobes ===========================================================
var strobe_switch = props.globals.getNode("controls/lighting/strobe", 1);
aircraft.light.new("sim/model/c172p/lighting/strobes", [0.015, 1.985], strobe_switch);
sbc2 = aircraft.light.new( "/sim/model/lights/sbc2", [0.2, 0.3], "/sim/model/lights/sbc1/state" );
sbc2.interval = 0;
sbc2.switch( 1 );
setlistener( "/sim/model/lights/sbc2/state", func(n) {
bsbc1 = sbc1.stateN.getValue();
bsbc2 = n.getBoolValue();
b = 0;
if( bsbc1 and bsbc2 and getprop( "/controls/lighting/beacon") ) {
b = 1;
} else {
b = 0;
}
setprop( "/sim/model/lights/beacon/enabled", b );
if( bsbc1 and !bsbc2 and getprop( "/controls/lighting/strobe" ) ) {
b = 1;
} else {
b = 0;
}
setprop( "/sim/model/lights/strobe/enabled", b );
});
beacon = aircraft.light.new( "/sim/model/lights/beacon", [0.05, 0.05] );
beacon.interval = 0;
strobe = aircraft.light.new( "/sim/model/lights/strobe", [0.05, 0.05] );
strobe.interval = 0;
setprop( "/instrumentation/nav[0]/ident", 0 );
setprop( "/instrumentation/nav[1]/ident", 0 );
# beacons ===========================================================
var beacon_switch = props.globals.getNode("controls/lighting/beacon", 1);
aircraft.light.new("sim/model/c172p/lighting/beacon-top", [0.10, 0.90], beacon_switch);

Binary file not shown.

View file

@ -174,11 +174,19 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
</engine>
</engines>
<lighting>
<strobe type="bool">true</strobe>
<beacon type="bool">true</beacon>
<nav-lights type="bool">true</nav-lights>
</lighting>
<nasal>
<c172p>
<file>Aircraft/c172p/Nasal/liveries.nas</file>
<file>Aircraft/c172p/Nasal/immat.nas</file>
<file>Aircraft/c172p/Nasal/doors.nas</file>
<file>Aircraft/c172p/Nasal/light.nas</file>
</c172p>
@ -197,6 +205,9 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
]]>
</script>
</kap140>
<kr87>
<file>Aircraft/c172p/Nasal/kr87.nas</file>
</kr87>
</nasal>
<payload>
 <weight>

View file

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<initialize name="reset00">
<ubody unit="FT/SEC"> -0.345509 </ubody>
<vbody unit="FT/SEC"> -0.0319139 </vbody>
<wbody unit="FT/SEC"> -0.00474618 </wbody>
<phi unit="DEG"> -0.0204781 </phi>
<theta unit="DEG"> 0.0198487 </theta>
<psi unit="DEG"> 4.43168 </psi>
<longitude unit="DEG"> 0 </longitude>
<latitude unit="DEG"> 0 </latitude>
<altitude unit="FT"> 1171.58 </altitude>
</initialize>