1
0
Fork 0
fgdata/Aircraft/Instruments-3d/kt76a/kt76a.xml

489 lines
13 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!-- ########################################
# DR400-regent by PAF team
# April 2012 : Modified by PAF team
# http://equipe-flightgear.forumactif.com
##########################################-->
<PropertyList>
<path>kt76a.ac</path>
<params>
2013-08-22 13:06:32 +00:00
<serviceable>instrumentation/transponder/serviceable</serviceable>
<knob-mode>instrumentation/transponder/inputs/knob-mode</knob-mode>
<ident-btn>instrumentation/transponder/inputs/ident-btn</ident-btn>
<digit0>instrumentation/transponder/inputs/digit[0]</digit0>
<digit1>instrumentation/transponder/inputs/digit[1]</digit1>
<digit2>instrumentation/transponder/inputs/digit[2]</digit2>
<digit3>instrumentation/transponder/inputs/digit[3]</digit3>
<dimming>instrumentation/transponder/dimming-norm</dimming>
</params>
<animation>
<object-name>Dial1</object-name>
<object-name>Dial10</object-name>
<object-name>Dial100</object-name>
<object-name>Dial1000</object-name>
<object-name>Front</object-name>
<object-name>Ident</object-name>
<object-name>Ident-light</object-name>
<object-name>Knob1</object-name>
<object-name>Knob10</object-name>
<object-name>Knob100</object-name>
<object-name>Knob1000</object-name>
<object-name>Border</object-name>
<object-name>KnobMode</object-name>
<object-name>vitre</object-name>
</animation>
<animation>
<type>material</type>
<object-name>Dial1</object-name>
<object-name>Dial10</object-name>
<object-name>Dial100</object-name>
<object-name>Dial1000</object-name>
<object-name>Front</object-name>
<object-name>Ident</object-name>
<object-name>Ident-light</object-name>
<object-name>Knob1</object-name>
<object-name>Knob10</object-name>
<object-name>Knob100</object-name>
<object-name>Knob1000</object-name>
<object-name>Border</object-name>
<object-name>KnobMode</object-name>
<object-name>vitre</object-name>
<property-base>/instrumentation/transponder</property-base>
<texture-prop>texture-file</texture-prop>
</animation>
<animation>
<type>material</type>
<object-name>Dial1</object-name>
<object-name>Dial10</object-name>
<object-name>Dial100</object-name>
<object-name>Dial1000</object-name>
<object-name>Front</object-name>
<object-name>Ident</object-name>
<object-name>Ident-light</object-name>
<object-name>Knob1</object-name>
<object-name>Knob10</object-name>
<object-name>Knob100</object-name>
<object-name>Knob1000</object-name>
<object-name>Border</object-name>
<object-name>KnobMode</object-name>
<object-name>vitre</object-name>
<condition>
<not><property>sim/rendering/rembrandt/enabled</property></not>
</condition>
<emission>
<red> 0.006 </red>
<green> 0.006 </green>
<blue> 0.006 </blue>
<factor-prop alias="../../../params/dimming"/>
</emission>
</animation>
<animation>
<type>noshadow</type>
<object-name>vitre</object-name>
</animation>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>vitre</object-name>
<condition>
<property>sim/rendering/rembrandt/enabled</property>
</condition>
</effect>
<animation>
<type>rotate</type>
<object-name>Dial1000</object-name>
<!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
<property alias="../../params/digit3"/>
<factor>45</factor>
<center>
<x-m> 0.01453 </x-m>
<y-m> -0.0185 </y-m>
<z-m> -0.0011345 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Knob1000</object-name>
<!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
<property alias="../../params/digit3"/>
<factor>45</factor>
<center>
<x-m> 0.01453 </x-m>
<y-m> -0.0185 </y-m>
<z-m> 0.000655 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>knob</type>
<object-name>Knob1000</object-name>
<visible>true</visible>
<drag-scale-px>20</drag-scale-px>
<action>
<binding>
<command>property-adjust</command>
<!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
<property alias="../../../../params/digit3"/>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
2013-10-04 22:45:23 +00:00
<tooltip-id>transponder-squawk</tooltip-id>
<label>Squawk: %s</label>
<property>instrumentation/transponder/id-code</property>
<mapping>nasal</mapping>
<script>
return sprintf("%04d", arg[0]);
</script>
</binding>
</hovered>
</animation>
<animation>
<type>rotate</type>
<object-name>Dial100</object-name>
<!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
<property alias="../../params/digit2"/>
<factor>45</factor>
<center>
<x-m> 0.004 </x-m>
<y-m> 0.0085 </y-m>
<z-m> -0.0011345 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Knob100</object-name>
<!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
<property alias="../../params/digit2"/>
<factor>45</factor>
<center>
<x-m> 0.01453 </x-m>
<y-m> 0.0085 </y-m>
<z-m> 0.000655 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>knob</type>
<object-name>Knob100</object-name>
<visible>true</visible>
<drag-scale-px>20</drag-scale-px>
<action>
<binding>
<command>property-adjust</command>
<!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
<property alias="../../../../params/digit2"/>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
2013-10-04 22:45:23 +00:00
<tooltip-id>transponder-squawk</tooltip-id>
<label>Squawk: %s</label>
<property>instrumentation/transponder/id-code</property>
<mapping>nasal</mapping>
<script>
return sprintf("%04d", arg[0]);
</script>
</binding>
</hovered>
</animation>
<animation>
<type>rotate</type>
<object-name>Dial10</object-name>
<!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
<property alias="../../params/digit1"/>
<factor>45</factor>
<center>
<x-m> 0.004 </x-m>
<y-m> 0.0355 </y-m>
<z-m> -0.0011345 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Knob10</object-name>
<!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
<property alias="../../params/digit1"/>
<factor>45</factor>
<center>
<x-m> 0.01453 </x-m>
<y-m> 0.0355 </y-m>
<z-m> 0.000655 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>knob</type>
<object-name>Knob10</object-name>
<visible>true</visible>
<drag-scale-px>20</drag-scale-px>
<action>
<binding>
<command>property-adjust</command>
<!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
<property alias="../../../../params/digit1"/>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
2013-10-04 22:45:23 +00:00
<tooltip-id>transponder-squawk</tooltip-id>
<label>Squawk: %s</label>
<property>instrumentation/transponder/id-code</property>
<mapping>nasal</mapping>
<script>
return sprintf("%04d", arg[0]);
</script>
</binding>
</hovered>
</animation>
<animation>
<type>rotate</type>
<object-name>Dial1</object-name>
<!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
<property alias="../../params/digit0"/>
<factor>45</factor>
<center>
<x-m> 0.004 </x-m>
<y-m> 0.0625 </y-m>
<z-m> -0.0011345 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Knob1</object-name>
<!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
<property alias="../../params/digit0"/>
<factor>45</factor>
<center>
<x-m> 0.01453 </x-m>
<y-m> 0.0625 </y-m>
<z-m> 0.000655 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>knob</type>
<object-name>Knob1</object-name>
<visible>true</visible>
<drag-scale-px>20</drag-scale-px>
<action>
<binding>
<command>property-adjust</command>
<!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
<property alias="../../../../params/digit0"/>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
2013-10-04 22:45:23 +00:00
<tooltip-id>transponder-squawk</tooltip-id>
<label>Squawk: %s</label>
<property>instrumentation/transponder/id-code</property>
<mapping>nasal</mapping>
<script>
return sprintf("%04d", arg[0]);
</script>
</binding>
</hovered>
</animation>
<animation>
<type>knob</type>
<object-name>KnobMode</object-name>
<visible>true</visible>
<drag-scale-px>20</drag-scale-px>
<action>
<binding>
<command>property-cycle</command>
<!--<property>/instrumentation/transponder/inputs/knob-mode</property>-->
<property alias="../../../../params/knob-mode"/>
<wrap>0</wrap>
<value>0</value> <!-- OFF -->
<value>1</value> <!-- SBY -->
<value>4</value> <!-- ON -->
<value>5</value> <!-- ALT -->
<value>2</value> <!-- TST -->
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>transponder-mode-btn</tooltip-id>
<label>Mode: %s</label>
<!--<property>instrumentation/transponder/inputs/knob-mode</property>-->
<property alias="../../../../params/knob-mode"/>
<mapping>nasal</mapping>
<script>
var m = arg[0];
if(m == 1) return 'STANDBY';
if(m == 4) return 'ON';
if(m == 5) return 'ALTITUDE';
if(m == 2) return 'TEST';
return 'OFF';
</script>
</binding>
</hovered>
</animation>
<animation>
<type>rotate</type>
<object-name>KnobMode</object-name>
<!--<property>/instrumentation/transponder/inputs/knob-mode</property>-->
<property alias="../../params/knob-mode"/>
<factor>1</factor>
<interpolation>
<entry>
<ind>0</ind><dep>0</dep>
</entry>
<entry>
<ind>1</ind><dep>45</dep>
</entry>
<entry>
<ind>4</ind><dep>90</dep>
</entry>
<entry>
<ind>5</ind><dep>135</dep>
</entry>
<entry>
<ind>2</ind><dep>180</dep>
</entry>
</interpolation>
<center>
<x-m> 0.01453 </x-m>
<y-m> -0.06102 </y-m>
<z-m> 0.000655 </z-m>
</center>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>Ident</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
<property alias="../../../../params/ident-btn"/>
<value type="bool">true</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
<property alias="../../../../../params/ident-btn"/>
<value type="bool">false</value>
</binding>
</mod-up>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>transponder-ident</tooltip-id>
<label>Identify to ATC</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>Ident</object-name>
<!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
<property alias="../../params/ident-btn"/>
<factor> 0.0018 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>