//desc: haze-lite impact/spark/smoke effects of axe/gunshots
r_bouncysparks 1
r_part_sparks_trifan 1

r_part te_gunshot
{
	texture ""
	count 0.5
	scale 5
	scalefactor 1
	alpha 0.3
	die 0.1
	randomvel 150
	veladd 0
	rgb 255 128 76
	gravity 80
	blend add
	friction 0
	assoc gunshotsparks
	emit gunshotbits
	emitinterval 1
	lighttime 0.1
	lightshadows 1
	lightradius  5
	lightrgb  1 1 1
	inwater gunbubble2
	cliptype gunshot_decal
	clipcount 1
}

r_part gunshotsparks
{
	texture ""
	count 0.5
	scale 0
	scalefactor 1
	alpha 0.6
	die 0.3
	randomvel 140
	veladd 44
	rgb 255 128 76
	gravity 400
	blend add
	cliptype randomspark
	clipcount 0.5
	assoc gunshotsmoke
	rampmode delta
	ramp 0	 0	0 	1
	inwater gunbubble2
}

r_part gunshotsmoke
{
	texture "particles/smoke.tga"
	count 1
	scale 10
	scalerand 5
	scalefactor 1
	scaledelta 20
	alpha 0.1
	die 0.5
	randomvel 5 
	veladd 5
	rgb 255 255 255
	gravity 5
	blend add
	rampmode delta
	ramp 0 0 0 	0.2
	ramp 0 0 0 	0.2
	inwater gunbubble2
}

r_part gunshotbits
{	
	texture "ball"
	type texturedspark
	count 0.3
	scale 1
	scalefactor 1
	veladd 0
	randomvel -111
	alpha 0.2
	die 0.5
	rgb 255 128 76
	friction 0
	gravity 400
	blend add
	inwater gunbubble
}

r_part gunshot_decal
{
	type decal
	texture "particles/explosion"
	count 1
	scale 5
	alpha 0.8
	die 20
	blend invmod
}

r_part gunbubble
{
	texture "particles/bubble.png"
	count 1
	scale 1
	scalerand 6
	alpha 0.8
	die 0.5
	diesubrand 0.4
	blend add	
	veladd 0
	randomvel 20
	spawnorg 2 2
	spawnvel 3 3
	rgb 255 255 255
	gravity -150
	scalefactor 1
}

r_part gunbubble2
{
	texture ""
	count 1
	scale 5
	scalefactor 1
	alpha 0.8
	die 0.1
	randomvel 150
	veladd 0
	rgb 255 128 76
	gravity 80
	blend add
	friction 0
	assoc gunbubble
}

//haze-lite super nailgun impact
r_part te_superspike
{
	texture ""
	count 5
	scale 5 7
	scalefactor 1
	alpha 0.2
	die 0.1
	randomvel 150
	veladd 0
	rgb 255 128 76
	gravity 80
	blend add
	friction 0
	assoc gunshotsparks
	emit gunshotbits
	emitinterval 1
	inwater gunbubble2
	lighttime 0.1
	lightradiusfade 0
	lightshadows 1
	lightradius  11
	lightrgb  1 1 1
	cliptype spike_decal
	clipcount 1
}

//haze-lite nailgun impact
r_part te_spike
{
	texture ""
	count 5
	scale 5 7
	scalefactor 1
	alpha 0.2
	die 0.1
	randomvel 150
	veladd 0
	rgb 255 128 76
	gravity 80
	blend add
	friction 0
	assoc gunshotsparks
	emit gunshotbits
	emitinterval 1
	inwater gunbubble2
	lighttime 0.1
	lightradiusfade 0
	lightshadows 1
	lightradius  11
	lightrgb  1 1 1
	cliptype spike_decal
	clipcount 1
}

r_part spike_decal
{
	type decal
	texture "particles/explosion"
	count	1
	scale 5
	alpha 0.3
	die 20
	blend invmod
}