copilot-menu.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <PropertyList>
  3. <default>
  4. <menu n="10">
  5. <label>Robinson R44</label>
  6. <enabled type="bool">true</enabled>
  7. <item>
  8. <label>Select Livery</label>
  9. <binding>
  10. <command>nasal</command>
  11. <script>aircraft.livery.dialog.toggle()</script>
  12. </binding>
  13. </item>
  14. <item>
  15. <label>Blades visible</label>
  16. <binding>
  17. <command>nasal</command>
  18. <script>
  19. var p = "rotors/main/bladesvisible";
  20. setprop(p, var i = !getprop(p));
  21. gui.popupTip("Blades visible " ~ (i ? "On" : "Off"));
  22. </script>
  23. </binding>
  24. </item>
  25. <item>
  26. <label>Immatriculation</label>
  27. <binding>
  28. <command>nasal</command>
  29. <script>r44.immat_dialog.toggle()</script>
  30. </binding>
  31. </item>
  32. <item>
  33. <label>Select MP-pilot</label>
  34. <binding>
  35. <command>nasal</command>
  36. <script>
  37. dual_control_tools.copilot_dialog.show(aircraft_dual_control.pilot_type);
  38. </script>
  39. </binding>
  40. </item>
  41. </menu>
  42. </default>
  43. </PropertyList>