Pilatus PC 12/47 : Adding a livery "Orange", improved dashboard.
[fg:toms-fgdata.git] / Aircraft / PC-12 / Models / Interior / Panel / Instruments / asi / asi.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <PropertyList>
4
5   <path>asi.ac</path>
6
7   <animation>
8     <object-name>ASI320</object-name>
9     <object-name>ASI320.knob</object-name>
10     <object-name>ASI320.face</object-name>
11     <object-name>mach.subdial</object-name>
12     <object-name>ASI320.needle</object-name>
13     <object-name>index.marker</object-name>
14     <object-name>ASI320.ovrspeed</object-name>
15
16     <object-name>vitre</object-name>
17   </animation>
18
19   <!-- working for Rembrandt -->
20   <effect>
21     <inherits-from>Aircraft/PC-12/Models/Effects/Glass/glass</inherits-from>
22     <object-name>vitre</object-name>
23   </effect>
24   
25   <animation>
26     <type>material</type>
27     <object-name>ASI320.face</object-name>
28     <object-name>mach.subdial</object-name>
29     <object-name>ASI320.needle</object-name>
30     <object-name>index.marker</object-name>
31     <object-name>ASI320.ovrspeed</object-name>
32     <emission>
33       <!-- <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop> -->
34       <red>   0.50 </red>
35       <green> 0.25 </green>
36       <blue>  0.25 </blue>
37     </emission>
38   </animation>
39
40   <animation>
41     <type>rotate</type>
42     <object-name>ASI320.needle</object-name>
43     <object-name>mach.subdial</object-name>
44     <property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
45     <interpolation>
46       <entry><ind>   0 </ind><dep>   0.0 </dep></entry>
47       <entry><ind>  30 </ind><dep>   0.0 </dep></entry>
48       <entry><ind>  40 </ind><dep>  15.0 </dep></entry>
49       <entry><ind> 100 </ind><dep>  82.5 </dep></entry>
50       <entry><ind> 160 </ind><dep> 150.0 </dep></entry>
51       <entry><ind> 240 </ind><dep> 240.0 </dep></entry>
52       <entry><ind> 320 </ind><dep> 330.0 </dep></entry>
53     </interpolation>
54     <axis>
55       <x> -1 </x>
56       <y>  0 </y>
57       <z>  0 </z>
58     </axis>
59   </animation>
60
61   <animation>
62     <type>rotate</type>
63     <object-name>mach.subdial</object-name>
64     <property>velocities/mach</property>
65     <interpolation>
66       <entry><ind> 0.00 </ind><dep>   0 </dep></entry>
67       <entry><ind> 0.40 </ind><dep> 264 </dep></entry>
68       <entry><ind> 0.75 </ind><dep> 474 </dep></entry>
69     </interpolation>
70     <axis>
71       <x> 1 </x>
72       <y> 0 </y>
73       <z> 0 </z>
74     </axis>
75   </animation>
76
77   <animation>
78     <type>rotate</type>
79     <object-name>index.marker</object-name>
80     <property>instrumentation/airspeed-indicator/index-marker</property>
81     <interpolation>
82       <entry><ind>   0 </ind><dep>   0.0 </dep></entry>
83       <entry><ind>  40 </ind><dep>  15.0 </dep></entry>
84       <entry><ind> 100 </ind><dep>  82.5 </dep></entry>
85       <entry><ind> 160 </ind><dep> 150.0 </dep></entry>
86       <entry><ind> 240 </ind><dep> 240.0 </dep></entry>
87       <entry><ind> 320 </ind><dep> 330.0 </dep></entry>
88     </interpolation>
89     <axis>
90       <x>-1</x>
91       <y>0</y>
92       <z>0</z>
93     </axis>
94   </animation>
95
96   <!--  Hotspots -->
97   <animation>
98     <type>pick</type>
99     <object-name>ASI320.knob</object-name>
100     <action>
101       <button>0</button>
102       <repeatable>true</repeatable>
103       <interval-sec>0.1</interval-sec>
104       <binding>
105         <command>property-adjust</command>
106         <property>instrumentation/airspeed-indicator/index-marker</property>
107         <step>1</step>
108         <min>0</min>
109         <max>320</max>
110         <wrap>false</wrap>
111       </binding>
112     </action>
113   </animation>
114
115   <animation>
116     <type>pick</type>
117     <object-name>ASI320.knob</object-name>
118     <action>
119       <button>1</button>
120       <repeatable>true</repeatable>
121       <interval-sec>0.1</interval-sec>
122       <binding>
123         <command>property-adjust</command>
124         <property>instrumentation/airspeed-indicator/index-marker</property>
125         <step>-1</step>
126         <min>0</min>
127         <max>320</max>
128         <wrap>false</wrap>
129       </binding>
130     </action>
131   </animation>
132
133   <animation>
134     <type>pick</type>
135     <object-name>ASI320.knob</object-name>
136     <action>
137       <button>3</button>
138       <binding>
139         <command>property-adjust</command>
140         <property>instrumentation/airspeed-indicator/index-marker</property>
141         <step>1</step>
142         <min>0</min>
143         <max>320</max>
144         <wrap>false</wrap>
145       </binding>
146     </action>
147   </animation>
148
149   <animation>
150     <type>pick</type>
151     <object-name>ASI320.knob</object-name>
152     <action>
153       <button>4</button>
154       <binding>
155         <command>property-adjust</command>
156         <property>instrumentation/airspeed-indicator/index-marker</property>
157         <step> -1 </step>
158         <min>   0 </min>
159         <max> 320 </max>
160         <wrap>false</wrap>
161       </binding>
162     </action>
163   </animation>
164
165 </PropertyList>