light-cone.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <!-- landing lights with auto off on retract -->
  4. <!-- rembrandt auto switching for glass -->
  5. <effect>
  6. <inherits-from>Effects/model-transparent</inherits-from>
  7. <condition>
  8. <property>sim/rendering/rembrandt/enabled</property>
  9. </condition>
  10. <object-name>light</object-name>
  11. <object-name>Light</object-name>
  12. </effect>
  13. <!-- Turns off non rembrant lighting and effects -->
  14. <animation>
  15. <type>select</type>
  16. <object-name>Taxi-Light</object-name>
  17. <object-name>NoseGearLandinglight</object-name>
  18. <condition>
  19. <not>
  20. <property>/sim/rendering/rembrandt/enabled</property>
  21. </not>
  22. </condition>
  23. </animation>
  24. <!-- Landing lights -->
  25. <model>
  26. <path>Aircraft/AvroVulcanB2/Models/Lights/normal/landinglight.xml</path>
  27. <name>NoseGearLandinglight</name>
  28. <condition>
  29. <equals>
  30. <property>gear/gear[0]/position-norm</property>
  31. <value type="bool">true</value>
  32. </equals>
  33. </condition>
  34. <offsets>
  35. <x-m>0</x-m>
  36. <y-m>0</y-m>
  37. <z-m>0</z-m>
  38. <pitch-deg>0</pitch-deg>
  39. <heading-deg>0</heading-deg>
  40. </offsets>
  41. </model>
  42. <model>
  43. <name>Taxi-Light</name>
  44. <path>Aircraft/AvroVulcanB2/Models/Lights/normal/light-cone.xml</path>
  45. <offsets>
  46. <x-m>0</x-m>
  47. <y-m>0</y-m>
  48. <z-m>0</z-m>
  49. <pitch-deg>0</pitch-deg>
  50. <heading-deg>0</heading-deg>
  51. </offsets>
  52. </model>
  53. <model>
  54. <name>Taxi-LightR</name>
  55. <path>Aircraft/AvroVulcanB2/Models/Lights/remb/LandingLight.xml</path>
  56. <offsets>
  57. <x-m></x-m>
  58. <y-m>0</y-m>
  59. <z-m></z-m>
  60. <pitch-deg>0</pitch-deg>
  61. <heading-deg>0</heading-deg>
  62. </offsets>
  63. </model>
  64. <animation>
  65. <type>select</type>
  66. <object-name>Taxi-Light</object-name>
  67. <object-name>Taxi-LightR</object-name>
  68. <name>NoseGearLandinglight</name>
  69. <condition>
  70. <equals>
  71. <property>gear/gear[0]/position-norm</property>
  72. <value> 1 </value>
  73. </equals>
  74. </condition>
  75. </animation>
  76. </PropertyList>