ai.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>ai.ac</path>
  4. <animation>
  5. <type>material</type>
  6. <object-name>Face</object-name>
  7. <object-name>Pitch</object-name>
  8. <object-name>Bezel</object-name>
  9. <object-name>Ring</object-name>
  10. <object-name>Front</object-name>
  11. <condition>
  12. <property>/controls/lighting/instrument-lights</property>
  13. </condition>
  14. <emission>
  15. <red> 0.80 </red>
  16. <green> 0.50 </green>
  17. <blue> 0.50 </blue>
  18. </emission>
  19. </animation>
  20. <animation>
  21. <name>PitchTranslation</name>
  22. <type>translate</type>
  23. <object-name>Pitch</object-name>
  24. <property>/instrumentation/attitude-indicator/indicated-pitch-deg</property>
  25. <factor>-0.000530</factor>
  26. <min-m>-0.01575</min-m>
  27. <max-m>0.01575</max-m>
  28. <axis>
  29. <x>0.0</x>
  30. <y>0.0</y>
  31. <z>1.0</z>
  32. </axis>
  33. </animation>
  34. <animation>
  35. <name>BezelTranslation</name>
  36. <type>translate</type>
  37. <object-name>Bezel</object-name>
  38. <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
  39. <factor>-0.000530</factor>
  40. <min-m>-0.01575</min-m>
  41. <max-m>0.01575</max-m>
  42. <axis>
  43. <x>0.0</x>
  44. <y>0.0</y>
  45. <z>1.0</z>
  46. </axis>
  47. </animation>
  48. <animation>
  49. <type>rotate</type>
  50. <object-name>Face</object-name>
  51. <object-name>PitchTranslation</object-name>
  52. <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
  53. <factor>-1</factor>
  54. <axis>
  55. <x>-1</x>
  56. <y>0</y>
  57. <z>0</z>
  58. </axis>
  59. </animation>
  60. <!--
  61. This cannot be part of the same rotation as the others, or else
  62. it screws up the alpha drawing order and hides the bezel.
  63. -->
  64. <animation>
  65. <type>rotate</type>
  66. <object-name>Ring</object-name>
  67. <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
  68. <factor>-1</factor>
  69. <axis>
  70. <x>-1</x>
  71. <y>0</y>
  72. <z>0</z>
  73. </axis>
  74. </animation>
  75. </PropertyList>