Beacon.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <model>
  4. <name>BeaconFlare</name>
  5. <path>Flares/Beacon-flare.xml</path>
  6. </model>
  7. <model>
  8. <name>BeaconRemb</name>
  9. <path>Rembrandt/Beacon-remb.xml</path>
  10. </model>
  11. <!-- COMPOSITOR REPLACEMENT CODE -->
  12. <light>
  13. <name>BeaconComp</name>
  14. <type>point</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.03</r>
  27. <g>0.01</g>
  28. <b>0.01</b>
  29. <a>1.0</a>
  30. </ambient>
  31. <diffuse>
  32. <r>0.80</r>
  33. <g>0.10</g>
  34. <b>0.10</b>
  35. <a>1.0</a>
  36. </diffuse>
  37. <specular>
  38. <r>1.00</r>
  39. <g>0.20</g>
  40. <b>0.20</b>
  41. <a>1.0</a>
  42. </specular>
  43. <color>
  44. <r>1.00</r>
  45. <g>0.20</g>
  46. <b>0.20</b>
  47. <a>1.0</a>
  48. </color>
  49. <dim-factor>
  50. <expression>
  51. <product>
  52. <value>-1</value>
  53. <sum>
  54. <product>
  55. <max>
  56. <pow>
  57. <cos><property>/sim/time/sun-angle-rad</property></cos>
  58. <value>0.3</value>
  59. </pow>
  60. <value>0</value>
  61. </max>
  62. <value>0.6</value>
  63. </product>
  64. <value>-1</value>
  65. </sum>
  66. </product>
  67. </expression>
  68. </dim-factor>
  69. <attenuation>
  70. <c>2.0</c>
  71. <l>0.05</l>
  72. <q>0.1</q>
  73. </attenuation>
  74. <spot-exponent>5</spot-exponent>
  75. <spot-cutoff>90</spot-cutoff>
  76. <range-m>350</range-m>
  77. <intensity>500</intensity>
  78. </light>
  79. <animation>
  80. <type>select</type>
  81. <object-name>BeaconComp</object-name>
  82. <condition>
  83. <equals>
  84. <property>sim/current-view/internal</property>
  85. <value>false</value>
  86. </equals>
  87. </condition>
  88. </animation>
  89. <animation>
  90. <type>select</type>
  91. <object-name>BeaconFlare</object-name>
  92. <object-name>BeaconRemb</object-name>
  93. <object-name>BeaconComp</object-name>
  94. <condition>
  95. <and>
  96. <property>lightpack/beacon-state/state</property>
  97. <not><property>sim/crashed</property></not>
  98. </and>
  99. </condition>
  100. </animation>
  101. </PropertyList>