Walker: fix Copilot Outfit error, Generalization
[fg:toms-fgdata.git] / Aircraft / Generic / Human / Include / walker-include.xml
1 <?xml version="1.0"?>
2 <!--    This is the Walker include file. To add the Walker to your Aircraft
3                         simply replace the <PropertyList> Entry at the top of your -set file with this:
4                         
5                                         <PropertyList include="Aircraft/Generic/Human/Include/walker-include.xml">
6
7                         This includes all Properties for the Walker, Key Bindings and a Menubar Entry. 
8                         The Keys "a", "A" and "s" have their normal Binding when not in Walk View or 
9                         Walker Orbit View.
10
11                         To have a custom Exit Point add this to your Aircrafts -set file in the <model> 
12                         section:
13
14                                         <map>
15                                                 <default_exit>
16                                                         <x-offset-m type ="float">1</x-offset-m>
17                                                         <y-offset-m type ="float">3</y-offset-m>
18                                                 </default_exit>
19                                         </map>
20
21                         This specifies where the Walker Model appears.
22
23 -->
24
25 <PropertyList>
26         <sim n="0">
27                 <model n="0">
28                         <crew>
29                                 <cockpit-position type="int">0</cockpit-position>
30                                 <pilot>
31                                         <chair-back type="int">0</chair-back>
32                                         <visible type="bool">true</visible>
33                                 </pilot>
34                                 <walker>
35                                         <visible type="bool">true</visible>
36                                         <x-offset-m type="double">-0.8</x-offset-m>
37                                         <y-offset-m type="double">1.2</y-offset-m>
38                                         <z-offset-m type="double">0.0</z-offset-m>
39                                         <head-offset-deg type="double">0.0</head-offset-deg>
40                                 </walker>
41                         </crew>
42                         <map>
43                                 <default_exit>
44
45                                 </default_exit>
46                         </map>
47                         <walker n="1">
48                                 <animate>
49                                         <dialog-position type="int">0</dialog-position>
50                                         <enabled-current type="bool">false</enabled-current>
51                                         <enabled-triggers type="bool">true</enabled-triggers>
52                                         <sequence-selected type="int">0</sequence-selected>
53                                         <list>
54                                                 <sequence n="0" include="Aircraft/Generic/Human/Models/Animations/walker-stand_bored.xml">
55                                                 </sequence>
56                                                 <sequence n="1" include="Aircraft/Generic/Human/Models/Animations/walker-walking.xml">
57                                                 </sequence>
58                                                 <sequence n="2" include="Aircraft/Generic/Human/Models/Animations/walker-running.xml">
59                                                 </sequence>
60                                                 <sequence n="3" include="Aircraft/Generic/Human/Models/Animations/walker-walk_backwards.xml">
61                                                 </sequence>
62                                                 <sequence n="4" include="Aircraft/Generic/Human/Models/Animations/walker-falling.xml">
63                                                 </sequence>
64                                                 <sequence n="5" include="Aircraft/Generic/Human/Models/Animations/walker-open_parachute.xml">
65                                                 </sequence>
66                                                 <sequence n="6" include="Aircraft/Generic/Human/Models/Animations/walker-jumping_jacks.xml">
67                                                 </sequence>
68                                                 <sequence n="7" include="Aircraft/Generic/Human/Models/Animations/walker-splat.xml">
69                                                 </sequence>
70                                                 <sequence n="8" include="Aircraft/Generic/Human/Models/Animations/walker-stand_still.xml">
71                                                 </sequence>
72                                         </list>
73                                         <triggers>
74                                                 <standing type="int">-1</standing>
75                                                 <walking type="int">-1</walking>
76                                                 <running type="int">-1</running>
77                                                 <backwards type="int">-1</backwards>
78                                                 <falling type="int">-1</falling>
79                                                 <open-parachute type="int">-1</open-parachute>
80                                                 <landing type="int">-1</landing>
81                                                 <crashing type="int">-1</crashing>
82                                         </triggers>
83                                 </animate>
84                                 <name type="string"></name>
85                                 <loop-enabled type="bool">false</loop-enabled>
86                                 <loop-to type="int">0</loop-to>
87                                 <rest-sec type="double">0</rest-sec>    
88                                 <transit-sec type="double">1.0</transit-sec>
89                                 <trigger-upon type="string"></trigger-upon>
90                                 <limb n="0">
91                                         <y-deg type="double">0</y-deg>
92                                         <z-m type="double">0</z-m>
93                                 </limb>
94                                 <limb n="1">
95                                         <y-deg type="double">0</y-deg>
96                                         <z-deg type="double">0</z-deg>
97                                 </limb>
98                                 <limb n="2">
99                                         <y-deg type="double">0</y-deg>
100                                         <z-deg type="double">0</z-deg>
101                                 </limb>
102                                 <limb n="3">
103                                         <x-deg type="double">-80</x-deg>
104                                         <y-deg type="double">0</y-deg>
105                                         <z-deg type="double">0</z-deg>
106                                 </limb>
107                                 <limb n="4">
108                                         <y-deg type="double">0</y-deg>
109                                         <z-deg type="double">0</z-deg>
110                                 </limb>
111                                 <limb n="5">
112                                         <x-deg type="double">0</x-deg>
113                                         <y-deg type="double">0</y-deg>
114                                         <hand-pose>0</hand-pose>
115                                 </limb>
116                                 <limb n="6">
117                                         <x-deg type="double">-80</x-deg>
118                                         <y-deg type="double">0</y-deg>
119                                         <z-deg type="double">0</z-deg>
120                                 </limb>
121                                 <limb n="7">
122                                         <y-deg type="double">0</y-deg>
123                                         <z-deg type="double">0</z-deg>
124                                 </limb>
125                                 <limb n="8">
126                                         <x-deg type="double">0</x-deg>
127                                         <y-deg type="double">0</y-deg>
128                                         <hand-pose>0</hand-pose>
129                                 </limb>
130                                 <limb n="9">
131                                         <x-deg type="double">0</x-deg>
132                                         <y-deg type="double">0</y-deg>
133                                         <z-deg type="double">0</z-deg>
134                                 </limb>
135                                 <limb n="10">
136                                         <y-deg type="double">0</y-deg>
137                                 </limb>
138                                 <limb n="11">
139                                         <y-deg type="double">0</y-deg>
140                                 </limb>
141                                 <limb n="12">
142                                         <x-deg type="double">0</x-deg>
143                                         <y-deg type="double">0</y-deg>
144                                         <z-deg type="double">0</z-deg>
145                                 </limb>
146                                 <limb n="13">
147                                         <y-deg type="double">0</y-deg>
148                                 </limb>
149                                 <limb n="14">
150                                         <y-deg type="double">0</y-deg>
151                                 </limb>
152                         </walker>
153                 </model>
154         <walker>
155                 <character>0</character>
156                 <gender>0</gender>
157                 <outfit>0</outfit>
158
159                 <outside type="bool">false</outside>
160                 <walking type="int">0</walking>
161                 <walking-momentum type="bool">false</walking-momentum>
162                 <speed-mps type="float">0.9</speed-mps>
163                 <latitude-deg type="double">0.0</latitude-deg>
164                 <longitude-deg type="double">0.0</longitude-deg>
165                 <altitude-ft type="double">0.0</altitude-ft>
166                 <heading-deg type="double">0.0</heading-deg>
167                 <pitch-deg type="double">0.0</pitch-deg>
168                 <roll-deg type="double">0.0</roll-deg>
169                 <keep-inside-offset-x type="double">0.0</keep-inside-offset-x>
170                 <keep-inside-offset-y type="double">2.1</keep-inside-offset-y>
171                 <keep-inside-offset-z type="double">9.4</keep-inside-offset-z>
172                 <keep-pitch-offset-deg type="double">0.0</keep-pitch-offset-deg>
173                 <time-of-exit-sec type="double">0.0</time-of-exit-sec>
174                 <altitude-at-exit-ft type="double">0.0</altitude-at-exit-ft>
175                 <starting-lat type="double">0.0</starting-lat>
176                 <starting-lon type="double">0.0</starting-lon>
177                 <starting-trajectory-lat type="double">0.0</starting-trajectory-lat>
178                 <starting-trajectory-lon type="double">0.0</starting-trajectory-lon>
179                 <starting-trajectory-z-mps type="double">0.0</starting-trajectory-z-mps>
180                 <time-to-zero-z-sec type="double">0.0</time-to-zero-z-sec>
181                 <airborne type="bool">false</airborne>
182                 <parachute-opened-altitude-ft type="double">0.0</parachute-opened-altitude-ft>
183                 <parachute-opened-sec type="double">0.0</parachute-opened-sec>
184                 <parachute-equipped type="bool">false</parachute-equipped>
185                 <crashed type="bool">false</crashed>
186                 <key-triggers>
187                         <outside-toggle type="bool">false</outside-toggle>
188                         <forward type="int">0</forward>
189                         <slide type="int">0</slide>
190                         <speed type="float">0</speed>
191                 </key-triggers>
192         </walker>
193
194                 <view n="110">
195                         <name>Walk View</name>
196                         <type>lookfrom</type>
197                         <enabled type="bool">false</enabled>
198                         <config>
199                                 <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
200                                 <eye-alt-ft-path>sim/walker/altitude-ft</eye-alt-ft-path>
201                                 <eye-heading-deg-path>sim/walker/heading-deg</eye-heading-deg-path>
202                                 <eye-lat-deg-path>sim/walker/latitude-deg</eye-lat-deg-path>
203                                 <eye-lon-deg-path>sim/walker/longitude-deg</eye-lon-deg-path>
204                                 <eye-pitch-deg-path>sim/walker/pitch-deg</eye-pitch-deg-path>
205                                 <eye-roll-deg-path>sim/walker/roll-deg</eye-roll-deg-path>
206                                 <ground-level-nearplane-m type="double">0.5</ground-level-nearplane-m>
207                                 <x-offset-m type="double">0.6</x-offset-m>
208                                 <y-offset-m type="double">2.1</y-offset-m>
209                                 <z-offset-m type="double">9.4</z-offset-m>
210                                 <limits>
211                                         <enabled type="bool">false</enabled>
212                                 </limits>
213                         </config>
214                 </view>
215                 <view n="111">
216                         <name>Walker Orbit View</name>
217                         <type>lookat</type>
218                         <enabled type="bool">false</enabled>
219                         <config>
220                                 <from-model type="bool">false</from-model>
221                                 <from-model-idx type="int">0</from-model-idx>
222                                 <at-model type="bool">false</at-model>
223                                 <at-model-idx type="int">100</at-model-idx>
224                                 <eye-alt-ft-path>sim/walker/altitude-ft</eye-alt-ft-path>
225                                 <eye-heading-deg-path>sim/walker/heading-deg</eye-heading-deg-path>
226                                 <eye-lat-deg-path>sim/walker/latitude-deg</eye-lat-deg-path>
227                                 <eye-lon-deg-path>sim/walker/longitude-deg</eye-lon-deg-path>
228                                 <eye-pitch-deg-path>sim/walker/pitch-deg</eye-pitch-deg-path>
229                                 <eye-roll-deg-path>sim/walker/roll-deg</eye-roll-deg-path>
230                                 <target-alt-ft-path>sim/walker/altitude-ft</target-alt-ft-path>
231                                 <target-heading-deg-path>sim/walker/heading-deg</target-heading-deg-path>
232                                 <target-lat-deg-path>sim/walker/latitude-deg</target-lat-deg-path>
233                                 <target-lon-deg-path>sim/walker/longitude-deg</target-lon-deg-path>
234                                 <target-pitch-deg-path>sim/walker/pitch-deg</target-pitch-deg-path>
235                                 <target-roll-deg-path>sim/walker/roll-deg</target-roll-deg-path>
236                                 <target-x-offset-m type="double">0</target-x-offset-m>
237                                 <target-y-offset-m type="double">1.5</target-y-offset-m>
238                                 <target-z-offset-m type="double">0</target-z-offset-m>
239                                 <ground-level-nearplane-m type="double">0.2f</ground-level-nearplane-m>
240                                 <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
241                                 <x-offset-m type="double">0</x-offset-m>
242                                 <y-offset-m type="double">0.7</y-offset-m>
243                                 <z-offset-m type="double">5</z-offset-m>
244                                 <heading-offset-deg>0</heading-offset-deg>
245                                 <pitch-offset-deg>0</pitch-offset-deg>
246                                 <roll-offset-deg>0</roll-offset-deg>
247                                 <limits>
248                                         <enabled type="bool">false</enabled>
249                                 </limits>
250                         </config>
251                 </view>
252
253
254                 <menubar n="0">
255                         <default n="0">
256                                 <menu n="11">
257                                         <label>Walker</label>
258                                                 <enabled type="bool">true</enabled>
259                                         <item>
260                                                 <label>Walker animation dialog  [Tab]</label>
261                                                 <binding>
262                                                         <command>nasal</command>
263                                                         <script>walker.sequence.showDialog()</script>
264                                                 </binding>
265                                         </item>
266
267                                         <item>
268                                                 <label>Select Theme</label>
269                                                 <binding>
270                 <command>nasal</command>
271                 <script>walk.theme_dialog.toggle()</script>
272               </binding>
273                                         </item>
274                                         <item>
275                                                 <label>Toggle Walker outside</label>
276                                                 <binding>
277                                                         <command>property-toggle</command>
278                                                         <property>sim/walker/key-triggers/outside-toggle</property>
279                                                 </binding>
280                                         </item>
281                                 </menu>
282                         </default>
283                 </menubar>
284         </sim>
285 <!-- Keys -->
286         <input n="0">
287         <keyboard n="0">
288 <!--
289                 <key n="111">
290                         <name>o</name>
291                         <desc>Toggle walker outside/inside</desc>
292                         <repeatable>false</repeatable>
293                         <binding>
294                                 <command>property-toggle</command>
295                                 <property>sim/walker/key-triggers/outside-toggle</property>
296                         </binding>
297                 </key>
298 -->
299                 <key n="106"> 
300                         <name>j</name>
301                         <desc>open parachute</desc>
302                         <repeatable>false</repeatable>
303                         <binding>
304                                 <command>nasal</command>
305                                 <script>walk.open_chute()</script>
306                         </binding>
307                 </key>
308                 <key n="119"> 
309                         <name>w</name>
310                         <desc>Walk forward</desc>
311                         <repeatable>false</repeatable>
312                         <binding n="0">
313                                 <command>property-assign</command>
314                                 <property>sim/walker/key-triggers/forward</property>
315                                 <value>1</value>
316                         </binding>
317                         <binding n="1">
318                                 <command>property-assign</command>
319                                 <property>sim/walker/key-triggers/speed</property>
320                                 <property>sim/walker/speed-mps</property>
321                         </binding>
322                         <mod-up>
323                                 <binding n="0">
324                                         <command>property-assign</command>
325                                         <property>sim/walker/key-triggers/forward</property>
326                                         <value>0</value>
327                                 </binding>
328                                 <binding n="1">
329                                         <command>property-assign</command>
330                                         <property>sim/walker/key-triggers/speed</property>
331                                         <property>sim/walker/speed-mps</property>
332                                 </binding>
333                         </mod-up>
334                 </key>
335                 <key n="87"> 
336                         <name>W</name>
337                         <desc>Run forward</desc>
338                         <repeatable>false</repeatable>
339                         <binding n="0">
340                                 <command>property-assign</command>
341                                 <property>sim/walker/key-triggers/forward</property>
342                                 <value>1</value>
343                         </binding>
344                         <binding n="1">
345                                 <command>property-assign</command>
346                                 <property>sim/walker/key-triggers/speed</property>
347                                 <property>sim/walker/speed-mps</property>
348                         </binding>
349                         <binding n="2">
350                                 <command>property-multiply</command>
351                                 <property>sim/walker/key-triggers/speed</property>
352                                 <factor>5.0</factor>
353                         </binding>
354                         <mod-up>
355                                 <binding n="0">
356                                         <command>property-assign</command>
357                                         <property>sim/walker/key-triggers/forward</property>
358                                         <value>0</value>
359                                 </binding>
360                                 <binding n="1">
361                                         <command>property-assign</command>
362                                         <property>sim/walker/key-triggers/speed</property>
363                                         <property>sim/walker/speed-mps</property>
364                                 </binding>
365                         </mod-up>
366                 </key>
367                 <key n="115"> 
368                         <name>s</name>
369                         <desc>Walk backward</desc>
370                         <repeatable>false</repeatable>
371                         <binding n="0">
372                         <condition>
373                                         <or>
374                                         <equals>
375                                                 <property>sim/current-view/name</property>
376                                                 <value>Walk View</value>
377                                         </equals>
378                                         <equals>
379                                                 <property>sim/current-view/name</property>
380                                                 <value>Walker Orbit View</value>
381                                         </equals>
382                                         </or>
383                          </condition>
384                                 <command>property-assign</command>
385                                 <property>sim/walker/key-triggers/forward</property>
386                                 <value>-1</value>
387                         </binding>
388                         <binding n="1">
389                                 <command>property-assign</command>
390                                 <property>sim/walker/key-triggers/speed</property>
391                                 <property>sim/walker/speed-mps</property>
392                         </binding>
393                 <binding n="2">
394                         <condition>
395                                         <and>
396                                         <not-equals>
397                                                 <property>sim/current-view/name</property>
398                                                 <value>Walk View</value>
399                                         </not-equals>
400                                         <not-equals>
401                                                 <property>sim/current-view/name</property>
402                                                 <value>Walker Orbit View</value>
403                                         </not-equals>
404                                         </and>
405                          </condition>
406    <command>nasal</command>
407    <script>controls.startEngine(1)</script>
408   </binding>
409                         <mod-up>
410                                 <binding n="0">
411                                         <command>property-assign</command>
412                                         <property>sim/walker/key-triggers/forward</property>
413                                         <value>0</value>
414                                 </binding>
415                                 <binding n="1">
416                                         <command>property-assign</command>
417                                         <property>sim/walker/key-triggers/speed</property>
418                                         <property>sim/walker/speed-mps</property>
419                                 </binding>
420
421    <binding n="2">
422     <command>nasal</command>
423     <script>controls.startEngine(0)</script>
424    </binding>
425
426                         </mod-up>
427                 </key>
428                 <key n="83"> 
429                         <name>S</name>
430                         <desc>Walk/run backward</desc>
431                         <repeatable>false</repeatable>
432                         <binding n="0">
433                                 <command>property-assign</command>
434                                 <property>sim/walker/key-triggers/forward</property>
435                                 <value>-1</value>
436                         </binding>
437                         <binding n="1">
438                                 <command>property-assign</command>
439                                 <property>sim/walker/key-triggers/speed</property>
440                                 <property>sim/walker/speed-mps</property>
441                         </binding>
442                         <binding n="2">
443                                 <command>property-multiply</command>
444                                 <property>sim/walker/key-triggers/speed</property>
445                                 <factor>2.5</factor>
446                         </binding>
447                         <mod-up>
448                                 <binding n="0">
449                                         <command>property-assign</command>
450                                         <property>sim/walker/key-triggers/forward</property>
451                                         <value>0</value>
452                                 </binding>
453                                 <binding n="1">
454                                         <command>property-assign</command>
455                                         <property>sim/walker/key-triggers/speed</property>
456                                         <property>sim/walker/speed-mps</property>
457                                 </binding>
458                         </mod-up>
459                 </key>
460                 <key n="97"> 
461                         <name>a</name>
462                         <desc>Slide left</desc>
463                         <repeatable>false</repeatable>
464                         <binding n="0">
465                         <condition>
466                                         <equals>
467                                                 <property>sim/current-view/name</property>
468                                                 <value>Walk View</value>
469                                         </equals>
470                          </condition>
471                                 <command>property-assign</command>
472                                 <property>sim/walker/key-triggers/slide</property>
473                                 <value>-1</value>
474                         </binding>
475                         <binding n="1">
476                                 <command>property-assign</command>
477                                 <property>sim/walker/key-triggers/speed</property>
478                                 <property>sim/walker/speed-mps</property>
479                         </binding>
480         <binding n="2">
481                         <condition>
482                                         <and>
483                                         <not-equals>
484                                                 <property>sim/current-view/name</property>
485                                                 <value>Walk View</value>
486                                         </not-equals>
487                                         <not-equals>
488                                                 <property>sim/current-view/name</property>
489                                                 <value>Walker Orbit View</value>
490                                         </not-equals>
491                                         </and>
492                          </condition>
493                 <command>nasal</command>
494                 <script>controls.speedup(1);</script>
495         </binding>
496                         <binding n="3">
497                         <condition>
498                                         <equals>
499                                                 <property>sim/current-view/name</property>
500                                                 <value>Walker Orbit View</value>
501                                         </equals>
502                          </condition>
503    <command>property-adjust</command>
504    <property>/sim/walker/model-heading-deg</property>
505          <min>0</min>
506          <max>360</max>
507          <wrap type="bool">true</wrap>
508    <step type="int">-10</step>
509                         </binding>
510                         <mod-up>
511                                 <binding n="0">
512                                         <command>property-assign</command>
513                                         <property>sim/walker/key-triggers/slide</property>
514                                         <value>0</value>
515                                 </binding>
516                                 <binding n="1">
517                                         <command>property-assign</command>
518                                         <property>sim/walker/key-triggers/speed</property>
519                                         <property>sim/walker/speed-mps</property>
520                                 </binding>
521                         </mod-up>
522                 </key>
523                 <key n="65"> 
524                         <name>A</name>
525                         <desc>Slide left2, override default assignment</desc>
526                         <repeatable>false</repeatable>
527                         <binding n="0">
528                         <condition>
529                                         <or>
530                                         <equals>
531                                                 <property>sim/current-view/name</property>
532                                                 <value>Walk View</value>
533                                         </equals>
534                                         <equals>
535                                                 <property>sim/current-view/name</property>
536                                                 <value>Walker Orbit View</value>
537                                         </equals>
538                                         </or>
539                          </condition>
540                                 <command>property-assign</command>
541                                 <property>sim/walker/key-triggers/slide</property>
542                                 <value>-1</value>
543                         </binding>
544                         <binding n="1">
545                                 <command>property-assign</command>
546                                 <property>sim/walker/key-triggers/speed</property>
547                                 <property>sim/walker/speed-mps</property>
548                         </binding>
549                         <binding n="2">
550                                 <command>property-multiply</command>
551                                 <property>sim/walker/key-triggers/speed</property>
552                                 <factor>2.5</factor>
553                         </binding>
554         <binding n="3">
555                         <condition>
556                                         <and>
557                                         <not-equals>
558                                                 <property>sim/current-view/name</property>
559                                                 <value>Walk View</value>
560                                         </not-equals>
561                                         <not-equals>
562                                                 <property>sim/current-view/name</property>
563                                                 <value>Walker Orbit View</value>
564                                         </not-equals>
565                                         </and>
566                          </condition>
567                 <command>nasal</command>
568                 <script>controls.speedup(-1);</script>
569         </binding>
570                         <mod-up>
571                                 <binding n="0">
572                                         <command>property-assign</command>
573                                         <property>sim/walker/key-triggers/slide</property>
574                                         <value>0</value>
575                                 </binding>
576                                 <binding n="1">
577                                         <command>property-assign</command>
578                                         <property>sim/walker/key-triggers/speed</property>
579                                         <property>sim/walker/speed-mps</property>
580                                 </binding>
581                         </mod-up>
582                 </key>
583                 <key n="100"> 
584                         <name>d</name>
585                         <desc>Slide right</desc>
586                         <repeatable>false</repeatable>
587                         <binding n="0">
588                         <condition>
589                                         <equals>
590                                                 <property>sim/current-view/name</property>
591                                                 <value>Walk View</value>
592                                         </equals>
593                          </condition>
594                                 <command>property-assign</command>
595                                 <property>sim/walker/key-triggers/slide</property>
596                                 <value>1</value>
597                         </binding>
598                         <binding n="1">
599                                 <command>property-assign</command>
600                                 <property>sim/walker/key-triggers/speed</property>
601                                 <property>sim/walker/speed-mps</property>
602                         </binding>
603                         <binding n="2">
604                         <condition>
605                                         <equals>
606                                                 <property>sim/current-view/name</property>
607                                                 <value>Walker Orbit View</value>
608                                         </equals>
609                          </condition>
610    <command>property-adjust</command>
611    <property>/sim/walker/model-heading-deg</property>
612          <min>0</min>
613          <max>360</max>
614          <wrap type="bool">true</wrap>
615    <step type="int">10</step>
616                         </binding>
617                         <mod-up>
618                                 <binding n="0">
619                                         <command>property-assign</command>
620                                         <property>sim/walker/key-triggers/slide</property>
621                                         <value>0</value>
622                                 </binding>
623                                 <binding n="1">
624                                         <command>property-assign</command>
625                                         <property>sim/walker/key-triggers/speed</property>
626                                         <property>sim/walker/speed-mps</property>
627                                 </binding>
628                         </mod-up>
629                 </key>
630                 <key n="68"> 
631                         <name>D</name>
632                         <desc>Slide right2</desc>
633                         <repeatable>false</repeatable>
634                         <binding n="0">
635                                 <command>property-assign</command>
636                                 <property>sim/walker/key-triggers/slide</property>
637                                 <value>1</value>
638                         </binding>
639                         <binding n="1">
640                                 <command>property-assign</command>
641                                 <property>sim/walker/key-triggers/speed</property>
642                                 <property>sim/walker/speed-mps</property>
643                         </binding>
644                         <binding n="2">
645                                 <command>property-multiply</command>
646                                 <property>sim/walker/key-triggers/speed</property>
647                                 <factor>2.5</factor>
648                         </binding>
649                         <mod-up>
650                                 <binding n="0">
651                                         <command>property-assign</command>
652                                         <property>sim/walker/key-triggers/slide</property>
653                                         <value>0</value>
654                                 </binding>
655                                 <binding n="1">
656                                         <command>property-assign</command>
657                                         <property>sim/walker/key-triggers/speed</property>
658                                         <property>sim/walker/speed-mps</property>
659                                 </binding>
660                         </mod-up>
661                 </key>
662
663         </keyboard>
664         </input>
665
666         <nasal n="0">
667                 <walk>
668                         <file>Aircraft/Generic/Human/Nasal/walk.nas</file>
669                         <script>main_loop();</script>
670                 </walk>
671                 <walker>
672                         <file>Aircraft/Generic/Human/Nasal/walker-animate.nas</file>
673                 </walker>
674         </nasal>
675
676 </PropertyList>