| 1 |
<PropertyList> |
| 2 |
|
| 3 |
<menu> |
| 4 |
<label>File</label> |
| 5 |
|
| 6 |
<item> |
| 7 |
<label>Load</label> |
| 8 |
<binding> |
| 9 |
<command>nasal</command> |
| 10 |
<script>gui.load_flight()</script> |
| 11 |
</binding> |
| 12 |
</item> |
| 13 |
|
| 14 |
<item> |
| 15 |
<label>Save</label> |
| 16 |
<binding> |
| 17 |
<command>nasal</command> |
| 18 |
<script>gui.save_flight()</script> |
| 19 |
</binding> |
| 20 |
</item> |
| 21 |
|
| 22 |
<item> |
| 23 |
<label>Reset</label> |
| 24 |
<binding> |
| 25 |
<command>reset</command> |
| 26 |
</binding> |
| 27 |
</item> |
| 28 |
|
| 29 |
<item> |
| 30 |
<label>High-Res Snapshot</label> |
| 31 |
<enabled>false</enabled> |
| 32 |
<binding> |
| 33 |
<command>hires-screen-capture</command> |
| 34 |
</binding> |
| 35 |
</item> |
| 36 |
|
| 37 |
<item> |
| 38 |
<label>Snapshot</label> |
| 39 |
<binding> |
| 40 |
<command>nasal</command> |
| 41 |
<script> |
| 42 |
var success = fgcommand("screen-capture"); |
| 43 |
var path = getprop("/sim/paths/screenshot-last"); |
| 44 |
if (success) |
| 45 |
gui.popupTip("Screenshot written to '" ~ path ~ "'"); |
| 46 |
else |
| 47 |
gui.popupTip("Error writing screenshot '" ~ path ~ "'"); |
| 48 |
</script> |
| 49 |
</binding> |
| 50 |
</item> |
| 51 |
|
| 52 |
<item> |
| 53 |
<label>Print Screen</label> |
| 54 |
<binding> |
| 55 |
<command>old-print-dialog</command> |
| 56 |
</binding> |
| 57 |
</item> |
| 58 |
|
| 59 |
<item> |
| 60 |
<label>Sound Configuration</label> |
| 61 |
<binding> |
| 62 |
<command>dialog-show</command> |
| 63 |
<dialog-name>sound-dialog</dialog-name> |
| 64 |
</binding> |
| 65 |
</item> |
| 66 |
|
| 67 |
<item> |
| 68 |
<label>Browse Internal Properties</label> |
| 69 |
<binding> |
| 70 |
<command>nasal</command> |
| 71 |
<script>gui.property_browser()</script> |
| 72 |
</binding> |
| 73 |
</item> |
| 74 |
|
| 75 |
<item> |
| 76 |
<label>Logging</label> |
| 77 |
<binding> |
| 78 |
<command>dialog-show</command> |
| 79 |
<dialog-name>logging</dialog-name> |
| 80 |
</binding> |
| 81 |
</item> |
| 82 |
|
| 83 |
<item> |
| 84 |
<label>Quit</label> |
| 85 |
<binding> |
| 86 |
<command>dialog-show</command> |
| 87 |
<dialog-name>exit</dialog-name> |
| 88 |
</binding> |
| 89 |
</item> |
| 90 |
</menu> |
| 91 |
|
| 92 |
<menu> |
| 93 |
<label>View</label> |
| 94 |
|
| 95 |
<item> |
| 96 |
<label>Display Options</label> |
| 97 |
<binding> |
| 98 |
<command>dialog-show</command> |
| 99 |
<dialog-name>display</dialog-name> |
| 100 |
</binding> |
| 101 |
</item> |
| 102 |
|
| 103 |
<item> |
| 104 |
<label>Rendering Options</label> |
| 105 |
<binding> |
| 106 |
<command>dialog-show</command> |
| 107 |
<dialog-name>rendering</dialog-name> |
| 108 |
</binding> |
| 109 |
</item> |
| 110 |
|
| 111 |
<item> |
| 112 |
<label>View Options</label> |
| 113 |
<binding> |
| 114 |
<command>dialog-show</command> |
| 115 |
<dialog-name>view</dialog-name> |
| 116 |
</binding> |
| 117 |
</item> |
| 118 |
|
| 119 |
<item> |
| 120 |
<label>Cockpit View Options</label> |
| 121 |
<binding> |
| 122 |
<command>dialog-show</command> |
| 123 |
<dialog-name>cockpit-view</dialog-name> |
| 124 |
</binding> |
| 125 |
</item> |
| 126 |
|
| 127 |
<item> |
| 128 |
<label>Adjust View Position</label> |
| 129 |
<binding> |
| 130 |
<command>dialog-show</command> |
| 131 |
<dialog-name>pilot_offset</dialog-name> |
| 132 |
</binding> |
| 133 |
</item> |
| 134 |
|
| 135 |
<item> |
| 136 |
<label>Adjust HUD Properties</label> |
| 137 |
<binding> |
| 138 |
<command>dialog-show</command> |
| 139 |
<dialog-name>hud</dialog-name> |
| 140 |
</binding> |
| 141 |
</item> |
| 142 |
|
| 143 |
<item> |
| 144 |
<label>Instant Replay</label> |
| 145 |
<binding> |
| 146 |
<command>dialog-show</command> |
| 147 |
<dialog-name>replay</dialog-name> |
| 148 |
</binding> |
| 149 |
</item> |
| 150 |
|
| 151 |
<item> |
| 152 |
<label>Adjust LOD Ranges</label> |
| 153 |
<binding> |
| 154 |
<command>dialog-show</command> |
| 155 |
<dialog-name>static-lod</dialog-name> |
| 156 |
</binding> |
| 157 |
</item> |
| 158 |
</menu> |
| 159 |
|
| 160 |
<menu> |
| 161 |
<label>Location</label> |
| 162 |
|
| 163 |
<item> |
| 164 |
<label>Position Aircraft (on ground)</label> |
| 165 |
<binding> |
| 166 |
<command>dialog-show</command> |
| 167 |
<dialog-name>location-on-ground</dialog-name> |
| 168 |
</binding> |
| 169 |
</item> |
| 170 |
|
| 171 |
<item> |
| 172 |
<label>Position Aircraft (in air)</label> |
| 173 |
<binding> |
| 174 |
<command>dialog-show</command> |
| 175 |
<dialog-name>location-in-air</dialog-name> |
| 176 |
</binding> |
| 177 |
</item> |
| 178 |
|
| 179 |
<item> |
| 180 |
<label>Select Airport from List</label> |
| 181 |
<binding> |
| 182 |
<command>dialog-show</command> |
| 183 |
<dialog-name>airports</dialog-name> |
| 184 |
</binding> |
| 185 |
</item> |
| 186 |
|
| 187 |
<item> |
| 188 |
<label>Random Attitude</label> |
| 189 |
<binding> |
| 190 |
<command>property-assign</command> |
| 191 |
<property>/sim/presets/trim</property> |
| 192 |
<value>false</value> |
| 193 |
</binding> |
| 194 |
<binding> |
| 195 |
<command>property-randomize</command> |
| 196 |
<property>/orientation/pitch-deg</property> |
| 197 |
<min>0</min> |
| 198 |
<max>360</max> |
| 199 |
</binding> |
| 200 |
<binding> |
| 201 |
<command>property-randomize</command> |
| 202 |
<property>/orientation/roll-deg</property> |
| 203 |
<min>0</min> |
| 204 |
<max>360</max> |
| 205 |
</binding> |
| 206 |
<binding> |
| 207 |
<command>property-randomize</command> |
| 208 |
<property>/orientation/heading-deg</property> |
| 209 |
<min>0</min> |
| 210 |
<max>360</max> |
| 211 |
</binding> |
| 212 |
</item> |
| 213 |
|
| 214 |
<item> |
| 215 |
<label>Tower position</label> |
| 216 |
<binding> |
| 217 |
<command>dialog-show</command> |
| 218 |
<dialog-name>location-of-tower</dialog-name> |
| 219 |
</binding> |
| 220 |
</item> |
| 221 |
|
| 222 |
</menu> |
| 223 |
|
| 224 |
<menu> |
| 225 |
<label>Autopilot</label> |
| 226 |
<name>autopilot</name> |
| 227 |
|
| 228 |
<item> |
| 229 |
<label>Autopilot Settings</label> |
| 230 |
<binding> |
| 231 |
<command>dialog-show</command> |
| 232 |
<dialog-name>autopilot</dialog-name> |
| 233 |
</binding> |
| 234 |
</item> |
| 235 |
|
| 236 |
<item> |
| 237 |
<label>Route Manager</label> |
| 238 |
<binding> |
| 239 |
<command>dialog-show</command> |
| 240 |
<dialog-name>route-manager</dialog-name> |
| 241 |
</binding> |
| 242 |
</item> |
| 243 |
|
| 244 |
<item> |
| 245 |
<label>Pop Waypoint</label> |
| 246 |
<binding> |
| 247 |
<command>nasal</command> |
| 248 |
<script>setprop("/autopilot/route-manager/input", "@pop")</script> |
| 249 |
</binding> |
| 250 |
</item> |
| 251 |
|
| 252 |
<item> |
| 253 |
<label>Clear Route</label> |
| 254 |
<binding> |
| 255 |
<command>nasal</command> |
| 256 |
<script>setprop("/autopilot/route-manager/input", "@clear")</script> |
| 257 |
</binding> |
| 258 |
</item> |
| 259 |
|
| 260 |
<item> |
| 261 |
<label>Set Lat/Lon Format</label> |
| 262 |
<binding> |
| 263 |
<command>nasal</command> |
| 264 |
<script> |
| 265 |
var f = getprop(var d = "/sim/lon-lat-format") + 1; |
| 266 |
setprop(d, f < 0 ? 0 : f > 2 ? 0 : f); |
| 267 |
</script> |
| 268 |
</binding> |
| 269 |
</item> |
| 270 |
</menu> |
| 271 |
|
| 272 |
<menu> |
| 273 |
<label>Environment</label> |
| 274 |
|
| 275 |
<item> |
| 276 |
<label>Weather Scenario</label> |
| 277 |
<binding> |
| 278 |
<command>dialog-show</command> |
| 279 |
<dialog-name>weather_scenario</dialog-name> |
| 280 |
</binding> |
| 281 |
</item> |
| 282 |
|
| 283 |
<item> |
| 284 |
<label>Weather Conditions</label> |
| 285 |
<binding> |
| 286 |
<command>dialog-show</command> |
| 287 |
<dialog-name>weather</dialog-name> |
| 288 |
</binding> |
| 289 |
</item> |
| 290 |
|
| 291 |
<item> |
| 292 |
<label>Clouds</label> |
| 293 |
<binding> |
| 294 |
<command>dialog-show</command> |
| 295 |
<dialog-name>clouds</dialog-name> |
| 296 |
</binding> |
| 297 |
</item> |
| 298 |
|
| 299 |
<item> |
| 300 |
<label>Time Settings</label> |
| 301 |
<binding> |
| 302 |
<command>dialog-show</command> |
| 303 |
<dialog-name>timeofday</dialog-name> |
| 304 |
</binding> |
| 305 |
</item> |
| 306 |
|
| 307 |
<item> |
| 308 |
<label>Rain/Snow Settings</label> |
| 309 |
<binding> |
| 310 |
<command>dialog-show</command> |
| 311 |
<dialog-name>rainsnow</dialog-name> |
| 312 |
</binding> |
| 313 |
</item> |
| 314 |
|
| 315 |
<item> |
| 316 |
<label>Local Weather</label> |
| 317 |
<binding> |
| 318 |
<command>dialog-show</command> |
| 319 |
<dialog-name>local_weather</dialog-name> |
| 320 |
</binding> |
| 321 |
</item> |
| 322 |
<item> |
| 323 |
<label>Local Weather Tiles</label> |
| 324 |
<binding> |
| 325 |
<command>dialog-show</command> |
| 326 |
<dialog-name>local_weather_tiles</dialog-name> |
| 327 |
</binding> |
| 328 |
</item> |
| 329 |
<item> |
| 330 |
<label>Local Weather Settings</label> |
| 331 |
<binding> |
| 332 |
<command>dialog-show</command> |
| 333 |
<dialog-name>local_weather_config</dialog-name> |
| 334 |
</binding> |
| 335 |
</item> |
| 336 |
</menu> |
| 337 |
|
| 338 |
<menu> |
| 339 |
<label>Equipment</label> |
| 340 |
|
| 341 |
<item> |
| 342 |
<label>Fuel and Payload</label> |
| 343 |
<name>fuel-and-payload</name> |
| 344 |
<binding> |
| 345 |
<command>nasal</command> |
| 346 |
<script>gui.showWeightDialog()</script> |
| 347 |
</binding> |
| 348 |
</item> |
| 349 |
|
| 350 |
<item> |
| 351 |
<label>Radio Settings</label> |
| 352 |
<binding> |
| 353 |
<command>dialog-show</command> |
| 354 |
<dialog-name>radios</dialog-name> |
| 355 |
</binding> |
| 356 |
</item> |
| 357 |
|
| 358 |
<item> |
| 359 |
<label>GPS Settings</label> |
| 360 |
<binding> |
| 361 |
<command>dialog-show</command> |
| 362 |
<dialog-name>gps</dialog-name> |
| 363 |
</binding> |
| 364 |
</item> |
| 365 |
|
| 366 |
<item> |
| 367 |
<label>Instrument Settings</label> |
| 368 |
<binding> |
| 369 |
<command>dialog-show</command> |
| 370 |
<dialog-name>instruments</dialog-name> |
| 371 |
</binding> |
| 372 |
</item> |
| 373 |
|
| 374 |
<item> |
| 375 |
<label>Stopwatch</label> |
| 376 |
<binding> |
| 377 |
<command>dialog-show</command> |
| 378 |
<dialog-name>stopwatch-dialog</dialog-name> |
| 379 |
</binding> |
| 380 |
</item> |
| 381 |
|
| 382 |
<item> |
| 383 |
<label>Random Failures</label> |
| 384 |
<binding> |
| 385 |
<command>dialog-show</command> |
| 386 |
<dialog-name>random-failures</dialog-name> |
| 387 |
</binding> |
| 388 |
</item> |
| 389 |
|
| 390 |
<item> |
| 391 |
<label>System Failures</label> |
| 392 |
<binding> |
| 393 |
<command>dialog-show</command> |
| 394 |
<dialog-name>system-failures</dialog-name> |
| 395 |
</binding> |
| 396 |
</item> |
| 397 |
|
| 398 |
<item> |
| 399 |
<label>Instrument Failures</label> |
| 400 |
<binding> |
| 401 |
<command>dialog-show</command> |
| 402 |
<dialog-name>instrument-failures</dialog-name> |
| 403 |
</binding> |
| 404 |
</item> |
| 405 |
</menu> |
| 406 |
|
| 407 |
<menu> |
| 408 |
<label>ATC/AI</label> |
| 409 |
|
| 410 |
<item> |
| 411 |
<label>Frequencies</label> |
| 412 |
<binding> |
| 413 |
<command>ATC-freq-search</command> |
| 414 |
</binding> |
| 415 |
</item> |
| 416 |
|
| 417 |
<item> |
| 418 |
<label>Options</label> |
| 419 |
<binding> |
| 420 |
<command>dialog-show</command> |
| 421 |
<dialog-name>atc-ai</dialog-name> |
| 422 |
</binding> |
| 423 |
</item> |
| 424 |
|
| 425 |
<item> |
| 426 |
<label>Tanker</label> |
| 427 |
<name>tanker</name> |
| 428 |
<enabled>false</enabled> |
| 429 |
<binding> |
| 430 |
<command>dialog-show</command> |
| 431 |
<dialog-name>tanker</dialog-name> |
| 432 |
</binding> |
| 433 |
</item> |
| 434 |
</menu> |
| 435 |
|
| 436 |
<menu> |
| 437 |
<label>Network</label> |
| 438 |
<name>multiplayer</name> |
| 439 |
|
| 440 |
<item> |
| 441 |
<label>Chat</label> |
| 442 |
<binding> |
| 443 |
<command>dialog-show</command> |
| 444 |
<dialog-name>chat-full</dialog-name> |
| 445 |
</binding> |
| 446 |
</item> |
| 447 |
|
| 448 |
<item> |
| 449 |
<label>Chat Menu</label> |
| 450 |
<binding> |
| 451 |
<command>dialog-show</command> |
| 452 |
<dialog-name>chat-menu</dialog-name> |
| 453 |
</binding> |
| 454 |
</item> |
| 455 |
|
| 456 |
<item> |
| 457 |
<label>Pilot List</label> |
| 458 |
<binding> |
| 459 |
<command>nasal</command> |
| 460 |
<script>multiplayer.dialog.show()</script> |
| 461 |
</binding> |
| 462 |
</item> |
| 463 |
|
| 464 |
<item> |
| 465 |
<label>MPCarrier selection</label> |
| 466 |
<binding> |
| 467 |
<command>nasal</command> |
| 468 |
<script> |
| 469 |
if (contains(globals, "MPCarriers")) { |
| 470 |
MPCarriers.carrier_dialog.show(); |
| 471 |
} else { |
| 472 |
gui.popupTip("No MPCarriers around at the moment."); |
| 473 |
} |
| 474 |
</script> |
| 475 |
</binding> |
| 476 |
</item> |
| 477 |
</menu> |
| 478 |
|
| 479 |
<menu> |
| 480 |
<label>Debug</label> |
| 481 |
|
| 482 |
<item> |
| 483 |
<label>Reload GUI</label> |
| 484 |
<binding> |
| 485 |
<command>reinit</command> |
| 486 |
<subsystem>gui</subsystem> |
| 487 |
</binding> |
| 488 |
</item> |
| 489 |
|
| 490 |
<item> |
| 491 |
<label>Reload Input</label> |
| 492 |
<binding> |
| 493 |
<command>reinit</command> |
| 494 |
<subsystem>input</subsystem> |
| 495 |
</binding> |
| 496 |
</item> |
| 497 |
|
| 498 |
<item> |
| 499 |
<label>Reload Panel</label> |
| 500 |
<binding> |
| 501 |
<command>panel-load</command> |
| 502 |
</binding> |
| 503 |
</item> |
| 504 |
|
| 505 |
<item> |
| 506 |
<label>Reload Autopilot</label> |
| 507 |
<binding> |
| 508 |
<command>reinit</command> |
| 509 |
<subsystem>xml-autopilot</subsystem> |
| 510 |
</binding> |
| 511 |
</item> |
| 512 |
|
| 513 |
<item> |
| 514 |
<label>Reload Network</label> |
| 515 |
<binding> |
| 516 |
<command>reinit</command> |
| 517 |
<subsystem>io</subsystem> |
| 518 |
</binding> |
| 519 |
</item> |
| 520 |
|
| 521 |
<item> |
| 522 |
<label>Nasal Console</label> |
| 523 |
<binding> |
| 524 |
<command>dialog-show</command> |
| 525 |
<dialog-name>nasal-console</dialog-name> |
| 526 |
</binding> |
| 527 |
</item> |
| 528 |
|
| 529 |
<item> |
| 530 |
<label>Development Keys</label> |
| 531 |
<binding> |
| 532 |
<command>nasal</command> |
| 533 |
<script>gui.showHelpDialog("/sim/help/debug")</script> |
| 534 |
</binding> |
| 535 |
</item> |
| 536 |
|
| 537 |
<item> |
| 538 |
<label>Configure Development Extensions</label> |
| 539 |
<binding> |
| 540 |
<command>dialog-show</command> |
| 541 |
<dialog-name>devel-extensions</dialog-name> |
| 542 |
</binding> |
| 543 |
</item> |
| 544 |
|
| 545 |
<item> |
| 546 |
<label>Display Tutorial Marker</label> |
| 547 |
<binding> |
| 548 |
<command>nasal</command> |
| 549 |
<script>tutorial.dialog()</script> |
| 550 |
</binding> |
| 551 |
</item> |
| 552 |
|
| 553 |
<item> |
| 554 |
<label>Dump Scene Graph</label> |
| 555 |
<binding> |
| 556 |
<command>dump-scenegraph</command> |
| 557 |
</binding> |
| 558 |
</item> |
| 559 |
|
| 560 |
<item> |
| 561 |
<label>Print Statistics</label> |
| 562 |
<binding> |
| 563 |
<command>property-assign</command> |
| 564 |
<property>/sim/rendering/print-statistics</property> |
| 565 |
<value>true</value> |
| 566 |
</binding> |
| 567 |
</item> |
| 568 |
|
| 569 |
<item> |
| 570 |
<label>Cycle On-Screen Statistics</label> |
| 571 |
<binding> |
| 572 |
<command>property-adjust</command> |
| 573 |
<property>/sim/rendering/on-screen-statistics</property> |
| 574 |
<step type="int">1</step> |
| 575 |
</binding> |
| 576 |
</item> |
| 577 |
</menu> |
| 578 |
|
| 579 |
<menu> |
| 580 |
<label>Help</label> |
| 581 |
|
| 582 |
<item> |
| 583 |
<label>Help</label> |
| 584 |
<binding> |
| 585 |
<command>old-help-dialog</command> |
| 586 |
</binding> |
| 587 |
</item> |
| 588 |
|
| 589 |
<item> |
| 590 |
<label>Joystick Information</label> |
| 591 |
<name>joystick-info</name> |
| 592 |
<binding> |
| 593 |
<command>dialog-show</command> |
| 594 |
<dialog-name>joystick-info</dialog-name> |
| 595 |
</binding> |
| 596 |
</item> |
| 597 |
|
| 598 |
<item> |
| 599 |
<label>Basic Keys</label> |
| 600 |
<binding> |
| 601 |
<command>nasal</command> |
| 602 |
<script>gui.showHelpDialog("/sim/help/basic")</script> |
| 603 |
</binding> |
| 604 |
</item> |
| 605 |
|
| 606 |
<item> |
| 607 |
<label>Common Aircraft Keys</label> |
| 608 |
<binding> |
| 609 |
<command>nasal</command> |
| 610 |
<script>gui.showHelpDialog("/sim/help/common")</script> |
| 611 |
</binding> |
| 612 |
</item> |
| 613 |
|
| 614 |
<item> |
| 615 |
<label>Aircraft Help</label> |
| 616 |
<binding> |
| 617 |
<command>nasal</command> |
| 618 |
<script>gui.showHelpDialog("/sim/help")</script> |
| 619 |
</binding> |
| 620 |
</item> |
| 621 |
|
| 622 |
<item> |
| 623 |
<label>Toggle Glide Slope Tunnel</label> |
| 624 |
<binding> |
| 625 |
<command>nasal</command> |
| 626 |
<script> |
| 627 |
var p = "/sim/rendering/glide-slope-tunnel"; |
| 628 |
setprop(p, var i = !getprop(p)); |
| 629 |
gui.popupTip("Glide slope tunnel " ~ (i ? "enabled" : "disabled")); |
| 630 |
</script> |
| 631 |
</binding> |
| 632 |
</item> |
| 633 |
|
| 634 |
<item> |
| 635 |
<label>Start Tutorial</label> |
| 636 |
<name>tutorial-start</name> |
| 637 |
<binding> |
| 638 |
<command>dialog-show</command> |
| 639 |
<dialog-name>tutorial</dialog-name> |
| 640 |
</binding> |
| 641 |
</item> |
| 642 |
|
| 643 |
<item> |
| 644 |
<label>End Tutorial</label> |
| 645 |
<name>tutorial-stop</name> |
| 646 |
<enabled>false</enabled> |
| 647 |
<binding> |
| 648 |
<command>nasal</command> |
| 649 |
<script>tutorial.stopTutorial()</script> |
| 650 |
</binding> |
| 651 |
</item> |
| 652 |
</menu> |
| 653 |
|
| 654 |
</PropertyList> |