//desc:haze-lite lava

r_effect "progs/lavapool.mdl" tex_*lava1
r_part_rain 1

r_part tex_*lava1
{
	texture "particles/explosion.png"
	scale 66
	scalerand 80
	rgb 255 69 0
	count 3
	alpha 0
	blend modulate
	die 1.5
	up -6
	diesubrand 0.2
	veladd 0
	randomvel -22
	gravity 5
	scalefactor 1
	spawnmode ball
	spawnorg 10 10
	rampmode delta
	ramp -50    -15    0    -0.3   0
	ramp -50    -15    0    -0.1   0
	ramp -50    -15    0    -0.1   0
	ramp -50    -15    0     0.2   0
	ramp -50     -9    0     0.3   0
	ramp   0      0    0     0.2   0	
	assoc lava2
}

r_part lava2
{
	texture "particles/generic.png" 
	scale  160
	scalerand 84
	count 1
	alpha 0
	blend modulate
	rgb 1 1 1
	die 4
	diesubrand 1.2
	veladd 0
	randomvel 5
	spawnvel 10 0
	spawnorg 10 0
	spawnmode circle
	gravity -10
	scalefactor 1
	cliptype nothing
	clipcount 0
	up 1 //25
	rotationstart 0 360
	rotationspeed -180 180
	assoc lava3
	rampmode delta
	ramp 0    0    0    -0.3   20
	ramp 0    0    0    -0.2   20
	ramp 1    1    1    -0.4   20
	ramp 1    1    1    0.3    20
	ramp 1    1    1    0.3    20
	ramp 1    1    1    0.5    20
}

r_part lava3
{
	texture "particles/generic.png"
	scale 1
	scalerand 8
	rgb 255 69 0
	count 1
	alpha 0.3
	blend add
	die 1.3
	diesubrand 0.2
	veladd 55
	randomvel 55
	gravity 155
	scalefactor 1
	spawnmode ball
	rampmode delta
	ramp 0 0 0 -0.3
	ramp 0 0 0 0.5
	cliptype nothing
	clipcount 0
	up 10
}

r_partredirect tex_*lava_2 tex_*lava1
r_partredirect tex_*lava2 tex_*lava1
r_partredirect tex_*lava5 tex_*lava1
r_partredirect tex_*lava_q3 tex_*lava1
r_partredirect tex_*lava_dc tex_*lava1
r_partredirect tex_*safelava tex_*lava1
r_partredirect tex_*lava10 tex_*lava1
r_partredirect tex_*lavakelvin tex_*lava1
r_partredirect tex_*lavahell tex_*lava1
r_partredirect tex_*lava_frib tex_*lava1
