Patrice POLY: remove interior reflection, fix sound problem for XP users (?)
[fg:toms-fgdata.git] / Aircraft / rallye-MS893 / rallye-MS893-set.xml
1 <?xml version="1.0"?>
2 <!--
3 an attempt to model the Socata Rallye MS-893E
4
5 Sounds are from the Xplane Rallye by Beber, as well as some texture bits ( wheels )
6 Most of the instruments are borrowed to the Instruments-3d collection
7 and most of the configuration files are modified from other aircrafts of various authors
8 -->
9
10 <PropertyList>
11  <sim>
12
13         <description>Socata Rallye MS893E</description>
14         <author>Patrice Poly "WooT" ( 3D, FDM ) Beber ( Sounds )</author>
15
16         <flight-model>yasim</flight-model>
17         <aero>rallye-MS893</aero>
18         <fuel-fraction>0.8</fuel-fraction>
19
20         <startup>
21                 <splash-texture>Aircraft/rallye-MS893/splash.png</splash-texture>
22                 <splash-title>Socata Rallye MS-893E</splash-title>
23                                 </startup>
24
25         <systems>
26          <electrical>
27                  <path>Aircraft/rallye-MS893/generic-electrical.xml</path>
28          </electrical>
29         </systems>
30         
31         <instrumentation>
32                 <path>Aircraft/rallye-MS893/generic-instrumentation.xml</path>
33         </instrumentation>
34
35         <sound>
36                 <path>Aircraft/rallye-MS893/Sounds/rallye-MS893-sound.xml</path>
37         </sound>
38
39         <panel>
40          <visibility archive="n">false</visibility>
41         </panel>
42
43         <model>
44          <path archive="y">Aircraft/rallye-MS893/Models/rallye-MS893.xml</path>
45         </model>
46
47 <!--  
48                         <view>
49         
50                 
51          <internal archive="y">true</internal>
52          <config>
53                  <x-offset-m type="double">-0.253</x-offset-m> 
54                  <y-offset-m type="double">0.6750</y-offset-m> 
55                  <z-offset-m type="double">-0.072</z-offset-m>
56                  <pitch-offset-deg>-7.23</pitch-offset-deg>
57                  <default-field-of-view-deg>55.0</default-field-of-view-deg>
58          </config>
59          
60 </view>
61 -->
62
63 <view n="0">
64         <name>Default</name>
65         <type>lookfrom</type>
66         <internal type="bool">true</internal>
67         <config>
68                 <x-offset-m type="double">-0.253</x-offset-m> <!--right -->
69                 <y-offset-m type="double">0.6750</y-offset-m>  <!--up -->
70                          <z-offset-m type="double">-0.072</z-offset-m>  <!--back -->            <pitch-offset-deg>-7.23</pitch-offset-deg>
71                  <default-field-of-view-deg>55.0</default-field-of-view-deg>
72                 <limits>
73                         <enabled type="bool">true</enabled>
74                         <left>
75                                 <heading-max-deg type="double">140</heading-max-deg>
76                                 <x-offset-max-m type="double">0.10</x-offset-max-m>
77                                 <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
78                         </left>
79                         <right>
80                                 <heading-max-deg type="double">160</heading-max-deg>
81                                 <x-offset-max-m type="double">0.15</x-offset-max-m>
82                                 <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
83                         </right>
84                 </limits>
85         </config>
86                                 </view>
87         
88         <view n="1">
89                 <name>Cockpit</name>
90                 <type>lookfrom</type>
91         
92
93                 <internal type="bool">true</internal>
94                 <config>
95                         <from-model type="bool">true</from-model>
96                         <from-model-idx type="int">0</from-model-idx>
97                         <x-offset-m type="double">-0.253</x-offset-m> <!--right -->
98                         <y-offset-m type="double">0.6750</y-offset-m>  <!--up -->
99                         <z-offset-m type="double">-0.072</z-offset-m>  <!--back -->
100
101                         <pitch-offset-deg>-7.23</pitch-offset-deg>
102                         <default-field-of-view-deg>90.0</default-field-of-view-deg>
103                         <limits>
104                                 <enabled type="bool">true</enabled>
105                                 <left>
106                                         <heading-max-deg type="double">140</heading-max-deg>
107                                         <x-offset-max-m type="double">0.10</x-offset-max-m>
108                                         <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
109                                 </left>
110                                 <right>
111                                         <heading-max-deg type="double">160</heading-max-deg>
112                                         <x-offset-max-m type="double">0.15</x-offset-max-m>
113                                         <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
114                                 </right>
115                         </limits>
116                 </config>
117                                 </view>
118
119
120
121         <help>
122                 <title>Socata Rallye MS-893E</title>
123                 <line>Cruise speed: 113 kt ( 209 km/h )</line>
124                 <line>Never-exceed (Vne): 156 kt ( 290 km/h )</line>
125                 <line>Best Glide (Vglide): </line>
126                 <line>Maneuvering (Va): 113 kt ( 210 km/h )</line>
127                 <line>Approach speed: 65 kt ( 120 km/h )</line>
128                 <line>Stall speed (Vs): 50 kt ( 92 km/h )</line>
129                 <line></line>
130                 <line>For aerotow:</line>
131                 <line>Place the Rallye within 60m to a glider</line>
132                 <line>You can press o to lock your hook</line>
133                 <line>You can press O to open your hook</line>
134                 <line>The glider pilot has to press Ctrl-o</line>
135                 <key>
136                         <name>o</name>
137                         <desc>Lock aerotow-hook</desc>
138                 </key>
139                 <key>
140                         <name>O</name>
141                         <desc>Open aerotow-hook</desc>
142                 </key>
143                 <key>
144                   <name>d</name>
145                   <desc>Aileron Trim Left</desc>
146                 </key>
147                 <key>
148                   <name>f</name>
149                   <desc>Aileron Trim Right</desc>
150                 </key>
151                 <key>
152                         <name>D</name>
153                         <desc>Open/close door</desc>
154                 </key>
155         </help>
156
157         <hitches>
158          <!-- make sure some properties do exist, when the list for multiplayer transfere is defined-->
159          <!-- they need to be in the same value, as they are initilized in the FDM, to get the same values after reset
160                 should fix this somehow-->
161          <aerotow>
162                 <tow>
163                  <length type="float">60</length>
164                  <elastic-constant type="float">10000</elastic-constant>
165                  <weight-per-m-kg-m type="float">1</weight-per-m-kg-m>
166                  <dist type="float">1</dist>
167                  <connected-to-property-node type="bool"></connected-to-property-node>
168                  <brake-force type="float">100000</brake-force>
169                  <connected-to-ai-or-mp-callsign type ="string">*</connected-to-ai-or-mp-callsign>
170                  <end-force-x type ="float">0</end-force-x>
171                  <end-force-y type ="float">0</end-force-y>
172                  <end-force-z type ="float">0</end-force-z>
173                 </tow>
174                 <speed-in-tow-direction type="float">0</speed-in-tow-direction>
175                 <open type="bool">true</open>
176                 <local-pos-x type="float">0</local-pos-x>
177                 <local-pos-y type="float">0</local-pos-y>
178                 <local-pos-z type="float">0</local-pos-z>
179                 <is-slave type="bool">false</is-slave>
180          </aerotow>
181         </hitches>
182         
183         <flaps>
184                 <setting>0.00</setting> <!-- UP -->
185                 <!--  <setting>0.25</setting> -->
186                 <setting>0.50</setting> 
187                 <!-- <setting>0.75</setting> -->
188                 <setting>1.0</setting>
189                                 </flaps>
190         <weight n="0">
191                                                 <name>Crew</name>
192                                                 <weight-lb>165</weight-lb> 
193                                                 <max-lb>400</max-lb>
194                                                 <min-lb>180</min-lb>
195         </weight>
196
197         <weight n="1">
198                                                 <name>Pax/Baggage</name>
199                                                 <weight-lb>0</weight-lb>
200                                                 <max-lb>661</max-lb>
201                                                 <min-lb>0</min-lb>
202          </weight>
203          
204  </sim>
205
206
207  <controls>
208         <flight>
209          <aileron-trim>0.0025</aileron-trim>   <!-- fixed -->
210          <elevator-trim>0.00</elevator-trim> <!-- controllable -->
211          <rudder-trim>0.075</rudder-trim>     <!-- fixed -->
212         </flight>
213         <gear>
214                 <brake-parking>1.0</brake-parking>
215         </gear>
216         <engines>
217          <engine n="0">
218                 <magnetos>3</magnetos>
219          </engine>
220         </engines>
221         <door>0.0</door>
222         <aerotow>
223          <find-aircraft type="bool">false</find-aircraft>
224         </aerotow>
225  </controls>
226
227  <engines>
228         <engine>
229          <rpm type="double">700</rpm>
230         </engine>
231  </engines>
232
233
234  <input>
235         <keyboard>
236          <key n="79">
237                 <name>O</name>
238                 <desc>Open aerotow hook</desc>
239                 <binding>
240                  <command>property-assign</command>
241                  <property>/sim/hitches/aerotow/open</property>
242                  <value type="bool">true</value>
243                 </binding>
244          </key>
245          <key n="68">
246                  <name>d</name>
247                  <desc>Open/Close door</desc>
248                  <binding>
249                          <command>nasal</command>
250                          <script>
251                                  if(getprop("controls/door[0]") > 0) {
252                                          interpolate("controls/door[0]", 0, 1);
253                                  } else {
254                                          interpolate("controls/door[0]", 1, 1);
255                                  }
256                          </script>
257                  </binding>
258          </key>
259          <key n="111">
260                 <name>o</name>
261                 <desc>Lock aerotow hook</desc>
262                  <binding>
263                         <command>property-assign</command>
264                         <property>/sim/hitches/aerotow/open</property>
265                         <value type="bool">false</value>
266                 </binding>
267          </key>
268          <key n="100">
269                  <name>d</name>
270                  <desc>Aileron Trim left</desc>
271                  <repeatable type="bool">true</repeatable>
272                  <binding>
273                          <command>property-adjust</command>
274                          <property>/controls/flight/aileron-trim</property>
275                          <step type="double">-0.001</step>
276                  </binding>
277         </key>
278         <key n="102">
279                 <name>f</name>
280                 <desc>Aileron Trim right</desc>
281                 <repeatable type="bool">true</repeatable>
282                 <binding>
283                         <command>property-adjust</command>
284                         <property>/controls/flight/aileron-trim</property>
285                         <step type="double">0.001</step>
286                 </binding>
287         </key>
288         </keyboard>
289  </input>
290  
291  <nasal>
292          <rallye-MS893>
293                  <file>Aircraft/rallye-MS893/Nasal/auto-slats.nas</file>
294          </rallye-MS893>
295  </nasal>
296
297
298 </PropertyList>