ai_new.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0"?>
  2. <!--
  3. Generic Attitude Indicator
  4. Gary "Buckaroo" Neely
  5. -->
  6. <PropertyList>
  7. <path>ai_new.ac</path>
  8. <animation>
  9. <type>material</type>
  10. <object-name>AircraftSymbol</object-name>
  11. <object-name>Reference</object-name>
  12. <object-name>Flag</object-name>
  13. <object-name>PitchScale</object-name>
  14. <object-name>RollScale</object-name>
  15. <emission>
  16. <red>0.8</red>
  17. <green>0.4</green>
  18. <blue>0.2</blue>
  19. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  20. </emission>
  21. </animation>
  22. <animation>
  23. <type>select</type>
  24. <object-name>Flag</object-name>
  25. <condition>
  26. <property>instrumentation/attitude-indicator/caged</property>
  27. </condition>
  28. </animation>
  29. <animation>
  30. <type>translate</type>
  31. <object-name>PitchScale</object-name>
  32. <property>instrumentation/attitude-indicator/indicated-pitch-deg</property>
  33. <factor>-0.0007</factor>
  34. <min-m>-0.0175</min-m>
  35. <max-m>0.0175</max-m>
  36. <axis>
  37. <x>0.0</x>
  38. <y>0.0</y>
  39. <z>1.0</z>
  40. </axis>
  41. </animation>
  42. <animation>
  43. <type>rotate</type>
  44. <object-name>PitchScale</object-name>
  45. <property>instrumentation/attitude-indicator/indicated-roll-deg</property>
  46. <factor>-1</factor>
  47. <axis>
  48. <x>-1</x>
  49. <y>0</y>
  50. <z>0</z>
  51. </axis>
  52. </animation>
  53. <animation>
  54. <type>rotate</type>
  55. <object-name>RollScale</object-name>
  56. <property>instrumentation/attitude-indicator/indicated-roll-deg</property>
  57. <factor>-1</factor>
  58. <axis>
  59. <x>-1</x>
  60. <y>0</y>
  61. <z>0</z>
  62. </axis>
  63. </animation>
  64. <animation>
  65. <type>translate</type>
  66. <object-name>AircraftSymbol</object-name>
  67. <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
  68. <factor>0.001</factor>
  69. <axis>
  70. <x>0</x>
  71. <y>0</y>
  72. <z>1</z>
  73. </axis>
  74. </animation>
  75. <animation>
  76. <type>rotate</type>
  77. <object-name>Knob</object-name>
  78. <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
  79. <factor>25</factor>
  80. <center>
  81. <x-m>0</x-m>
  82. <y-m>0</y-m>
  83. <z-m>-0.03</z-m>
  84. </center>
  85. <axis>
  86. <x>-1</x>
  87. <y>0</y>
  88. <z>0</z>
  89. </axis>
  90. </animation>
  91. <animation>
  92. <type>pick</type>
  93. <object-name>Knob</object-name>
  94. <action>
  95. <button>0</button>
  96. <repeatable>true</repeatable>
  97. <binding>
  98. <command>property-adjust</command>
  99. <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
  100. <step>0.1</step>
  101. <min>-5</min>
  102. <max>5</max>
  103. <wrap>false</wrap>
  104. </binding>
  105. </action>
  106. </animation>
  107. <animation>
  108. <type>pick</type>
  109. <object-name>Knob</object-name>
  110. <action>
  111. <button>1</button>
  112. <repeatable>true</repeatable>
  113. <binding>
  114. <command>property-adjust</command>
  115. <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
  116. <step>-0.1</step>
  117. <min>-5</min>
  118. <max>5</max>
  119. <wrap>false</wrap>
  120. </binding>
  121. </action>
  122. </animation>
  123. <animation>
  124. <type>pick</type>
  125. <object-name>Knob</object-name>
  126. <action>
  127. <button>3</button>
  128. <repeatable>true</repeatable>
  129. <binding>
  130. <command>property-adjust</command>
  131. <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
  132. <step>0.1</step>
  133. <min>-5</min>
  134. <max>5</max>
  135. <wrap>false</wrap>
  136. </binding>
  137. </action>
  138. <action>
  139. <button>4</button>
  140. <repeatable>true</repeatable>
  141. <binding>
  142. <command>property-adjust</command>
  143. <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
  144. <step>-0.1</step>
  145. <min>-5</min>
  146. <max>5</max>
  147. <wrap>false</wrap>
  148. </binding>
  149. </action>
  150. </animation>
  151. </PropertyList>