Integrates existing soaring instruments with the soaring sdk
[fg:toms-fgdata.git] / Aircraft / Grob-Astir / Models / Interior / Panel / Instruments / vario-5stv5 / vario-5stv5.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <PropertyList>
4
5  <path>vario-5stv5.ac</path>
6
7   <animation>
8     <object-name>Needle</object-name>
9     <object-name>Face2</object-name>
10     <object-name>Face</object-name>
11     <object-name>mc-cready</object-name>
12     <object-name>screws</object-name>
13
14     <object-name>vitre</object-name>
15   </animation>
16
17   <animation>
18     <type>shader</type>
19     <shader>chrome</shader>
20     <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
21     <object-name>vitre</object-name>
22   </animation>
23
24   <animation>
25     <type>noshadow</type>
26     <object-name>vitre</object-name>
27   </animation>
28
29   <animation>
30     <type>material</type>
31     <object-name>Face</object-name>
32     <object-name>Needle</object-name>
33     <emission>
34       <red>   0.50 </red>
35       <green> 0.25 </green>
36       <blue>  0.25 </blue>
37       <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
38       <factor-prop>/sim/model//material/instruments/factor</factor-prop>
39     </emission>
40   </animation>
41
42   <animation>
43     <type>rotate</type>
44     <object-name>Needle</object-name>
45     <property>/instrumentation/variometer/te-reading-mps</property>
46     <interpolation>
47       <entry><ind>-6.33</ind><dep> -171</dep></entry>
48       <entry><ind> 6.33</ind><dep>  171</dep></entry>
49     </interpolation>     
50     <axis>
51       <x> -1 </x>
52       <y>  0 </y>
53       <z>  0 </z>
54     </axis>
55   </animation>
56  
57   <animation>
58     <type>rotate</type>
59     <object-name>mc-cready</object-name>
60     <property>/instrumentation/mc-cready/rot</property>
61     <factor>1</factor>
62     <axis>
63       <x> -1 </x>
64       <y>  0 </y>
65       <z>  0 </z>
66     </axis>
67   </animation>
68  
69   <animation>
70     <type>pick</type>
71     <object-name>mc-cready</object-name>
72     <action>
73       <name>increase mc-cready</name>
74       <button>0</button>
75       <button>3</button>
76       <repeatable>true</repeatable>
77       <binding>
78         <command>property-adjust</command>
79         <property>/instrumentation/mc-cready/rot</property>
80         <step>2</step>
81         <min>0</min>
82         <max>360</max>
83         <wrap>true</wrap>
84       </binding>
85     </action>
86   </animation>
87   
88   <animation>
89     <type>pick</type>
90     <object-name>mc-cready</object-name>
91     <action>
92       <name>decrease calibrate fine</name>
93       <button>1</button>
94       <button>4</button>
95       <repeatable>true</repeatable>
96       <binding>
97         <command>property-adjust</command>
98         <property>/instrumentation/mc-cready/rot</property>
99         <step>-2</step>
100         <min>0</min>
101         <max>360</max>
102         <wrap>true</wrap>
103       </binding>
104     </action>
105   </animation>
106
107 </PropertyList>
108