gear.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0"?>
  2. <!-- gear position indicator, by Dave Culp -->
  3. <PropertyList>
  4. <path>gear.ac</path>
  5. <animation>
  6. <type>select</type>
  7. <object-name>NoseGearLight</object-name>
  8. <condition>
  9. <equals>
  10. <property>gear/gear[0]/position-norm</property>
  11. <value>1</value>
  12. </equals>
  13. </condition>
  14. </animation>
  15. <animation>
  16. <type>select</type>
  17. <object-name>LMainGearLight</object-name>
  18. <condition>
  19. <equals>
  20. <property>gear/gear[1]/position-norm</property>
  21. <value>1</value>
  22. </equals>
  23. </condition>
  24. </animation>
  25. <animation>
  26. <type>select</type>
  27. <object-name>RMainGearLight</object-name>
  28. <condition>
  29. <equals>
  30. <property>gear/gear[2]/position-norm</property>
  31. <value>1</value>
  32. </equals>
  33. </condition>
  34. </animation>
  35. <animation>
  36. <type>select</type>
  37. <object-name>hook-light</object-name>
  38. <condition>
  39. <equals>
  40. <property>fdm/jsbsim/systems/hook/tailhook-pos-norm</property>
  41. <value>1</value>
  42. </equals>
  43. </condition>
  44. </animation>
  45. <animation>
  46. <type>select</type>
  47. <object-name>launchbar-light</object-name>
  48. <condition>
  49. <equals>
  50. <property>fdm/jsbsim/systems/holdback/holdback-cmd</property>
  51. <value>1</value>
  52. </equals>
  53. </condition>
  54. </animation>
  55. <animation>
  56. <type>material</type>
  57. <object-name>NoseGearLight</object-name>
  58. <object-name>LMainGearLight</object-name>
  59. <object-name>RMainGearLight</object-name>
  60. <!--
  61. <object-name>hook-light</object-name>
  62. <object-name>launchbar-light</object-name>
  63. -->
  64. <emission>
  65. <red>0</red>
  66. <green>0.4</green>
  67. <blue>0</blue>
  68. <factor-prop>controls/lighting/instruments-norm</factor-prop>
  69. <offset>0.1</offset>
  70. </emission>
  71. </animation>
  72. <!-- *** LoD *** -->
  73. <animation>
  74. <type>range</type>
  75. <min-m>0</min-m>
  76. <max-m>5</max-m>
  77. </animation>
  78. </PropertyList>