rain-ground.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0"?>
  2. <!--
  3. Particle system to simulate it's raining heavily in the ground.
  4. Current tests done as kart particles, but this should be per camera
  5. and placed like the cylinders that have rain drop textures, maybe
  6. with some speed compensation, so it never wastes particles (out
  7. of view) when camera moves really fast. Then rate can be trimmed
  8. down to 150/180 or 100/120, with smaller box.
  9. -->
  10. <particles emitter="box" box_x="12.0" box_y="0.5" box_z="12.0">
  11. <spreading angle="20" />
  12. <velocity x="0.000"
  13. y="0.005"
  14. z="0.000" />
  15. <material file="water-splash.png" />
  16. <!-- Amount of particles emitted per second -->
  17. <rate min="200"
  18. max="240" />
  19. <!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
  20. <lifetime min="1000"
  21. max="1000" />
  22. <!-- Size of the particles -->
  23. <size min="0.35"
  24. max="0.70" />
  25. <color min="255 255 255"
  26. max="255 255 255" />
  27. </particles>