1
0
Fork 0
fgdata/Aircraft/Instruments-3d/kt76a/KT76A.xml
Vivian Meazza 23ba1b3a56 New instrument by Clement de l'Hamaide
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-05-13 22:42:28 +01:00

454 lines
12 KiB
XML

<?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>
<animation>
<object-name>KnobMode</object-name>
<object-name>ModeUp</object-name>
<object-name>ModeDn</object-name>
<object-name>Ident</object-name>
<object-name>Dial1</object-name>
<object-name>Knob1</object-name>
<object-name>1Dn</object-name>
<object-name>1Up</object-name>
<object-name>Dial10</object-name>
<object-name>Knob10</object-name>
<object-name>10Dn</object-name>
<object-name>10Up</object-name>
<object-name>Dial100</object-name>
<object-name>Knob100</object-name>
<object-name>100Dn</object-name>
<object-name>100Up</object-name>
<object-name>Dial1000</object-name>
<object-name>Knob1000</object-name>
<object-name>1000Dn</object-name>
<object-name>1000Up</object-name>
<object-name>Front</object-name>
<object-name>Ident-light</object-name>
<object-name>vitre</object-name>
</animation>
<animation>
<type>material</type>
<object-name>KnobMode</object-name>
<object-name>ModeUp</object-name>
<object-name>ModeDn</object-name>
<object-name>Ident</object-name>
<object-name>Dial1</object-name>
<object-name>Knob1</object-name>
<object-name>1Dn</object-name>
<object-name>1Up</object-name>
<object-name>Dial10</object-name>
<object-name>Knob10</object-name>
<object-name>10Dn</object-name>
<object-name>10Up</object-name>
<object-name>Dial100</object-name>
<object-name>Knob100</object-name>
<object-name>100Dn</object-name>
<object-name>100Up</object-name>
<object-name>Dial1000</object-name>
<object-name>Knob1000</object-name>
<object-name>1000Dn</object-name>
<object-name>1000Up</object-name>
<object-name>Front</object-name>
<object-name>Ident-light</object-name>
<property-base>/sim/instrumentation/transponder</property-base>
<texture-prop>texture-file</texture-prop>
</animation>
<animation>
<type>noshadow</type>
<object-name>vitre</object-name>
</animation>
<animation>
<type>shader</type>
<shader>chrome</shader>
<texture>Aircraft/DR400-regent/Models/Effects/glass_shader.png</texture>
<object-name>vitre</object-name>
</animation>
<animation>
<type>select</type>
<object-name>vitre</object-name>
<condition>
<property>sim/model/config/glass-reflection-instruments</property>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>Dial1000</object-name>
<property>instrumentation/transponder/inputs/digit[3]</property>
<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>
<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>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>transponder-sqwak</tooltip-id>
<label>Sqwak: %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>
<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>
<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>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>transponder-sqwak</tooltip-id>
<label>Sqwak: %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>
<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>
<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>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>transponder-sqwak</tooltip-id>
<label>Sqwak: %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>
<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>
<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>
<factor>1</factor>
<min>0</min>
<max>8</max>
<wrap>true</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>transponder-sqwak</tooltip-id>
<label>Sqwak: %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>
<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>
<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>
<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>
<value type="bool">true</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/transponder/inputs/ident-btn</property>
<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>
<factor> 0.0018 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>