panel_column.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0"?>
  2. <!--
  3. Edgley OA-7 Optica
  4. Gary R. Neely 'Buckaroo', Jan 2011
  5. -->
  6. <PropertyList>
  7. <name>Column</name>
  8. <background>Aircraft/Optica/Panels/transparent-bg.rgb</background>
  9. <w>64</w>
  10. <h>128</h>
  11. <instruments>
  12. <instrument>
  13. <name>panel hotspots</name>
  14. <x>32</x>
  15. <y>64</y>
  16. <w>64</w>
  17. <h>128</h>
  18. <w-base>64</w-base>
  19. <h-base>128</h-base>
  20. <actions>
  21. <!-- Ignition Switch -->
  22. <action>
  23. <name>Ignition</name>
  24. <button>0</button>
  25. <x>14</x>
  26. <y>-2</y>
  27. <w>16</w>
  28. <h>18</h>
  29. <binding>
  30. <command>nasal</command>
  31. <script>Optica.ignition_switch(1,0);</script>
  32. </binding>
  33. <mod-up>
  34. <binding>
  35. <command>nasal</command>
  36. <script>Optica.ignition_switch(1,1);</script>
  37. </binding>
  38. </mod-up>
  39. </action>
  40. <action>
  41. <name>Ignition</name>
  42. <button>1</button>
  43. <x>14</x>
  44. <y>-2</y>
  45. <w>16</w>
  46. <h>18</h>
  47. <binding>
  48. <command>nasal</command>
  49. <script>Optica.ignition_switch(-1,0);</script>
  50. </binding>
  51. </action>
  52. <!-- Master Switches -->
  53. <action>
  54. <name>Alternator</name>
  55. <button>0</button>
  56. <x>2</x>
  57. <y>-2</y>
  58. <w>5</w>
  59. <h>18</h>
  60. <binding>
  61. <command>property-toggle</command>
  62. <property>/controls/switches/alternator</property>
  63. </binding>
  64. </action>
  65. <action>
  66. <name>Battery</name>
  67. <button>0</button>
  68. <x>7</x>
  69. <y>-2</y>
  70. <w>5</w>
  71. <h>18</h>
  72. <binding>
  73. <command>property-toggle</command>
  74. <property>/controls/switches/battery</property>
  75. </binding>
  76. </action>
  77. <!-- Other Switches -->
  78. <action>
  79. <name>FuelPump</name>
  80. <button>0</button>
  81. <x>14</x>
  82. <y>-24</y>
  83. <w>5</w>
  84. <h>8</h>
  85. <binding>
  86. <command>property-toggle</command>
  87. <property>/controls/switches/fuelpump</property>
  88. </binding>
  89. </action>
  90. <action>
  91. <name>Avionics</name>
  92. <button>0</button>
  93. <x>24</x>
  94. <y>-24</y>
  95. <w>5</w>
  96. <h>8</h>
  97. <binding>
  98. <command>property-toggle</command>
  99. <property>/controls/switches/avionics</property>
  100. </binding>
  101. </action>
  102. <action>
  103. <name>PitotHeat</name>
  104. <button>0</button>
  105. <x>14</x>
  106. <y>-35</y>
  107. <w>5</w>
  108. <h>8</h>
  109. <binding>
  110. <command>property-toggle</command>
  111. <property>/controls/switches/pitotheat</property>
  112. </binding>
  113. </action>
  114. <action>
  115. <name>INOP2</name>
  116. <button>0</button>
  117. <x>24</x>
  118. <y>-35</y>
  119. <w>5</w>
  120. <h>8</h>
  121. <binding>
  122. <command>property-toggle</command>
  123. <property>/controls/switches/inop2</property>
  124. </binding>
  125. </action>
  126. </actions>
  127. </instrument>
  128. </instruments>
  129. </PropertyList>