Strobe.xml 1.8 KB

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