//desc:haze-lite emp grenade explosion (heavily modified from jedilammas)

r_part te_tarexplosion //ring blast
{
	texture "particles/duolight02grey.tga"
	count 240
	scale 30
	alpha 0.2
	die 0.3
	randomvel 0
	veladd -11
	rgb 128 255 76
	rgbdelta 0 0 0
	gravity 0
	friction -0.9
	blend add
	spawnmode uniformcircle
	spawnorg 64 0 
	spawnvel 366 0
	scalefactor 1
	emit empelectric
	emitinterval 0.01
	lighttime 0.3
	lightshadows 0
	lightradius 350
	lightrgb 0.27 .27 1
}

r_part +te_tarexplosion //blue explo
{
	texture "particles/generic.png"
	count 11
	scale 120
	scalerand 50
	scalefactor 1
	alpha 0.5
	die 0.4
	diesubrand 0.1
	randomvel 32
	veladd 1
	rgbdelta 240 -270 0
	rgb 0 255 255 
	gravity -20
	friction 0
	blend add
	cliptype nothing
	clipcount 1
	spawnorg 20 20	
	spawnvel 64 64
	scalefactor 1
	spawnmode ball
}

r_part +te_tarexplosion //green explo
{
	texture "particles/generic.png"
	count 11
	scale 120
	scalerand 50
	alpha 0.5
	die 0.4
	diesubrand 0.1
	randomvel 32
	veladd 1
	spawnorg 20 20 
	spawnvel 64 64
	spawnmode ball
	rgb 128 255 76
	gravity -20
	blend add
	scalefactor 1
}

r_part +te_tarexplosion //sparks
{
	count 15
	spawnmode ball
	spawnorg 30 30
	spawnvel 150 150
	texture ""
	type texturedspark
	scale 1
	scalerand 1
	scalefactor 1
	rgb 28 128 255
	gravity 30
	die 0.6
	diesubrand 0.2
	up 25
	friction 0
	alpha 0.5
	blend add
	randomvel 100
	veladd 100
	cliptype nothing
	clipcount 1
	inwater expbubble
}

r_part empelectric //spark ring
{
	texture ""
	count 3
	alpha 0.4
	die 0.1
	diesubrand 0.1
	randomvel 76
	veladd 0
	rgb 0 255 255
	rgbdelta 0 -555 -255
	gravity 0
	blend add
	scalefactor 1
}
