ap1-1.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <?xml version="1.0" ?>
  2. <PropertyList>
  3. <params>
  4. <nav>instrumentation/mfd[1]/nav-source</nav>
  5. <brg1>instrumentation/mfd[1]/bearing-source[0]</brg1>
  6. <brg2>instrumentation/mfd[1]/bearing-source[1]</brg2>
  7. <tst>instrumentation/mfd[1]/mode</tst>
  8. <crs>instrumentation/mfd[1]/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. </action>
  107. </animation>
  108. <animation>
  109. <type>pick</type>
  110. <object-name>button6</object-name>
  111. <visible>true</visible>
  112. <action>
  113. <button>0</button>
  114. <repeatable>false</repeatable>
  115. <binding>
  116. <property alias="../../../../params/brg1"/>
  117. <command>property-cycle</command>
  118. <value type="string">NAV1</value>
  119. <value type="string">ADF1</value>
  120. <value type="string">FMS</value>
  121. </binding>
  122. </action>
  123. </animation>
  124. <animation>
  125. <type>pick</type>
  126. <object-name>button7</object-name>
  127. <visible>true</visible>
  128. <action>
  129. <button>0</button>
  130. <repeatable>false</repeatable>
  131. <binding>
  132. <property alias="../../../../params/brg2"/>
  133. <command>property-cycle</command>
  134. <value type="string">NAV2</value>
  135. <value type="string">ADF1</value>
  136. <value type="string">FMS</value>
  137. </binding>
  138. </action>
  139. </animation>
  140. <animation>
  141. <type>pick</type>
  142. <object-name>test</object-name>
  143. <visible>true</visible>
  144. <action>
  145. <button>0</button>
  146. <repeatable>false</repeatable>
  147. <interval-sec>0.5</interval-sec>
  148. <binding>
  149. <property alias="../../../../params/tst"/>
  150. <command>property-assign</command>
  151. <value type="string">init2</value>
  152. </binding>
  153. <mod-up>
  154. <binding>
  155. <property alias="../../../../../params/tst"/>
  156. <command>property-assign</command>
  157. <value type="string">pfd</value>
  158. </binding>
  159. </mod-up>
  160. </action>
  161. </animation>
  162. <animation>
  163. <type>knob</type>
  164. <object-name>crs</object-name>
  165. <action>
  166. <binding>
  167. <condition>
  168. <equals>
  169. <property alias="../../../../../../params/nav"/>
  170. <value type="string">NAV1</value>
  171. </equals>
  172. </condition>
  173. <command>property-adjust</command>
  174. <property>instrumentation/nav[0]/radials/selected-deg</property>
  175. <factor>1</factor>
  176. <min>0.0</min>
  177. <max>360.0</max>
  178. <wrap>true</wrap>
  179. </binding>
  180. <binding>
  181. <condition>
  182. <equals>
  183. <property alias="../../../../../../params/nav"/>
  184. <value type="string">NAV2</value>
  185. </equals>
  186. </condition>
  187. <command>property-adjust</command>
  188. <property>instrumentation/nav[1]/radials/selected-deg</property>
  189. <factor>1</factor>
  190. <min>0.0</min>
  191. <max>360.0</max>
  192. <wrap>true</wrap>
  193. </binding>
  194. <binding>
  195. <command>property-adjust</command>
  196. <property alias="../../../../params/crs"/>
  197. <factor>4</factor>
  198. <min>0.0</min>
  199. <max>360.0</max>
  200. <wrap>true</wrap>
  201. </binding>
  202. </action>
  203. </animation>
  204. <animation>
  205. <type>rotate</type>
  206. <object-name>crs</object-name>
  207. <property alias="../../params/crs"/>
  208. <factor>-1</factor>
  209. <axis>
  210. <x>1</x>
  211. <y>0</y>
  212. <z>0</z>
  213. </axis>
  214. <center>
  215. <x-m>0.0</x-m>
  216. <y-m>-0.05172</y-m>
  217. <z-m>-0.01475</z-m>
  218. </center>
  219. </animation>
  220. </PropertyList>