-
Notifications
You must be signed in to change notification settings - Fork 0
/
ask21mi-set.xml
204 lines (204 loc) · 6.21 KB
/
ask21mi-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
<?xml version="1.0"?>
<!--
YASim Schleicher ASK 21 Glider
See AUTHORS.txt for credits
-->
<PropertyList include="ask21-main.xml">
<sim>
<description>Schleicher ASK 21 Mi Motorglider (YASim)</description>
<long-description>
The Alexander Schleicher ASK21 is a two-seater glider designed by Rudolf Kaiser (therefor AS*K*).
It is often used in flight training, either normal or aerobatic. For spinning, it can be equipped
with a tail ballast, this can be done in flightgear, by setting "Tail Ballast" in Fuel and Payload.
The K21, how it is also called sometimes, was first built in 1978. This version, the "Mi" is equipped with a 41kW-engine for independent takeoff and safe home return without thermals.
</long-description>
<status>production</status>
<!-- <variant-of>ask21</variant-of>-->
<rating>
<FDM type="int">4</FDM>
<systems type="int">4</systems>
<cockpit type="int">4</cockpit>
<model type="int">4</model>
</rating>
<systems>
<property-rule n="102">
<name>YASim Wingflex</name>
<path>Systems/yasim_wingflex.xml</path>
</property-rule>
<property-rule n="106">
<name>Engine</name>
<!--only included in the -mi, supports toggle between throttle to throttle and throttle to airbrake-->
<path>Systems/engine.xml</path>
</property-rule>
</systems>
<flight-model archive="y">yasim</flight-model>
<aero archive="y">ask21mi</aero>
<variant-of>ask21mi-jsb</variant-of>
<startup>
<splash-texture>Aircraft/ASK21/ask21-splash.png</splash-texture>
</startup>
<model>
<variant type="int">1</variant><!--For -mi variants, enables different fuselage and engine model-->
</model>
<previews>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>ask21mi-splash.png</path>
</preview>
</previews>
<multiplay>
<chat_display>1</chat_display>
<generic>
<int type="int" n="12" alias="/engines/engine[0]/running"> 0 </int>
<int type="int" n="13" alias="/engines/engine[0]/cranking"> 0 </int>
<float n="10" alias="/engines/engine/prop-pos-norm"/>
<!-- Motor-->
<float n="11" alias="/controls/engines/engine[0]/throttle"/>
<float n="12" alias="/engines/engine[0]/mp-osi"/>
</generic>
</multiplay>
<!-- Speedbreake step settings -->
<spoilers>
<setting>0.00</setting>
<setting>0.08</setting>
<setting>0.16</setting>
<setting>0.32</setting>
<setting>0.48</setting>
<setting>0.64</setting>
<setting>0.82</setting>
<setting>1.00</setting>
</spoilers>
<!-- Save some properties when the simulator is shut down -->
<aircraft-data>
<path>/controls/ask21/throttle-to-airbrake</path>
<path>/controls/ask21/mixture-to-airbrake</path>
<path>/controls/ask21/mixture-to-throttle</path>
<path>/instrumentation/ilec/hours</path>
</aircraft-data>
<sound>
<path>Aircraft/ASK21/Sounds/ask21mi-sound.xml</path>
</sound>
<help include="ask21mi-help.xml"/>
</sim>
<limits>
<mtow-lbs>1554.26</mtow-lbs>
</limits>
<controls>
<ask21>
<groundhandling-throttle type="double">0</groundhandling-throttle>
<throttle-to-airbrake type="bool">0</throttle-to-airbrake>
<mixture-to-airbrake type="bool">0</mixture-to-airbrake>
<mixture-to-throttle type="bool">0</mixture-to-throttle>
</ask21>
<electric>
<engine-battery-switch type="bool">0</engine-battery-switch>
<engine-battery-switch-pos type="float">0</engine-battery-switch-pos>
<generator-fail type="bool">0</generator-fail>
</electric>
<engines>
<engine n="0">
<mixture-int>0</mixture-int>
<boost type="double">0</boost>
<magnetos>0</magnetos>
<extend-propeller type="bool">0</extend-propeller>
<extend-propeller-pos type="float">0</extend-propeller-pos>
<throttle-int type="double">0</throttle-int>
</engine>
</engines>
</controls>
<engines>
<engine>
<prop-pos-norm type="float">0</prop-pos-norm>
<engine-rpm type="float">0</engine-rpm>
<engine-rpm-checked type="float">0</engine-rpm-checked>
</engine>
</engines>
<input>
<keyboard>
<key n="115">
<name>s</name>
<desc>Starter</desc>
<binding>
<condition>
<equals>
<property>sim/multiplay/generic/float[10]</property>
<value>1</value>
</equals>
<property>controls/electric/engine-battery-switch</property>
</condition>
<command>property-toggle</command>
<property>/controls/engines/engine/starter</property>
</binding>
<mod-up>
<binding>
<condition>
<equals>
<property>sim/multiplay/generic/float[10]</property>
<value>1</value>
</equals>
<property>controls/electric/engine-battery-switch</property>
</condition>
<command>property-toggle</command>
<property>/controls/engines/engine/starter</property>
</binding>
</mod-up>
</key>
<key n="5">
<name>Ctrl-e</name>
<desc>Engine Electric Master Switch</desc>
<binding>
<command>property-toggle</command>
<property>/controls/electric/engine-battery-switch</property>
</binding>
</key>
<key n="69">
<name>Shift-E</name>
<desc>Propeller Brake</desc>
<binding>
<command>property-cycle</command>
<property>/controls/engines/engine/propeller-brake</property>
<value>1</value>
<value>0</value>
</binding>
</key>
<key n="125">
<name>}</name>
<desc>Ignition Main Switch ON</desc>
<binding>
<command>property-assign</command>
<property>/controls/engines/engine/magnetos</property>
<value>3</value>
</binding>
</key>
<key n="123">
<name>{</name>
<desc>Ignition Main Switch ON</desc>
<binding>
<command>property-assign</command>
<property>/controls/engines/engine/magnetos</property>
<value>0</value>
</binding>
</key>
<key n="101">
<name>e</name>
<desc>Extend/Retract engine</desc>
<binding>
<command>property-toggle</command>
<property>/controls/engines/engine/extend-propeller</property>
</binding>
</key>
</keyboard>
</input>
<nasal>
<ask21>
<file>Aircraft/ASK21/Nasal/winch.nas</file>
</ask21>
<electrical>
<file>Aircraft/ASK21/Nasal/electrical-mi.nas</file>
</electrical>
<ilec>
<file>Aircraft/ASK21/Models/Interior/Panel/Instruments/ILEC/ILEC.nas</file>
</ilec>
</nasal>
</PropertyList>