- A-6E: Moved the instrument model definition in a cockpit dedicated model file....
[fg:toms-fgdata.git] / Aircraft / A-6E / Models / A-6E-cockpit.xml
1 <?xml version="1.0"?>
2
3 <!-- A-6E model config file -->
4 <!-- Alexis Bory 2012/07/12 -->
5
6 <PropertyList>
7
8 <!-- ################### Cockpit Instruments ################### -->
9
10         <model>
11                 <path>Aircraft/A-6E/Models/mag-compass.xml</path>
12                 <offsets>
13                         <x-m>2.3847</x-m>
14                         <y-m>0</y-m>
15                         <z-m>1.3453</z-m>
16                         <pitch-deg>0</pitch-deg>
17                 </offsets>
18                 <animation>
19                         <type>noshadow</type>
20                 </animation>
21         </model>
22         <model>
23                 <path>Aircraft/A-6E/Models/stick.xml</path>
24                 <offsets>
25                         <x-m>2.8695</x-m>
26                         <y-m>-0.3846</y-m>
27                         <z-m>0.3629</z-m>
28                         <pitch-deg>0</pitch-deg>
29                 </offsets>
30         </model>
31         <model>
32                 <path>Aircraft/A-6E/Models/pedals.xml</path>
33                 <offsets>
34                         <x-m>2.3742</x-m>
35                         <y-m>-0.3843</y-m>
36                         <z-m>0.2540</z-m>
37                 </offsets>
38                 <animation>
39                         <type>noshadow</type>
40                 </animation>
41         </model>
42
43         <!-- Main Panel -->
44         <model>
45                 <path>Aircraft/A-6E/Models/aoa-gauge.xml</path>
46                 <offsets>
47                         <x-m>2.5985</x-m>
48                         <y-m>-0.5513</y-m>
49                         <z-m>1.0225</z-m>
50                         <pitch-deg>-14</pitch-deg>
51                 </offsets>
52                 <animation>
53                         <type>noshadow</type>
54                 </animation>
55         </model>
56         <model>
57                 <path>Aircraft/A-6E/Models/optical-sight.xml</path>
58                 <offsets>
59                         <x-m>2.6209</x-m>
60                         <y-m>-0.3706</y-m>
61                         <z-m>1.1842</z-m>
62                         <pitch-deg>-19</pitch-deg>
63                 </offsets>
64                 <animation>
65                         <type>noshadow</type>
66                 </animation>
67         </model>
68         <model>
69                 <path>Aircraft/A-6E/Models/master-caution-reset.xml</path>
70                 <offsets>
71                         <x-m>2.5840</x-m>
72                         <y-m>-0.5225</y-m>
73                         <z-m>1.0912</z-m>
74                         <pitch-deg>-14</pitch-deg>
75                 </offsets>
76                 <animation>
77                         <type>noshadow</type>
78                 </animation>
79         </model>
80         <model>
81                 <path>Aircraft/A-6E/Models/radar-altimeter.xml</path>
82                 <offsets>
83                         <x-m>2.6193</x-m>
84                         <y-m>-0.5529</y-m>
85                         <z-m>0.9364</z-m>
86                         <pitch-deg>-14</pitch-deg>
87                 </offsets>
88                 <animation>
89                         <type>noshadow</type>
90                 </animation>
91         </model>
92         <model>
93                 <path>Aircraft/A-6E/Models/man-jettison.xml</path>
94                 <offsets>
95                         <x-m>2.6142</x-m>
96                         <y-m>-0.6230</y-m>
97                         <z-m>0.9724</z-m>
98                         <pitch-deg>-14</pitch-deg>
99                 </offsets>
100                 <animation>
101                         <type>noshadow</type>
102                 </animation>
103         </model>
104         <model>
105                 <path>Aircraft/A-6E/Models/ldg-controls.xml</path>
106                 <offsets>
107                         <x-m>2.6057</x-m>
108                         <y-m>-0.6771</y-m>
109                         <z-m>0.8116</z-m>
110                 </offsets>
111         </model>
112         <model>
113                 <path>Aircraft/A-6E/Models/engine-gauges.xml</path>
114                 <offsets>
115                         <x-m>2.6030</x-m>
116                         <y-m>-0.5688</y-m>
117                         <z-m>0.7888</z-m>
118                 </offsets>
119                 <animation>
120                         <type>noshadow</type>
121                 </animation>
122         </model>
123         <model>
124                 <path>Aircraft/A-6E/Models/flight-indicator.xml</path>
125                 <offsets>
126                         <x-m>2.6062</x-m>
127                         <y-m>-0.6917</y-m>
128                         <z-m>0.6370</z-m>
129                 </offsets>
130                 <animation>
131                         <type>noshadow</type>
132                 </animation>
133         </model>
134         <model>
135                 <path>Aircraft/A-6E/Models/vdi.xml</path>
136                 <offsets>
137                         <x-m>2.60853</x-m>
138                         <y-m>-0.3913</y-m>
139                         <z-m>0.9815</z-m>
140                         <pitch-deg>-14</pitch-deg>
141                 </offsets>
142                 <animation>
143                         <type>noshadow</type>
144                 </animation>
145         </model>
146         <model>
147                 <path>Aircraft/A-6E/Models/phd.xml</path>
148                 <offsets>
149                         <x-m>2.6809</x-m>
150                         <y-m>-0.3913</y-m>
151                         <z-m>0.7675</z-m>
152                         <pitch-deg>-20</pitch-deg>
153                 </offsets>
154                 <animation>
155                         <type>noshadow</type>
156                 </animation>
157         </model>
158         <model>
159                 <path>Aircraft/A-6E/Models/elev-trim.xml</path>
160                 <offsets>
161                         <x-m>2.7290</x-m>
162                         <y-m>-0.4180</y-m>
163                         <z-m>0.4320</z-m>
164                         <pitch-deg>-45</pitch-deg>
165                 </offsets>
166                 <animation>
167                         <type>noshadow</type>
168                 </animation>
169         </model>
170         <model>
171                 <path>Aircraft/A-6E/Models/asi.xml</path>
172                 <offsets>
173                         <x-m>2.5870</x-m>
174                         <y-m>-0.2295</y-m>
175                         <z-m>1.0750</z-m>
176                         <pitch-deg>-14</pitch-deg>
177                 </offsets>
178                 <animation>
179                         <type>noshadow</type>
180                 </animation>
181         </model>
182         <model>
183                 <path>Aircraft/A-6E/Models/accelerometer2.xml</path>
184                 <offsets>
185                         <x-m>2.5876</x-m>
186                         <y-m>-0.1712</y-m>
187                         <z-m>1.0672</z-m>
188                         <pitch-deg>-14</pitch-deg>
189                 </offsets>
190                 <animation>
191                         <type>noshadow</type>
192                 </animation>
193         </model>
194         <model>
195                 <path>Aircraft/A-6E/Models/buno-plate.xml</path>
196                 <offsets>
197                         <x-m>2.5991</x-m>
198                         <y-m>-0.2275</y-m>
199                         <z-m>1.0216</z-m>
200                         <pitch-deg>-14</pitch-deg>
201                 </offsets>
202                 <animation>
203                         <type>noshadow</type>
204                 </animation>
205         </model>
206         <model>
207                 <path>Aircraft/A-6E/Models/altimeter.xml</path>
208                 <offsets>
209                         <x-m>2.6098</x-m>
210                         <y-m>-0.2297</y-m>
211                         <z-m>0.9650</z-m>
212                         <pitch-deg>-14</pitch-deg>
213                 </offsets>
214                 <animation>
215                         <type>noshadow</type>
216                 </animation>
217         </model>
218         <model>
219                 <path>Aircraft/A-6E/Models/hook-lift.xml</path>
220                 <offsets>
221                         <x-m>2.6139</x-m>
222                         <y-m>-0.1705</y-m>
223                         <z-m>0.9605</z-m>
224                         <pitch-deg>-14</pitch-deg>
225                 </offsets>
226                 <animation>
227                         <type>noshadow</type>
228                 </animation>
229         </model>
230         <model>
231                 <path>Aircraft/A-6E/Models/ai.xml</path>
232                 <offsets>
233                         <x-m>2.5882</x-m>
234                         <y-m>-0.1089</y-m>
235                         <z-m>1.0660</z-m>
236                         <pitch-deg>-6</pitch-deg>
237                 </offsets>
238                 <animation>
239                         <type>noshadow</type>
240                 </animation>
241         </model>
242         <model>
243                 <path>Aircraft/A-6E/Models/chronograph.xml</path>
244                 <offsets>
245                         <x-m>2.5820</x-m>
246                         <y-m>-0.0158</y-m>
247                         <z-m>1.0910</z-m>
248                         <pitch-deg>-14</pitch-deg>
249                 </offsets>
250                 <animation>
251                         <type>noshadow</type>
252                 </animation>
253         </model>
254         <model>
255                 <path>Aircraft/A-6E/Models/hsi.xml</path>
256                 <offsets>
257                         <x-m>2.6121</x-m>
258                         <y-m>-0.0995</y-m>
259                         <z-m>0.9685</z-m>
260                         <pitch-deg>-14</pitch-deg>
261                 </offsets>
262                 <animation>
263                         <type>noshadow</type>
264                 </animation>
265         </model>
266         <model>
267                 <path>Aircraft/A-6E/Models/hsi-2.xml</path>
268                 <offsets>
269                         <x-m>2.6121</x-m>
270                         <y-m>-0.0995</y-m>
271                         <z-m>0.9685</z-m>
272                         <pitch-deg>-14</pitch-deg>
273                 </offsets>
274                 <animation>
275                         <type>noshadow</type>
276                 </animation>
277         </model>
278         <model>
279                 <path>Aircraft/A-6E/Models/vsi.xml</path>
280                 <offsets>
281                         <x-m>2.5996</x-m>
282                         <y-m>-0.004</y-m>
283                         <z-m>1.0176</z-m>
284                         <pitch-deg>-14</pitch-deg>
285                 </offsets>
286                 <animation>
287                         <type>noshadow</type>
288                 </animation>
289         </model>
290         <model>
291                 <path>Aircraft/A-6E/Models/canopy-controls.xml</path>
292                 <offsets>
293                         <x-m>2.6328</x-m>
294                         <y-m>0.0618</y-m>
295                         <z-m>0.9875</z-m>
296                         <pitch-deg>-6</pitch-deg>
297                 </offsets>
298                 <animation>
299                         <type>noshadow</type>
300                 </animation>
301         </model>
302         <model>
303                 <path>Aircraft/A-6E/Models/vdi-radar-pilots-control.xml</path>
304                 <offsets>
305                         <x-m>2.6830</x-m>
306                         <y-m>0.0000</y-m>
307                         <z-m>0.6790</z-m>
308                         <pitch-deg>-14</pitch-deg>
309                 </offsets>
310                 <animation>
311                         <type>noshadow</type>
312                 </animation>
313         </model>
314         <model>
315                 <path>Aircraft/A-6E/Models/accelerometer.xml</path>
316                 <offsets>
317                         <x-m>2.6046</x-m>
318                         <y-m>-0.1261</y-m>
319                         <z-m>0.8324</z-m>
320                 </offsets>
321                 <animation>
322                         <type>noshadow</type>
323                 </animation>
324         </model>
325         <model>
326                 <path>Aircraft/A-6E/Models/fuel-gauge.xml</path>
327                 <offsets>
328                         <x-m>2.6046</x-m>
329                         <y-m>-0.2178</y-m>
330                         <z-m>0.8032</z-m>
331                 </offsets>
332                 <animation>
333                         <type>noshadow</type>
334                 </animation>
335         </model>
336
337         <model>
338                 <path>Aircraft/A-6E/Models/aoa-indexer.xml</path>
339                 <offsets> 
340                         <x-m>0</x-m>
341                         <y-m>0</y-m>
342                         <z-m>0</z-m>
343                         <pitch-deg>0</pitch-deg>
344                 </offsets>
345                 <animation>
346                         <type>noshadow</type>
347                 </animation>
348         </model>
349
350         <!-- Pilot Left Console -->
351         <model>
352                 <path>Aircraft/A-6E/Models/catapult-grip.xml</path>
353                 <offsets> 
354                         <x-m>2.8098</x-m>
355                         <y-m>-0.7752</y-m>
356                         <z-m>0.4620</z-m>
357                         <pitch-deg>16</pitch-deg>
358                 </offsets>
359                 <animation>
360                         <type>noshadow</type>
361                 </animation>
362         </model>
363
364         <model>
365                 <path>Aircraft/A-6E/Models/light-left-panel.xml</path>
366                 <offsets>
367                         <x-m>3.3819</x-m>
368                         <y-m>-0.7158</y-m>
369                         <z-m>0.4587</z-m>
370                         <roll-deg>-11</roll-deg>
371                 </offsets>
372                 <animation>
373                         <type>noshadow</type>
374                 </animation>
375         </model>
376
377         <!-- Center Console -->
378         <model>
379                 <path>Aircraft/A-6E/Models/afcs.xml</path>
380                 <offsets> 
381                         <x-m>2.8200</x-m>
382                         <y-m>-0.0015</y-m>
383                         <z-m>0.5200</z-m>
384                         <pitch-deg>14</pitch-deg>
385                 </offsets>
386                 <animation>
387                         <type>noshadow</type>
388                 </animation>
389         </model>
390         <model>
391                 <path>Aircraft/A-6E/Models/tacan.xml</path>
392                 <offsets> 
393                         <x-m>3.0540</x-m>
394                         <y-m>-0.0015</y-m>
395                         <z-m>0.4630</z-m>
396                         <pitch-deg>14</pitch-deg>
397                 </offsets>
398                 <animation>
399                         <type>noshadow</type>
400                 </animation>
401         </model>
402
403         <!-- Wing Fold Panel -->
404         <animation>
405                 <name>wing-fold-push-button</name>
406                 <type>pick</type>
407                 <visible>true</visible>
408                 <object-name>wing-fold-push-button</object-name>
409                 <action>
410                         <button>0</button>
411                         <repeatable>false</repeatable>
412                         <binding>
413                                 <command>nasal</command>
414                                 <script>A6Econtrols.wf_push_button()</script>
415                         </binding>
416                 </action>
417         </animation>
418         <animation>
419                 <type>translate</type>
420                 <object-name>wing-fold-push-button</object-name>
421                 <property>sim/model/A-6E/controls/wing-fold/button-position</property>
422                 <factor>0.005</factor>
423                 <axis><z>-1</z></axis>
424         </animation>
425         <animation>
426                 <type>pick</type>
427                 <visible>true</visible>
428                 <object-name>wing-fold-handle</object-name>
429                 <action>
430                         <button>0</button>
431                         <repeatable>false</repeatable>
432                         <binding>
433                                 <command>nasal</command>
434                                 <script>A6Econtrols.wf_handle()</script>
435                         </binding>
436                 </action>
437         </animation>
438         <animation>
439                 <type>rotate</type>
440                 <object-name>wing-fold-handle</object-name>
441                 <property>sim/model/A-6E/controls/wing-fold/handle-position</property>
442                 <factor>35</factor>
443                 <center>
444                         <x-m>3.1351</x-m>
445                         <y-m>0</y-m>
446                         <z-m>0.3536</z-m>
447                 </center>
448                 <axis><y>-1</y></axis>
449         </animation>
450         <animation>
451                 <type>pick</type>
452                 <visible>true</visible>
453                 <object-name>wing-fold-lock</object-name>
454                 <action>
455                         <button>0</button>
456                         <repeatable>false</repeatable>
457                         <binding>
458                                 <command>nasal</command>
459                                 <script>A6Econtrols.wf_switch(1)</script>
460                         </binding>
461                 </action>
462         </animation>
463         <animation>
464                 <type>pick</type>
465                 <visible>true</visible>
466                 <object-name>wing-fold-unlock</object-name>
467                 <action>
468                         <button>0</button>
469                         <repeatable>false</repeatable>
470                         <binding>
471                                 <command>nasal</command>
472                                 <script>A6Econtrols.wf_switch(-1)</script>
473                         </binding>
474                 </action>
475         </animation>
476         <animation>
477                 <type>rotate</type>
478                 <object-name>wing-fold-lock-switch</object-name>
479                 <property>sim/model/A-6E/controls/wing-fold/switch-position</property>
480                 <factor>30</factor>
481                 <center>
482                         <x-m>3.3012</x-m>
483                         <y-m>0.0345</y-m>
484                         <z-m>0.4033</z-m>
485                 </center>
486                 <axis><x>-1</x></axis>
487         </animation>
488
489         <!-- Navigator right Console -->
490         <model>
491                 <path>Aircraft/A-6E/Models/ext-air-temp-gauge.xml</path>
492                 <offsets> 
493                         <x-m>2.6927</x-m>
494                         <y-m>0.6868</y-m>
495                         <z-m>0.5000</z-m>
496                 </offsets>
497                 <animation>
498                         <type>noshadow</type>
499                 </animation>
500         </model>
501
502         <model>
503                 <path>Aircraft/A-6E/Models/doppler.xml</path>
504                 <offsets> 
505                         <x-m>3.0443</x-m>
506                         <y-m>0.7213</y-m>
507                         <z-m>0.4622</z-m>
508                         <roll-deg>12</roll-deg>
509                 </offsets>
510                 <animation>
511                         <type>noshadow</type>
512                 </animation>
513         </model>
514
515
516 <!--  ################ 3D panels for hot-spots  ################ -->
517         <!-- Hotspots-Console-Left-Aft -->
518         <panel>
519                 <name>Hotspots-Console-Left-Aft</name>
520                 <path>Aircraft/A-6E/Models/p-console-left-aft.xml</path>
521                 <top-left>
522                         <x-m>3.0397</x-m>
523                         <y-m>-0.8501</y-m>
524                         <z-m>0.4869</z-m>
525                 </top-left>
526                 <bottom-left>
527                         <x-m>3.5445</x-m>
528                         <y-m>-0.8501</y-m>
529                         <z-m>0.4869</z-m>
530                 </bottom-left>
531                 <bottom-right>
532                         <x-m>3.5445</x-m>
533                         <y-m>-0.6260</y-m>
534                         <z-m>0.4433</z-m>
535                 </bottom-right>
536         </panel>
537
538         <!-- Hotspots-Pilot-Panel-Right -->
539         <panel>
540                 <name>Hotspots-Pilot-Panel-Right</name>
541                 <path>Aircraft/A-6E/Models/p-panel-right.xml</path>
542                 <top-left>
543                         <x-m>2.5827</x-m>
544                         <y-m>-0.2728</y-m>
545                         <z-m>1.1238</z-m>
546                 </top-left>
547                 <bottom-left>
548                         <x-m>2.7302</x-m>
549                         <y-m>-0.2728</y-m>
550                         <z-m>0.5394</z-m>
551                 </bottom-left>
552                 <bottom-right>
553                         <x-m>2.7302</x-m>
554                         <y-m>0.0903</y-m>
555                         <z-m>0.5394</z-m>
556                 </bottom-right>
557         </panel>
558
559         <!-- Hotspots-Pilot-Panel-Bottom-Right -->
560         <panel>
561                 <name>Hotspots-Pilot-Panel-Right</name>
562                 <path>Aircraft/A-6E/Models/p-panel-bottom-right.xml</path>
563                 <top-left>
564                         <x-m>2.6058</x-m>
565                         <y-m>-0.2823</y-m>
566                         <z-m>0.8788</z-m>
567                 </top-left>
568                 <bottom-left>
569                         <x-m>2.6058</x-m>
570                         <y-m>-0.2823</y-m>
571                         <z-m>0.6959</z-m>
572                 </bottom-left>
573                 <bottom-right>
574                         <x-m>2.6058</x-m>
575                         <y-m>0.0904</y-m>
576                         <z-m>0.6959</z-m>
577                 </bottom-right>
578         </panel>
579
580
581         <!-- Hotspots-Console-Left-Aft -->
582         <panel>
583                 <name>Hotspots-Console-Center-Fwd</name>
584                 <path>Aircraft/A-6E/Models/p-console-center-fwd.xml</path>
585                 <top-left>
586                         <x-m>2.7217</x-m>
587                         <y-m>-0.0786</y-m>
588                         <z-m>0.5494</z-m>
589                 </top-left>
590                 <bottom-left>
591                         <x-m>3.0955</x-m>
592                         <y-m>-0.0786</y-m>
593                         <z-m>0.4550</z-m>
594                 </bottom-left>
595                 <bottom-right>
596                         <x-m>3.0955</x-m>
597                         <y-m>0.0795</y-m>
598                         <z-m>0.4550</z-m>
599                 </bottom-right>
600         </panel>
601
602         <!-- Hotspots-Console-Right (Navigator) -->
603         <panel>
604                 <name>Hotspots-Console-Right</name>
605                 <path>Aircraft/A-6E/Models/p-console-right.xml</path>
606                 <top-left>
607                         <x-m>2.6944</x-m>
608                         <y-m>0.6434</y-m>
609                         <z-m>0.4499</z-m>
610                 </top-left>
611                 <bottom-left>
612                         <x-m>3.5342</x-m>
613                         <y-m>0.6434</y-m>
614                         <z-m>0.4478</z-m>
615                 </bottom-left>
616                 <bottom-right>
617                         <x-m>3.5342</x-m>
618                         <y-m>0.8554</y-m>
619                         <z-m>0.4872</z-m>
620                 </bottom-right>
621         </panel>
622
623 </PropertyList>