kr87.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <?xml version="1.0"?>
  2. <!--
  3. Bendix/King KR-87 ADF
  4. Gary "Buckaroo" Neely
  5. Timer functions not yet implemented.
  6. -->
  7. <PropertyList>
  8. <path>kr87.ac</path>
  9. <animation>
  10. <type>material</type>
  11. <object-name>Bezel</object-name>
  12. <object-name>AdfKnob1</object-name>
  13. <object-name>AdfKnob2</object-name>
  14. <object-name>KnobPwr</object-name>
  15. <object-name>BtnFRQ</object-name>
  16. <object-name>BtnADF</object-name>
  17. <emission>
  18. <red>0.2</red>
  19. <green>0.1</green>
  20. <blue>0.05</blue>
  21. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  22. </emission>
  23. </animation>
  24. <animation>
  25. <type>material</type>
  26. <object-name>LabelsGlow</object-name>
  27. <object-name>AdfSelDigit1</object-name>
  28. <object-name>AdfSelDigit2</object-name>
  29. <object-name>AdfSelDigit3</object-name>
  30. <object-name>AdfSelDigit4</object-name>
  31. <object-name>AdfSbyDigit1</object-name>
  32. <object-name>AdfSbyDigit2</object-name>
  33. <object-name>AdfSbyDigit3</object-name>
  34. <object-name>AdfSbyDigit4</object-name>
  35. <emission>
  36. <red>0.8</red>
  37. <green>0.4</green>
  38. <blue>0.2</blue>
  39. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  40. </emission>
  41. </animation>
  42. <animation>
  43. <type>select</type>
  44. <object-name>LabelsGlow</object-name>
  45. <object-name>AdfSelDigit1</object-name>
  46. <object-name>AdfSelDigit2</object-name>
  47. <object-name>AdfSelDigit3</object-name>
  48. <object-name>AdfSelDigit4</object-name>
  49. <object-name>AdfSbyDigit1</object-name>
  50. <object-name>AdfSbyDigit2</object-name>
  51. <object-name>AdfSbyDigit3</object-name>
  52. <object-name>AdfSbyDigit4</object-name>
  53. <condition>
  54. <property>/systems/electrical/outputs/kr-87</property>
  55. </condition>
  56. </animation>
  57. <!-- Active Freq Digits -->
  58. <animation>
  59. <type>select</type>
  60. <object-name>AdfSelDigit1</object-name>
  61. <condition>
  62. <greater-than>
  63. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  64. <value>999</value>
  65. </greater-than>
  66. </condition>
  67. </animation>
  68. <animation>
  69. <type>textranslate</type>
  70. <object-name>AdfSelDigit1</object-name>
  71. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  72. <factor>0.0001</factor>
  73. <step>1000</step>
  74. <axis>
  75. <x>0</x>
  76. <y>1</y>
  77. <z>0</z>
  78. </axis>
  79. </animation>
  80. <animation>
  81. <type>textranslate</type>
  82. <object-name>AdfSelDigit2</object-name>
  83. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  84. <factor>0.001</factor>
  85. <step>100</step>
  86. <axis>
  87. <x>0</x>
  88. <y>1</y>
  89. <z>0</z>
  90. </axis>
  91. </animation>
  92. <animation>
  93. <type>textranslate</type>
  94. <object-name>AdfSelDigit3</object-name>
  95. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  96. <factor>0.01</factor>
  97. <step>10</step>
  98. <axis>
  99. <x>0</x>
  100. <y>1</y>
  101. <z>0</z>
  102. </axis>
  103. </animation>
  104. <animation>
  105. <type>textranslate</type>
  106. <object-name>AdfSelDigit4</object-name>
  107. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  108. <factor>0.1</factor>
  109. <step>1</step>
  110. <axis>
  111. <x>0</x>
  112. <y>1</y>
  113. <z>0</z>
  114. </axis>
  115. </animation>
  116. <!-- Standby Freq Digits -->
  117. <animation>
  118. <type>select</type>
  119. <object-name>AdfSbyDigit1</object-name>
  120. <condition>
  121. <greater-than>
  122. <property>/instrumentation/adf[0]/frequencies/standby-khz</property>
  123. <value>999</value>
  124. </greater-than>
  125. </condition>
  126. </animation>
  127. <animation>
  128. <type>textranslate</type>
  129. <object-name>AdfSbyDigit1</object-name>
  130. <property>/instrumentation/adf[0]/frequencies/standby-khz</property>
  131. <factor>0.0001</factor>
  132. <step>1000</step>
  133. <axis>
  134. <x>0</x>
  135. <y>1</y>
  136. <z>0</z>
  137. </axis>
  138. </animation>
  139. <animation>
  140. <type>textranslate</type>
  141. <object-name>AdfSbyDigit2</object-name>
  142. <property>/instrumentation/adf[0]/frequencies/standby-khz</property>
  143. <factor>0.001</factor>
  144. <step>100</step>
  145. <axis>
  146. <x>0</x>
  147. <y>1</y>
  148. <z>0</z>
  149. </axis>
  150. </animation>
  151. <animation>
  152. <type>textranslate</type>
  153. <object-name>AdfSbyDigit3</object-name>
  154. <property>/instrumentation/adf[0]/frequencies/standby-khz</property>
  155. <factor>0.01</factor>
  156. <step>10</step>
  157. <axis>
  158. <x>0</x>
  159. <y>1</y>
  160. <z>0</z>
  161. </axis>
  162. </animation>
  163. <animation>
  164. <type>textranslate</type>
  165. <object-name>AdfSbyDigit4</object-name>
  166. <property>/instrumentation/adf[0]/frequencies/standby-khz</property>
  167. <factor>0.1</factor>
  168. <step>1</step>
  169. <axis>
  170. <x>0</x>
  171. <y>1</y>
  172. <z>0</z>
  173. </axis>
  174. </animation>
  175. <!-- Freq Transfer Button -->
  176. <animation>
  177. <type>pick</type>
  178. <object-name>BtnFRQ</object-name>
  179. <action>
  180. <button>0</button>
  181. <repeatable>false</repeatable>
  182. <binding>
  183. <command>property-swap</command>
  184. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  185. <property>/instrumentation/adf[0]/frequencies/standby-khz</property>
  186. </binding>
  187. </action>
  188. </animation>
  189. <animation>
  190. <type>rotate</type>
  191. <object-name>KnobPwr</object-name>
  192. <property>/controls/switches/kr-87</property>
  193. <interpolation>
  194. <entry><ind>0</ind><dep>-120</dep></entry>
  195. <entry><ind>1</ind><dep> 120</dep></entry>
  196. </interpolation>
  197. <center>
  198. <x-m>0</x-m>
  199. <y-m>0.038</y-m>
  200. <z-m>-0.006</z-m>
  201. </center>
  202. <axis>
  203. <x>-1</x>
  204. <y>0</y>
  205. <z>0</z>
  206. </axis>
  207. </animation>
  208. </PropertyList>