Beacon.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. <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>90</spot-cutoff>
  70. <range-m>350</range-m>
  71. </light>
  72. <animation>
  73. <type>select</type>
  74. <object-name>BeaconComp</object-name>
  75. <condition>
  76. <equals>
  77. <property>sim/current-view/internal</property>
  78. <value>false</value>
  79. </equals>
  80. </condition>
  81. </animation>
  82. <animation>
  83. <type>select</type>
  84. <object-name>BeaconFlare</object-name>
  85. <object-name>BeaconRemb</object-name>
  86. <object-name>BeaconComp</object-name>
  87. <condition>
  88. <and>
  89. <property>lightpack/beacon-state/state</property>
  90. <not><property>sim/crashed</property></not>
  91. </and>
  92. </condition>
  93. </animation>
  94. </PropertyList>