-
Notifications
You must be signed in to change notification settings - Fork 2
/
Nordstern-set.xml
656 lines (610 loc) · 17.6 KB
/
Nordstern-set.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
<?xml version="1.0"?>
<!--
Zeppelin LZ 121 "Nordstern" airship for FlightGear.
Copyright (C) 2010 - 2023 Anders Gidenstam (anders(at)gidenstam.org)
This file is licensed under the GPL license version 2 or later.
-->
<PropertyList>
<sim>
<description>Zeppelin LZ 121 "Nordstern" airship</description>
<author>Anders Gidenstam</author>
<aircraft-version>$Id: Nordstern-set.xml,v 1.22 2017/03/23 21:05:06 anders Exp $</aircraft-version>
<long-description>
Nordstern was the second of two small passenger airships built by Luftschiffsbau Zeppelin in 1919 and 1920. Nordstern was designed to carry about 25 passengers on a Friedrichshafen - Berlin - Stockholm route but this route was never opened. The older sister ship LZ 120 Bodensee did run a regular passenger sevice between Friedrichshafen and Berlin during Autumn 1919. In compliance with the terms of the peace treaty after WWI both airships were grounded early in 1920. Nordstern was handed over to France in 1921 where she remained in (sparse) service with the french military until 1926 under the name Mediterrannee. Bodensee was handed over to Italy and remained in service there until 1928 under the name Esperia.
</long-description>
<tags>
<tag>airship</tag>
<tag>passenger</tag>
<tag>piston</tag>
<tag>4-engine</tag>
<tag>fixed-gear</tag>
<tag>1920s</tag>
</tags>
<status type="string">beta</status>
<rating>
<FDM type="int">2</FDM>
<systems type="int">2</systems>
<cockpit type="int">3</cockpit>
<model type="int">3</model>
</rating>
<flight-model>jsb</flight-model>
<aero>Nordstern</aero>
<!-- The added-mass module might be unstable at 120 Hz? -->
<model-hz type="double">240.0</model-hz>
<presets>
<onground type="bool">true</onground>
<!-- altitude-agl-ft type="double">6.0</altitude-agl-ft -->
</presets>
<startup>
<splash-texture>Aircraft/Nordstern/splash.png</splash-texture>
</startup>
<!-- 3d model -->
<model>
<path>Aircraft/Nordstern/Models/Nordstern.xml</path>
<!-- livery>
<file type="string">Nordstern</file>
</livery -->
<mast-truck>
<mast-head-height-m type="double">11.8</mast-head-height-m>
<mast-head-heading-deg type="double"/>
<mast-head-pitch-deg type="double"/>
<mast-fold-norm type="double">0.0</mast-fold-norm>
<legs-fold-norm type="double">0.0</legs-fold-norm>
</mast-truck>
</model>
<!-- Views -->
<view n="0">
<!-- Officer of the watch's position. -->
<name>Watch Officer View</name>
<internal>true</internal>
<config>
<!-- x/y/z == right/up/back -->
<x-offset-m type="double"> 0.50 </x-offset-m>
<y-offset-m type="double"> -9.00 </y-offset-m>
<z-offset-m type="double"> 22.00 </z-offset-m>
<pitch-offset-deg type="double"> -10.0 </pitch-offset-deg>
</config>
</view>
<!-- Views -->
<view n="100">
<!-- Rudder helmsman's position. -->
<name>Rudder Man View</name>
<internal>true</internal>
<config>
<!-- x/y/z == right/up/back -->
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<x-offset-m type="double"> 0.00 </x-offset-m>
<y-offset-m type="double"> -9.00 </y-offset-m>
<z-offset-m type="double"> 20.50 </z-offset-m>
<pitch-offset-deg type="double"> -20.0 </pitch-offset-deg>
<default-field-of-view-deg type="double"> 65 </default-field-of-view-deg>
</config>
</view>
<view n="101">
<!-- Elevator helmsman's position. -->
<name>Elevator Man View</name>
<internal>true</internal>
<config>
<!-- x/y/z == right/up/back -->
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<x-offset-m type="double"> -0.50 </x-offset-m>
<y-offset-m type="double"> -9.00 </y-offset-m>
<z-offset-m type="double"> 22.22 </z-offset-m>
<pitch-offset-deg type="double"> -20.0 </pitch-offset-deg>
<heading-offset-deg type="double"> 90.0 </heading-offset-deg>
<default-field-of-view-deg type="double"> 65 </default-field-of-view-deg>
</config>
</view>
<view n="102">
<name>Steward View</name>
<internal>true</internal>
<config>
<!-- x/y/z == right/up/back -->
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<x-offset-m type="double"> 0.50 </x-offset-m>
<y-offset-m type="double"> -9.00 </y-offset-m>
<z-offset-m type="double"> 33.00 </z-offset-m>
<heading-offset-deg type="double"> 0.0 </heading-offset-deg>
<pitch-offset-deg type="double"> 0.0 </pitch-offset-deg>
<default-field-of-view-deg type="double"> 65 </default-field-of-view-deg>
</config>
</view>
<view n="103">
<name>Rigger View</name>
<internal>true</internal>
<config>
<!-- x/y/z == right/up/back -->
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<x-offset-m type="double"> 0.00 </x-offset-m>
<y-offset-m type="double"> -7.50 </y-offset-m>
<z-offset-m type="double"> 51.00 </z-offset-m>
<heading-offset-deg type="double"> 0.0 </heading-offset-deg>
<pitch-offset-deg type="double"> 0.0 </pitch-offset-deg>
<default-field-of-view-deg type="double"> 65 </default-field-of-view-deg>
</config>
</view>
<!-- Move the center of the external views. -->
<view n="1">
<config>
<target-y-offset-m type="double"> -7.0 </target-y-offset-m>
<target-z-offset-m type="double"> 35.0 </target-z-offset-m>
</config>
</view>
<view n="2">
<config>
<target-y-offset-m type="double"> -7.0 </target-y-offset-m>
<target-z-offset-m type="double"> 35.0 </target-z-offset-m>
</config>
</view>
<view n="3">
<config>
<target-y-offset-m type="double"> -7.0 </target-y-offset-m>
<target-z-offset-m type="double"> 35.0 </target-z-offset-m>
</config>
</view>
<view n="5">
<config>
<target-y-offset-m type="double"> -7.0 </target-y-offset-m>
<target-z-offset-m type="double"> 35.0 </target-z-offset-m>
</config>
</view>
<view n="6">
<config>
<target-y-offset-m type="double"> -7.0 </target-y-offset-m>
<target-z-offset-m type="double"> 35.0 </target-z-offset-m>
</config>
</view>
<chase-distance-m type="double">-150.0</chase-distance-m>
<sound>
<audible>true</audible>
<path>Aircraft/Nordstern/Sounds/Nordstern-sound.xml</path>
</sound>
<!-- Aircraft specific help. -->
<help include="help.xml"/>
<systems>
<electrical>
<path/>
</electrical>
<autopilot>
<path/>
</autopilot>
<pitot>
<name>pitot</name>
<number>0</number>
</pitot>
<static>
<name>static</name>
<number>0</number>
</static>
<vacuum>
<name>vacuum</name>
<number>0</number>
<rpm>engines/engine[0]/rpm</rpm>
<scale>1.0</scale>
</vacuum>
<vacuum>
<name>vacuum</name>
<number>1</number>
<rpm>engines/engine[1]/rpm</rpm>
<scale>1.0</scale>
</vacuum>
</systems>
<instrumentation>
<path>Aircraft/Nordstern/Systems/instrumentation.xml</path>
</instrumentation>
<multiplay>
<generic>
<!-- float n="0" alias="/fdm/jsbsim/propulsion/engine[0]/pitch-angle-rad"/>
<float n="1" alias="/fdm/jsbsim/propulsion/engine[1]/pitch-angle-rad"/>
<float n="2" alias="/fdm/jsbsim/propulsion/engine[2]/pitch-angle-rad"/>
<float n="3"
alias="/instrumentation/heading-indicator/indicated-heading-deg"/>
<float n="4"
alias="/instrumentation/attitude-indicator/indicated-pitch-deg"/>
<float n="5"
alias="/instrumentation/attitude-indicator/indicated-roll-deg"/ -->
<!-- int n="0" type="int">0</int --> <!-- MP switches 1 -->
<!-- string n="0" type="string"></string --> <!-- MP events -->
<!-- string n="1" type="string"></string --> <!-- MP TDM1 -->
<!-- string n="2" type="string"></string --> <!-- MP TDM2 -->
<!-- string n="3" type="string"></string --> <!-- MP TDM3 -->
</generic>
</multiplay>
<max-simtime-per-frame n="0" type="double">0.1</max-simtime-per-frame>
<menubar>
<default>
<menu n="100">
<label>LZ 121 Nordstern</label>
<!-- item>
<label>Select MP-copilot</label>
<binding>
<command>nasal</command>
<script>
dual_control_tools.
copilot_dialog.show(aircraft_dual_control.copilot_type);
</script>
</binding>
</item -->
<item>
<label>About</label>
<binding>
<command>nasal</command>
<script>Nordstern.about();</script>
</binding>
</item>
<!-- item>
<label>Select Livery</label>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</item -->
</menu>
</default>
</menubar>
</sim>
<instrumentation>
<inclinometer n="0">
<serviceable type="bool">1</serviceable>
</inclinometer>
<inclinometer n="1">
<serviceable type="bool">1</serviceable>
</inclinometer>
</instrumentation>
<controls>
<lighting>
<nav-lights type="bool">true</nav-lights> <!-- Should be MP enabled. -->
</lighting>
</controls>
<payload include="Systems/payload.xml"/>
<consumables include="Systems/consumables.xml"/>
<nasal>
<walkview>
<file>Aircraft/Generic/WalkView/walkview.nas</file>
</walkview>
<ZLTNT>
<file>Aircraft/Nordstern/Systems/Nordstern.nas</file>
<file>Aircraft/Nordstern/Systems/walk-views.nas</file>
<file>Aircraft/ZLT-NT/Systems/ground_handling.nas</file>
<file>Aircraft/ZLT-NT/Systems/mp-network.nas</file>
<script><![CDATA[
# Ground handling configuration.
MAX_WIRE_LENGTH = 200;
globals["Nordstern"] = globals["ZLTNT"];
]]>
</script>
</ZLTNT>
<limits>
<file>Aircraft/Generic/limits.nas</file>
</limits>
<!-- Instrument drivers. -->
<!-- Dual control. -->
<dual_control_tools>
<file>Aircraft/Generic/DualControl/dual-control-tools.nas</file>
</dual_control_tools>
<!-- aircraft_dual_control>
<file>Aircraft/ZLT-NT/Systems/ZLT-NT-dual-control.nas</file>
</aircraft_dual_control>
<dual_control>
<file>Aircraft/Generic/DualControl/pilot-dual-control.nas</file>
</dual_control -->
</nasal>
<input>
<keyboard>
<!-- Keyboard commands -->
<!-- Ballast commands ====================================== -->
<key n="87">
<name>W</name>
<desc>Perform on-ground weigh-off.</desc>
<binding>
<command>nasal</command>
<script>
if (!walkview.forward(5.0)) {
gui.popupTip("Weigh-off in progress.");
Nordstern.autoWeighoff();
}
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
walkview.forward(0);
</script>
</binding>
</mod-up>
</key>
<key n="119">
<name>w</name>
<desc>Show current on-ground weight.</desc>
<binding>
<command>nasal</command>
<script>
if (!walkview.forward(1.0)) {
Nordstern.printWOW();
}
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
walkview.forward(0);
</script>
</binding>
</mod-up>
</key>
<!-- Ballast commands ======================================= -->
<key n="101">
<name>e</name>
<desc>Shift 50 lb trim ballast forwards</desc>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
gui.popupTip("Shifting ballast forward.");
Nordstern.shiftTrimBallast(Nordstern.FORWARD, 50);
</script>
</binding>
</key>
<key n="100">
<name>d</name>
<desc>Shift 50 lb trim ballast aftwards</desc>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
if (!walkview.side_step(0.5)) {
gui.popupTip("Shifting ballast aftward.");
Nordstern.shiftTrimBallast(Nordstern.AFT, 50);
}
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
walkview.side_step(0);
</script>
</binding>
</mod-up>
</key>
<key n="69">
<name>E</name>
<desc>Drop one ballast fore</desc>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
gui.popupTip("Releasing ballast fore!");
Nordstern.releaseBallast(Nordstern.FORE_BALLAST, 1);
</script>
</binding>
</key>
<key n="68">
<name>D</name>
<desc>Drop one ballast aft</desc>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
if (!walkview.side_step(1.0)) {
gui.popupTip("Releasing ballast aft!");
Nordstern.releaseBallast(Nordstern.AFT_BALLAST, 1);
}
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
walkview.side_step(0);
</script>
</binding>
</mod-up>
</key>
<key n="23">
<name>Ctrl-W</name>
<desc>Refill quick release ballast bags</desc>
<binding>
<command>nasal</command>
<script>
Nordstern.refillQuickReleaseBallast(Nordstern.FORE_BALLAST);
Nordstern.refillQuickReleaseBallast(Nordstern.AFT_BALLAST);
</script>
</binding>
</key>
<!-- Gas cell commands ====================================== -->
<key n="70">
<name>F</name>
<desc>Open fore gas valves.</desc>
<binding>
<command>nasal</command>
<script>
gui.popupTip("Fore gas valves open!");
Nordstern.setForwardGasValves(1.00);
</script>
</binding>
</key>
<key n="102">
<name>f</name>
<desc>Close fore gas valves.</desc>
<binding>
<command>nasal</command>
<script>
gui.popupTip("Fore gas valves closed!");
Nordstern.setForwardGasValves(0.00);
</script>
</binding>
</key>
<key n="71">
<name>G</name>
<desc>Open aft gas valves.</desc>
<binding>
<command>nasal</command>
<script>
gui.popupTip("Aft gas valves open!");
Nordstern.setAftGasValves(1.00);
</script>
</binding>
</key>
<key n="103">
<name>g</name>
<desc>Close aft gas valves.</desc>
<binding>
<command>nasal</command>
<script>
gui.popupTip("Aft gas valves closed!");
Nordstern.setAftGasValves(0.00);
</script>
</binding>
</key>
<!-- Engine commands ======================================== -->
<key n="82">
<name>R</name>
<desc>Reverse direction of the selected engine(s).</desc>
<binding>
<command>nasal</command>
<script>
var sel =
props.globals.getNode("/sim/input/selected").getChildren("engine");
foreach(var node; sel) {
if (node.getValue()) {
Nordstern.switchEngineDirection(node.getIndex());
}
}
</script>
</binding>
</key>
<!-- Mooring commands ======================================= -->
<key n="85">
<name>U</name>
<desc>Attach mooring wire.</desc>
<binding>
<command>nasal</command>
<script>
Nordstern.mooring.attach_mooring_wire();
</script>
</binding>
</key>
<key n="89">
<name>Y</name>
<desc>Release mooring connection or wire.</desc>
<binding>
<command>nasal</command>
<script>
Nordstern.mooring.release_mooring();
</script>
</binding>
</key>
<key n="117">
<name>u</name>
<desc>Winch in mooring wire.</desc>
<binding>
<command>nasal</command>
<script>
var sp = getprop("/fdm/jsbsim/mooring/winch-speed-fps");
Nordstern.mooring.set_winch_speed(sp - 0.5);
</script>
</binding>
</key>
<key n="121">
<name>y</name>
<desc>Winch out mooring wire.</desc>
<binding>
<command>nasal</command>
<script>
var sp = getprop("/fdm/jsbsim/mooring/winch-speed-fps");
Nordstern.mooring.set_winch_speed(sp + 0.5);
</script>
</binding>
</key>
<!-- WalkView commands ======================================== -->
<key n="115">
<name>s</name>
<desc>Walk backwards.</desc>
<binding>
<command>nasal</command>
<script>
if (!walkview.forward(-1.0)) {
controls.startEngine(1);
}
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
walkview.forward(0);
controls.startEngine(0);
</script>
</binding>
</mod-up>
</key>
<key n="65">
<name>A</name>
<desc>Side step left</desc>
<binding>
<command>nasal</command>
<script>
if (!walkview.side_step(-1.0)) {
}
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
walkview.side_step(0);
</script>
</binding>
</mod-up>
</key>
<key n="97">
<name>a</name>
<desc>Side step left</desc>
<binding>
<command>nasal</command>
<script>
if (!walkview.side_step(-0.5)) {
}
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
walkview.side_step(0);
</script>
</binding>
</mod-up>
</key>
</keyboard>
</input>
<!--
Force the type and initial value of the aliased JSBSim control properties.
JSBSim does not write default values to properties that it finds already
exist even though they are of undefined type, as e.g. when created by
aliases. Setting the default values here allow them to be overriden from
the command line.
Currently the aircraft starts with most of the electrical system switched on.
-->
<fdm>
<jsbsim>
<crew>
<helmsman>
<heading-magnetic-cmd-deg type="double">0.0</heading-magnetic-cmd-deg>
</helmsman>
</crew>
</jsbsim>
</fdm>
<autopilot>
<settings>
<heading-bug-deg alias="/fdm/jsbsim/crew/helmsman/heading-magnetic-cmd-deg"/>
</settings>
</autopilot>
</PropertyList>