adf.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0"?>
  2. <!--
  3. ADF indicator loosely based on the Bendix/King KI-227
  4. Gary "Buckaroo" Neely
  5. -->
  6. <PropertyList>
  7. <path>adf.ac</path>
  8. <animation>
  9. <type>material</type>
  10. <object-name>CompassPoints</object-name>
  11. <object-name>Needle</object-name>
  12. <object-name>CompassRose</object-name>
  13. <emission>
  14. <red>0.8</red>
  15. <green>0.4</green>
  16. <blue>0.2</blue>
  17. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  18. </emission>
  19. </animation>
  20. <animation>
  21. <type>material</type>
  22. <object-name>KnobHdg</object-name>
  23. <emission>
  24. <red>0.2</red>
  25. <green>0.1</green>
  26. <blue>0.05</blue>
  27. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  28. </emission>
  29. </animation>
  30. <animation>
  31. <type>rotate</type>
  32. <object-name>CompassRose</object-name>
  33. <property>/instrumentation/adf/rotation-deg</property>
  34. <factor>-1</factor>
  35. <axis>
  36. <x>-1</x>
  37. <y>0</y>
  38. <z>0</z>
  39. </axis>
  40. </animation>
  41. <animation>
  42. <type>rotate</type>
  43. <object-name>Needle</object-name>
  44. <property>/instrumentation/adf/indicated-bearing-deg</property>
  45. <axis>
  46. <x>-1</x>
  47. <y>0</y>
  48. <z>0</z>
  49. </axis>
  50. </animation>
  51. <animation>
  52. <type>rotate</type>
  53. <object-name>KnobHdg</object-name>
  54. <property>/instrumentation/adf/rotation-deg</property>
  55. <factor>2</factor>
  56. <center>
  57. <x-m>0</x-m>
  58. <y-m>-0.031</y-m>
  59. <z-m>-0.031</z-m>
  60. </center>
  61. <axis>
  62. <x>-1</x>
  63. <y>0</y>
  64. <z>0</z>
  65. </axis>
  66. </animation>
  67. <animation>
  68. <type>pick</type>
  69. <object-name>KnobHdg</object-name>
  70. <action>
  71. <button>0</button>
  72. <repeatable>true</repeatable>
  73. <binding>
  74. <command>property-adjust</command>
  75. <property>/instrumentation/adf/rotation-deg</property>
  76. <step>1</step>
  77. <min>0</min>
  78. <max>360</max>
  79. <wrap>true</wrap>
  80. </binding>
  81. </action>
  82. </animation>
  83. <animation>
  84. <type>pick</type>
  85. <object-name>KnobHdg</object-name>
  86. <action>
  87. <button>1</button>
  88. <repeatable>true</repeatable>
  89. <binding>
  90. <command>property-adjust</command>
  91. <property>/instrumentation/adf/rotation-deg</property>
  92. <step>-1</step>
  93. <min>0</min>
  94. <max>360</max>
  95. <wrap>true</wrap>
  96. </binding>
  97. </action>
  98. </animation>
  99. <animation>
  100. <type>pick</type>
  101. <object-name>KnobHdg</object-name>
  102. <action>
  103. <button>3</button>
  104. <repeatable>true</repeatable>
  105. <binding>
  106. <command>property-adjust</command>
  107. <property>/instrumentation/adf/rotation-deg</property>
  108. <step>1</step>
  109. <min>0</min>
  110. <max>360</max>
  111. <wrap>true</wrap>
  112. </binding>
  113. </action>
  114. <action>
  115. <button>4</button>
  116. <repeatable>true</repeatable>
  117. <binding>
  118. <command>property-adjust</command>
  119. <property>/instrumentation/adf/rotation-deg</property>
  120. <step>-1</step>
  121. <min>0</min>
  122. <max>360</max>
  123. <wrap>true</wrap>
  124. </binding>
  125. </action>
  126. </animation>
  127. </PropertyList>