landinglight.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <PropertyList>
  3. <path>landinglight.ac</path>
  4. <effect>
  5. <inherits-from>Aircraft/ec145/Models/Effects/reflect-uber</inherits-from>
  6. <object-name>pod</object-name>
  7. </effect>
  8. <!-- rotation animation -->
  9. <animation>
  10. <type>rotate</type>
  11. <object-name>arm</object-name>
  12. <object-name>glass</object-name>
  13. <object-name>leds</object-name>
  14. <object-name>housing</object-name>
  15. <object-name>reflector</object-name>
  16. <property>sim/model/bk117/landinglight/pos-norm</property>
  17. <factor>-80</factor>
  18. <axis>
  19. <object-name>axis</object-name>
  20. </axis>
  21. </animation>
  22. <animation>
  23. <type>material</type>
  24. <object-name>leds</object-name>
  25. <emission>
  26. <red>1.0</red>
  27. <green>1.0</green>
  28. <blue>1.0</blue>
  29. </emission>
  30. </animation>
  31. <!-- light on animation -->
  32. <animation>
  33. <type>material</type>
  34. <object-name>reflector</object-name>
  35. <condition>
  36. <and>
  37. <greater-than>
  38. <property>systems/electrical/outputs/light-ldg</property>
  39. <value>5.0</value>
  40. </greater-than>
  41. <property>lightpack/landing-lights-intensity</property>
  42. <not><property>sim/crashed</property></not>
  43. </and>
  44. </condition>
  45. <emission>
  46. <red>0.6</red>
  47. <green>0.6</green>
  48. <blue>0.6</blue>
  49. </emission>
  50. </animation>
  51. <!-- light off animation -->
  52. <animation>
  53. <type>select</type>
  54. <object-name>leds</object-name>
  55. <condition>
  56. <and>
  57. <greater-than>
  58. <property>systems/electrical/outputs/light-ldg</property>
  59. <value>5.0</value>
  60. </greater-than>
  61. <property>lightpack/landing-lights-intensity</property>
  62. <not><property>sim/crashed</property></not>
  63. </and>
  64. </condition>
  65. </animation>
  66. </PropertyList>