SearchLight-cone.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>SearchLightCone.ac</path>
  4. <animation>
  5. <type>blend</type>
  6. <expression>
  7. <sum>
  8. <product>
  9. <product>
  10. <property>lightpack/search-lights-intensity</property>
  11. <value>-1</value>
  12. </product>
  13. <sum>
  14. <max>
  15. <pow>
  16. <cos><property>/sim/time/sun-angle-rad</property></cos>
  17. <value>0.3</value>
  18. </pow>
  19. <value>0</value>
  20. </max>
  21. <value>-1.8</value>
  22. </sum>
  23. <value>-0.2</value>
  24. </product>
  25. <value>1</value>
  26. </sum>
  27. </expression>
  28. </animation>
  29. <effect>
  30. <inherits-from>Effects/light-cone</inherits-from>
  31. <object-name>Cone2</object-name>
  32. </effect>
  33. <animation>
  34. <type>select</type>
  35. <object-name>Cone2</object-name>
  36. <object-name>Cone2-texture</object-name>
  37. <object-name>Light</object-name>
  38. <condition>
  39. <not><property>/sim/rendering/rembrandt/enabled</property></not>
  40. </condition>
  41. </animation>
  42. </PropertyList>