gamma 0.65
contrast 1.0
crosshair 0
r_stains 0
//r_skybox dusk
volume 0.25

rate 10000

//my kyeys
bind del "impulse 1"
bind ins "impulse 2"
bind home "quick1"
bind pgup "quick2"
bind pgdn "reload"
bind / "impulse 225"
bind \ special
bind mouse2 zoom
bind ctrl prone
bind shift duck
bind uparrow +forward
bind leftarrow +moveleft
bind rightarrow +moveright
bind downarrow +back
bind enter exit
bind end +jump
sensitivity 7
//my keys end

r_part te_explosion
{
	texture "particles/exp.tga"
	count 15
	scale 256
	scalefactor 1
	scalerand 22
	alpha 0.7
	die 1.4    
	diesubrand 0.3
	randomvel 88 
	rgb 255 128 76
	rgbdelta -255 -128 -76
	friction 1
	stains 1
	blend add
	assoc exp_smoke
	spawnmode ball
	emit zz_explosion
	emitinterval 2
}

r_part tlightningflash
{
	spawntime 0.1
	spawnchance 0.1
	die 0.25
	type beam
	alpha 1
	step 80
	scale 14
	scaledelta -52
	rgb 255 255 255
	spawnmode distball
	spawnorg 16
	spawnparam1 0.5
	averageout
	nospreadfirst
	blend add
}

r_part tlightningglow
{
	step 50
	scale 35
	scalefactor 1
	alpha 1
	die 0
	rgb 1 1 8
	blend add
	assoc tlightningflash
}

r_part tlightningfade
{
	spawntime 0.05
	die 0.2
	type beam
	alpha 2
	step 96
	scale 1.5
	rgb 16 16 64
	spawnmode distball
	spawnorg 9
	spawnparam1 0.9
	blend add
	averageout
	nospreadfirst
	assoc tlightningglow
}

r_part te_lightning2
{
	die 0
	type beam
	alpha 2
	step 96
	scale 4
	rgb 196 196 255
	spawnmode distball
	spawnorg 9
	spawnparam1 0.9
	blend add
	averageout
	nospreadfirst
	assoc tlightningfade
}
r_part exp_smoke
{
	count 4
	texture "default"
	scale 256
	scalefactor 1
	friction 2
	die 20
	alpha 0.75
	red 100
	blue 100
	green 100
	blend blend
	gravity -25
	spawnmode circle
	randomvel 128
	spawnorg 0
}

r_part te_gunshot
{
	count 1
	texture "default"
	scale 256
	scalefactor 1
	friction 2
	die 20
	alpha 0.50
	red 100
	blue 100
	green 100
	blend blend
	gravity -25
	spawnmode circle
	randomvel 256
	spawnorg 0
}

r_part te_knightspike
{
	texture "particles/blood"
	count 6
	scale 3
	alpha 0.9
	die 0.5
	veladd 0
	red 120
	green 0
	blue 0
	reddelta -100
	gravity 0
	stains 2
	scalefactor 0.9
	randomvel 64
	rotationstart 0 360
	assoc te_knightspike2
}

r_part te_knightspike2
{
	count 1
	texture "default"
	scale 2
	scaledelta 128
	scalefactor 1
	friction 2
	die 0.25
	alpha 0.75
	red 140
	blue 10
	green 10
	blend blend
	gravity 0
	spawnmode circle
	randomvel 32
	spawnorg 0
	assoc te_knightspike3
}

r_part te_knightspike3
{
	count 1
	texture "default"
	scale 6
	scalefactor 1
	friction 2
	die 5
	red 3
	green 2
	blue 1
	alpha 1.0
	blend blend
	gravity 400
	reddelta -10
	spawnmode circle
	randomvel 32
	spawnorg 0
}

r_part te_blood
{
	texture "particles/blood"
	count 6
	scale 3
	alpha 0.9
	die 0.5
	veladd 0
	red 160
	green 0
	blue 0
	reddelta -100
	gravity 0
	stains 2
	scalefactor 0.9
	randomvel 64
	rotationstart 0 360
	assoc te_blood_dark
}

r_part te_blood_dark
{
	texture "particles/blood"
	count 2
	scale 2
	alpha 0.9
	die 0.5
	veladd 0
	randomvel 2
	red 100
	green 0
	blue 0
	reddelta -100
	gravity 0
	stains 2
	randomvel 32
	scalefactor 0.9
	rotationstart 0 360
	assoc te_blood_darker
}

r_part te_blood_darker
{
	texture "particles/blood"
	count 3
	scale 2
	alpha 0.9
	die 0.5
	randomvel 20
	veladd 0
	red 40
	green 0
	blue 0
	reddelta -100
	gravity 0
	stains 2
	randomvel 32
	scalefactor 0.9
	rotationstart 0 360
}

r_part te_spike
{
	count 6
	texture "default"
	scale 4
	scalefactor 1
	friction 2
	die 2
	rotationstart 0 360
	alpha 1
	blend blend
	gravity 800
	spawnmode circle
	randomvel 64
	spawnorg 0
	assoc te_spike2
}

r_part te_spike2
{
	count 1
	texture "default"
	scale 4
	scalefactor 1
	friction 2
	die 15
	alpha 1
	blend blend
	gravity 0
	spawnmode circle
	randomvel 0
	spawnorg 0
	assoc te_spike3
}

r_part te_spike3
{
	count 2
	texture "default"
	scale 6
	scalefactor 1
	friction 2
	die 5
	red 20
	green 10
	blue 5
	alpha 1.0
	blend blend
	gravity 400
	spawnmode circle
	randomvel 256
	spawnorg 0
//	assoc te_smoke
}

r_part te_superspike
{
	count 1
	texture "default"
	scale 4
	scalefactor 1
	friction 2
	die 15
	alpha 1
	blend blend
	gravity 0
	spawnmode circle
	randomvel 0
	spawnorg 0
	assoc te_spike3
	assoc te_wood1
}

r_part te_wood1
{
	count 1
	texture "default"
	scale 6
	scalefactor 1
	friction 2
	die 5
	red 40
	green 30
	blue 20
	alpha 1.0
	blend blend
	gravity 400
	spawnmode circle
	randomvel 128
	spawnorg 0
	assoc te_wood2
}

r_part te_wood2
{
	count 1
	texture "default"
	scale 6
	scalefactor 1
	friction 2
	die 5
	red 120
	green 100
	blue 80
	alpha 1.0
	blend blend
	gravity 400
	spawnmode circle
	randomvel 128
	spawnorg 0
	assoc te_wood3
}

r_part te_wood3
{
	count 2
	texture "default"
	scale 6
	scalefactor 1
	friction 2
	die 5
	red 20
	green 10
	blue 5
	alpha 1.0
	blend blend
	gravity 400
	spawnmode circle
	randomvel 256
	spawnorg 0
	assoc te_wood_dust
}

r_part te_wood_dust
{
	count 1
	texture "default"
	scale 24
	scaledelta 2
	scalefactor 1
	friction 2
	die 4
	alpha 0.75
	red 40
	green 30
	blue 20
	blend blend
	gravity -50
	spawnmode circle
	randomvel 8
	spawnorg 0
}


r_part te_smoke
{
	count 1
	texture "default"
	scale 2
	scaledelta 32
	scalefactor 1
	friction 2
	die 1
	alpha 0.75
	red 100
	blue 100
	green 100
	blend blend
	gravity 0
	spawnmode circle
	randomvel 8
	spawnorg 0
	assoc te_spark1
}

r_part te_spark1
{
	count2
	texture "particles/sparktex"
	scale 4
	scalefactor 1
	friction 2
	die 5
	red 255
	blue 0
	green 175
	alpha 0.8
	blend blend
	gravity 400
	spawnmode circle
	randomvel 32
	spawnorg 0
	assoc te_spark2
}

r_part te_spark2
{
	count 2
	texture "particles/sparktex"
	scale 4
	scalefactor 1
	friction 2
	die 5
	red 255
	blue 0
	green 125
	alpha 0.8
	blend blend
	gravity 400
	spawnmode circle
	randomvel 32
	spawnorg 0
}

/*
r_part tex_sky4
{
	texture ""
	scale 1
	count 1
	alpha 0.3
	blend modulate
	red 100
	green 200
	blue 255
	die 3
	randomvel 1
	gravity 333
	friction -0.1	
	scalefactor 1
	spawnmode circle
	cliptype rainsplash
	clipcount 1
	rotationstart 0 360
	rotationspeed -180 180
	offsetspread -2
	/emit raintrail
	/emitinterval 0
}
r_part rainsplash
{
	texture ""	
	scale 1
	count 3
	alpha 1
	spawnmode circle	
	blend modulate
	red 0
	green 255
	blue 255
	gravity 333
	die 0.7
	scalefactor 1
	veladd -22
	diesubrand 0.1
	offsetspread 10
	areaspread 1
	rotationstart 0 360
	rotationspeed -180 180
}
r_part tex_sky4
{
	count 1
	texture "default"
	scale 512
	scalefactor 1
	friction 2
	die 20
	alpha 0.75
	red 100
	blue 100
	green 100
	blend blend
	gravity 25
	spawnmode circle
	randomvel 256
	spawnorg 0
}


r_part te_lightning3
{
	texture "particles/zing1.png"
	step 16
	alpha 0.8
	scale 5 
	scalerand 11
	rotationspeed 90000
	rgb 255 133 255
	gravity 0
	blend add
	spawnmode spiral
	spawnorg 0 0
	assoc t_lightning2
	type beam
}

r_part t_lightning4
{
	texture "particles/lightning-orig.png"
	step 16
	alpha 0.8
	scale 4
	scalerand 6
	rotationspeed 90000
	rgb 66 66 166 
	gravity 0
	friction 0
	blend add
	spawnmode spiral
	spawnorg 0
	type beam
}

//(stolen from spikeset)
r_part te_lightning2_end
{
	die 0.3
	alpha 1
	count 8
	scale 0
	rgb 128 128 255
	rgbrand 63 63 0
	rgbrandsync 1
	spawnvel 100
	spawnorg 5
	blend add
}

r_part tlightningflash
{
	spawntime 0.1
	spawnchance 0.1
	die 0.25
	type beam
	alpha 1
	step 80
	scale 14
	scaledelta -52
	rgb 255 255 255
	spawnmode distball
	spawnorg 16
	spawnparam1 0.5
	averageout
	nospreadfirst
	blend add
}

r_part tlightningglow
{
	step 50
	scale 35
	scalefactor 1
	alpha 1
	die 0
	rgb 1 1 8
	blend add
	assoc tlightningflash
}

r_part tlightningfade
{
	spawntime 0.05
	die 0.2
	type beam
	alpha 2
	step 96
	scale 1.5
	rgb 16 16 64
	spawnmode distball
	spawnorg 9
	spawnparam1 0.9
	blend add
	averageout
	nospreadfirst
	assoc tlightningglow
}

r_part te_lightning2
{
	die 0
	type beam
	alpha 2
	step 96
	scale 4
	rgb 196 196 255
	spawnmode distball
	spawnorg 9
	spawnparam1 0.9
	blend add
	averageout
	nospreadfirst
	assoc tlightningfade
}

r_part tlightningflash2
{
	spawntime 0.1
	spawnchance 0.1
	die 0.25
	type beam
	alpha 1
	step 80
	scale 14
	scaledelta -52
	rgb 255 255 255
	spawnmode distball
	spawnorg 16
	spawnparam1 0.5
	averageout
	nospreadfirst
	blend add
}

r_part tlightningglow2
{
	step 50
	scale 35
	scalefactor 1
	alpha 1
	die 0
	rgb 8 1 8
	blend add
	assoc tlightningflash2
}

r_part te_lightning3
{
	texture "particles/zing1.png"
	step 16
	alpha 0.8
	scale 5 
	scalerand 11
	rotationspeed 90000
	rgb 255 133 255
	gravity 0
	blend add
	spawnmode spiral
	spawnorg 0 0
	assoc t_lightning2
	type beam
	assoc tlightningglow2
}

//(stolen from spikeset)
r_part te_lightning3_end
{
	die 0.3
	alpha 0.5
	count 8
	scale 0
	rgb 255 128 255
	rgbrand 63 63 0
	rgbrandsync 1
	spawnvel 100
	spawnorg 5
	blend add
}

//r_part te_lightning3
//{
//	die 0
//	type beam
//	alpha 2
//	step 32
//	scale 4
//	rgb 255 196 255
//	spawnmode distball
//	spawnorg 9
//	spawnparam1 0.9
//	blend add
//	averageout
//	nospreadfirst
//	assoc tlightningfade2
//}

