-
Notifications
You must be signed in to change notification settings - Fork 6
/
ask21-jsb-set.xml
187 lines (181 loc) · 5.06 KB
/
ask21-jsb-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
<?xml version="1.0"?>
<!--
YASim Schleicher ASK 21 Glider
See AUTHORS.txt for credits
-->
<PropertyList include="ask21-main.xml">
<sim>
<description>Schleicher ASK 21 Glider JSB</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.
</long-description>
<status>production</status>
<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>JSB Wingflex</name>
<path>Systems/jsb_wingflex.xml</path>
</property-rule>
<property-rule n="109">
<name>Properties for fuel and payload dialog</name>
<path>Systems/fuelpayload.xml</path>
</property-rule>
</systems>
<flight-model archive="y">jsb</flight-model>
<aero archive="y">ask21-jsb</aero>
<startup>
<splash-texture>Aircraft/ASK21/ask21-splash.png</splash-texture>
</startup>
<sound>
<path>Aircraft/ASK21/Sounds/ask21jsb-sound.xml</path>
</sound>
<model>
<variant type="int">0</variant>
</model>
<help include="ask21-help.xml"/>
<checklists include="ask21-checklists.xml"/>
<!-- hide the 2D panel -->
<panel>
<visibility archive="y">false</visibility>
</panel>
<tutorials include="Tutorials/ask21-tutorials.xml"/>
<hitches>
<aerotow>
<force_name_jsbsim type="string">aerotow_hitch</force_name_jsbsim>
<force-is-calculated-by-other type="bool">false</force-is-calculated-by-other>
<mp-auto-connect-period type="float">0.0</mp-auto-connect-period>
</aerotow>
</hitches>
<glider>
<winch>
<conf>
<rope_initial_length_m>1000.0</rope_initial_length_m>
<pull_max_lbs>1102.0</pull_max_lbs> <!-- 500daN -->
</conf>
</winch>
<towing>
<conf>
<rope_length_m>60.0</rope_length_m>
<nominal_towforce_lbs>500.0</nominal_towforce_lbs>
<breaking_towforce_lbs>9999.0</breaking_towforce_lbs>
</conf>
<hooked>0</hooked>
</towing>
<ac-designator type="string">ASK21</ac-designator>
<dragger>
<model type="string">DR400</model>
</dragger>
</glider>
</sim>
<payload>
<weight n="0">
<name>Pilot</name>
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]" />
<min-lb type="double">0</min-lb>
<max-lb type="double">243</max-lb>
</weight>
<weight n="1">
<name>Copilot</name>
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]" />
<min-lb type="double">0</min-lb>
<max-lb type="double">243</max-lb>
</weight>
<weight n="2">
<name>Spin Ballast</name>
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]" />
<min-lb type="double">0</min-lb>
<max-lb type="double">26.45</max-lb>
</weight>
</payload>
<input>
<keyboard>
<key n="15">
<name>Ctrl-o</name>
<desc>Find aircraft for aerotow</desc>
<binding>
<command>nasal</command>
<script>towing.findBestAIObject()</script>
</binding>
</key>
<key n="111">
<name>o</name>
<desc>Lock aerotow-hook</desc>
<binding>
<command>nasal</command>
<script>towing.closeHitch()</script>
</binding>
</key>
<key n="23">
<name>Ctrl-w</name>
<desc>Place Winch and hook in</desc>
<binding>
<command>nasal</command>
<script>ask21.placeWinch();
ask21.startWinch();</script>
</binding>
</key>
<key n="87">
<name>W</name>
<desc>Increase winch speed</desc>
<binding>
<command>nasal</command>
<script>ask21.winch_faster()</script>
</binding>
</key>
<key n="119">
<name>w</name>
<desc>Decrease winch speed</desc>
<binding>
<command>nasal</command>
<script>ask21.winch_slower()</script>
</binding>
</key>
<key n="111">
<name>o</name>
<desc>Open hook</desc>
<binding>
<command>property-assign</command>
<property>/sim/hitches/hook-open</property>
<value type="bool">true</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/hitches/aerotow/open</property>
<value type="bool">true</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/hitches/winch/open</property>
<value type="bool">true</value>
</binding>
<binding>
<command>nasal</command>
<script>towing.releaseHitch("aerotow")</script>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/sim/hitches/hook-open</property>
<value type="bool">false</value>
</binding>
</mod-up>
</key>
</keyboard>
</input>
<nasal>
<electrical>
<file>Aircraft/ASK21/Nasal/electrical.nas</file>
</electrical>
<dialogs>
<file>gui/dialogs/fuelpayload.nas</file>
</dialogs>
<dragrobot>
<file>Aircraft/ASK21/Nasal/dragrobot.nas</file>
</dragrobot>
</nasal>
</PropertyList>