ap1-0.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <?xml version="1.0" ?>
  2. <PropertyList>
  3. <params>
  4. <nav>instrumentation/mfd[0]/nav-source</nav>
  5. <brg1>instrumentation/mfd[0]/bearing-source[0]</brg1>
  6. <brg2>instrumentation/mfd[0]/bearing-source[1]</brg2>
  7. <tst>instrumentation/mfd[0]/mode</tst>
  8. <crs>instrumentation/mfd[0]/crs-knob</crs>
  9. </params>
  10. <path>ap1.ac</path>
  11. <effect>
  12. <inherits-from>Aircraft/ec145/Models/Effects/implicit-lightmap</inherits-from>
  13. <object-name>face</object-name>
  14. </effect>
  15. <!-- effect of overhead floodlight as material emission,
  16. 'cheap trick' to simulate ambient cabin lighting
  17. -->
  18. <animation>
  19. <type>material</type>
  20. <object-name>face</object-name>
  21. <emission>
  22. <red>0.02</red>
  23. <green>0.02</green>
  24. <blue>0.02</blue>
  25. <factor-prop>/systems/electrical/outputs/floodlight</factor-prop>
  26. </emission>
  27. </animation>
  28. <animation>
  29. <type>range</type>
  30. <min-m>0</min-m>
  31. <max-m>10</max-m>
  32. </animation>
  33. <!-- <animation>
  34. <type>material</type>
  35. <object-name>face</object-name>
  36. <emission>
  37. <red>0.48</red>
  38. <green>0.80</green>
  39. <blue>0.44</blue>
  40. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  41. </emission>
  42. </animation>-->
  43. <animation>
  44. <type>material</type>
  45. <property-base>sim/model/material/cockpit</property-base>
  46. <object-name>face</object-name>
  47. <object-name>auto</object-name>
  48. <object-name>direction</object-name>
  49. <emission>
  50. <red-prop>red</red-prop>
  51. <green-prop>green</green-prop>
  52. <blue-prop>blue</blue-prop>
  53. <factor-prop>factor</factor-prop>
  54. </emission>
  55. </animation>
  56. <animation>
  57. <type>pick</type>
  58. <object-name>std</object-name>
  59. <visible>true</visible>
  60. <action>
  61. <button>0</button>
  62. <repeatable>false</repeatable>
  63. <binding>
  64. <command>property-assign</command>
  65. <property>/instrumentation/altimeter/setting-inhg</property>
  66. <value>29.92</value>
  67. </binding>
  68. </action>
  69. </animation>
  70. <animation>
  71. <type>knob</type>
  72. <object-name>baro</object-name>
  73. <action>
  74. <binding>
  75. <command>property-adjust</command>
  76. <property>/instrumentation/altimeter/setting-inhg</property>
  77. <factor>0.01</factor>
  78. <min>26.0</min>
  79. <max>33.0</max>
  80. <wrap>false</wrap>
  81. </binding>
  82. </action>
  83. <hovered>
  84. <binding>
  85. <command>set-tooltip</command>
  86. <tooltip-id>alt-setting</tooltip-id>
  87. <label>Altimeter In Hg: %5.2f</label>
  88. <property>instrumentation/altimeter/setting-inhg</property>
  89. </binding>
  90. </hovered>
  91. </animation>
  92. <animation>
  93. <type>pick</type>
  94. <object-name>button3</object-name>
  95. <visible>true</visible>
  96. <action>
  97. <button>0</button>
  98. <repeatable>false</repeatable>
  99. <binding>
  100. <property alias="../../../../params/nav"/>
  101. <command>property-cycle</command>
  102. <value type="string">NAV1</value>
  103. <value type="string">NAV2</value>
  104. <value type="string">FMS</value>
  105. </binding>
  106. <binding>
  107. <command>property-assign</command>
  108. <property>instrumentation/efis/fnd/nav-source</property>
  109. <property>instrumentation/mfd[0]/nav-source</property>
  110. </binding>
  111. </action>
  112. </animation>
  113. <animation>
  114. <type>pick</type>
  115. <object-name>button6</object-name>
  116. <visible>true</visible>
  117. <action>
  118. <button>0</button>
  119. <repeatable>false</repeatable>
  120. <binding>
  121. <property alias="../../../../params/brg1"/>
  122. <command>property-cycle</command>
  123. <value type="string">NAV1</value>
  124. <value type="string">ADF1</value>
  125. <value type="string">FMS</value>
  126. </binding>
  127. </action>
  128. </animation>
  129. <animation>
  130. <type>pick</type>
  131. <object-name>button7</object-name>
  132. <visible>true</visible>
  133. <action>
  134. <button>0</button>
  135. <repeatable>false</repeatable>
  136. <binding>
  137. <property alias="../../../../params/brg2"/>
  138. <command>property-cycle</command>
  139. <value type="string">NAV2</value>
  140. <value type="string">ADF1</value>
  141. <value type="string">FMS</value>
  142. </binding>
  143. </action>
  144. </animation>
  145. <animation>
  146. <type>pick</type>
  147. <object-name>test</object-name>
  148. <visible>true</visible>
  149. <action>
  150. <button>0</button>
  151. <repeatable>false</repeatable>
  152. <interval-sec>0.5</interval-sec>
  153. <binding>
  154. <property alias="../../../../params/tst"/>
  155. <command>property-assign</command>
  156. <value type="string">init2</value>
  157. </binding>
  158. <mod-up>
  159. <binding>
  160. <property alias="../../../../../params/tst"/>
  161. <command>property-assign</command>
  162. <value type="string">pfd</value>
  163. </binding>
  164. </mod-up>
  165. </action>
  166. </animation>
  167. <animation>
  168. <type>knob</type>
  169. <object-name>crs</object-name>
  170. <action>
  171. <binding>
  172. <condition>
  173. <equals>
  174. <property alias="../../../../../../params/nav"/>
  175. <value type="string">NAV1</value>
  176. </equals>
  177. </condition>
  178. <command>property-adjust</command>
  179. <property>instrumentation/nav[0]/radials/selected-deg</property>
  180. <factor>1</factor>
  181. <min>0.0</min>
  182. <max>360.0</max>
  183. <wrap>true</wrap>
  184. </binding>
  185. <binding>
  186. <condition>
  187. <equals>
  188. <property alias="../../../../../../params/nav"/>
  189. <value type="string">NAV2</value>
  190. </equals>
  191. </condition>
  192. <command>property-adjust</command>
  193. <property>instrumentation/nav[1]/radials/selected-deg</property>
  194. <factor>1</factor>
  195. <min>0.0</min>
  196. <max>360.0</max>
  197. <wrap>true</wrap>
  198. </binding>
  199. <binding>
  200. <command>property-adjust</command>
  201. <property alias="../../../../params/crs"/>
  202. <factor>4</factor>
  203. <min>0.0</min>
  204. <max>360.0</max>
  205. <wrap>true</wrap>
  206. </binding>
  207. </action>
  208. </animation>
  209. <animation>
  210. <type>rotate</type>
  211. <object-name>crs</object-name>
  212. <property alias="../../params/crs"/>
  213. <factor>-1</factor>
  214. <axis>
  215. <x>1</x>
  216. <y>0</y>
  217. <z>0</z>
  218. </axis>
  219. <center>
  220. <x-m>0.0</x-m>
  221. <y-m>-0.05172</y-m>
  222. <z-m>-0.01475</z-m>
  223. </center>
  224. </animation>
  225. </PropertyList>