GreenLight.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <color>
  50. <r>0.00</r>
  51. <g>1</g>
  52. <b>0.00</b>
  53. <a>1.0</a>
  54. </color>
  55. <dim-factor>
  56. <expression>
  57. <product>
  58. <property>lightpack/nav-lights-intensity</property>
  59. <value>-0.35</value>
  60. <sum>
  61. <product>
  62. <max>
  63. <pow>
  64. <cos><property>/sim/time/sun-angle-rad</property></cos>
  65. <value>0.3</value>
  66. </pow>
  67. <value>0</value>
  68. </max>
  69. <value>1.2</value>
  70. </product>
  71. <value>-1</value>
  72. </sum>
  73. </product>
  74. </expression>
  75. </dim-factor>
  76. <attenuation>
  77. <c>1.0</c>
  78. <l>0.05</l>
  79. <q>0.01</q>
  80. </attenuation>
  81. <spot-exponent>5</spot-exponent>
  82. <spot-cutoff>60</spot-cutoff>
  83. <range-m>50</range-m>
  84. <intensity>500</intensity>
  85. </light>
  86. </PropertyList>