-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathH-21C-set.xml
executable file
·474 lines (436 loc) · 14.1 KB
/
H-21C-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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Original from Gerard Robin
revamp by Marc Kraus since Avril 2012 and Oliver Thurau 16.09.2012
-->
<!--
************************************************************************
************************************************************************
-->
<PropertyList>
<sim>
<description>Piasecki H-21C</description>
<author>Lake of Constance Hangar Tuning [Original from Gerard Robin]</author>
<status>0.3.5</status>
<version>0.3.5</version>
<flight-model>yasim</flight-model>
<aero>H-21C-yasim</aero>
<startup>
<splash-texture>Aircraft/H-21C-Shawnee/splash.png</splash-texture>
</startup>
<flight-recorder include="Systems/flight-recorder.xml"/>
<fuel-fraction>0.8</fuel-fraction>
<!-- Sound -->
<sound>
<path>Aircraft/H-21C-Shawnee/Sounds/H-21C-sound.xml</path>
</sound>
<!-- Model -->
<model>
<path archive="y">Aircraft/H-21C-Shawnee/Models/H21-piasecki.xml</path>
<h21>
<nav-lights type="bool">true</nav-lights>
<state type="int">0</state>
<rotor-step-deg type="float">0.0</rotor-step-deg>
</h21>
<livery>
<file type="string">Marine</file>
</livery>
<shadow-3d type="bool">1</shadow-3d>
</model>
<remote>
<pilot-callsign type="string"/>
</remote>
<!-- set rembrand rendering - development only
<rendering>
<rembrandt>
<enabled type="bool">true</enabled>
</rembrandt>
</rendering>
-->
<!-- Multiplay -->
<multiplay n="0">
<chat_display>1</chat_display>
<generic n="0">
<int n="0" type="int">0</int> <!-- Dual Control boolean light switches-->
<int n="2" alias="/controls/lighting/beacon-state/state"/> <!-- Nav light - white becon -->
<int n="3" alias="/controls/lighting/strobe-state/state"/> <!-- Nav light - red becon -->
<int n="4" alias="/controls/lighting/landing-lights"/> <!-- Landing light -->
<int n="5" alias="/controls/lighting/nav-lights"/> <!-- Nav light - top, bottom, left, right, back -->
<int n="6" alias="/controls/lighting/instrument-lights"/> <!-- Instrument light -->
<int n="7" alias="/sim/crashed"/> <!-- crash state used by SAR -->
<int n="8" alias="/controls/lighting/logo-lights"/> <!-- Search light -->
<int n="9" alias="/controls/shadow-and-fire"/> <!-- crash fire state - have to check? -->
<int n="10" alias="/sim/model/h21/state"/> <!-- engine state used by engine smoke startup particle system -->
<int n="11" alias="/sim/model/h21/turbine-rpm-pct"/> <!-- simulatedengine pct used by engine smoke startup particle system - should be float?-->
<int n="12" alias="/controls/electric/master-switch"/> <!-- Master switch - untill i figure out the electrical system -->
<float n="0" alias="/position/altitude-agl-ft"/> <!-- SAR operations -->
<float n="1" alias="/orientation/pitch-deg"/> <!-- shadow and rotor particles - needs update -->
<float n="2" alias="/orientation/roll-deg"/> <!-- shadow and rotor particles - needs update -->
<float n="3" alias="/instrumentation/doors/doorfront/position-norm"/> <!-- Right door - front -->
<float n="4" alias="/instrumentation/doors/doorback/position-norm"/> <!-- Left door - back -->
<float n="5" alias="/instrumentation/slip-skid-ball/indicated-slip-skid"/> <!-- for Copilot animation-->
<float n="6" alias="/instrumentation/turn-indicator/indicated-turn-rate"/> <!-- for Copilot animation-->
<float n="7" alias="/rotors/main/rpm"/> <!-- for Copilot animation - check if needed since it should be standard mp value-->
<float n="8" alias="/controls/crane/hook-pos"/> <!-- for Copilot animation-->
<float n="9" alias="/controls/flight/elevator-trim"/> <!-- for Copilot animation-->
<float n="10" alias="/controls/engines/engine/throttle"/> <!-- for Copilot animation-->
<float n="11" alias="/controls/lighting/panel-norm"/> <!-- for Copilot animation-->
<float n="12" alias="/gear/gear[0]/caster-angle-deg"/> <!-- Front Gear stearing -->
<float n="13" alias="/gear/gear[0]/rollspeed-ms"/> <!-- Front Gear wheel spin -->
<float n="14" alias="/gear/gear[1]/rollspeed-ms"/> <!-- Left Gear wheel spin -->
<float n="15" alias="/gear/gear[2]/rollspeed-ms"/> <!-- Right Gear wheel spin -->
<float n="16" alias="/rotors/main/torque"/> <!-- Main Rotor torque used by rotor particles -->
<float n="17" alias="/rotors/tail/torque"/> <!-- Tail Rotor torque used by rotor particles -->
<float n="19" alias="/position/gear-agl-m"/> <!-- shadow and rotor particles - shadow animation needs update -->
<string n="0" type="string"></string> <!-- Dual Control analog TDM-mpp1 -->
<string n="1" alias="/instrumentation/tacan/frequencies/selected-channel[4]"/> <!-- tacan-frequencies string -->
</generic>
</multiplay>
<!-- Views -->
<allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
<view n="0">
<internal archive="y">true</internal>
<enabled type="bool">true</enabled>
<config>
<x-offset-m archive="y">0.40</x-offset-m> <!--right-->
<y-offset-m archive="y">0.70</y-offset-m> <!--up-->
<z-offset-m archive="y">-6.60</z-offset-m><!--back-->
<pitch-offset-deg type="double">-9</pitch-offset-deg>
<default-field-of-view-deg type="double">73.0</default-field-of-view-deg>
</config>
</view>
<view n="1">
<enabled type="bool">true</enabled>
</view>
<view n="2">
<enabled type="bool">true</enabled>
</view>
<view n="6">
<enabled type="bool">true</enabled>
</view>
<view n="100">
<name>Walkview</name>
<internal>true</internal>
<enabled type="bool">true</enabled>
<type>lookfrom</type>
<config>
<from-model type="bool">true</from-model>
<from-model-idx type="int">true</from-model-idx>
<x-offset-m archive="y">0</x-offset-m> <!--right-->
<y-offset-m archive="y">0.68</y-offset-m> <!--up-->
<z-offset-m archive="y">-6.80</z-offset-m> <!--back-->
<pitch-offset-deg type="double"> -9 </pitch-offset-deg>
<default-field-of-view-deg type="double"> 73.0 </default-field-of-view-deg>
</config>
</view>
<!-- Payload Weights -->
<weight n="0">
<name>Pilots</name>
<weight-lb>300</weight-lb>
<max-lb>400</max-lb>
</weight>
<weight n="1">
<name>Troop</name>
<weight-lb>800</weight-lb>
<max-lb>1000</max-lb>
</weight>
<weight n="2">
<name>Troop</name>
<weight-lb>800</weight-lb>
<max-lb>1000</max-lb>
</weight>
<weight n="3">
<name>Troop</name>
<weight-lb>800</weight-lb>
<max-lb>1000</max-lb>
</weight>
<weight n="4">
<name>Troop</name>
<weight-lb>800</weight-lb>
<max-lb>1000</max-lb>
</weight>
<weight n="5">
<enabled>false</enabled>
<name>Load</name>
<weight-lb>0</weight-lb>
<max-lb>7700</max-lb>
</weight>
<!-- Menubar -->
<help>
<title>H-21C</title>
<key>
<name>}</name>
<desc>3 times magnetos</desc>
</key>
<key>
<name>s</name>
<desc>start engines</desc>
</key>
<key>
<name>{</name>
<desc>stop engines</desc>
</key>
<key>
<name>shift + n</name>
<desc>rotor brake after stop</desc>
</key>
<key>
<name>f</name>
<desc>rear cabin coor</desc>
</key>
<key>
<name>c</name>
<desc>front cabin door and crane</desc>
</key>
<key>
<name>shift + b</name>
<desc>toggle brake</desc>
</key>
<key>
<name>w|a|s|d</name>
<desc>Walkview</desc>
</key>
<key>
<name>F8</name>
<desc>Show laptimes</desc>
</key>
<text>
-START and STOP ROUTINE Procedures-
Startup engines :
Turn on the "Main" and the "Rotor Brake Off" switches.
Engage magnetos on 3 and turn on the "Start" switch.
Stop engines:
Use "Main" switch to stop engines. Look at the
RPM Instrument on the Panel for the result.
-Rotor Particles-
Rotor particles can be switched on / off in the H21 menu.
-Fake Shaddow-
Fake shaddow can be switched on / off in the H21 menu.
</text>
</help>
<!-- Menubar -->
<menubar>
<default>
<menu n="10">
<label>H-21C</label>
<enabled type="bool">true</enabled>
<item>
<label>Select Livery</label>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</item>
<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>Show/hide Rotor Particles</label>
<binding>
<command>nasal</command>
<script>
var p = "sim/model/rotor-partcles";
setprop(p, var i = !getprop(p));
gui.popupTip("Rotor Particles visible " ~ (i ? "Off" : "On"));
</script>
</binding>
</item>
<item>
<label>Show/hide Fake shaddow</label>
<binding>
<command>nasal</command>
<script>
var p = "sim/model/fake-shaddow";
setprop(p, var i = !getprop(p));
gui.popupTip("Fake shaddow visible " ~ (i ? "Off" : "On"));
</script>
</binding>
</item>
</menu>
</default>
</menubar>
</sim>
<!-- Instrumentation -->
<instrumentation>
<!-- Flightgear Rallye Watch -->
<frw>
<running type="bool">0</running>
<btn-mode type="bool">0</btn-mode>
<btn-reset type="bool">0</btn-reset>
<btn-start-stop type="bool">0</btn-start-stop>
<flight-time>
<start-time type="double">0</start-time>
<accu type="double">0</accu>
<total type="double">0</total>
<hours type="int">0</hours>
<minutes type="int">0</minutes>
<seconds type="int">0</seconds>
</flight-time>
</frw>
<radio-select>
<switch type="int">1</switch>
</radio-select>
<tacan>
<display>
<correction>0</correction>
</display>
</tacan>
<radar>
<name>radar</name>
<number>0</number>
<update-interval-sec>0</update-interval-sec>
<serviceable type="bool">true</serviceable>
<switch type="string" archive="y">on</switch>
<range type="double" archive="y">40</range>
<mode-control type="int" archive="y">2</mode-control>
<limit-deg type="double">180</limit-deg>
<mode type="string" archive="y">WX</mode>
<lightning type="bool" archive="y">true</lightning>
<display-mode type="string" archive="y">plan</display-mode>
<display-controls>
<WX type="bool" archive="y">false</WX>
<data type="bool" archive="y">true</data>
<pos type="bool" archive="y">true</pos>
</display-controls>
</radar>
</instrumentation>
<!-- Controls -->
<controls>
<flight>
<aileron-trim>-0.0</aileron-trim>
<rudder-trim>-0.0</rudder-trim>
<elevator-h21>0.0</elevator-h21>
</flight>
<engines>
<engine n="0">
<magnetos>0</magnetos>
<rotorgear>0</rotorgear>
<master-bat>false</master-bat>
<throttle>1</throttle>
</engine>
<engine n="1">
<throttle>1</throttle>
</engine>
</engines>
<gear>
<brake-parking type="double">1.0</brake-parking>
</gear>
<rotor>
<brake>1</brake>
</rotor>
<electric>
<master-switch>false</master-switch>
<battery-switch>false</battery-switch>
</electric>
<switches>
<start type="bool">0</start>
<master-avionics>false</master-avionics>
</switches>
<crane>
<hook-pos type="float">0.0</hook-pos>
</crane>
</controls>
<!-- Rotors -->
<rotors>
<main>
<torque>0</torque>
</main>
<tail>
<torque>0</torque>
</tail>
</rotors>
<!-- only for Copilot Multiplay -->
<consumables>
<fuel>
<tank n="0">
<mk-level-gal_us>120</mk-level-gal_us>
</tank>
<tank n="1">
<mk-level-gal_us>120</mk-level-gal_us>
</tank>
</fuel>
</consumables>
<!-- Autopilot -->
<autopilot>
<settings>
<target-altitude-ft type="int">0</target-altitude-ft>
<heading-bug-deg type="int">0</heading-bug-deg>
</settings>
<switches>
<ap type="bool">0</ap>
<hdg type="bool">0</hdg>
<alt type="bool">0</alt>
<nav type="bool">0</nav>
<dme type="bool">0</dme>
</switches>
</autopilot>
<!-- Keyboard -->
<input include="Systems/H21-keyboard.xml"/>
<!-- Landing Gear settings -->
<gear>
<gear n="0">
<tyre-smoke type="int">0</tyre-smoke>
<sprayspeed-ms type="double">0</sprayspeed-ms>
<spray-density type="double">0</spray-density>
<caster-angle-deg type="double">0</caster-angle-deg>
<caster-angle-deg-damped type="double">0</caster-angle-deg-damped>
</gear>
<gear n="1">
<tyre-smoke type="int">0</tyre-smoke>
<sprayspeed-ms type="double">0</sprayspeed-ms>
<spray-density type="double">0</spray-density>
</gear>
<gear n="2">
<tyre-smoke type="int">0</tyre-smoke>
<sprayspeed-ms type="double">0</sprayspeed-ms>
<spray-density type="double">0</spray-density>
</gear>
</gear>
<!-- NASAL -->
<nasal>
<electrical>
<file>Aircraft/H-21C-Shawnee/Nasal/electrical-and-fuel.nas</file>
</electrical>
<h21>
<file>Aircraft/H-21C-Shawnee/Nasal/h21.nas</file>
<file>Aircraft/H-21C-Shawnee/Nasal/liveries.nas</file>
<file>Aircraft/H-21C-Shawnee/Nasal/flight-control.nas</file>
<file>Aircraft/H-21C-Shawnee/Nasal/h21-hook.nas</file>
<file>Aircraft/H-21C-Shawnee/Nasal/mk-ci-tacan.nas</file>
<file>Aircraft/H-21C-Shawnee/Nasal/mk-ap-helper.nas</file>
<file>Aircraft/H-21C-Shawnee/Nasal/doors.nas</file>
<file>Aircraft/H-21C-Shawnee/Nasal/laptimes.nas</file>
</h21>
<tyresmoke>
<file>Aircraft/H-21C-Shawnee/Nasal/tyresmoke.nas</file>
</tyresmoke>
<frw>
<file>Aircraft/H-21C-Shawnee/Nasal/mk-frw.nas</file>
</frw>
<dual_control_tools>
<file>Aircraft/H-21C-Shawnee/Nasal/Gidenstam/dual-control-tools.nas</file>
</dual_control_tools>
<aircraft_dual_control>
<file>Aircraft/H-21C-Shawnee/Nasal/h21-dual-control.nas</file>
</aircraft_dual_control>
<dual_control>
<file>Aircraft/H-21C-Shawnee/Nasal/Gidenstam/pilot-dual-control.nas</file>
</dual_control>
<!-- Walk View -->
<walkview>
<file>Aircraft/H-21C-Shawnee/Nasal/Gidenstam/walkview.nas</file>
</walkview>
<WalkViews>
<file>Aircraft/H-21C-Shawnee/Nasal/h21-walkview.nas</file>
</WalkViews>
<sar_service>
<file>Aircraft/H-21C-Shawnee/SAR/sar.nas</file>
</sar_service>
</nasal>
</PropertyList>