indexer.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0"?>
  2. <!-- angle-of-attack indexer lights, by Dave Culp -->
  3. <PropertyList>
  4. <path>indexer.ac</path>
  5. <!--
  6. <animation>
  7. <type>material</type>
  8. <object-name>light-slow</object-name>
  9. <object-name>light-fast</object-name>
  10. <object-name>light-on-speed</object-name>
  11. <emission>
  12. <red>0.6</red>
  13. <green>0.3</green>
  14. <blue>0.3</blue>
  15. <factor-prop>controls/lighting/instruments-norm</factor-prop>
  16. </emission>
  17. </animation>
  18. -->
  19. <animation>
  20. <type>select</type>
  21. <object-name>light-slow</object-name>
  22. <condition>
  23. <and>
  24. <equals>
  25. <property>gear/gear[0]/position-norm</property>
  26. <value>1</value>
  27. </equals>
  28. <greater-than>
  29. <property>fdm/jsbsim/aero/alpha-deg</property>
  30. <value>8</value>
  31. </greater-than>
  32. </and>
  33. </condition>
  34. </animation>
  35. <animation>
  36. <type>select</type>
  37. <object-name>light-fast</object-name>
  38. <condition>
  39. <and>
  40. <equals>
  41. <property>gear/gear[0]/position-norm</property>
  42. <value>1</value>
  43. </equals>
  44. <less-than>
  45. <property>fdm/jsbsim/aero/alpha-deg</property>
  46. <value>6</value>
  47. </less-than>
  48. </and>
  49. </condition>
  50. </animation>
  51. <animation>
  52. <type>select</type>
  53. <object-name>light-on-speed</object-name>
  54. <condition>
  55. <and>
  56. <equals>
  57. <property>gear/gear[0]/position-norm</property>
  58. <value>1</value>
  59. </equals>
  60. <greater-than>
  61. <property>fdm/jsbsim/aero/alpha-deg</property>
  62. <value>6</value>
  63. </greater-than>
  64. <less-than>
  65. <property>fdm/jsbsim/aero/alpha-deg</property>
  66. <value>8</value>
  67. </less-than>
  68. </and>
  69. </condition>
  70. </animation>
  71. <!-- *** LoD *** -->
  72. <animation>
  73. <type>range</type>
  74. <min-m>0</min-m>
  75. <max-m>5</max-m>
  76. </animation>
  77. </PropertyList>