improved KR87 ADF: nicer texture, pick animation
removed unused files
This commit is contained in:
parent
8f29103bbe
commit
0174df9bd6
8 changed files with 1571 additions and 1392 deletions
Binary file not shown.
|
@ -1,274 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
KR 87 ADF radio hotspots
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>kr87 adf hotspots</name>
|
||||
<w-base>160</w-base>
|
||||
<h-base>36</h-base>
|
||||
<w>160</w>
|
||||
<h>34</h>
|
||||
|
||||
<actions>
|
||||
|
||||
<!-- ************************ ADF *****************-->
|
||||
<!--
|
||||
<action>
|
||||
<name>bezel outline</name>
|
||||
<button>0</button>
|
||||
<x>-80</x>
|
||||
<y>-17</y>
|
||||
<w>160</w>
|
||||
<h>34</h>
|
||||
</action>
|
||||
-->
|
||||
|
||||
<action>
|
||||
<name>adf frequency decrease small</name>
|
||||
<button>0</button>
|
||||
<x>50</x>
|
||||
<y>-10</y>
|
||||
<w>13</w>
|
||||
<h>20</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>-1</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf frequency decrease large</name>
|
||||
<button>1</button>
|
||||
<x>50</x>
|
||||
<y>-10</y>
|
||||
<w>13</w>
|
||||
<h>20</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>-100</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf frequency increase small</name>
|
||||
<button>0</button>
|
||||
<x>63</x>
|
||||
<y>-10</y>
|
||||
<w>13</w>
|
||||
<h>20</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>1</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf frequency increase large</name>
|
||||
<button>1</button>
|
||||
<x>63</x>
|
||||
<y>-10</y>
|
||||
<w>13</w>
|
||||
<h>20</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>100</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf volume increase</name>
|
||||
<button>0</button>
|
||||
<x>38</x>
|
||||
<y>-11</y>
|
||||
<w>7</w>
|
||||
<h>10</h>
|
||||
<condition>
|
||||
<property>instrumentation/kr-87/inputs/power-btn</property>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kr-87/inputs/volume</property>
|
||||
<step>0.05</step>
|
||||
<min>0.0</min>
|
||||
<max>1.0</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf power on</name>
|
||||
<button>0</button>
|
||||
<x>38</x>
|
||||
<y>-11</y>
|
||||
<w>7</w>
|
||||
<h>10</h>
|
||||
<condition>
|
||||
<not>
|
||||
<property>instrumentation/kr-87/inputs/power-btn</property>
|
||||
</not>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/power-btn</property>
|
||||
<value>true</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf volume decrease</name>
|
||||
<button>0</button>
|
||||
<x>31</x>
|
||||
<y>-11</y>
|
||||
<w>7</w>
|
||||
<h>10</h>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>instrumentation/kr-87/inputs/volume</property>
|
||||
<value>0.0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kr-87/inputs/volume</property>
|
||||
<step>-0.05</step>
|
||||
<min>0.0</min>
|
||||
<max>1.0</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf power off</name>
|
||||
<button>0</button>
|
||||
<x>31</x>
|
||||
<y>-11</y>
|
||||
<w>7</w>
|
||||
<h>10</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kr-87/inputs/volume</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/power-btn</property>
|
||||
<value>false</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>adf button</name>
|
||||
<button>0</button>
|
||||
<x>-52</x>
|
||||
<y>-13</y>
|
||||
<w>10</w>
|
||||
<h>5</h>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>instrumentation/kr-87/inputs/adf-btn</property>
|
||||
</binding>
|
||||
</action>
|
||||
<!-- Button actions -->
|
||||
<action>
|
||||
<name>bfo button</name>
|
||||
<button>0</button>
|
||||
<x>-37</x>
|
||||
<y>-13</y>
|
||||
<w>10</w>
|
||||
<h>5</h>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>instrumentation/kr-87/inputs/bfo-btn</property>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>frq button</name>
|
||||
<button>0</button>
|
||||
<x>-22</x>
|
||||
<y>-13</y>
|
||||
<w>10</w>
|
||||
<h>5</h>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/frq-btn</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/frq-btn</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>flt button</name>
|
||||
<button>0</button>
|
||||
<x>-6</x>
|
||||
<y>-13</y>
|
||||
<w>10</w>
|
||||
<h>5</h>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/flt-et-btn</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/flt-et-btn</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>set button</name>
|
||||
<button>0</button>
|
||||
<x>9</x>
|
||||
<y>-13</y>
|
||||
<w>10</w>
|
||||
<h>5</h>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/set-rst-btn</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>instrumentation/kr-87/inputs/set-rst-btn</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</action>
|
||||
|
||||
</actions>
|
||||
|
||||
</PropertyList>
|
File diff suppressed because it is too large
Load diff
BIN
Aircraft/c172p/Instruments/kr87-adf/kr87.rgb
Normal file
BIN
Aircraft/c172p/Instruments/kr87-adf/kr87.rgb
Normal file
Binary file not shown.
|
@ -2,32 +2,14 @@
|
|||
<PropertyList>
|
||||
<params>
|
||||
<right-display>/instrumentation/adf[0]/right-display</right-display>
|
||||
<dimming>instrumentation/adf[0]/dimming-norm</dimming>
|
||||
</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>
|
||||
<object-name>indicator</object-name>
|
||||
<condition>
|
||||
<property>/instrumentation/adf[0]/serviceable</property>
|
||||
<property>/instrumentation/adf[0]/power-btn</property>
|
||||
|
@ -35,16 +17,20 @@
|
|||
</animation>
|
||||
<animation>
|
||||
<type>noshadow</type>
|
||||
<object-name>kr87</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>range</type>
|
||||
<min-m>0</min-m>
|
||||
<max-m>10</max-m>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<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>
|
||||
<object-name>knobs.ADF</object-name>
|
||||
<object-name>knobs.BFO</object-name>
|
||||
<object-name>knobs.FRQ</object-name>
|
||||
<object-name>knobs.FLT</object-name>
|
||||
<object-name>knobs.SET</object-name>
|
||||
<emission>
|
||||
<red-prop>/sim/model/instrument-lighting/emission/red</red-prop>
|
||||
<green-prop>/sim/model/instrument-lighting/emission/green</green-prop>
|
||||
|
@ -52,10 +38,22 @@
|
|||
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>indicator</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>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.ANT</object-name>
|
||||
<object-name>indicator.ANT</object-name>
|
||||
<condition>
|
||||
<not>
|
||||
<property>/instrumentation/adf[0]/adf-btn</property>
|
||||
|
@ -65,7 +63,7 @@
|
|||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.ADF</object-name>
|
||||
<object-name>indicator.ADF</object-name>
|
||||
<condition>
|
||||
<property>/instrumentation/adf[0]/adf-btn</property>
|
||||
</condition>
|
||||
|
@ -73,7 +71,7 @@
|
|||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.BFO</object-name>
|
||||
<object-name>indicator.BFO</object-name>
|
||||
<condition>
|
||||
<property>/instrumentation/adf[0]/bfo-btn</property>
|
||||
</condition>
|
||||
|
@ -81,18 +79,18 @@
|
|||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.FRQ</object-name>
|
||||
<object-name>indicator.FRQ</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<equals>
|
||||
<property>/instrumentation/adf[0]/display-mode</property>
|
||||
<value type="int">0</value>
|
||||
</equals>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.FLT</object-name>
|
||||
<object-name>indicator.FLT</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/instrumentation/adf[0]/display-mode</property>
|
||||
|
@ -103,7 +101,7 @@
|
|||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.ET</object-name>
|
||||
<object-name>indicator.ET</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/instrumentation/adf[0]/display-mode</property>
|
||||
|
@ -115,7 +113,7 @@
|
|||
<!-- Use FREQ -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.Use.1000</object-name>
|
||||
<object-name>indicator.Use.1000</object-name>
|
||||
<condition>
|
||||
<greater-than-equals>
|
||||
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
||||
|
@ -126,7 +124,7 @@
|
|||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Use.1000</object-name>
|
||||
<object-name>indicator.Use.1000</object-name>
|
||||
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
||||
<step>1000</step>
|
||||
<factor>0.0001</factor>
|
||||
|
@ -136,10 +134,10 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Use.100</object-name>
|
||||
<object-name>indicator.Use.100</object-name>
|
||||
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
||||
<step>100</step>
|
||||
<factor>0.001</factor>
|
||||
|
@ -149,10 +147,10 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Use.10</object-name>
|
||||
<object-name>indicator.Use.10</object-name>
|
||||
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
||||
<step>10</step>
|
||||
<factor>0.01</factor>
|
||||
|
@ -162,10 +160,10 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Use.1</object-name>
|
||||
<object-name>indicator.Use.1</object-name>
|
||||
<property>/instrumentation/adf[0]/frequencies/selected-khz</property>
|
||||
<step>1</step>
|
||||
<factor>0.1</factor>
|
||||
|
@ -185,7 +183,7 @@
|
|||
</not-equals>
|
||||
</condition>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.dots</object-name>
|
||||
<object-name>indicator.dots</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
|
@ -196,7 +194,7 @@
|
|||
</greater-than-equals>
|
||||
</condition>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.Stby.1000</object-name>
|
||||
<object-name>indicator.Stby.1000</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
|
@ -207,12 +205,12 @@
|
|||
</greater-than-equals>
|
||||
</condition>
|
||||
<type>select</type>
|
||||
<object-name>kr87.indicators.Stby.100</object-name>
|
||||
<object-name>indicator.Stby.100</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Stby.1000</object-name>
|
||||
<object-name>indicator.Stby.1000</object-name>
|
||||
<property alias="../../params/right-display"/>
|
||||
<step>1000</step>
|
||||
<factor>0.0001</factor>
|
||||
|
@ -222,10 +220,10 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Stby.100</object-name>
|
||||
<object-name>indicator.Stby.100</object-name>
|
||||
<property alias="../../params/right-display"/>
|
||||
<step>100</step>
|
||||
<factor>0.001</factor>
|
||||
|
@ -235,10 +233,10 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Stby.10</object-name>
|
||||
<object-name>indicator.Stby.10</object-name>
|
||||
<property alias="../../params/right-display"/>
|
||||
<step>10</step>
|
||||
<factor>0.01</factor>
|
||||
|
@ -248,10 +246,10 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>kr87.indicators.Stby.1</object-name>
|
||||
<object-name>indicator.Stby.1</object-name>
|
||||
<property alias="../../params/right-display"/>
|
||||
<step>1</step>
|
||||
<factor>0.1</factor>
|
||||
|
@ -266,7 +264,7 @@
|
|||
<!-- knobs and buttons -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>kr87.knobs.ADF</object-name>
|
||||
<object-name>knobs.ADF</object-name>
|
||||
<property>/instrumentation/adf[0]/adf-btn</property>
|
||||
<factor>-0.004</factor>
|
||||
<axis>
|
||||
|
@ -275,9 +273,23 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>knobs.ADF</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/instrumentation/adf[0]/adf-btn</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>kr87.knobs.BFO</object-name>
|
||||
<object-name>knobs.BFO</object-name>
|
||||
<property>/instrumentation/adf[0]/bfo-btn</property>
|
||||
<factor>-0.004</factor>
|
||||
<axis>
|
||||
|
@ -286,9 +298,23 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>knobs.BFO</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/instrumentation/adf[0]/bfo-btn</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>kr87.knobs.FRQ</object-name>
|
||||
<object-name>knobs.FRQ</object-name>
|
||||
<property>/instrumentation/adf[0]/frq-btn</property>
|
||||
<factor>-0.004</factor>
|
||||
<axis>
|
||||
|
@ -297,9 +323,51 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>knobs.FRQ</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/instrumentation/adf[0]/bfo-frq</property>
|
||||
</binding>
|
||||
<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>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>kr87.knobs.FLT</object-name>
|
||||
<object-name>knobs.FLT</object-name>
|
||||
<property>/instrumentation/adf[0]/flt-btn</property>
|
||||
<factor>-0.004</factor>
|
||||
<axis>
|
||||
|
@ -308,9 +376,39 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>knobs.FLT</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<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>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>kr87.knobs.SET</object-name>
|
||||
<object-name>knobs.SET</object-name>
|
||||
<property>/instrumentation/adf[0]/set-btn</property>
|
||||
<factor>-0.004</factor>
|
||||
<axis>
|
||||
|
@ -319,9 +417,31 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>knobs.SET</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<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>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>kr87.knobs.Volume</object-name>
|
||||
<object-name>Volume</object-name>
|
||||
<property>/instrumentation/adf[0]/volume-norm</property>
|
||||
<factor>-270</factor>
|
||||
<axis>
|
||||
|
@ -336,4 +456,237 @@
|
|||
</center>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>false</visible>
|
||||
<object-name>VolumePickRight</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<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>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>false</visible>
|
||||
<object-name>VolumePickLeft</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<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>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<visible>true</visible>
|
||||
<object-name>Volume</object-name>
|
||||
<action>
|
||||
<button>4</button>
|
||||
<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>
|
||||
<action>
|
||||
<button>3</button>
|
||||
<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>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>FreqPickLeft</object-name>
|
||||
<visible>false</visible>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||
<step>-1</step>
|
||||
<min>200</min>
|
||||
<max>1800</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>false</repeatable>
|
||||
<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>
|
||||
<mask>integer</mask>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>FreqPickRight</object-name>
|
||||
<visible>false</visible>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||
<step>1</step>
|
||||
<min>200</min>
|
||||
<max>1800</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<repeatable>false</repeatable>
|
||||
<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>
|
||||
<mask>integer</mask>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>FRQOuter</object-name>
|
||||
<object-name>FRQInner</object-name>
|
||||
<visible>true</visible>
|
||||
<action>
|
||||
<button>3</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<condition>
|
||||
<property>devices/status/keyboard/shift</property>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||
<step>-100</step>
|
||||
<min>200</min>
|
||||
<max>1800</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
<binding>
|
||||
<condition>
|
||||
<not>
|
||||
<property>devices/status/keyboard/shift</property>
|
||||
</not>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||
<step>-1</step>
|
||||
<min>200</min>
|
||||
<max>1800</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
<action>
|
||||
<button>4</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<condition>
|
||||
<not>
|
||||
<property>devices/status/keyboard/shift</property>
|
||||
</not>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||
<step>1</step>
|
||||
<min>200</min>
|
||||
<max>1800</max>
|
||||
<wrap>true</wrap>
|
||||
<mask>integer</mask>
|
||||
</binding>
|
||||
<binding>
|
||||
<condition>
|
||||
<property>devices/status/keyboard/shift</property>
|
||||
</condition>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/adf[0]/frequencies/standby-khz</property>
|
||||
<step>100</step>
|
||||
<min>200</min>
|
||||
<max>1800</max>
|
||||
<wrap>true</wrap>
|
||||
<mask>integer</mask>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,299 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
$Id$
|
||||
This is the hotspot fake instrument for the kr87 ADF 3d instrument.
|
||||
Maintainer: Torsten Dreyer
|
||||
|
||||
$Log$
|
||||
Revision 1.2 2009/02/09 15:32:06 torsten
|
||||
remove SenecaII dependencies
|
||||
|
||||
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/c172p/Instruments/kr87-adf/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.
Loading…
Reference in a new issue