1
0

bae125-menu.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <default>
  4. <menu n="10">
  5. <label>BAe 125</label>
  6. <enabled type="bool">true</enabled>
  7. <item>
  8. <label>AutoStart/AutoStop</label>
  9. <binding>
  10. <command>property-toggle</command>
  11. <property>controls/electric/battery-switch</property>
  12. </binding>
  13. <binding>
  14. <command>property-toggle</command>
  15. <property>controls/electric/engine/generator</property>
  16. </binding>
  17. <binding>
  18. <command>property-toggle</command>
  19. <property>controls/lighting/instrument-lights</property>
  20. </binding>
  21. <binding>
  22. <command>property-toggle</command>
  23. <property>controls/lighting/nav-lights</property>
  24. </binding>
  25. <binding>
  26. <command>property-toggle</command>
  27. <property>controls/lighting/beacon</property>
  28. </binding>
  29. <binding>
  30. <command>property-toggle</command>
  31. <property>controls/lighting/strobe</property>
  32. </binding>
  33. <binding>
  34. <command>property-toggle</command>
  35. <property>controls/switches/starterkey-insert</property>
  36. </binding>
  37. <binding>
  38. <command>property-toggle</command>
  39. <property>controls/engines/engine[0]/fuel-pump</property>
  40. </binding>
  41. <binding>
  42. <command>property-toggle</command>
  43. <property>controls/engines/engine[1]/fuel-pump</property>
  44. </binding>
  45. <!-- Magnetos ON -->
  46. <binding>
  47. <condition>
  48. <property>controls/switches/starterkey-insert</property>
  49. </condition>
  50. <command>property-assign</command>
  51. <property>controls/engines/engine[0]/magnetos</property>
  52. <value>3</value>
  53. </binding>
  54. <binding>
  55. <condition>
  56. <property>controls/switches/starterkey-insert</property>
  57. </condition>
  58. <command>property-assign</command>
  59. <property>controls/engines/engine[1]/magnetos</property>
  60. <value>3</value>
  61. </binding>
  62. <!-- Magnetos OFF -->
  63. <binding>
  64. <condition>
  65. <not><property>controls/switches/starterkey-insert</property></not>
  66. </condition>
  67. <command>property-assign</command>
  68. <property>controls/engines/engine[0]/magnetos</property>
  69. <value>0</value>
  70. </binding>
  71. <binding>
  72. <condition>
  73. <not><property>controls/switches/starterkey-insert</property></not>
  74. </condition>
  75. <command>property-assign</command>
  76. <property>controls/engines/engine[1]/magnetos</property>
  77. <value>0</value>
  78. </binding>
  79. <binding>
  80. <command>nasal</command>
  81. <script>engines.autostart();</script>
  82. </binding>
  83. </item>
  84. <item>
  85. <label>Select Livery</label>
  86. <binding>
  87. <command>nasal</command>
  88. <script>aircraft.livery.dialog.toggle()</script>
  89. </binding>
  90. </item>
  91. <item>
  92. <label>Show/hide Yokes</label>
  93. <binding>
  94. <command>property-toggle</command>
  95. <property>/sim/model/hide-yoke</property>
  96. </binding>
  97. </item>
  98. </menu>
  99. </default>
  100. </PropertyList>