Updated Nordstern: Added a variometer.
[fg:toms-fgdata.git] / Aircraft / Nordstern / Models / Nordstern-car-interior.xml
1 <?xml version="1.0"?>
2 <!--
3   Zeppelin LZ 121 "Nordstern" airship for FlightGear.
4
5   Copyright (C) 2010  Anders Gidenstam  (anders(at)gidenstam.org)
6   This file is licensed under the GPL license version 2 or later.
7 -->
8 <PropertyList>
9
10  <path>Nordstern-car-interior.ac</path>
11  <offsets>
12   <!-- x/y/z == back/right/up -->
13   <x-m>   0.0 </x-m>
14   <y-m>   0.0 </y-m>
15   <z-m>   0.0 </z-m>
16  </offsets>
17
18  <model>
19   <name>Rudder wheel</name>
20   <path>Aircraft/Nordstern/Models/control_wheel.ac</path>
21   <offsets>
22    <!-- x/y/z == back/right/up -->
23    <x-m>  0.15 </x-m>
24    <y-m>  0.00 </y-m>
25    <z-m>  1.02 </z-m>
26   </offsets>
27  </model>
28
29  <model>
30   <name>Magnetic compass</name>
31   <path>Aircraft/Nordstern/Instruments/MagneticCompass/compass.xml</path>
32   <offsets>
33    <!-- x/y/z == back/right/up -->
34    <x-m> -0.04 </x-m>
35    <y-m>  0.00 </y-m>
36    <z-m>  1.13 </z-m>
37   </offsets>
38  </model>
39
40  <model>
41   <name>Elevator wheel</name>
42   <path>Aircraft/Nordstern/Models/control_wheel.ac</path>
43   <offsets>
44    <!-- x/y/z == back/right/up -->
45    <x-m>  2.22 </x-m>
46    <y-m> -0.95 </y-m>
47    <z-m>  1.02 </z-m>
48    <heading-deg>78.7</heading-deg>
49   </offsets>
50  </model>
51
52  <model>
53   <name>5deg inclinometer</name>
54   <path>Aircraft/Nordstern/Instruments/Inclinometers/inclinometer_5deg.xml</path>
55   <offsets>
56    <!-- x/y/z == back/right/up -->
57    <x-m>  2.232 </x-m>
58    <y-m> -1.035 </y-m>
59    <z-m>  1.800 </z-m>
60    <heading-deg>80.0</heading-deg>
61   </offsets>
62  </model>
63
64  <model>
65   <name>20deg inclinometer</name>
66   <path>Aircraft/Nordstern/Instruments/Inclinometers/inclinometer_20deg.xml</path>
67   <offsets>
68    <!-- x/y/z == back/right/up -->
69    <x-m>  2.232 </x-m>
70    <y-m> -1.035 </y-m>
71    <z-m>  1.765 </z-m>
72    <heading-deg>80.0</heading-deg>
73   </offsets>
74  </model>
75
76  <model>
77   <name>Altimeter</name>
78   <path>Aircraft/Superwal/Models/Instruments/Hoehenmesser/Hoehenmesser.xml</path>
79   <offsets>
80    <!-- x/y/z == back/right/up -->
81    <x-m>  2.232 </x-m>
82    <y-m> -1.040 </y-m>
83    <z-m>  1.700 </z-m>
84    <heading-deg>80.0</heading-deg>
85   </offsets>
86  </model>
87
88  <model>
89   <name>Hase variometer</name>
90   <path>Aircraft/Nordstern/Instruments/Variometer/variometer.xml</path>
91   <offsets>
92    <!-- x/y/z == back/right/up -->
93    <x-m>  1.950 </x-m>
94    <y-m> -0.950 </y-m>
95    <z-m>  1.440 </z-m>
96    <heading-deg>80.0</heading-deg>
97   </offsets>
98  </model>
99
100  <animation>
101   <type>pick</type>
102   <object-name>ladder</object-name>
103   <action>
104    <button>0</button>
105    <repeatable>false</repeatable>
106    <binding>
107     <command>nasal</command>
108     <script>Nordstern.climbLadder();</script>
109    </binding>
110   </action>
111  </animation>
112
113  <animation>
114   <type>rotate</type>
115   <object-name>Rudder wheel</object-name>
116   <property>surface-positions/rudder-pos-norm</property>
117   <factor>-250.0</factor>
118   <center>
119    <x-m>  0.15 </x-m>
120    <y-m>  0.00 </y-m>
121    <z-m>  1.02 </z-m>
122   </center>
123   <axis>
124    <x>1.0</x>
125    <y>0.0</y>
126    <z>0.0</z>
127   </axis>
128  </animation>
129
130  <animation>
131   <type>rotate</type>
132   <object-name>Elevator wheel</object-name>
133   <property>surface-positions/elevator-pos-norm</property>
134   <factor>-250.0</factor>
135   <axis>
136    <x1-m>  2.22 </x1-m>
137    <y1-m> -0.95 </y1-m>
138    <z1-m>  1.02 </z1-m>
139    <x2-m>  2.24 </x2-m>
140    <y2-m> -0.85 </y2-m>
141    <z2-m>  1.02 </z2-m>
142   </axis>
143  </animation>
144
145 </PropertyList>