Weather_snow

Weather_snow

Classname: weather_snow
Purpose: Chilly effex
H2 Code: weather.hc
An absolutely fabulous and effective effect! I haven't thoroughly checked out all the fields and spawnflags, so please tell me if any of this turns out to be inaccurate.

Fields

counter number of snow particles to generate every 10th of a second. Default = 100.
speed How fast it falls, default = 200 (faster than 300 might make slowdown).
anglespeed How fast the lateral movement, default = 125.
movedir Value is a triple of numbers, direction snow blows. According to the code comments, values range from 1 1 1 to -1 -1 -1, default being random between -1 -1 -1 and 1 1 -0.5. In the PoP maps, this field is only used in tibet9, with value -.3 0 -.5. Hey what the hell, it looks great without stuffing around with this one.
spawnflags
  • 1 - FLUFFY: All largish flakes
  • 2 - MIXED: Mixed sizes
  • 4 - HALF_BRIGHT: flakes start at most half-bright (darker snow)
  • 8 - NO_MELT: flakes don't melt, just vanish
  • 16 - IN_BOUNDS: flakes stay in box
  • 32 - NO_TRANS: flakes not translucent

Notes: the map entities contain lots of instances of a veer field with value of either 2 or 50, but I haven't investigated what it does (it's not discussed in the code comments).
Back to the list.