cas.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>cas.ac</path>
  4. <animation>
  5. <type>range</type>
  6. <min-m>0</min-m>
  7. <max-m>10</max-m>
  8. </animation>
  9. <animation>
  10. <object-name>base</object-name>
  11. <object-name>SW</object-name>
  12. <object-name>SW-on</object-name>
  13. <object-name>SW-base</object-name>
  14. <object-name>SW.001</object-name>
  15. <object-name>SW.001-on</object-name>
  16. <object-name>SW-base.001</object-name>
  17. <object-name>SW.002</object-name>
  18. <object-name>SW.002-on</object-name>
  19. <object-name>SW-base.002</object-name>
  20. <object-name>SW.003</object-name>
  21. <object-name>SW-base.003</object-name>
  22. <object-name>SW.004</object-name>
  23. <object-name>SW-base.004</object-name>
  24. <object-name>SW-base.005</object-name>
  25. <type>material</type>
  26. <emission>
  27. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  28. <red>0.5</red>
  29. <green>0.2</green>
  30. <blue>0.2</blue>
  31. </emission>
  32. </animation>
  33. <animation>
  34. <object-name>xmt.annun</object-name>
  35. <type>material</type>
  36. <emission>
  37. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  38. <red> 1.0 </red>
  39. <green>1.0 </green>
  40. <blue> 1.0 </blue>
  41. </emission>
  42. </animation>
  43. <!-- CAS -->
  44. <animation>
  45. <type>select</type>
  46. <object-name>xmt.annun</object-name>
  47. <condition>
  48. <and>
  49. <not>
  50. <equals>
  51. <property>instrumentation/tacan/display/x-shift</property>
  52. <value> 0 </value>
  53. </equals>
  54. </not>
  55. <property>instrumentation/tacan/serviceable</property>
  56. <greater-than>
  57. <property>systems/electrical/volts</property>
  58. <value>24</value>
  59. </greater-than>
  60. </and>
  61. </condition>
  62. </animation>
  63. <!-- PITCH -->
  64. <animation>
  65. <type>pick</type>
  66. <object-name>SW.002</object-name>
  67. <action>
  68. <button>0</button>
  69. <repeatable>false</repeatable>
  70. <binding>
  71. <command>property-assign</command>
  72. <property>autopilot/locks/altitude</property>
  73. <value>pitch-hold</value>
  74. </binding>
  75. <binding>
  76. <command>property-toggle</command>
  77. <property>sim/sound/click</property>
  78. </binding>
  79. </action>
  80. </animation>
  81. <animation>
  82. <type>pick</type>
  83. <object-name>SW.002-on</object-name>
  84. <action>
  85. <button>0</button>
  86. <repeatable>false</repeatable>
  87. <binding>
  88. <command>property-assign</command>
  89. <property>autopilot/locks/altitude</property>
  90. <value></value>
  91. </binding>
  92. <binding>
  93. <command>property-toggle</command>
  94. <property>sim/sound/click</property>
  95. </binding>
  96. </action>
  97. </animation>
  98. <animation>
  99. <type>select</type>
  100. <object-name>SW.002</object-name>
  101. <condition>
  102. <equals>
  103. <property>autopilot/locks/altitude</property>
  104. <value></value>
  105. </equals>
  106. </condition>
  107. </animation>
  108. <animation>
  109. <type>select</type>
  110. <object-name>SW.002-on</object-name>
  111. <condition>
  112. <equals>
  113. <property>autopilot/locks/altitude</property>
  114. <value>pitch-hold</value>
  115. </equals>
  116. </condition>
  117. </animation>
  118. <!-- ROLL -->
  119. <animation>
  120. <type>pick</type>
  121. <object-name>SW.001</object-name>
  122. <action>
  123. <button>0</button>
  124. <repeatable>false</repeatable>
  125. <binding>
  126. <command>property-assign</command>
  127. <property>autopilot/locks/heading</property>
  128. <value>wing-leveler</value>
  129. </binding>
  130. <binding>
  131. <command>property-toggle</command>
  132. <property>sim/sound/click</property>
  133. </binding>
  134. </action>
  135. </animation>
  136. <animation>
  137. <type>pick</type>
  138. <object-name>SW.001-on</object-name>
  139. <action>
  140. <button>0</button>
  141. <repeatable>false</repeatable>
  142. <binding>
  143. <command>property-assign</command>
  144. <property>autopilot/locks/heading</property>
  145. <value></value>
  146. </binding>
  147. <binding>
  148. <command>property-toggle</command>
  149. <property>sim/sound/click</property>
  150. </binding>
  151. </action>
  152. </animation>
  153. <animation>
  154. <type>select</type>
  155. <object-name>SW.001</object-name>
  156. <condition>
  157. <equals>
  158. <property>autopilot/locks/heading</property>
  159. <value></value>
  160. </equals>
  161. </condition>
  162. </animation>
  163. <animation>
  164. <type>select</type>
  165. <object-name>SW.001-on</object-name>
  166. <condition>
  167. <equals>
  168. <property>autopilot/locks/heading</property>
  169. <value>wing-leveler</value>
  170. </equals>
  171. </condition>
  172. </animation>
  173. <!-- ASI -->
  174. <animation>
  175. <type>pick</type>
  176. <object-name>SW</object-name>
  177. <action>
  178. <button>0</button>
  179. <repeatable>false</repeatable>
  180. <binding>
  181. <command>property-assign</command>
  182. <property>autopilot/locks/speed</property>
  183. <value>speed-with-throttle</value>
  184. </binding>
  185. <binding>
  186. <command>property-toggle</command>
  187. <property>sim/sound/click</property>
  188. </binding>
  189. </action>
  190. </animation>
  191. <animation>
  192. <type>pick</type>
  193. <object-name>SW-on</object-name>
  194. <action>
  195. <button>0</button>
  196. <repeatable>false</repeatable>
  197. <binding>
  198. <command>property-assign</command>
  199. <property>autopilot/locks/speed</property>
  200. <value></value>
  201. </binding>
  202. <binding>
  203. <command>property-toggle</command>
  204. <property>sim/sound/click</property>
  205. </binding>
  206. </action>
  207. </animation>
  208. <animation>
  209. <type>select</type>
  210. <object-name>SW</object-name>
  211. <condition>
  212. <equals>
  213. <property>autopilot/locks/speed</property>
  214. <value></value>
  215. </equals>
  216. </condition>
  217. </animation>
  218. <animation>
  219. <type>select</type>
  220. <object-name>SW-on</object-name>
  221. <condition>
  222. <equals>
  223. <property>autopilot/locks/speed</property>
  224. <value>speed-with-throttle</value>
  225. </equals>
  226. </condition>
  227. </animation>
  228. </PropertyList>