Update refueling information for Vulcan.
[fg:toms-fgdata.git] / Aircraft / vulcanb2 / vulcanb2-set.xml
1 <?xml version="1.0"?>
2 <!--
3 ************************************************************************
4 JSBSim Vulcan B2
5
6 Started June 6 2006 by Stuart Buchanan,
7 ************************************************************************
8 -->
9
10 <PropertyList>
11
12   <sim>
13
14     <description>Avro Vulcan B.2</description>
15     <author>Stuart Buchanan</author>
16     <status>beta</status>
17     <rating>
18       <FDM type="int">1</FDM>
19       <systems type="int">4</systems>
20       <cockpit type="int">4</cockpit>
21       <model type="int">4</model>
22     </rating>
23
24
25     <flight-model archive="y">jsb</flight-model>
26     <aero archive="y">vulcanb2</aero>
27
28     <startup>
29       <splash-texture>Aircraft/vulcanb2/vulcanb2-splash.rgb</splash-texture>
30     </startup>
31
32     <model>
33       <path archive="y">Aircraft/vulcanb2/Models/vulcanb2.xml</path>
34       <livery>
35         <material>
36           <texture>XM597.rgb</texture>
37         </material>
38       </livery>
39       <offsets>
40         <x-m>-15.0</x-m>
41         <y-m>0.0</y-m>
42         <z-m>0.0</z-m>
43       </offsets>
44     </model>
45
46     <!-- Initial variant and texture. Controlled by aircraft dialog. -->
47     <variant>XM597</variant>
48
49     <!-- Initial armament. Controlled by aircraft dialog -->
50     <armament>BlackBuck6</armament>
51
52     <submodels>
53       <serviceable type="bool">true</serviceable>
54       <path>Aircraft/vulcanb2/Models/submodels.xml</path>
55     </submodels>
56
57     <sound>
58       <path>Aircraft/vulcanb2/Sounds/vulcanb2-sound.xml</path>
59     </sound>
60
61     <help>
62       <title>Avro Vulcan B.2</title>
63       <line>Speeds (AUW 180,000lbs)</line>
64       <line></line>
65       <line>Rotation: 148 kts</line>
66       <line>Initial Climb: 156 kts</line>
67       <line>Climb (below 20k ft): 250 kts</line>
68       <line>Climb (above 20k ft): 300 kts</line>
69       <line>Pattern: 181 kts</line>
70       <line>Approach: 166 kts</line>
71       <line>Threshhold: 151 kts</line>
72       <line>Tail Chute: 145 kts</line>
73       <key>
74         <name>C</name>
75         <desc>Tail brake chute (TBC) control</desc>
76       </key>
77       <key>
78         <name>D</name>
79         <desc>Toggle bomb bay door</desc>
80       </key>
81       <key>
82         <name>E</name>
83         <desc>Toggle crew door</desc>
84       </key>
85       <key>
86         <name>J</name>
87         <desc>Fire weaponry</desc>
88       </key>
89       <key>
90         <name>j/k</name>
91         <desc>2 position speedbrakes</desc>
92       </key>
93       <key>
94         <name>=</name>
95         <desc>Configuration menu</desc>
96       </key>
97     </help>
98
99     <panel>
100       <path>Aircraft/vulcanb2/Panels/vulcanb2-vfr-panel.xml</path>
101       <visibility>false</visibility>
102     </panel>
103
104
105     <!-- position the pilot viewpoint and angle -->
106     <view n="0">
107       <internal archive="y">true</internal>
108       <config>
109         <x-offset-m archive="y">-0.25</x-offset-m>
110         <y-offset-m archive="y">1.07</y-offset-m>
111         <z-offset-m archive="y">4.83</z-offset-m>
112         <pitch-offset-deg>-5.0</pitch-offset-deg>
113       </config>
114     </view>
115
116     <!-- position the co-pilot viewpoint and angle -->
117     <!-- This is definitely a dual-control a/c -->
118     <view n="1">
119       <config>
120         <z-offset-m type="double" archive="y">-130</z-offset-m>
121         <target-z-offset-m type="double" archive="y">15</target-z-offset-m>
122       </config>
123     </view>
124     <view n="2">
125       <config>
126         <!-- big plane, so extend chase view offset a bit -->
127         <z-offset-m type="double" archive="y">-150</z-offset-m>
128         <target-z-offset-m type="double" archive="y">15</target-z-offset-m>
129         <pitch-offset-deg>-8.0</pitch-offset-deg>
130       </config>
131     </view>
132
133     <view n="3">
134       <config>
135         <!-- big plane, so extend chase view offset a bit -->
136         <z-offset-m type="double" archive="y">-140</z-offset-m>
137         <target-z-offset-m type="double" archive="y">15</target-z-offset-m>
138       </config>
139     </view>
140
141     <view n="4">
142       <config>
143         <!-- big plane, so extend chase view offset a bit -->
144         <target-z-offset-m type="double" archive="y">15</target-z-offset-m>
145       </config>
146     </view>
147
148     <view n="5">
149       <config>
150         <!-- big plane, so extend chase view offset a bit -->
151         <z-offset-m type="double" archive="y">-150</z-offset-m>
152         <target-z-offset-m type="double" archive="y">15</target-z-offset-m>
153       </config>
154     </view>
155
156     <view n="6">
157       <config>
158         <!-- big plane, so extend chase view offset a bit -->
159         <z-offset-m type="double" archive="y">-150</z-offset-m>
160         <target-z-offset-m type="double" archive="y">15</target-z-offset-m>
161       </config>
162     </view>
163
164     <view n="100">
165       <name>Co-pilot View</name>
166       <internal archive="y">true</internal>
167       <type>lookfrom</type>
168       <config>
169         <from-model type="bool">true</from-model>
170         <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
171         <x-offset-m archive="y">0.25</x-offset-m>
172         <y-offset-m archive="y">1.07</y-offset-m>
173         <z-offset-m archive="y">4.83</z-offset-m>
174         <pitch-offset-deg>-5.0</pitch-offset-deg>
175         <default-field-of-view-deg>60</default-field-of-view-deg>
176         <dynamic-view type="bool">true</dynamic-view>
177       </config>
178     </view>
179
180     <!-- No flaps on this aircraft -->
181     <flaps>
182       <setting>0.000</setting>
183     </flaps>
184
185     <!-- Two-position spoilers.
186    0 - Fully in
187    0.5 - Parially out - 35 degrees
188    1.0 - Fully extended - 55/80 degrees undercarriage up/down.
189
190    We simplify the fully out position
191  -->
192     <spoilers>
193       <setting>0.00</setting>
194       <setting>0.5</setting>
195       <setting>1.0</setting>
196       <chute-pos-norm>0.0</chute-pos-norm>
197     </spoilers>
198
199     <systems>
200       <electrical>
201         <path>Aircraft/vulcanb2/Systems/vulcanb2-electrical.xml</path>
202       </electrical>
203     </systems>
204
205     <instrumentation>
206       <path>Aircraft/vulcanb2/Systems/vulcanb2-instrumentation.xml</path>
207     </instrumentation>
208
209     <menubar include="vulcanb2-menu.xml"/>
210     <tutorials include="Tutorials/vulcanb2-tutorials.xml"/>
211
212   </sim>
213
214   <consumables>
215     <fuel>
216       <tank n="0">
217         <level-gal_us archive="y">657</level-gal_us>
218       </tank>
219       <tank n="1">
220         <level-gal_us archive="y">1140</level-gal_us>
221       </tank>
222       <tank n="2">
223         <level-gal_us archive="y">756</level-gal_us>
224       </tank>
225       <tank n="3">
226         <level-gal_us archive="y">657</level-gal_us>
227       </tank>
228       <tank n="4">
229         <level-gal_us archive="y">616</level-gal_us>
230       </tank>
231       <tank n="5">
232         <level-gal_us archive="y">884</level-gal_us>
233       </tank>
234       <tank n="6">
235         <level-gal_us archive="y">660</level-gal_us>
236       </tank>
237       <tank n="7">
238         <level-gal_us archive="y">657</level-gal_us>
239       </tank>
240       <tank n="8">
241         <level-gal_us archive="y">1140</level-gal_us>
242       </tank>
243       <tank n="9">
244         <level-gal_us archive="y">756</level-gal_us>
245       </tank>
246       <tank n="10">
247         <level-gal_us archive="y">657</level-gal_us>
248       </tank>
249       <tank n="11">
250         <level-gal_us archive="y">616</level-gal_us>
251       </tank>
252       <tank n="12">
253         <level-gal_us archive="y">884</level-gal_us>
254       </tank>
255       <tank n="13">
256         <level-gal_us archive="y">660</level-gal_us>
257       </tank>
258     </fuel>
259   </consumables>
260
261   <engines>
262     <engine n="0">
263       <running>false</running>
264       <magnetos>3</magnetos>
265       <cutoff>false</cutoff>
266     </engine>
267     <engine n="1">
268       <running>false</running>
269       <magnetos>3</magnetos>
270       <cutoff>false</cutoff>
271     </engine>
272     <engine n="2">
273       <running>false</running>
274       <magnetos>3</magnetos>
275       <cutoff>false</cutoff>
276     </engine>
277     <engine n="3">
278       <running>false</running>
279       <magnetos>3</magnetos>
280       <cutoff>false</cutoff>
281     </engine>
282   </engines>
283
284   <controls>
285     <doors>
286       <cockpit-door-pos-norm type="float">0.0</cockpit-door-pos-norm>
287       <bb-door-pos-norm type="float">0.0</bb-door-pos-norm>
288       <bb-door-pos type="float">0.0</bb-door-pos>
289       <emergency-bb-door-pos type="float">0.0</emergency-bb-door-pos>
290       <emergency-bb-jettison-pos type="float">0.0</emergency-bb-jettison-pos>
291       <chute-door-pos-norm type="float">0.0</chute-door-pos-norm>
292     </doors>
293
294     <radar>
295       <limiter-light-green>0</limiter-light-green>
296       <limiter-light-amber>0</limiter-light-amber>
297       <limiter-light-red>0</limiter-light-red>
298       <limiter-height>50.0</limiter-height>
299       <sensitivity-five-thousand>false</sensitivity-five-thousand>
300       <limiter-active>0</limiter-active>
301       <limiter-test>0</limiter-test>
302     </radar>
303
304     <!-- Currently selected engine for starter -->
305     <engines>
306       <starter-selected>0</starter-selected>
307       <master>0</master>
308     </engines>
309
310     <chute-pos-norm>0.0</chute-pos-norm>
311
312
313     <!-- trim for level cruise -->
314
315     <flight>
316       <aileron-trim>0.027</aileron-trim>
317       <rudder-trim>0.0</rudder-trim>
318     </flight>
319
320   </controls>
321
322   <instrumentation>
323     <tacan n="0">
324       <name>tacan</name>
325       <number>0</number>
326       <serviceable type="bool" archive="y">true</serviceable>
327       <switch-position type="int" archive="y">1</switch-position>
328     </tacan>
329     <!-- radar-altimeter should come before air-ground-radar -->
330
331
332     <air-ground-radar>
333       <serviceable type="bool">true</serviceable>
334       <switch type="string">ON</switch>
335       <threshold>0.18</threshold>
336       <mode-control type="int">5</mode-control>
337       <scan-sec type="double">1</scan-sec>
338       <display-controls>
339         <WX type="bool">false</WX>
340         <pos type="bool">true</pos>
341         <data type="bool">false</data>
342         <symbol type="bool">false</symbol>
343       </display-controls>
344       <range type="int">30</range>
345       <mode type="string">SV</mode>
346       <lightning type="bool">false</lightning>
347       <display-mode type="string">arc</display-mode>
348       <minimized type="bool">false</minimized>
349       <echo-texture-path>Aircraft/Instruments/Textures/wxecho-orange.rgb</echo-texture-path>
350       <antenna>
351         <x-offset-m type="double">0</x-offset-m>
352         <y-offset-m type="double">-0.5</y-offset-m>
353         <z-offset-m type="double">0</z-offset-m>
354       </antenna>
355       <terrain-warning>
356         <elev-limit-deg type="double">2</elev-limit-deg>
357         <elev-step-deg type="double">2</elev-step-deg>
358         <az-limit-deg type="double">1</az-limit-deg>
359         <az-step-deg type="double">1</az-step-deg>
360         <max-range-m type="double">4000</max-range-m>
361         <min-range-m type="double">250</min-range-m>
362         <tilt type="double">-2</tilt>
363         <stabilisation>
364           <roll type="bool">true</roll>
365           <pitch type="bool">false</pitch>
366         </stabilisation>
367         <scan-sec type="double">0</scan-sec>
368         <beamwidth-deg>1</beamwidth-deg>
369       </terrain-warning>
370       <surveillance>
371         <elev-limit-deg type="double">1.25</elev-limit-deg>
372         <elev-step-deg type="double">0.125</elev-step-deg>
373         <az-limit-deg type="double">45</az-limit-deg>
374         <az-step-deg type="double">2.5</az-step-deg>
375         <max-range-m type="double">120000</max-range-m>
376         <min-range-m type="double">1000</min-range-m>
377         <tilt type="double">-2.5</tilt>
378         <stabilisation>
379           <roll type="bool">true</roll>
380           <pitch type="bool">true</pitch>
381         </stabilisation>
382         <scan-sec type="double">0.001</scan-sec>
383         <persistance-sec type="double">18</persistance-sec>
384         <beamwidth-deg>5</beamwidth-deg>
385       </surveillance>
386     </air-ground-radar>
387     <radar-altimeter>
388       <switch type="string">ON</switch>
389       <serviceable type="bool">true</serviceable>
390       <antenna>
391         <x-offset-m type="double">-2.660540</x-offset-m>
392         <y-offset-m type="double">0</y-offset-m>
393         <z-offset-m type="double">-0.6275650</z-offset-m>
394       </antenna>
395       <set-height-ft>1000</set-height-ft>
396       <set-excursion-percent>5</set-excursion-percent>
397       <beamwidth-deg>10</beamwidth-deg>
398     </radar-altimeter>
399     <radar>
400       <!-- Used for Air-to-Air Refueling -->
401       <range type="int" archive="y">20</range>
402       <range-factor type="double" archive="n">20</range-factor>
403       <minimized type="bool" archive="y">false</minimized>
404     </radar>
405
406     <path>Aircraft/vulcanb2/Systems/vulcanb2-instrumentation.xml</path>
407   </instrumentation>
408
409   <systems>
410     <refuel>
411       <type>probe</type>
412                         <offset-x-m>-0.57</offset-x-m>
413                         <offset-y-m>0.56</offset-y-m>
414                         <offset-z-m>0.13</offset-z-m>
415     </refuel>
416   </systems>
417
418   <ai>
419     <scenario>refueling_demo_1</scenario>
420   </ai>
421
422
423   <!-- Key mappings -->
424   <input>
425     <keyboard>
426
427       <key n="61">
428         <name>=</name>
429         <desc>Show configuration dialog</desc>
430         <binding n="0">
431           <command>nasal</command>
432           <script>vulcanb2.config_dialog.toggle()</script>
433         </binding>
434       </key>
435
436       <key n="67">
437         <name>C</name>
438         <desc>Toggle Chute</desc>
439         <binding n="0">
440           <command>nasal</command>
441           <script>vulcanb2.toggle_chute()</script>
442         </binding>
443       </key>
444
445       <key n="68">
446         <name>D</name>
447         <desc>Toggle Bomb Bay Doors</desc>
448         <binding n="0">
449           <command>nasal</command>
450           <script>vulcanb2.toggle_bb_doors()</script>
451         </binding>
452       </key>
453
454       <key n="69">
455         <name>E</name>
456         <desc>Toggle Entrance Hatch</desc>
457         <binding n="0">
458           <command>nasal</command>
459           <script>vulcanb2.toggle_cockpit_door()</script>
460         </binding>
461       </key>
462
463       <key n="74">
464         <name>J</name>
465         <desc>Fire weaponry</desc>
466         <binding n="0">
467           <command>nasal</command>
468           <script>vulcanb2.fire()</script>
469         </binding>
470       </key>
471
472     </keyboard>
473   </input>
474
475
476   <!-- Aircraft limits -->
477   <limits>
478     <max-gear-extension-speed>270</max-gear-extension-speed>
479     <vne>400</vne>
480   </limits>
481
482   <!-- Nasal files/scripts -->
483   <nasal>
484     <vulcanb2>
485       <file>Aircraft/vulcanb2/Nasal/vulcanb2.nas</file>
486     </vulcanb2>
487     <starter>
488       <file>Aircraft/vulcanb2/Nasal/starter.nas</file>
489     </starter>
490     <failures>
491       <file>Aircraft/Generic/limits.nas</file>
492     </failures>
493     <aar>
494       <file>Aircraft/Generic/aar.nas</file>
495     </aar>
496                 <crater>
497                         <file>/Models/Geometry/Crater/crater.nas</file>
498                 </crater>
499         </nasal>
500
501 </PropertyList>