Weather_rain

Weather_rain

Classname: weather_rain
Purpose: atmospherics
H2 Code: weather.hc
Rain falls within its brush, and appropriate sound-effects are generated (rain with a thunderstorm is really quite cool). The field-descriptions are pretty well raw out of weather.hc

Fields

color palette number of the rain's color - will range between this color and this color + 8 unless monochrome is checked. Default = 414. Tiglari has no idea how these palette numbers work, and there is no monochrome spawnflag ... (translucent blue)
counter number of rain particles to generate every 10th of a second. Default = 300.
wait How often to generate rain particles. Default = .1 of a second. Dunno how this relates to counter (tho both are set in the code). Making the storm-brush snaller seems to increase its intensity.
soundtype 0 (default) = ordinary rain; 1 = cave-style wet drip.
spawnflags Sum of numbers for desesired properties, as discussed here:
  • 1 - STRAIGHT: Rain will fall straight down rather than at an angle.
  • 2 - NO_SPLAT: Rain will not make "splats" on the ground.

Back to the list.