feat: Add extra probes for snow, start particles higher, make them slower.

This commit is contained in:
Adam Macumber 2022-09-25 16:19:42 -04:00
parent 73e5e55ff7
commit ced005bf98
1 changed files with 17 additions and 9 deletions

View File

@ -5,19 +5,27 @@ mcl_weather.snow = {}
mcl_weather.snow.particles_count = 15 mcl_weather.snow.particles_count = 15
mcl_weather.snow.init_done = false mcl_weather.snow.init_done = false
local emitter_width = 20
local emitter_height = 20
local emitter_vertical_spread = 5
local psdef= { local psdef= {
amount = 99, amount = 99,
time = 0, --stay on til we turn it off time = 0, --stay on til we turn it off
minpos = vector.new(-15,-5,-15), minpos = vector.new(-emitter_width,emitter_height,-emitter_width),
maxpos =vector.new(15,10,15), maxpos = vector.new(
minvel = vector.new(0,-1,0), emitter_width,
maxvel = vector.new(0,-4,0), emitter_height+emitter_vertical_spread,
minacc = vector.new(0,-1,0), emitter_width
maxacc = vector.new(0,-4,0), ),
minexptime = 1, minvel = vector.new(0,-2,0),
maxexptime = 1, maxvel = vector.new(0,-3,0),
minacc = vector.new(0,0,0),
maxacc = vector.new(0,0,0),
minexptime = 15,
maxexptime = 15,
minsize = 0.5, minsize = 0.5,
maxsize = 5, maxsize = 4,
collisiondetection = true, collisiondetection = true,
collision_removal = true, collision_removal = true,
object_collision = true, object_collision = true,