GreenLight.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <model>
  4. <name>GreenLightFlare</name>
  5. <path>Flares/GreenLight-flare.xml</path>
  6. </model>
  7. <model>
  8. <name>GreenLightRemb</name>
  9. <path>Rembrandt/GreenLight-remb.xml</path>
  10. </model>
  11. <animation>
  12. <type>select</type>
  13. <object-name>GreenLightFlare</object-name>
  14. <object-name>GreenLightRemb</object-name>
  15. <condition>
  16. <and>
  17. <property>lightpack/nav-lights-intensity</property>
  18. <not><property>sim/crashed</property></not>
  19. </and>
  20. </condition>
  21. </animation>
  22. <!-- Coompositor lights -->
  23. <light>
  24. <name>green1</name>
  25. <type>spot</type>
  26. <direction>
  27. <x>0.0</x>
  28. <y>0.0</y>
  29. <z>1.0</z>
  30. </direction>
  31. <ambient>
  32. <r>0.03</r>
  33. <g>1</g>
  34. <b>0.03</b>
  35. <a>1.0</a>
  36. </ambient>
  37. <diffuse>
  38. <r>0.20</r>
  39. <g>0.80</g>
  40. <b>0.20</b>
  41. <a>1.0</a>
  42. </diffuse>
  43. <specular>
  44. <r>0.30</r>
  45. <g>1.00</g>
  46. <b>0.30</b>
  47. <a>1.0</a>
  48. </specular>
  49. <dim-factor>
  50. <expression>
  51. <product>
  52. <property>lightpack/nav-lights-intensity</property>
  53. <value>-0.35</value>
  54. <sum>
  55. <product>
  56. <max>
  57. <pow>
  58. <cos><property>/sim/time/sun-angle-rad</property></cos>
  59. <value>0.3</value>
  60. </pow>
  61. <value>0</value>
  62. </max>
  63. <value>1.2</value>
  64. </product>
  65. <value>-1</value>
  66. </sum>
  67. </product>
  68. </expression>
  69. </dim-factor>
  70. <attenuation>
  71. <c>1.0</c>
  72. <l>0.05</l>
  73. <q>0.01</q>
  74. </attenuation>
  75. <spot-exponent>5</spot-exponent>
  76. <spot-cutoff>60</spot-cutoff>
  77. <range-m>50</range-m>
  78. </light>
  79. </PropertyList>