-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMiG-21I-set.xml
262 lines (244 loc) · 12.7 KB
/
MiG-21I-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
<?xml version="1.0"?>
<PropertyList include="MiG-21-set-common.xml">
<sim include="Systems/views.xml">
<!-- Info -->
<description>Mikoyan-Gurevich MiG-21I/2</description>
<author>Petar Jedvaj, David Culp, Raptor, Stuart Cassie, Gary Brown, Brendan Black, bugman, Tomaskom, and pinto</author>
<long-description>The Mikoyan-Gurevich MiG-21I Analogue, also known as the A-144, was a prototype for the double-delta wings of the Tu-144, and was intended as a pilot trainer. Made by the Mikoyan-Gurevich Design Bureau, Soviet Union. This is the second prototype, the first having different LERX geometry.</long-description>
<rating>
<FDM type="int">3</FDM>
<systems type="int">2</systems>
<cockpit type="int">2</cockpit>
<model type="int">2</model>
</rating>
<flight-model>jsb</flight-model>
<aero>MiG-21I</aero>
<gui>
<style>
<colors>
<splash-font>
<red>1.0</red>
<green>1.00</green>
<blue>1.00</blue>
</splash-font>
<splash-screen>
<red>0.9</red>
<green>0.2</green>
<blue>0.15</blue>
</splash-screen>
</colors>
</style>
</gui>
<previews>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash2.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash3.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash4.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash5.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash6.png</path>
</preview>
</previews>
<startup>
<splash-title>МиГ-21БИС САУ (75Б)</splash-title>
<splash-texture>Aircraft/MiG-21bis/Splash.png</splash-texture>
<splash-texture>Aircraft/MiG-21bis/Splash2.png</splash-texture>
<splash-texture>Aircraft/MiG-21bis/Splash3.png</splash-texture>
<splash-texture>Aircraft/MiG-21bis/Splash4.png</splash-texture>
<splash-texture>Aircraft/MiG-21bis/Splash5.png</splash-texture>
<splash-texture>Aircraft/MiG-21bis/Splash6.png</splash-texture>
</startup>
<checklists include="Docs/checklists-bis.xml"/>
<!-- Models -->
<model>
<path>Aircraft/MiG-21bis/Models/MiG-21I.xml</path>
</model>
<menubar>
<default>
<menu n="100">
<label>MiG-21</label>
<enabled type="bool">true</enabled>
<item>
<label>Autostart/Shutdown</label>
<binding>
<command>nasal</command>
<script>mig21.autostart(1)</script>
</binding>
</item>
<item>
<label>Select Livery</label>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</item>
<item>
<label>Select Radio Config File</label>
<binding>
<command>nasal</command>
<script>mig21.get_radio_file_gui();</script>
</binding>
</item>
<item>
<label>VOR/ILS Radio</label>
<binding>
<command>nasal</command>
<script>dialog.nav_radio_dialog.open()</script>
</binding>
</item>
<item>
<label>Comm Radio</label>
<binding>
<command>nasal</command>
<script>dialog.comm_radio_dialog.open()</script>
</binding>
</item>
<item>
<label>ADF Radio</label>
<binding>
<command>nasal</command>
<script>dialog.adf_radio_dialog.open()</script>
</binding>
</item>
<item>
<label>Smokepod Color</label>
<binding>
<command>nasal</command>
<script>dialog.smokepod_dialog.open()</script>
</binding>
</item>
<item>
<label>Repack Chute</label>
<binding>
<command>property-assign</command>
<property>/controls/flight/chute_jettisoned</property>
<value>0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/fdm/jsbsim/systems/chute/deploy-rqst</property>
<value>0</value>
</binding>
</item>
<item>
<label>Fuel to full</label>
<binding>
<command>nasal</command>
<script>
if (getprop("/gear/gear/wow") == 1) {
setprop("/consumables/fuel/tank/level-norm", 1);
setprop("/consumables/fuel/tank[1]/level-norm", 1);
setprop("/consumables/fuel/tank[2]/level-norm", 1);
setprop("/consumables/fuel/tank[3]/level-norm", 1);
setprop("/consumables/fuel/tank[4]/level-norm", 1);
setprop("/consumables/fuel/tank[5]/level-norm", 1);
setprop("/consumables/fuel/tank[6]/level-norm", 1);
setprop("/consumables/fuel/tank[7]/level-norm", 1);
setprop("/consumables/fuel/tank[8]/level-norm", 1);
setprop("/consumables/fuel/tank[9]/level-norm", 1);
setprop("/consumables/fuel/tank[10]/level-norm", 1);
setprop("/consumables/fuel/tank[11]/level-norm", 1);
setprop("/consumables/fuel/tank[12]/level-norm", 1);
setprop("/consumables/fuel/tank[13]/level-norm", 1);
setprop("/consumables/fuel/tank[14]/level-norm", 1);
}
</script>
</binding>
</item>
<item>
<label>Toggle Damage</label>
<binding>
<command>nasal</command>
<script>
mig21.toggle_damage();
</script>
</binding>
</item>
<item>
<label>Tacview Record</label>
<binding>
<command>nasal</command>
<script>
if (tacview.starttime == 0) {
tacview.startwrite();
} else {
tacview.stopwrite();
}
</script>
</binding>
</item>
<item>
<label>Event Log</label>
<binding>
<command>dialog-show</command>
<dialog-name>flightlog</dialog-name>
</binding>
</item>
<item>
<label>Toggle Headshake</label>
<binding>
<command>property-toggle</command>
<property>/sim/enable-headshake</property>
</binding>
</item>
</menu>
</default>
</menubar>
</sim>
<!-- Nasal Scripts -->
<nasal>
<mig21> <file>Aircraft/MiG-21bis/Nasal/MiG21bis.nas</file> </mig21> <!-- odds and sods -->
<MiG-21bis> <file>Aircraft/MiG-21bis/Nasal/liveries.nas</file> </MiG-21bis> <!-- liveries -->
<mpdb> <file>Aircraft/MiG-21bis/Nasal/mp_db.nas</file> </mpdb>
<engine> <file>Aircraft/MiG-21bis/Nasal/engine.nas</file> </engine> <!-- liveries -->
<sounds> <file>Aircraft/MiG-21bis/Nasal/sounds.nas</file> </sounds> <!-- liveries -->
<lights> <file>Aircraft/MiG-21bis/Nasal/Lights.nas</file> </lights>
<payloads> <file>Aircraft/MiG-21bis/Nasal/mig21i-payloads.nas</file> </payloads> <!-- store handling -->
<gunsight_logic> <file>Aircraft/MiG-21bis/Nasal/gunsight-logic.nas</file> </gunsight_logic> <!-- gunsight logic -->
<gunsight_canvas> <file>Aircraft/MiG-21bis/Nasal/gunsight-canvas.nas</file> </gunsight_canvas> <!-- gunsight canvas -->
<Eject> <file>Aircraft/MiG-21bis/Nasal/eject.nas</file> </Eject> <!-- depreciated -->
<tyresmoke> <file>Aircraft/MiG-21bis/Nasal/tyresmoke.nas</file> </tyresmoke>
<blackout> <file>Aircraft/MiG-21bis/Nasal/blackout.nas</file> </blackout> <!-- legacy blackout code -->
<crashandstress> <file>Aircraft/MiG-21bis/Nasal/crash-and-stress.nas</file> </crashandstress> <!-- plane go boom when crash -->
<vector> <file>Aircraft/MiG-21bis/Nasal/vector.nas</file> </vector> <!-- vector math library -->
<formation> <file>Aircraft/Generic/formation.nas</file> </formation> <!-- dont support -->
<dialog> <file>Aircraft/MiG-21bis/Nasal/dialogs.nas</file> </dialog> <!-- dialogs -->
<radar_altimeter> <file>Aircraft/MiG-21bis/Nasal/radar-altimeter.nas</file> </radar_altimeter> <!-- r-alt pitch offsets -->
<radio> <file>Aircraft/MiG-21bis/Nasal/radios.nas</file> </radio> <!-- radio freq remapping -->
<gyro_compass> <file>Aircraft/MiG-21bis/Nasal/gyro-compass.nas</file> </gyro_compass> <!-- listener for gyrocompass display -->
<radio_canvas> <file>Aircraft/MiG-21bis/Nasal/radio_canvas.nas</file> </radio_canvas> <!-- canvas for the paper note on the gunsight -->
<headshake> <file>Aircraft/MiG-21bis/Nasal/headmove.nas</file> </headshake> <!-- shaking the head around -->
<canvas_window> <file>Aircraft/MiG-21bis/Nasal/canvas_windows.nas</file> </canvas_window>
<monitor> <file>Aircraft/MiG-21bis/Nasal/dialog-perf.nas</file>
<file>Aircraft/MiG-21bis/Nasal/performance.nas</file> </monitor>
<tacview> <file>Aircraft/MiG-21bis/Nasal/tacview.nas</file> </tacview>
</nasal>
<payload include="Systems/weaponset-analogue.xml">
<armament>
<msg type="bool">false</msg>
<damage type="bool">false</damage>
</armament>
</payload>
</PropertyList>