//desc:hazed flame & torch effect
r_effect "progs/flame2.mdl" cu_flame 1
r_effect "progs/flame.mdl" cu_torch

r_part cu_flame
{
	texture "particles/flame"
	count	64
	scale 50
	scalerand 15
	scalefactor 1
	scaledelta 0
	alpha 0
	die 1
	randomvel 4 24
	veladd -24
	rgb 255 128 76
	rgbdelta 0 -64 -38
	blend add
	spawnorg 10 0
	spawnmode box
	spawnvel -6 0
	up -8
	rampmode delta
	ramp 0 0 0 -0.6
	ramp 0 0 0 0.3
	ramp 0 0 0 0.3
}

r_part +cu_flame //bits
{
	texture "particles/generic.png"
	count 6
	scale 1
	scalerand 3
	scalefactor 1
	scaledelta -3
	alpha 0.7
	die 0.8
	randomvel -15
	veladd -15
	rgb 200 200 180
	blend modulate
	spawnorg 10 10
	spawnvel -5 10
	spawnmode box
    gravity -200
}

r_part +cu_flame //bits2
{
	texture "particles/smoke"
	count 6
	scale 33
	scalerand 11
	scalefactor 1
	scaledelta 0
	alpha 0
	die 1
	randomvel -5
	veladd -25
	rgb 1 1 1
	blend merge
	spawnorg 15
	spawnvel 5
	spawnmode box
    gravity -30
	up 20
	rampmode delta
	ramp 0 0 0 -0.3
	ramp 0 0 0 -0.5
	ramp 0 0 0 -0.7
	ramp 0 0 0 0.7
	ramp 0 0 0 0.5
	ramp 0 0 0 0.3
}
	
//hazed torch effect

r_part cu_torch
{
	texture "particles/flame"
	count 64
	scale 30 
	scalerand 7 
	scalefactor 1
	scaledelta 0 
	alpha 0
	die 0.8
	randomvel 4 24
	veladd -18
	rgb 255 128 76
	rgbdelta 0 -64 -38
	blend add
	spawnorg 5 0 
	spawnmode box
	spawnvel -6 0
	up 4
	rampmode delta
	ramp 0 0 0 -0.7
	ramp 0 0 0 0.4
	ramp 0 0 0 0.3

}

r_part +cu_torch //torchbits
{
	texture "particles/generic.png"
	count 3
	scale 1
	scalerand 2
	scalefactor 1
	scaledelta -2
	alpha 0.7
	die 0.8
	randomvel -15
	veladd -15
	rgb 200 200 180
	blend modulate
	spawnorg 5 5
	spawnvel -3 5
	spawnmode box
    gravity -100
	up 8
}

r_part +cu_torch //torchbits2
{
	texture "particles/smoke"
	count 6
	scale 15
	scalerand 5
	scalefactor 1
	scaledelta 0
	alpha 0
	die 1
	randomvel -5
	veladd -25
	rgb 1 1 1
	blend merge
	spawnorg 7
	spawnvel 5
	spawnmode box
    gravity -30
	up 10
	rampmode delta
	ramp 0 0 0 -0.3
	ramp 0 0 0 -0.5
	ramp 0 0 0 -0.7
	ramp 0 0 0 0.7
	ramp 0 0 0 0.5
	ramp 0 0 0 0.3
}
