//desc:haze-lite lightning bolt for lightning gun
r_part_sparks_trifan 1
r_part te_lightning2
{	
	die 0
	type beam
	alpha 0
	step 5
	scale 1
	scalefactor 0
	rgb 98 98 128
	spawnmode distball
	spawnorg 3
	spawnparam1 0.2
	blend add
	averageout
	nospreadfirst
	lighttime 0
	lightshadows 0
	lightradius 300
	lightrgb 2 2 2
}

r_part +te_lightning2
{
	texture ""
	count 0.5
	alpha 0.4
	die 0
	randomvel 88
	veladd 0
	rgb 150 200 255
	rgbdelta 0 -8888 0
	gravity 0
	blend add
	scalefactor 1
	spawnmode tracer
}

r_part +te_lightning2
{
	texture ""
	step 20
	alpha 0.5
	scale 0.8
	rgb 200 222 255
	gravity 0
	blend add
	spawnmode distball
	spawnorg 3 3
	type beam
	scalefactor 1
	spawnparam1 0.2
}

r_part +te_lightning2
{
	texture ""
	step 20
	alpha 0.5
	scale 0.8
	rgb 200 222 255
	gravity 0
	blend add
	spawnmode distball
	spawnorg -3 -3
	type beam
	scalefactor 1
	spawnparam1 0.2
}

//(modified from spikeset)

r_part te_lightning1_end 
{
	texture ""
	die 0.3
	alpha 1
	count 2
	scale 0
	rgb 128 128 255
	rgbrand 63 63 0
	rgbrandsync 1
	randomvel 190
	spawnorg 2
	blend add
	gravity 300
	cliptype te_lightning2_end2	
	clipcount 1
	scalefactor 11
	lighttime 0.1
	lightradiusfade 10
	lightshadows 0
	lightradius  100
	lightrgb  1 1 1
}

r_part +te_lightning1_end 
{
	texture "particles/smoke"
	count 4
	scalerand 15
	scale 15
	scalefactor 1
	alpha 0.3
	die 1
	randomvel 11
	veladd 1
	rgb 0 0 0
	gravity -70
	blend modulate
}

r_part te_lightning2_end
{
	texture ""
	die 0.3
	alpha 1
	count 2
	scale 0
	rgb 128 128 255
	rgbrand 63 63 0
	rgbrandsync 1
	randomvel 190
	spawnorg 2
	blend add
	gravity 300
	cliptype te_lightning2_end2	
	clipcount 1
	scalefactor 11
	lighttime 0.1
	lightradiusfade 10
	lightshadows 0
	lightradius  100
	lightrgb  1 1 1
}

r_part +te_lightning2_end //lightning decal
{
	type decal
	texture "particles/explosion"
	count 1
	scale 11
	alpha 0.6
	die 20
	blend invmod
}

r_part +te_lightning2_end 
{
	texture "particles/smoke"
	count	4
	scalerand 15
	scale 15
	scalefactor 1
	alpha 0.3
	die 1
	randomvel 11
	veladd 1
	rgb 0 0 0
	gravity -70
	blend modulate
}

r_part te_lightning2_end2
{
	count 1
	texture ""
	scale 0
	rgb 128 128 255
	rgbrand 63 63 0
	rgbrandsync 1
	alpha 1
	gravity 300
	spawnmode ball
	die 1
	blend add
	randomvel -111
	veladd 0
	scalefactor 1
}
