TaxiLight.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <model>
  4. <name>TaxiLightFlash</name>
  5. <path>Flares/TaxiLight-flash.xml</path>
  6. </model>
  7. <model>
  8. <name>TaxiLightRemb</name>
  9. <path>Rembrandt/TaxiLight-remb.xml</path>
  10. </model>
  11. <!--><model>
  12. <name>TaxiLightCone</name>
  13. <path>LightCone/TaxiLight-cone.xml</path>
  14. </model><--> <!-- uncomment for fake non-rembrandt cones -->
  15. <!-- COMPOSITOR REPLACEMENT CODE -->
  16. <light>
  17. <name>TaxiLightComp</name>
  18. <type>spot</type>
  19. <position>
  20. <x>0.0</x>
  21. <y>0.0</y>
  22. <z>0.0</z>
  23. </position>
  24. <direction>
  25. <x>-1.0</x>
  26. <y>0.0</y>
  27. <z>0.0</z>
  28. </direction>
  29. <ambient>
  30. <r>0.03</r>
  31. <g>0.03</g>
  32. <b>0.03</b>
  33. <a>1.0</a>
  34. </ambient>
  35. <diffuse>
  36. <r>0.80</r>
  37. <g>0.80</g>
  38. <b>0.70</b>
  39. <a>1.0</a>
  40. </diffuse>
  41. <specular>
  42. <r>1.00</r>
  43. <g>0.75</g>
  44. <b>0.75</b>
  45. <a>1.0</a>
  46. </specular>
  47. <dim-factor>
  48. <expression>
  49. <product>
  50. <value>-1</value>
  51. <sum>
  52. <product>
  53. <max>
  54. <pow>
  55. <cos><property>/sim/time/sun-angle-rad</property></cos>
  56. <value>0.3</value>
  57. </pow>
  58. <value>0</value>
  59. </max>
  60. <value>1.0</value>
  61. </product>
  62. <value>-1</value>
  63. </sum>
  64. <property>lightpack/taxi-light-intensity</property>
  65. </product>
  66. </expression>
  67. </dim-factor>
  68. <attenuation>
  69. <c>0.005</c>
  70. <l>0.002</l>
  71. <q>0.002</q>
  72. </attenuation>
  73. <spot-exponent>5</spot-exponent>
  74. <spot-cutoff>45</spot-cutoff>
  75. <range-m>250</range-m>
  76. <intensity>1000</intensity>
  77. </light>
  78. <animation>
  79. <type>select</type>
  80. <object-name>TaxiLightFlash</object-name>
  81. <object-name>TaxiLightRemb</object-name>
  82. <object-name>TaxiLightComp</object-name>
  83. <!--><object-name>TaxiLightCone</object-name><--> <!-- uncomment for fake non-rembrandt cones -->
  84. <condition>
  85. <and>
  86. <property>lightpack/taxi-light-intensity</property>
  87. <not><property>sim/crashed</property></not>
  88. </and>
  89. </condition>
  90. </animation>
  91. </PropertyList>