Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / tu154b-set.xml
1 <?xml version="1.0"?>
2 <!--
3 ############################################################################
4 #    Copyright                                                             #
5 #                                                                          #
6 #    (C) 2007-2009, 2013 by Yurik V. Nikiforoff - port for FGFS, FDM,      #
7 #       instruments, animations, systems and over.                         #
8 #       yurik.nsk@gmail.com                                                #
9 ############################################################################-->
10
11 <PropertyList>
12
13  <sim>
14          <description>Tupolev Tu-154b airliner</description>
15          <author>Yurik V. Nikiforoff aka Yurik_nsk</author>
16
17          
18          <status>advanced production</status>
19          <rating>
20           <FDM type="int">5</FDM>
21           <systems type="int">5</systems>
22           <cockpit type="int">5</cockpit>
23           <model type="int">5</model>
24         </rating>
25         
26          <help>
27            <title>Tu-154B-2</title>
28            <key>
29             <name>s</name>
30             <desc>Autostart</desc>
31            </key>
32            <key>
33             <name>d/D/Ctrl+D</name>
34             <desc>AP On/Autothrottle On/AP-AT Off </desc>
35            </key>
36            <key>
37             <name>N/n/Ctrl+N/*</name>
38             <desc>Set nominal/0.85/0.7/0.0 thrust</desc>
39            </key>
40            <key>
41             <name>j/k</name>
42             <desc>Spoilers control</desc>
43            </key>
44            <key>
45             <name>F2</name>
46             <desc>Thrust reverser On</desc>
47            </key>
48            <key>
49             <name>Delete</name>
50             <desc>Center aileron, elevator, and rudder</desc>
51            </key>
52          </help>
53
54 <menubar>
55   <default>
56     <menu n="10">
57       <label>Tu-154B-2</label>
58       <enabled type="bool">true</enabled>
59       <item>
60         <label>Select Livery</label>
61         <binding>
62         <command>nasal</command>
63         <script>aircraft.livery.dialog.toggle()</script>
64         </binding>
65       </item>
66       <item>
67               <label>Route manager</label>
68               <binding>
69                       <command>dialog-show</command>
70                       <dialog-name>route-manager</dialog-name>
71               </binding>
72       </item>
73
74       <item>
75               <label>NVU Calculator</label>
76               <binding>
77                       <command>dialog-show</command>
78                       <dialog-name>nav</dialog-name>
79               </binding>
80       </item>
81       
82       <item>
83               <label>Pushback</label>
84               <name>pushback</name>
85               <binding>
86               <command>dialog-show</command>
87               <dialog-name>pushback</dialog-name>
88               </binding>
89       </item>
90       
91     </menu>    
92   </default>
93 </menubar>
94
95
96
97 <gui>
98   <style>
99     <colors>
100       <splash-font>
101         <red>0.25</red>
102         <green>0.28</green>
103         <blue>0.31</blue>
104       </splash-font>
105       <splash-screen>
106         <red>1.0</red>
107         <green>1.0</green>
108         <blue>1.0</blue>
109       </splash-screen>
110     </colors>
111   </style>
112 </gui>
113
114 <model>
115  <path>Aircraft/tu154b/Model/tu154b-model.xml</path>
116  <livery>
117   <file type="string">85363-AFL</file>
118  </livery>
119  
120  <pushback>
121   <kp type="double">100</kp>
122   <ki type="double">25</ki>
123   <kd type="double">0</kd>
124   <position-norm type="double">0</position-norm>
125  </pushback>
126 </model>
127
128 <flight-model>jsb</flight-model>
129 <aero>tu154b</aero>
130 <startup>
131     <splash-texture>Aircraft/tu154b/tu154.png</splash-texture>
132 </startup>
133
134 <sound>
135   <path>Aircraft/tu154b/Sound/sound.xml</path>
136 </sound>
137
138   <checklists include="tu154b-checklists.xml"/>
139   
140   <flaps>
141           <setting>0.0</setting>
142           <setting>0.3333</setting>
143           <setting>0.62</setting>
144           <setting>1.0</setting>
145   </flaps>
146   
147   
148   <virtual-cockpit >true</virtual-cockpit>
149   <allow-toggle-cockpit >true</allow-toggle-cockpit>
150   <chase-distance-m type="double" >-110.0</chase-distance-m>
151   
152   <view>
153     <name>Captain View</name>
154    <internal >true</internal>
155    <config>
156      <x-offset-m >-0.55</x-offset-m>
157      <y-offset-m >2.16</y-offset-m>
158      <z-offset-m >-21.75</z-offset-m>
159      <pitch-offset-deg type="double">-10.0</pitch-offset-deg>
160    </config>
161   </view>
162   <!--Custom views-->
163   <view n="101">
164     <name>Copilot View</name>
165     <!--<enabled type="bool">true</enabled>-->
166     <type>lookfrom</type>
167     <internal type="bool">true</internal>
168     <config>
169       <from-model type="bool">true</from-model>
170       <x-offset-m type="double" >0.55</x-offset-m>
171       <y-offset-m type="double" >2.18</y-offset-m>
172       <z-offset-m type="double" >-21.75</z-offset-m>
173       <pitch-offset-deg type="double">-12.0</pitch-offset-deg>
174       <from-model-idx type="int">0</from-model-idx>
175       <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
176       <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
177       <default-pitch-deg type="double">0</default-pitch-deg>
178       <default-heading-deg type="double">0</default-heading-deg>
179       <front-direction-deg type="double">0</front-direction-deg>
180       <front-left-direction-deg type="double">45</front-left-direction-deg>
181       <left-direction-deg type="double">90</left-direction-deg>
182       <back-left-direction-deg type="double">135</back-left-direction-deg>
183       <back-direction-deg type="double">180</back-direction-deg>
184       <back-right-direction-deg type="double">225</back-right-direction-deg>
185       <right-direction-deg type="double">270</right-direction-deg>
186       <front-right-direction-deg type="double">315</front-right-direction-deg>
187       <dynamic-view type="bool">true</dynamic-view>
188     </config>
189   </view>
190   <view n="102">
191     <name>Navigator View</name>
192     <!--<enabled type="bool" >true</enabled>-->
193     <type>lookfrom</type>
194     <internal type="bool">true</internal>
195     <config>
196       <from-model type="bool">true</from-model>
197       <x-offset-m type="double" >0.0</x-offset-m>
198       <y-offset-m type="double" >2.25</y-offset-m>
199       <z-offset-m type="double" >-21.75</z-offset-m>
200       <pitch-offset-deg type="double">-60.0</pitch-offset-deg>
201       <from-model-idx type="int">0</from-model-idx>
202       <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
203       <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
204       <default-pitch-deg type="double">0</default-pitch-deg>
205       <default-heading-deg type="double">0</default-heading-deg>
206       <front-direction-deg type="double">0</front-direction-deg>
207       <front-left-direction-deg type="double">45</front-left-direction-deg>
208       <left-direction-deg type="double">90</left-direction-deg>
209       <back-left-direction-deg type="double">135</back-left-direction-deg>
210       <back-direction-deg type="double">180</back-direction-deg>
211       <back-right-direction-deg type="double">225</back-right-direction-deg>
212       <right-direction-deg type="double">270</right-direction-deg>
213       <front-right-direction-deg type="double">315</front-right-direction-deg>
214       <dynamic-view type="bool">true</dynamic-view>
215     </config>
216   </view>
217   <view n="103">
218     <name>Overhead View</name>
219     <!--<enabled type="bool">true</enabled>-->
220     <type>lookfrom</type>
221     <internal type="bool">true</internal>
222     <config>
223       <from-model type="bool">true</from-model>
224       <x-offset-m type="double" >0.0</x-offset-m>
225       <y-offset-m type="double" >1.5</y-offset-m>
226       <z-offset-m type="double" >-21.75</z-offset-m>
227       <pitch-offset-deg type="double">70.0</pitch-offset-deg>
228       <from-model-idx type="int">0</from-model-idx>
229       <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
230       <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
231       <default-pitch-deg type="double">0</default-pitch-deg>
232       <default-heading-deg type="double">0</default-heading-deg>
233       <front-direction-deg type="double">0</front-direction-deg>
234       <front-left-direction-deg type="double">45</front-left-direction-deg>
235       <left-direction-deg type="double">90</left-direction-deg>
236       <back-left-direction-deg type="double">135</back-left-direction-deg>
237       <back-direction-deg type="double">180</back-direction-deg>
238       <back-right-direction-deg type="double">225</back-right-direction-deg>
239       <right-direction-deg type="double">270</right-direction-deg>
240       <front-right-direction-deg type="double">315</front-right-direction-deg>
241       <dynamic-view type="bool">true</dynamic-view>
242     </config>
243   </view>
244   <view n="104">
245     <name>Flight Engineer View</name>
246     <!--<enabled type="bool" >true</enabled>-->
247     <type>lookfrom</type>
248     <internal type="bool">true</internal>
249     <config>
250       <from-model type="bool">true</from-model>
251       <x-offset-m type="double" >-0.1</x-offset-m>
252       <y-offset-m type="double" >2.25</y-offset-m>
253       <z-offset-m type="double" >-20.5</z-offset-m>
254       <heading-offset-deg type="double">-90.0</heading-offset-deg>
255       <pitch-offset-deg type="double">-10.0</pitch-offset-deg>
256       <from-model-idx type="int">0</from-model-idx>
257       <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
258       <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
259       <default-pitch-deg type="double">0</default-pitch-deg>
260       <default-heading-deg type="double">0</default-heading-deg>
261       <front-direction-deg type="double">0</front-direction-deg>
262       <front-left-direction-deg type="double">45</front-left-direction-deg>
263       <left-direction-deg type="double">90</left-direction-deg>
264       <back-left-direction-deg type="double">135</back-left-direction-deg>
265       <back-direction-deg type="double">180</back-direction-deg>
266       <back-right-direction-deg type="double">225</back-right-direction-deg>
267       <right-direction-deg type="double">270</right-direction-deg>
268       <front-right-direction-deg type="double">315</front-right-direction-deg>
269       <dynamic-view type="bool">true</dynamic-view>
270     </config>
271   </view>
272   
273   <view n="105">
274     <name>Passenger View</name>
275     <!--<enabled type="bool" >true</enabled>-->
276     <type>lookfrom</type>
277     <internal type="bool">false</internal>
278     <config>
279       <from-model type="bool">true</from-model>
280       <x-offset-m type="double" >2.01</x-offset-m>
281       <y-offset-m type="double" >2.01</y-offset-m>
282       <z-offset-m type="double" >4.51</z-offset-m>
283       <heading-offset-deg type="double">307.0</heading-offset-deg>
284       <pitch-offset-deg type="double">-18.2</pitch-offset-deg>
285       <from-model-idx type="int">0</from-model-idx>
286       <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
287       <default-field-of-view-deg type="double">76.7</default-field-of-view-deg>
288       <default-pitch-deg type="double">0</default-pitch-deg>
289       <default-heading-deg type="double">0</default-heading-deg>
290       <front-direction-deg type="double">0</front-direction-deg>
291       <front-left-direction-deg type="double">45</front-left-direction-deg>
292       <left-direction-deg type="double">90</left-direction-deg>
293       <back-left-direction-deg type="double">135</back-left-direction-deg>
294       <back-direction-deg type="double">180</back-direction-deg>
295       <back-right-direction-deg type="double">225</back-right-direction-deg>
296       <right-direction-deg type="double">270</right-direction-deg>
297       <front-right-direction-deg type="double">315</front-right-direction-deg>
298       <dynamic-view type="bool">true</dynamic-view>
299     </config>
300   </view>
301   
302   
303   <instrumentation>
304     <path>Aircraft/tu154b/Systems/instrumentation-config.xml</path>
305   </instrumentation>
306   <realism>
307           <false-radio-courses-enabled type="bool">false</false-radio-courses-enabled>
308   </realism>
309   
310   <multiplay>
311             <generic>
312                 <int n="0" alias="/tu154/light/nav/blue"/>
313                 <int n="1" alias="/tu154/light/nav/green"/>
314                 <int n="2" alias="/tu154/light/nav/red"/>
315                 <int n="3" alias="/gear/gear[0]/tyre-smoke"/>
316                 <int n="4" alias="/gear/gear[1]/tyre-smoke"/>
317                 <int n="5" alias="/gear/gear[2]/tyre-smoke"/>
318                 <int n="6" alias="/tu154/light/strobe/strobe_1"/>
319                 <int n="7" alias="/tu154/light/strobe/strobe_2"/>
320                 <int n="8" alias="/tu154/contrail/smoke1"/>
321                 <int n="9" alias="/tu154/contrail/smoke2"/>
322                 <int n="10" alias="/tu154/contrail/smoke3"/>
323                 <int n="11" alias="/tu154/contrail/contrail1"/>
324                 <int n="12" alias="/tu154/contrail/contrail2"/>
325                 <int n="13" alias="/tu154/contrail/contrail3"/>
326                 <int n="14" alias="/tu154/contrail/condensation"/>
327             </generic>
328   </multiplay>
329
330   <systems>
331     <property-rule>
332       <path>Aircraft/tu154b/Systems/property-rules.xml</path>
333     </property-rule>
334   </systems>
335
336   <airport>
337     <runways>
338       <start-offset-m type="double">10</start-offset-m>
339     </runways>
340   </airport>
341
342 </sim>
343
344  <payload>
345   <weight>
346    <name type="string">Front passenger cabin (Rows 1-15)</name>
347    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
348    <min-lb type="double">0.0</min-lb>
349    <max-lb type="double">13750.0</max-lb>
350   </weight>
351   <weight>
352    <name type="string">Middle passenger cabin (Rows 16-25)</name>
353    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
354    <min-lb type="double">0.0</min-lb>
355    <max-lb type="double">10000.0</max-lb>
356   </weight>
357   <weight>
358    <name type="string">Rear passenger cabin (Rows 26-33)</name>
359    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[3]"/>
360    <min-lb type="double">0.0</min-lb>
361    <max-lb type="double">7580.0</max-lb>
362   </weight>
363   <weight>
364    <name type="string">Front luggage (compartment 1)</name>
365    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[4]"/>
366    <min-lb type="double">0.0</min-lb>
367    <max-lb type="double">4890.0</max-lb>
368   </weight>
369   <weight>
370    <name type="string">Front luggage (compartment 2)</name>
371    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[5]"/>
372    <min-lb type="double">0.0</min-lb>
373    <max-lb type="double">3700.0</max-lb>
374   </weight>
375   <weight>
376    <name type="string">Front luggage (compartment 3)</name>
377    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[6]"/>
378    <min-lb type="double">0.0</min-lb>
379    <max-lb type="double">9910.0</max-lb>
380   </weight>
381   <weight>
382    <name type="string">Front luggage (compartment 4)</name>
383    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[7]"/>
384    <min-lb type="double">0.0</min-lb>
385    <max-lb type="double">9910.0</max-lb>
386   </weight>
387   <weight>
388    <name type="string">Rear luggage (compartment 1)</name>
389    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[8]"/>
390    <min-lb type="double">0.0</min-lb>
391    <max-lb type="double">11500.0</max-lb>
392   </weight>
393   <weight>
394    <name type="string">Rear luggage (compartment 2)</name>
395    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[9]"/>
396    <min-lb type="double">0.0</min-lb>
397    <max-lb type="double">3700.0</max-lb>
398   </weight>
399   <weight>
400    <name type="string">Rear luggage (compartment 3)</name>
401    <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[10]"/>
402    <min-lb type="double">0.0</min-lb>
403    <max-lb type="double">7660.0</max-lb>
404   </weight>
405  </payload>
406
407  <gear>
408     <gear n="0">
409       <tyre-smoke type="int">0</tyre-smoke>
410       <sprayspeed-ms type="double">0</sprayspeed-ms>
411       <spray-density type="double">0</spray-density>
412       <zsink-in type="double">25</zsink-in>
413     </gear>
414     <gear n="1">
415       <tyre-smoke type="int">0</tyre-smoke>
416       <sprayspeed-ms type="double">0</sprayspeed-ms>
417       <spray-density type="double">0</spray-density>
418       <zsink-in type="double">25</zsink-in>
419     </gear>
420     <gear n="2">
421       <tyre-smoke type="int">0</tyre-smoke>
422       <sprayspeed-ms type="double">0</sprayspeed-ms>
423       <spray-density type="double">0</spray-density>
424       <zsink-in type="double">25</zsink-in>
425     </gear>
426     <gear n="3">
427       <zsink-in type="double">25</zsink-in>
428     </gear>
429     <gear n="4">
430       <zsink-in type="double">25</zsink-in>
431     </gear>
432     <gear n="5">
433       <zsink-in type="double">25</zsink-in>
434     </gear>
435     <gear n="6">
436       <zsink-in type="double">25</zsink-in>
437     </gear>
438  </gear>
439
440 <consumables>
441  <fuel>
442   <tank n="0"><name>Feed tank (1)</name></tank>
443   <tank n="1"><name>Left wing inner tank (2 LEFT)</name></tank>
444   <tank n="2"><name>Left wing outer tank (3 LEFT)</name></tank>
445   <tank n="3"><name>Right wing inner tank (2 RIGHT)</name></tank>
446   <tank n="4"><name>Right wing outer tank (3 RIGHT)</name></tank>
447   <tank n="5"><name>Ballast tank (4)</name></tank>
448  </fuel>
449 </consumables>
450
451 <instrumentation>
452   <adf n="0">
453     <!--Set instrumental error in deg here if you want-->
454     <error-deg type="double" >0.0</error-deg>
455     <mode type="string" >adf</mode>
456     <volume-norm type="double" >0.2</volume-norm>
457     <serviceable type="bool">false</serviceable>
458   </adf>
459   <adf n="1">
460     <error-deg type="double" >0.0</error-deg>
461     <mode type="string" >adf</mode>
462     <volume-norm type="double" >0.2</volume-norm>
463     <serviceable type="bool">false</serviceable>
464   </adf>
465   <altimeter n="0">
466     <serviceable type="bool" >true</serviceable>
467   </altimeter>
468   <altimeter n="1">
469     <serviceable type="bool" >true</serviceable>
470   </altimeter>
471   <nav n="0">
472     <volume type="double" >0.2</volume>
473   </nav>
474   <nav n="1">
475           <volume type="double" >0.2</volume>
476   </nav>  
477   <nav n="2">
478    <frequencies>
479     <selected-mhz type="double">108.0</selected-mhz>
480     <standby-mhz type="double">111.70</standby-mhz>
481    </frequencies>
482    <radials>
483     <selected-deg type="double">0.0</selected-deg>
484    </radials>
485    <serviceable>true</serviceable>
486    <cdi>
487     <serviceable>true</serviceable>
488    </cdi>
489    <gs>
490     <serviceable>true</serviceable>
491    </gs>
492    <to-from>
493     <serviceable>true</serviceable>
494    </to-from>
495    <slaved-to-gps type="bool">false</slaved-to-gps>
496    <powered type="bool" >false</powered>
497    <volume type="double" >0.2</volume>
498   </nav>
499
500   <dme n="0">
501     <serviceable type="bool">false</serviceable>
502     <frequencies>
503       <selected-mhz type="double">115.8</selected-mhz>
504       <source>/instrumentation/dme[0]/frequencies/selected-mhz</source>
505     </frequencies>
506   </dme>
507   <dme n="1">
508     <serviceable type="bool">false</serviceable>
509     <frequencies>
510       <selected-mhz type="double">116.8</selected-mhz>
511       <source>/instrumentation/dme[1]/frequencies/selected-mhz</source>
512     </frequencies>
513   </dme>
514   <dme n="2">
515     <serviceable type="bool">false</serviceable>
516     <frequencies>
517       <source>/instrumentation/nav[2]/frequencies/selected-mhz</source>
518     </frequencies>
519   </dme>
520
521   <marker-beacon>
522     <serviceable type="bool" >false</serviceable>
523     <power-btn type="bool" >false</power-btn>
524     <audio-btn type="bool" >false</audio-btn>
525     <volume type="double" >0.0</volume>
526   </marker-beacon>
527
528   <turn-indicator>
529     <serviceable type="bool">false</serviceable>
530   </turn-indicator>
531 </instrumentation>
532
533 <controls>
534     <gear>
535         <steering>63.0</steering>
536         <nose-wheel-steering type="bool">false</nose-wheel-steering>
537     </gear>
538 </controls>
539
540 <!-- Nasal files/scripts -->
541 <nasal>
542         <instruments>
543           <file>Aircraft/tu154b/Nasal/instruments.nas</file>
544         </instruments>
545         <mapcase>
546           <file>Aircraft/tu154b/Nasal/mapcase.nas</file>
547         </mapcase>
548         <electrical>
549           <file>Aircraft/tu154b/Nasal/electrical.nas</file>
550         </electrical>
551         <engines>
552           <file>Aircraft/tu154b/Nasal/engines.nas</file>
553         </engines>
554         <fuel>
555           <file>Aircraft/tu154b/Nasal/fuel.nas</file>
556         </fuel>        
557         <warning>
558           <file>Aircraft/tu154b/Nasal/warn.nas</file>
559         </warning>
560         <absu>
561           <file>Aircraft/tu154b/Nasal/absu.nas</file>
562         </absu>
563         <view>
564           <file>Aircraft/tu154b/Nasal/view.nas</file>
565         </view>
566         <controls>
567           <file>Aircraft/tu154b/Nasal/controls.nas</file>
568         </controls>
569         <hydrosystems>
570           <file>Aircraft/tu154b/Nasal/hydrosystems.nas</file>
571         </hydrosystems>
572         <liveries>
573           <file>Aircraft/tu154b/Nasal/liveries.nas</file>
574         </liveries>
575         <tyresmoke>
576           <file>Aircraft/tu154b/Nasal/tyresmoke.nas</file>
577          </tyresmoke>
578         <friction>
579           <file>Aircraft/tu154b/Nasal/friction.nas</file>
580         </friction>
581         <!--
582       <debug>
583   <file>Aircraft/tu154b/Nasal/debug.nas</file>
584         </debug>-->
585
586         <help>
587           <file>Aircraft/tu154b/Nasal/help.nas</file>
588         </help>
589         <contrail>
590           <file>Aircraft/tu154b/Nasal/contrail.nas</file>
591         </contrail>
592 </nasal>
593
594 <fdm>
595   <jsbsim>
596     <instrumentation>
597       <pu11-latitude>55.0</pu11-latitude>
598       <tks-consumers>0</tks-consumers>
599       <tks-latitude-auto>0</tks-latitude-auto>
600       <pnp-left-selector>0</pnp-left-selector>
601       <bgmk-offset-1>50</bgmk-offset-1>
602       <bgmk-offset-2>250</bgmk-offset-2>
603       <indicated-altitude-m>0</indicated-altitude-m>
604
605       <nvu>
606         <stopped type="int">1</stopped>
607
608         <Spm-active type="double">0</Spm-active>
609         <Zpm-active type="double">0</Zpm-active>
610       </nvu>
611
612     </instrumentation>
613     <ap>
614 <!--      <gs-gain>8.0</gs-gain>-->
615       <gs-lock>0.0</gs-lock>
616       <!--<gs-gain-pos>1.0</gs-gain-pos>-->
617       <!--<yaw-gain>8.0</yaw-gain>-->
618 <!--      <vor-p-gain>0.2</vor-p-gain>
619       <vor-d-gain>5.0</vor-d-gain>-->
620 <!--     <input-pitch-rad>0.15</input-pitch-rad>
621
622      <input-altitude>3000</input-altitude>
623      <input-heading-pnp>90</input-heading-pnp>
624      <roll-hold>1</roll-hold>
625      <roll-selector>1</roll-selector>
626      <pitch-selector>0</pitch-selector>-->
627     </ap>
628     <gear>
629       <gear-cmd-static type="double">1.0</gear-cmd-static>
630     </gear>
631     <fcs>
632       <stabilizer-cmd-norm>0.0</stabilizer-cmd-norm>      
633       <stab-manu-cmd>0.0</stab-manu-cmd>
634       <stab-auto-cmd>1.0</stab-auto-cmd>
635       
636       <revers-by-joy type="double">0.0</revers-by-joy>
637       <revers-1-limit type="double">0.1</revers-1-limit>
638       <revers-2-limit type="double">0.05</revers-2-limit><!-- Set here value about 0.03-0.06  if you want reverser control by joystick. Set revers-by-joy to 1 -->
639       
640     </fcs>
641 <!--    <metrics>
642         <stabilizer-factor>-0.48</stabilizer-factor>
643     </metrics>-->
644     <hs>
645       <max-pressure>210.0</max-pressure>
646       <ra56-pitch-1>0.0</ra56-pitch-1>
647       <ra56-pitch-2>0.0</ra56-pitch-2>
648       <ra56-pitch-3>0.0</ra56-pitch-3>
649       <ra56-roll-1>0.0</ra56-roll-1>
650       <ra56-roll-2>0.0</ra56-roll-2>
651       <ra56-roll-3>0.0</ra56-roll-3>
652       <ra56-yaw-1>0.0</ra56-yaw-1>
653       <ra56-yaw-2>0.0</ra56-yaw-2>
654       <ra56-yaw-3>0.0</ra56-yaw-3>
655
656     </hs>
657
658   </jsbsim>
659 </fdm>
660
661 <input>
662   <keyboard>
663     
664 <!--It developer code. It should be commented for release-->
665 <!--    
666 <key n="357">
667       <name>up</name>
668       <binding n="0">
669         <command>property-adjust</command>
670         <property>/tu154/z</property>
671         <step>0.001</step>
672       </binding>
673     </key>
674     <key n="359">
675       <name>down</name>
676       <binding n="0">
677         <command>property-adjust</command>
678         <property>/tu154/z</property>
679         <step>-0.001</step>
680       </binding>
681     </key>
682     
683     <key n="356">
684       <name>left</name>
685       <binding n="0">
686         <command>property-adjust</command>
687         <property>/tu154/y</property>
688         <step>-0.001</step>
689       </binding>
690     </key>
691     <key n="358">
692       <name>right</name>
693       <binding n="0">
694         <command>property-adjust</command>
695         <property>/tu154/y</property>
696         <step>0.001</step>
697       </binding>
698     </key>
699     
700     <key n="360">
701       <name>fwd</name>
702       <binding n="0">
703         <command>property-adjust</command>
704         <property>/tu154/x</property>
705         <step>-0.001</step>
706       </binding>
707     </key>
708     <key n="361">
709       <name>backwd</name>
710       <binding n="0">
711         <command>property-adjust</command>
712         <property>/tu154/x</property>
713         <step>0.001</step>
714       </binding>
715     </key>-->    
716
717 <!--End developer keys biding-->
718     
719     <key n="115">
720             <name>s</name>
721             <desc>Auto Startup</desc>
722             <binding>
723                     <command>nasal</command>
724                     <script>controls.autostart()</script>
725             </binding>
726             <mod-up>
727                     <binding>
728                             <command>nasal</command>
729                             <script>print("Autostart")</script>
730                     </binding>              
731             </mod-up>
732     </key>
733
734     <key n="100">
735       <name>d</name>
736       <desc>Autopilot on</desc>
737       <binding>
738         <command>nasal</command>
739         <script>
740           setprop("tu154/switches/pu-46-kren", 1.0);
741           setprop("tu154/switches/pu-46-tang", 1.0);
742           absu.absu_stab_on();
743         </script>
744       </binding>
745     </key>
746     
747     <key n="68">
748       <name>D</name>
749       <desc>Autothrottle on</desc>
750       <binding>
751         <command>nasal</command>
752         <script>
753           absu.absu_at_start();
754         </script>
755       </binding>
756     </key>
757
758     <key n="4">
759       <name>ctrl+D</name>
760       <desc>All AP off</desc>
761       <binding>
762         <command>nasal</command>
763         <script>
764           absu.absu_stab_off();
765           absu.absu_at_stop();
766         </script>
767       </binding>
768     </key>
769
770 <!-- Nominal -->
771     <key n="78">
772       <name>N</name>
773       <desc>Nominal thrust</desc>
774       <binding>
775         <command>property-assign</command>
776         <property>/controls/engines/engine[0]/throttle</property>
777         <value>0.93</value>
778       </binding>
779       <binding>
780         <command>property-assign</command>
781         <property>/controls/engines/engine[1]/throttle</property>
782         <value>0.93</value>
783       </binding>
784       <binding>
785         <command>property-assign</command>
786         <property>/controls/engines/engine[2]/throttle</property>
787         <value>0.93</value>
788       </binding>
789     </key>
790
791     <key n="110">
792       <name>n</name>
793       <desc>0.85 nominal thrust</desc>
794       <binding>
795         <command>property-assign</command>
796         <property>/controls/engines/engine[0]/throttle</property>
797         <value>0.90</value>
798       </binding>
799       <binding>
800         <command>property-assign</command>
801         <property>/controls/engines/engine[1]/throttle</property>
802         <value>0.90</value>
803       </binding>
804       <binding>
805         <command>property-assign</command>
806         <property>/controls/engines/engine[2]/throttle</property>
807         <value>0.90</value>
808       </binding>
809     </key>
810
811     <key n="14">
812       <name>Ctrl+N</name>
813       <desc>0.7 nominal thrust</desc>
814       <binding>
815         <command>property-assign</command>
816         <property>/controls/engines/engine[0]/throttle</property>
817         <value>0.87</value>
818       </binding>
819       <binding>
820         <command>property-assign</command>
821         <property>/controls/engines/engine[1]/throttle</property>
822         <value>0.87</value>
823       </binding>
824       <binding>
825         <command>property-assign</command>
826         <property>/controls/engines/engine[2]/throttle</property>
827         <value>0.87</value>
828       </binding>
829     </key>
830     
831     
832     <key n="42">
833       <name>*</name>
834       <desc>small thrust</desc>
835       <binding>
836         <command>property-assign</command>
837         <property>/controls/engines/engine[0]/throttle</property>
838         <value>0.0</value>
839       </binding>
840       <binding>
841         <command>property-assign</command>
842         <property>/controls/engines/engine[1]/throttle</property>
843         <value>0.0</value>
844       </binding>
845       <binding>
846         <command>property-assign</command>
847         <property>/controls/engines/engine[2]/throttle</property>
848         <value>0.0</value>
849       </binding>
850     </key>
851
852
853
854 <!--View shortcuts-->
855     <key n="96">
856       <name>~</name>
857       <desc>Custom view modifier</desc>
858       <binding>
859         <command>nasal</command>
860         <script>view.modView(1)</script>
861       </binding>
862       <mod-up>
863         <binding>
864           <command>nasal</command>
865           <script>view.modView(0)</script>
866         </binding>
867       </mod-up>
868     </key>
869
870     <key n="49">
871       <name>1</name>
872       <desc>Captain view</desc>
873       <binding>
874         <command>nasal</command>
875         <script>view.forceView(0);</script>
876       </binding>
877     </key>
878     <key n="50">
879       <name>2</name>
880       <desc>Copilot view</desc>
881       <binding>
882         <command>nasal</command>
883         <script>view.forceView(1);</script>
884       </binding>
885     </key>
886     <key n="51">
887       <name>3</name>
888       <desc>Navigator view</desc>
889       <binding>
890         <command>nasal</command>
891         <script>view.forceView(2);</script>
892       </binding>
893     </key>
894     <key n="52">
895       <name>4</name>
896       <desc>Overhead view</desc>
897       <binding>
898         <command>nasal</command>
899         <script>view.forceView(3);</script>
900       </binding>
901     </key>
902     <key n="53">
903       <name>5</name>
904       <desc>Flight Engineer view</desc>
905       <binding>
906         <command>nasal</command>
907         <script>view.forceView(4);</script>
908       </binding>
909     </key>
910      <key n="54">
911       <name>6</name>
912       <desc>Passenger View</desc>
913       <binding>
914         <command>nasal</command>
915         <script>view.forceView(5);</script>
916       </binding>
917     </key>
918     <key n="127">
919       <name>Delete</name>
920       <desc>Center aileron, elevator, and rudder</desc>
921       <binding>
922         <command>nasal</command>
923         <script>controls.centerFlightControls()</script>
924       </binding>
925     </key>
926     
927 <!-- Reverser -->
928  <key n="258">
929   <name>F2</name>
930   <desc>Full Reverser</desc>
931   <repeatable>true</repeatable>
932   <!--Start reverser-->
933   <binding>
934     <command>nasal</command>
935     <script>setprop("/fdm/jsbsim/fcs/revers-by-key",1.0);</script>
936   </binding>
937   <!--Stop reverser-->  
938   <mod-up>
939     <binding>
940       <command>nasal</command>
941       <script>setprop("/fdm/jsbsim/fcs/revers-by-key",0.0);</script>
942     </binding>
943   </mod-up>
944   
945   
946   <mod-shift>
947    <desc>Save flight.</desc>
948    <binding>
949     <command>save</command>
950     <write-all>false</write-all>
951    </binding>
952   </mod-shift>
953  </key>
954     
955   </keyboard>           
956 </input>
957 <tu154>
958
959 <!--  <x>-20.944</x>
960
961   <y>0.817</y>
962
963   <z>2.419</z>-->
964   <test>0.0</test>
965   <on_yoke>0.0</on_yoke>
966   <ena-adj>0.0</ena-adj>
967   <cp-gauge-scale-10>1.1</cp-gauge-scale-10><!--10%increase size-->
968   <cp-gauge-scale-20>1.2</cp-gauge-scale-20><!--20%increase size-->
969   <gear>
970     <offset type="double" >0.15</offset>
971     <gain type="double" >0.3048</gain>
972   </gear>
973   <light>
974     <instruments>
975       <int-red-def type="double" >0.2</int-red-def>
976       <int-green-def type="double" >0.2</int-green-def>
977       <int-blue-def type="double" >0.1</int-blue-def>
978     </instruments>
979     <cabin>
980       <red type="double" >0.3</red>
981       <green type="double" >0.3</green>
982       <blue type="double" >0.3</blue>
983     </cabin>
984     <panel>
985       <ext-red-def type="double" >0.0</ext-red-def>
986       <ext-green-def type="double" >0.0</ext-green-def>
987       <ext-blue-def type="double" >0.0</ext-blue-def>
988       <amb-red-def type="double" >0.0</amb-red-def>
989       <amb-green-def type="double" >0.0</amb-green-def>
990       <amb-blue-def type="double" >0.0</amb-blue-def>      
991     </panel>
992     <!--<window-alpha type="double" >0.3</window-alpha>      -->
993   </light>
994   
995   <textures>
996     <capt-panel>vc01_t.png</capt-panel>
997     <copilot-panel>vc02_t.png</copilot-panel>
998     <overhead-panel>vc06_t.png</overhead-panel>
999     <fe-panel>vc08_t.png</fe-panel>
1000   </textures>
1001   
1002   <instrumentation>
1003     <distance-to-pnp type="bool">true</distance-to-pnp>
1004     <altimeters-sync-inhg type="bool">true</altimeters-sync-inhg>
1005     <altimeter n="0">
1006       <inhgX100 type="int">2992</inhgX100>
1007     </altimeter>
1008     <altimeter n="1">
1009       <inhgX100 type="int">2992</inhgX100>
1010     </altimeter>
1011     <ark-15 n="0">
1012       <powered type="bool">false</powered>
1013     </ark-15>
1014     <ark-15 n="1">
1015       <powered type="bool" >false</powered>
1016     </ark-15>
1017     <dme>
1018       <distance type="double">0</distance>
1019     </dme>
1020     <dme>
1021       <distance type="double">0</distance>
1022     </dme>
1023     <dme>
1024       <distance type="double">0</distance>
1025     </dme>
1026     <pn-5>
1027       <heading-state type="double" >0.0</heading-state>
1028       <pitch-state type="double" >0.0</pitch-state>
1029     </pn-5>
1030     <pn-6>
1031       <serviceable type="bool" >true</serviceable>
1032       <at-kt type="double" >0.0</at-kt>
1033       <stab type="double" >false</stab>
1034       <mode type="double" >0.0</mode>
1035     </pn-6>
1036     <rv-5m n="0">
1037       <altitude type="double">0.0</altitude>
1038       <dialed type="double">200.0</dialed>
1039     </rv-5m>
1040     <rv-5m n="1">
1041       <altitude type="double">0.0</altitude>
1042       <dialed type="double">0.0</dialed>
1043     </rv-5m>
1044     <idr-1>
1045       <distance type="double">0</distance>
1046     </idr-1>
1047     <idr-1>
1048       <distance type="double">0</distance>
1049     </idr-1>
1050     <uap-12>
1051       <warn type="bool" >false</warn>
1052       <accelerate-max type="double" >-2.0</accelerate-max>
1053       <accelerate-min type="double" >0.8</accelerate-min>
1054       <alpha-limit-deg type="double" >11.5</alpha-limit-deg>
1055     </uap-12>   
1056     <pnp>
1057       <plane-dialed>252.0</plane-dialed>
1058       <distance type="double">0</distance>
1059 <!--      <heading-deg>161.0</heading-deg>
1060       <heading-deg-delayed>161.0</heading-deg-delayed>-->
1061     </pnp>
1062     <pnp>
1063       <plane-dialed>252.0</plane-dialed>
1064       <distance type="double">0</distance>
1065 <!--      <heading-deg>161.0</heading-deg>
1066       <heading-deg-delayed>161.0</heading-deg-delayed>-->
1067     </pnp>
1068     <pu-46>
1069       <stab type="double" >0.0</stab>
1070     </pu-46>
1071     <iku-1>
1072       <heading-1 type="double">270</heading-1>
1073       <heading-2 type="double">270</heading-2>
1074       <mode-1 type="int">0</mode-1>
1075       <mode-2 type="int">0</mode-2>
1076       <trans-1 type="double">0</trans-1>
1077       <trans-2 type="double">0</trans-2>
1078     </iku-1>
1079     <iku-1>
1080       <heading-1 type="double">270</heading-1>
1081       <heading-2 type="double">270</heading-2>
1082       <mode-1 type="int">0</mode-1>
1083       <mode-2 type="int">0</mode-2>
1084       <trans-1 type="double">0</trans-1>
1085       <trans-2 type="double">0</trans-2>
1086     </iku-1>
1087   <diss>
1088     <powered type="bool" >false</powered>
1089     <drift-angle-deg type="double" >0.0</drift-angle-deg>
1090   </diss>
1091   <bkk>
1092     <serviceable type="bool" >true</serviceable>
1093     <mgv-1-failure type="bool" >true</mgv-1-failure>
1094     <mgv-2-failure type="bool" >true</mgv-2-failure>
1095     <mgv-contr-failure type="bool" >true</mgv-contr-failure>
1096     <delta-deg type="double" >1.0</delta-deg>
1097     <!--<roll-limit type="double" >15.0</roll-limit>-->
1098   </bkk>   
1099   <v-57>
1100     <speed-adjust-step type="double">0.25</speed-adjust-step>
1101     <azimuth-adjust-step type="double">0.25</azimuth-adjust-step>
1102   </v-57>
1103   <rsbn>
1104     <handle-1 type="double" >0.0</handle-1>
1105     <handle-2 type="double" >0.0</handle-2>
1106     <mode type="bool" >false</mode>
1107     <serviceable type="bool" >false</serviceable>
1108     <distance type="double" >0</distance>
1109     <radial type="double" >0</radial>
1110     <twist type="double" >0</twist>
1111   </rsbn>
1112     <b-8m>
1113       <outer type="int">0</outer>
1114       <inner type="int">0</inner>
1115     </b-8m>
1116   
1117   <uap-12>
1118     <accelerate-max type="double" >-1.0</accelerate-max>
1119     <accelerate-min type="double" >-1.0</accelerate-min>
1120   </uap-12>
1121
1122     <v-140>
1123       <adjust-step-1 type="double">0.1</adjust-step-1>
1124       <adjust-step-2 type="double">0.1</adjust-step-2>
1125     </v-140>
1126     <v-51>
1127       <adjust-speed type="int">1000</adjust-speed>
1128       <scale type="int">1</scale>
1129     </v-51>
1130
1131   </instrumentation>
1132   
1133   
1134   <systems>
1135     <APU>
1136       <!--<rpm type="double" >0.0</rpm>-->
1137       <APU-damper type="double" >0.0</APU-damper>
1138       <APU-bleed type="double" >0.0</APU-bleed>
1139       <APU-ready type="double" >0.0</APU-ready>
1140     </APU>
1141     <electrical>
1142       <checking-lamps>
1143         <lamps-power type="double" >0.3</lamps-power>
1144         <main-panel type="double" >0.0</main-panel>
1145       </checking-lamps>
1146       <indicators>
1147         <fuel-2500>0.0</fuel-2500>
1148         <signal-danger>0.0</signal-danger>
1149         <alpha>0.0</alpha>
1150         <signal-radio>0.0</signal-radio>
1151         <acceleration>0.0</acceleration>
1152         <speed-limit>0.0</speed-limit>
1153         <wrong-trim>0.0</wrong-trim>
1154         <bank>0.0</bank>
1155         <pitch>0.0</pitch>
1156         <wrong-approach-h>0.0</wrong-approach-h>
1157         <wrong-approach-v>0.0</wrong-approach-v>
1158       </indicators>
1159     </electrical>
1160     <absu>
1161       <serviceable type="bool" >1</serviceable>
1162       <!--Hydro system state-->
1163       <pitch_ok type="bool" >1</pitch_ok>
1164       <roll_ok type="bool" >1</roll_ok>
1165       <yaw_ok type="bool" >1</yaw_ok>
1166     </absu>
1167     <mgv>
1168       <one type="double" >0.0</one>
1169       <two type="double" >0.0</two>
1170       <contr type="double" >0.0</contr>
1171       <agr type="double" >6.0</agr>
1172     </mgv>
1173     <tks>
1174       <ga3-1 type="double" >6.0</ga3-1>
1175       <ga3-2 type="double" >6.0</ga3-2>
1176     </tks>
1177     <nvu>
1178       <powered type="double">0</powered>
1179       <leg type="int">0</leg>
1180       <leg-next type="int">1</leg-next>
1181       <wind-speed type="double">0</wind-speed>
1182       <wind-azimuth type="double">0</wind-azimuth>
1183       <S-1-smooth type="double">0</S-1-smooth>
1184       <Z-1-smooth type="double">0</Z-1-smooth>
1185       <Spm-1-smooth type="double">0</Spm-1-smooth>
1186       <Zpm-1-smooth type="double">0</Zpm-1-smooth>
1187       <S-2-smooth type="double">0</S-2-smooth>
1188       <Z-2-smooth type="double">0</Z-2-smooth>
1189       <Spm-2-smooth type="double">0</Spm-2-smooth>
1190       <Zpm-2-smooth type="double">0</Zpm-2-smooth>
1191       <wind-fork type="double">0</wind-fork>
1192     </nvu>
1193     <warning>
1194       <deploy-flaps type="double" >0.0</deploy-flaps>
1195       <alarm>
1196         <absu_warn type="double" >0.0</absu_warn>
1197       </alarm>
1198     </warning>
1199   </systems>
1200   <switches>
1201     <adf-1-selector type="double" >0.0</adf-1-selector>
1202     <adf-2-selector type="double" >0.0</adf-2-selector>
1203     <pu-46-kren type="double" >0.0</pu-46-kren>
1204     <pu-46-tang type="double" >0.0</pu-46-tang> 
1205     <pn-5-strelki type="double" >0.0</pn-5-strelki>
1206     <pn-5-navigac type="double" >0.0</pn-5-navigac>
1207     <pn-5-posadk type="double" >0.0</pn-5-posadk>
1208     <pn-5-pnp-selector type="double" >0.0</pn-5-pnp-selector>
1209     <pu-11-consumers type="double" >1.0</pu-11-consumers>
1210     <pu-11-gpk type="double" >0.0</pu-11-gpk>
1211     <pu-11-corr type="double" >0.0</pu-11-corr>
1212     <pn-6-cover-1 type="double" >0.0</pn-6-cover-1>
1213     <pn-6-cover-2 type="double" >0.0</pn-6-cover-2>
1214     <pu-46-cover-1 type="double" >0.0</pu-46-cover-1>
1215     <pu-46-cover-2 type="double" >0.0</pu-46-cover-2>
1216     <usvp-selector type="double" >0.0</usvp-selector>
1217     <v-51-selector-1 type="double" >0</v-51-selector-1>
1218     <v-51-selector-2 type="double" >0</v-51-selector-2>
1219     <stab-manu-selector type="double" >1.0</stab-manu-selector>
1220     <stab-auto-handle type="double" >1.0</stab-auto-handle>
1221     <busters-cover type="double" >1.0</busters-cover>
1222     <startpanel-cover type="double" >0.0</startpanel-cover>
1223     <startpanel-cold type="double" >0.0</startpanel-cold>
1224     <RSBN-power type="double" >0.0</RSBN-power>
1225     <RSBN-opozn type="double" >0.0</RSBN-opozn>
1226     <APU-bleed type="double" >1.0</APU-bleed>
1227   </switches>
1228   <mod-views>
1229     <mod-view>
1230       <x-offset-m >-0.55</x-offset-m>
1231       <y-offset-m >2.3</y-offset-m>
1232       <z-offset-m >-21.75</z-offset-m>
1233       <field-of-view >27.0</field-of-view>
1234       <heading-offset-deg type="double">0.0</heading-offset-deg>
1235       <pitch-offset-deg type="double">-32.5</pitch-offset-deg>
1236       <roll-offset-deg type="double">0.0</roll-offset-deg>
1237     </mod-view>
1238     <mod-view>
1239       <x-offset-m >0.47</x-offset-m>
1240       <y-offset-m >2.25</y-offset-m>
1241       <z-offset-m >-21.75</z-offset-m>
1242       <field-of-view >31.0</field-of-view>
1243       <heading-offset-deg type="double">0.0</heading-offset-deg>
1244       <pitch-offset-deg type="double">-30.0</pitch-offset-deg>
1245       <roll-offset-deg type="double">0.0</roll-offset-deg>
1246     </mod-view>
1247     <mod-view>
1248       <x-offset-m >0.0</x-offset-m>
1249       <y-offset-m >2.1</y-offset-m>
1250       <z-offset-m >-21.75</z-offset-m>
1251       <field-of-view >40.0</field-of-view>
1252       <heading-offset-deg type="double">0.0</heading-offset-deg>
1253       <pitch-offset-deg type="double">-21.0</pitch-offset-deg>
1254       <roll-offset-deg type="double">0.0</roll-offset-deg>
1255     </mod-view>
1256     <mod-view>
1257       <x-offset-m >0.1</x-offset-m>
1258       <y-offset-m >2.0</y-offset-m>
1259       <z-offset-m >-21.75</z-offset-m>
1260       <field-of-view >50.0</field-of-view>
1261       <heading-offset-deg type="double">350.0</heading-offset-deg>
1262       <pitch-offset-deg type="double">55.0</pitch-offset-deg>
1263       <roll-offset-deg type="double">10.0</roll-offset-deg>
1264     </mod-view>
1265     <mod-view>
1266       <x-offset-m >-0.1</x-offset-m>
1267       <y-offset-m >2.25</y-offset-m>
1268       <z-offset-m >-20.9</z-offset-m>
1269       <field-of-view >47.0</field-of-view>
1270       <heading-offset-deg type="double">270.0</heading-offset-deg>
1271       <pitch-offset-deg type="double">-16.0</pitch-offset-deg>
1272       <roll-offset-deg type="double">0.0</roll-offset-deg>
1273     </mod-view>    
1274   </mod-views>
1275 </tu154>
1276 </PropertyList>