-
Notifications
You must be signed in to change notification settings - Fork 1
/
Yamaha-R1-set.xml
executable file
·351 lines (328 loc) · 10.1 KB
/
Yamaha-R1-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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<?xml version="1.0" encoding="UTF-8"?>
<!--###################################################################################
Lake of Constance Hangar :: M.Kraus
Yamaha-YZF for Flightgear April 2015
This file is licenced under the terms of the GNU General Public Licence V2 or later
###################################################################################
-->
<PropertyList include="motorcycle-basis.xml">
<sim>
<description>Yamaha-YZF-R1</description>
<author>LAKE OF CONSTANCE HANGAR :: M.Kraus</author>
<aircraft-version>0.0.1</aircraft-version>
<status>alpha</status>
<flight-model>yasim</flight-model>
<aero>Yamaha-R1-yasim</aero>
<sound>
<path>Aircraft/Motorcycle-Racing/Yamaha-YZF/Sounds/sound.xml</path>
</sound>
<model>
<path>Aircraft/Motorcycle-Racing/Yamaha-YZF/Models/Yamaha-R1.xml</path>
</model>
<startup>
<splash-texture>Aircraft/Motorcycle-Racing/Yamaha-YZF/splash-Yamaha-YZF.png</splash-texture>
</startup>
<fuel-fraction>1.0</fuel-fraction>
<systems>
<electrical>
<path>Aircraft/Generic/generic-electrical.xml</path>
</electrical>
</systems>
<virtual-cockpit archive="y">true</virtual-cockpit>
<allow-toggle-cockpit archive="y">true</allow-toggle-cockpit>
<view n="0">
<internal archive="y">true</internal>
<config>
<limits>
<enabled archive="y" type="bool">false</enabled>
</limits>
<!-- x/y/z == right/up/back -->
<x-offset-m archive="y" type="double">0.0</x-offset-m>
<y-offset-m archive="y" type="double">1.3</y-offset-m> <!-- up-down -->
<z-offset-m archive="y" type="double">-0.13</z-offset-m> <!-- fore-back -->
<pitch-offset-deg>-8</pitch-offset-deg>
<default-field-of-view-deg type="double">72</default-field-of-view-deg>
</config>
</view>
<view n="1">
<config>
<target-z-offset-m archive="y" type="double">0.0</target-z-offset-m>
</config>
</view>
<view n="2">
<config>
<target-z-offset-m archive="y" type="double">0.0</target-z-offset-m>
</config>
</view>
<view n="3">
<config>
<target-z-offset-m archive="y" type="double">0.0</target-z-offset-m>
</config>
</view>
<view n="4">
<config>
<target-z-offset-m archive="y" type="double">0.0</target-z-offset-m>
</config>
</view>
<view n="5">
<config>
<target-z-offset-m archive="y" type="double">0.0</target-z-offset-m>
</config>
</view>
<view n="6">
<config>
<target-z-offset-m archive="y" type="double">0.0</target-z-offset-m>
</config>
</view>
<hud>
<enable3d>false</enable3d>
</hud>
<help>
<key>
<name>Home or ></name>
<desc>Shift up</desc>
</key>
<key>
<name>End or Shift + ></name>
<desc>Shift down</desc>
</key>
<key>
<name>Backspace or Ctrl key</name>
<desc>Clutch</desc>
</key>
<key>
<name>s</name>
<desc>engine starter</desc>
</key>
<key>
<name>g/G and b/B</name>
<desc>toggle workstand</desc>
</key>
<key>
<name>1</name>
<desc>Quick glance over the shoulder</desc>
</key>
<key>
<name>F7</name>
<desc>Open map</desc>
</key>
<key>
<name>F8</name>
<desc>Open results</desc>
</key>
<key>
<name>l</name>
<desc>switch last and fastest lap</desc>
</key>
<key>
<name>F9</name>
<desc>Open fuel menu</desc>
</key>
<text>*** ISLE OF MAN EDITION ***
"Ladies and Gentleman, start your engines"
and have fun!</text>
</help>
<menubar>
<default>
<menu n="10">
<label>YZF-R1</label>
<enabled type="bool">true</enabled>
<item>
<label>--- Tools ---</label>
<enabled>false</enabled>
</item>
<item>
<label>Autostart / shutdown</label>
<binding>
<command>property-toggle</command>
<property>sim/model/start-idling</property>
</binding>
</item>
<enabled type="bool">true</enabled>
<item>
<label>Repair engine</label>
<binding>
<command>nasal</command>
<script>
var iskilled = getprop("/engines/engine/killed") or 0;
if(iskilled > 0.2){
settimer(func{ setprop("/engines/engine/killed",0); }, 20);
screen.log.write(sprintf("Please wait 20 sec. for engine overhaul."), 1, 1, 0.0);
}else{
screen.log.write(sprintf("Everything is ok with your engine - nothing to do."), 1, 1, 0.0);
}
</script>
</binding>
</item>
<item>
<label>Gearbox settings</label>
<binding>
<command>nasal</command>
<script>motorcycle.ratio_dlg.open()</script>
</binding>
</item>
<item>
<label>Electronic control system settings</label>
<binding>
<command>nasal</command>
<script>motorcycle.elecsettings_dlg.open()</script>
</binding>
</item>
<enabled type="bool">true</enabled>
<item>
<label>Show Sector/Lap Results</label>
<binding>
<command>property-toggle</command>
<property>/Motorcycle/show-race-times</property>
</binding>
</item>
<enabled type="bool">true</enabled>
<item>
<label>Race Analysis</label>
<binding>
<command>nasal</command>
<script>motorcycle.analysis_dlg.open()</script>
</binding>
</item>
<enabled type="bool">true</enabled>
<item>
<label>Switch last or fastest Results</label>
<binding>
<command>property-toggle</command>
<property>/Motorcycle/switch-last-fastest</property>
</binding>
</item>
<item>
<label>--- Painting ---</label>
<enabled>false</enabled>
</item>
<item>
<label>Select Livery</label>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</item>
<enabled type="bool">true</enabled>
<item>
<label>--- Old mens mode ---</label>
<enabled>false</enabled>
</item>
<item>
<label>Toggle greybeard view</label>
<binding>
<command>property-toggle</command>
<property>/controls/Motorcycle/old-mens-mode</property>
</binding>
</item>
<item>
<label>Toggle throttle input axis</label>
<binding>
<command>property-toggle</command>
<property>/controls/flight/select-throttle-input</property>
</binding>
</item>
<item>
<label>--- Roadraces ---</label>
<enabled>false</enabled>
</item>
<item>
<label>Race settings</label>
<binding>
<command>nasal</command>
<script>motorcycle.config_dlg.open()</script>
</binding>
</item>
</menu>
</default>
</menubar>
<weight n="0">
<name>Pilot</name>
<weight-lb>170</weight-lb>
<max-lb>230</max-lb>
<min-lb>140</min-lb>
</weight>
<weight n="1">
<name>Backwheel</name>
<weight-lb>0</weight-lb>
<max-lb>200</max-lb>
<min-lb>0</min-lb>
</weight>
<flaps>
<setting>0.6</setting>
<setting>0.5</setting>
<setting>0.4</setting>
<setting>0.3</setting>
<setting>0.2</setting>
<setting>0.1</setting>
<setting>0.0</setting>
</flaps>
</sim>
<controls>
<Motorcycle>
<gearbox>
<gear n="0">
<gearteeth n="0" type="int">33</gearteeth>
<gearteeth n="1" type="int">13</gearteeth>
<gearteethdefault n="0" type="int">33</gearteethdefault>
<gearteethdefault n="1" type="int">13</gearteethdefault>
<vmax type="double">65.0</vmax>
<vmaxdefault type="double">65.0</vmaxdefault>
</gear>
<gear n="1">
<gearteeth n="0" type="int">33</gearteeth>
<gearteeth n="1" type="int">17</gearteeth>
<gearteethdefault n="0" type="int">33</gearteethdefault>
<gearteethdefault n="1" type="int">17</gearteethdefault>
<vmax type="double">85.0</vmax>
<vmaxdefault type="double">85.0</vmaxdefault>
</gear>
<gear n="2">
<gearteeth n="0" type="int">30</gearteeth>
<gearteeth n="1" type="int">19</gearteeth>
<gearteethdefault n="0" type="int">30</gearteethdefault>
<gearteethdefault n="1" type="int">19</gearteethdefault>
<vmax type="double">115.0</vmax>
<vmaxdefault type="double">115.0</vmaxdefault>
</gear>
<gear n="3">
<gearteeth n="0" type="int">29</gearteeth>
<gearteeth n="1" type="int">21</gearteeth>
<gearteethdefault n="0" type="int">29</gearteethdefault>
<gearteethdefault n="1" type="int">21</gearteethdefault>
<vmax type="double">140.0</vmax>
<vmaxdefault type="double">140.0</vmaxdefault>
</gear>
<gear n="4">
<gearteeth n="0" type="int">25</gearteeth>
<gearteeth n="1" type="int">20</gearteeth>
<gearteethdefault n="0" type="int">25</gearteethdefault>
<gearteethdefault n="1" type="int">20</gearteethdefault>
<vmax type="double">160.0</vmax>
<vmaxdefault type="double">160.0</vmaxdefault>
</gear>
<gear n="5">
<gearteeth n="0" type="int">29</gearteeth>
<gearteeth n="1" type="int">25</gearteeth>
<gearteethdefault n="0" type="int">29</gearteethdefault>
<gearteethdefault n="1" type="int">25</gearteethdefault>
<vmax type="double">199.0</vmax>
<vmaxdefault type="double">199.0</vmaxdefault>
</gear>
</gearbox>
<minrpm type="int">2100</minrpm>
<maxrpm type="int">20000</maxrpm>
</Motorcycle>
</controls>
<!-- -NASAL- -->
<nasal>
<motorcycle>
<file>Aircraft/Motorcycle-Racing/MR-Systems/motorcycle.nas</file>
<file>Aircraft/Motorcycle-Racing/MR-Systems/laptimes.nas</file>
<file>Aircraft/Motorcycle-Racing/MR-Systems/gearbox.nas</file>
<file>Aircraft/Motorcycle-Racing/MR-VirtualRacer/virtual_racer.nas</file>
<file>Aircraft/Motorcycle-Racing/Yamaha-YZF/Systems/view.nas</file>
<file>Aircraft/Motorcycle-Racing/Yamaha-YZF/Systems/liveries-R1.nas</file>
</motorcycle>
</nasal>
</PropertyList>