- A-6E: Removed one rgb texture and one old hotspot panel. Improved master light...
[fg:toms-fgdata.git] / Aircraft / A-6E / Models / light-left-panel.xml
1 <?xml version="1.0"?>
2
3         <PropertyList>
4
5         <path>light-left-panel.ac</path>
6
7         <!-- collision-switch -->
8         <animation>
9                 <object-name>collision-switch</object-name>
10                 <type>rotate</type>
11                 <property>controls/lighting/beacon</property>
12                 <interpolation>
13                         <entry><ind>0</ind><dep>-10</dep></entry>
14                         <entry><ind>1</ind><dep>25</dep></entry>
15                 </interpolation>
16                 <center><x-m>-0.0567</x-m><z-m>0.0045</z-m></center>
17                 <axis><y>-1</y></axis>
18         </animation>
19         <animation>
20                 <type>pick</type>
21                 <visible>true</visible>
22                 <object-name>collision-switch</object-name>
23                 <action>
24                         <button>0</button>
25                         <repeatable>false</repeatable>
26                         <binding>
27                                 <command>property-toggle</command>
28                                 <property>controls/lighting/beacon</property>
29                         </binding>
30                 </action>
31         </animation>
32
33         <!-- taxi/probe-switch -->
34         <animation>
35                 <object-name>taxi-probe-switch</object-name>
36                 <type>rotate</type>
37                 <property>controls/lighting/taxi-light</property>
38                 <interpolation>
39                         <entry><ind>0</ind><dep>-10</dep></entry>
40                         <entry><ind>1</ind><dep>25</dep></entry>
41                 </interpolation>
42                 <center><x-m>-0.0143</x-m><z-m>0.0045</z-m></center>
43                 <axis><y>-1</y></axis>
44         </animation>
45         <animation>
46                 <type>pick</type>
47                 <visible>true</visible>
48                 <object-name>taxi-probe-switch</object-name>
49                 <action>
50                         <button>0</button>
51                         <repeatable>false</repeatable>
52                         <binding>
53                                 <command>property-toggle</command>
54                                 <property>controls/lighting/taxi-light</property>
55                         </binding>
56                 </action>
57         </animation>
58
59         <!-- pylon-switch -->
60         <animation>
61                 <object-name>pylon-switch</object-name>
62                 <type>rotate</type>
63                 <property>sim/model/A-6E/controls/lighting/pylons-lts</property>
64                 <interpolation>
65                         <entry><ind>0</ind><dep>-30</dep></entry>
66                         <entry><ind>1</ind><dep>0</dep></entry>
67                         <entry><ind>2</ind><dep>30</dep></entry>
68                 </interpolation>
69                 <center><x-m>0.0586</x-m><z-m>0.0045</z-m></center>
70                 <axis><y>-1</y></axis>
71         </animation>
72         <animation>
73                 <type>pick</type>
74                 <visible>true</visible>
75                 <object-name>pylon-switch</object-name>
76                 <action>
77                         <button>0</button>
78                         <repeatable>false</repeatable>
79                         <binding>
80                                                 <command>nasal</command>
81                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/pylons-lts", 1)</script>
82                         </binding>
83                 </action>
84                 <action>
85                         <button>1</button>
86                         <repeatable>false</repeatable>
87                         <binding>
88                                                 <command>nasal</command>
89                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/pylons-lts", -1)</script>
90                         </binding>
91                 </action>
92         </animation>
93
94         <!-- wheels -->
95         <animation>
96                 <type>rotate</type>
97                 <object-name>instrument-wheel</object-name>
98                 <property>controls/lighting/instruments-norm</property>
99                 <factor>336</factor>
100                 <center><y-m>0.0002</y-m><z-m>-0.0101</z-m></center>
101                 <axis><x>1</x></axis>
102         </animation>
103         <animation>
104                 <type>pick</type>
105                 <visible>true</visible>
106                 <object-name>instrument-wheel</object-name>
107                 <action>
108                         <button>0</button>
109                         <repeatable>true</repeatable>
110                         <binding>
111                                 <command>property-adjust</command>
112                                 <property>controls/lighting/instruments-norm</property>
113                                 <step>0.05</step>
114                         </binding>
115                 </action>
116                 <action>
117                         <button>1</button>
118                         <repeatable>true</repeatable>
119                         <binding>
120                                 <command>property-adjust</command>
121                                 <property>controls/lighting/instruments-norm</property>
122                                 <step>-0.05</step>
123                         </binding>
124                 </action>
125         </animation>
126
127         <animation>
128                 <type>rotate</type>
129                 <object-name>console-wheel</object-name>
130                 <property>controls/lighting/panel-norm</property>
131                 <factor>336</factor>
132                 <center><y-m>0.0002</y-m><z-m>-0.0101</z-m></center>
133                 <axis><x>1</x></axis>
134         </animation>
135         <animation>
136                 <type>pick</type>
137                 <visible>true</visible>
138                 <object-name>console-wheel</object-name>
139                 <action>
140                         <button>0</button>
141                         <repeatable>true</repeatable>
142                         <binding>
143                                 <command>property-adjust</command>
144                                 <property>controls/lighting/panel-norm</property>
145                                 <step>0.05</step>
146                         </binding>
147                 </action>
148                 <action>
149                         <button>1</button>
150                         <repeatable>true</repeatable>
151                         <binding>
152                                 <command>property-adjust</command>
153                                 <property>controls/lighting/panel-norm</property>
154                                 <step>-0.05</step>
155                         </binding>
156                 </action>
157         </animation>
158
159         <animation>
160                 <type>rotate</type>
161                 <object-name>approach-index-wheel</object-name>
162                 <property>sim/model/A-6E/controls/lighting/index-norm</property>
163                 <factor>336</factor>
164                 <center><y-m>0.0002</y-m><z-m>-0.0101</z-m></center>
165                 <axis><x>1</x></axis>
166         </animation>
167         <animation>
168                 <type>pick</type>
169                 <visible>true</visible>
170                 <object-name>approach-index-wheel</object-name>
171                 <action>
172                         <button>0</button>
173                         <repeatable>true</repeatable>
174                         <binding>
175                                 <command>property-adjust</command>
176                                 <property>sim/model/A-6E/controls/lighting/index-norm</property>
177                                 <step>0.05</step>
178                                 <min>0</min>
179                                 <max>1</max>
180                         </binding>
181                 </action>
182                 <action>
183                         <button>1</button>
184                         <repeatable>true</repeatable>
185                         <binding>
186                                 <command>property-adjust</command>
187                                 <property>sim/model/A-6E/controls/lighting/index-norm</property>
188                                 <step>-0.05</step>
189                                 <min>0</min>
190                                 <max>1</max>
191                         </binding>
192                 </action>
193         </animation>
194
195         <!-- tail-switch -->
196         <animation>
197                 <object-name>tail-switch</object-name>
198                 <type>rotate</type>
199                 <property>sim/model/A-6E/controls/lighting/tail-lt</property>
200                 <interpolation>
201                         <entry><ind>0</ind><dep>-30</dep></entry>
202                         <entry><ind>1</ind><dep>0</dep></entry>
203                         <entry><ind>2</ind><dep>30</dep></entry>
204                 </interpolation>
205                 <center><x-m>-0.0558</x-m><z-m>0.0045</z-m></center>
206                 <axis><y>-1</y></axis>
207         </animation>
208         <animation>
209                 <type>pick</type>
210                 <visible>true</visible>
211                 <object-name>tail-switch</object-name>
212                 <action>
213                         <button>0</button>
214                         <repeatable>false</repeatable>
215                         <binding>
216                                 <command>nasal</command>
217                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/tail-lt", 1)</script>
218                         </binding>
219                 </action>
220                 <action>
221                         <button>1</button>
222                         <repeatable>false</repeatable>
223                         <binding>
224                                 <command>nasal</command>
225                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/tail-lt", -1)</script>
226                         </binding>
227                 </action>
228         </animation>
229
230         <!-- wing-switch -->
231         <animation>
232                 <object-name>wing-switch</object-name>
233                 <type>rotate</type>
234                 <property>sim/model/A-6E/controls/lighting/wings-lts</property>
235                 <interpolation>
236                         <entry><ind>0</ind><dep>-30</dep></entry>
237                         <entry><ind>1</ind><dep>0</dep></entry>
238                         <entry><ind>2</ind><dep>30</dep></entry>
239                 </interpolation>
240                 <center><x-m>-0.0190</x-m><z-m>0.0045</z-m></center>
241                 <axis><y>-1</y></axis>
242         </animation>
243         <animation>
244                 <type>pick</type>
245                 <visible>true</visible>
246                 <object-name>wing-switch</object-name>
247                 <action>
248                         <button>0</button>
249                         <repeatable>false</repeatable>
250                         <binding>
251                                 <command>nasal</command>
252                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/wings-lts", 1)</script>
253                         </binding>
254                 </action>
255                 <action>
256                         <button>1</button>
257                         <repeatable>false</repeatable>
258                         <binding>
259                                 <command>nasal</command>
260                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/wings-lts", -1)</script>
261                         </binding>
262                 </action>
263         </animation>
264
265         <!-- formation-switch -->
266         <animation>
267                 <object-name>formation-switch</object-name>
268                 <type>rotate</type>
269                 <property>sim/model/A-6E/controls/lighting/formation-lts</property>
270                 <interpolation>
271                         <entry><ind>1</ind><dep>-30</dep></entry>
272                         <entry><ind>0</ind><dep>0</dep></entry>
273                         <entry><ind>2</ind><dep>30</dep></entry>
274                 </interpolation>
275                 <center><x-m>0.0207</x-m><z-m>0.0045</z-m></center>
276                 <axis><y>-1</y></axis>
277         </animation>
278         <animation>
279                 <type>pick</type>
280                 <visible>true</visible>
281                 <object-name>formation-switch</object-name>
282                 <action>
283                         <button>0</button>
284                         <repeatable>false</repeatable>
285                         <binding>
286                                 <command>nasal</command>
287                                 <script>A6Econtrols.three_pos_sw_b("sim/model/A-6E/controls/lighting/formation-lts", 1)</script>
288                         </binding>
289                 </action>
290                 <action>
291                         <button>1</button>
292                         <repeatable>false</repeatable>
293                         <binding>
294                                 <command>nasal</command>
295                                 <script>A6Econtrols.three_pos_sw_b("sim/model/A-6E/controls/lighting/formation-lts", -1)</script>
296                         </binding>
297                 </action>
298         </animation>
299
300         <!-- flood-switch -->
301         <animation>
302                 <object-name>flood-switch</object-name>
303                 <type>rotate</type>
304                 <property>sim/model/A-6E/controls/lighting/flood-lts</property>
305                 <interpolation>
306                         <entry><ind>0.25</ind><dep>-25</dep></entry>
307                         <entry><ind>0.5</ind><dep>0</dep></entry>
308                         <entry><ind>1</ind><dep>30</dep></entry>
309                 </interpolation>
310                 <center><x-m>0.0582</x-m><z-m>0.0045</z-m></center>
311                 <axis><y>-1</y><z>0</z>
312                 </axis>
313         </animation>
314         <animation>
315                 <type>pick</type>
316                 <visible>true</visible>
317                 <object-name>flood-switch</object-name>
318                 <action>
319                         <button>0</button>
320                         <repeatable>false</repeatable>
321                         <binding>
322                                 <command>nasal</command>
323                                 <script>A6Econtrols.three_pos_sw_flood("sim/model/A-6E/controls/lighting/flood-lts", 1)</script>
324                         </binding>
325                 </action>
326                 <action>
327                         <button>1</button>
328                         <repeatable>false</repeatable>
329                         <binding>
330                                 <command>nasal</command>
331                                 <script>A6Econtrols.three_pos_sw_flood("sim/model/A-6E/controls/lighting/flood-lts", -1)</script>
332                         </binding>
333                 </action>
334         </animation>
335
336         <!-- lighting -->
337         <animation> 
338                 <object-name>mount</object-name>
339                 <type>material</type>
340                 <emission> 
341                         <factor-prop>controls/lighting/panel-norm</factor-prop>
342                         <red>0.45</red>
343                         <green>0.34</green>
344                         <blue>0.18</blue>
345                 </emission>
346         </animation>
347         <animation>
348                 <object-name>switches-and-knobs</object-name>
349                 <type>material</type>
350                 <emission> 
351                         <factor-prop>controls/lighting/panel-norm</factor-prop>
352                         <red>0.50</red>
353                         <green>0.25</green>
354                         <blue>0.18</blue>
355                 </emission>
356         </animation>
357
358
359         <animation>
360                 <object-name>light-left-panel</object-name>
361                 <type>noshadow</type>
362         </animation>
363
364
365         <!-- LoD -->
366         <animation>
367                 <type>range</type>
368                 <min-m>0</min-m>
369                 <max-m>35</max-m>
370         </animation>
371
372 </PropertyList>