/***** Animators ***********************************************************/

fader GoAway
{
	DecayStart	0.5
	DecayTime	1.0
}

fader GoAway2
{
	DecayStart	1.0
	DecayTime	3.0
}

colorchanger ToBlack
{
	FadeStart	0.5
	FadeTime	1.0
}

stretcher BloodStretcher
{
	StretchTime	35
	GoalY		2.0
}

slider BloodSlider
{
	SlideTime	35
	DistY		-5
}

combiner BloodSmearer
{
	BloodStretcher
	BloodSlider
}

/***** Bullet Chips *****/

decal BulletChip1
{
	pic CHIP1
	translucent 0.85
	x-scale 0.5
	y-scale 0.5
	randomflipx
	randomflipy
}

decal BulletChip2
{
	pic CHIP2
	translucent 0.85
	x-scale 0.5
	y-scale 0.5
	randomflipx
	randomflipy
}

decal BulletChip3
{
	pic CHIP3
	translucent 0.85
	x-scale 0.5
	y-scale 0.5
	randomflipx
	randomflipy
}

decal BulletChip4
{
}

decal BulletChip5
{
}

decalgroup BulletChip
{
	BulletChip1	1
	BulletChip2	1
	BulletChip3	1
	BulletChip4	0
	BulletChip5	0
}

/***** Blood Decals ********************************************************/
/*
 * Blood splats just stick to the walls.
 * Blood smears crawl down walls a bit like in Blood.
 *
 * These do not need generators; the engine will create them automatically
 * when something bleeds. If a blood color is set, the shade color will be ignored,
 * and the actor's blood color will be used instead.
 */
decal BloodSplat1
{
}

decal BloodSplat2
{
}

decal BloodSplat3
{
}

decal BloodSplat4
{
}

decal BloodSplat5
{
}

decal BloodSplat6
{
}

decal BloodSplat7
{
}

// The smaller blood splats are more common than the big ones.

decalgroup BloodSplat
{
	BloodSplat1	2
	BloodSplat2	1
	BloodSplat3	5
	BloodSplat4	5
	BloodSplat5	5
	BloodSplat6	0
	BloodSplat7	0
}

decal BloodSmear1
{
}

decal BloodSmear2
{
}

decalgroup BloodSmear
{
	BloodSmear1	1
	BloodSmear2	1
}

/***** Rocket Scorches *****************************************************/

decal Scorch
{
}

decal BigScorch
{
}


/***** Plasma Rifle Scorches ***********************************************/

decal PlasmaScorchLower1
{
}

decal PlasmaScorch1
{
	pic PLSEA0
	x-scale 0.3
	y-scale 0.3
	add 1.0
	fullbright
	animator GoAway
	lowerdecal PlasmaScorchLower1
}

decal PlasmaScorchLower2
{
}

decal PlasmaScorch2
{
	pic PLSEA0
	x-scale 0.3
	y-scale 0.3
	add 1.0
	fullbright
	animator GoAway
	lowerdecal PlasmaScorchLower2
}

decalgroup PlasmaScorchLower
{
	PlasmaScorchLower1	1
	PlasmaScorchLower2	1
}

decalgroup PlasmaScorch
{
	PlasmaScorch1	1
	PlasmaScorch2	1
}

/***** BFG Scorches ********************************************************/

decal BFGScorch1
{
}

decal BFGScorch2
{
}

decalgroup BFGScorch
{
	BFGScorch1	1
	BFGScorch2	1
}

decal BFGLightning1
{
}

decal BFGLightning2
{
}

decalgroup BFGLightning
{
	BFGLightning1	1
	BFGLightning2	1
}

/***** Rail Gun Scorches - contributed by Nigel Rowand *********************/

decal RailScorchLower1
{
	pic CBALSCR1
	shade "00 00 00"
	x-scale 0.2
	y-scale 0.2
	randomflipx
	randomflipy
}

decal RailScorchLower2
{
	pic CBALSCR2
	shade "00 00 00"
	x-scale 0.2
	y-scale 0.2
	randomflipx
	randomflipy
}

decalgroup RailScorchLower
{
	RailScorchLower1 1
	RailScorchLower2 1
}



decal RailScorch1
{
	pic CBALSCR1
	shade "00 00 56"
	fullbright
	x-scale 0.4
	y-scale 0.4
	animator GoAway
	lowerdecal RailScorchLower
}

decal RailScorch2
{
	pic CBALSCR2
	shade "00 00 56"
	fullbright
	x-scale 0.4
	y-scale 0.4
	animator GoAway
	lowerdecal RailScorchLower
}

decalgroup RailScorch
{
	RailScorch1 1
	RailScorch2 1
}

/***** Arachnotron Plasma Scorches *****************************************/

decal ArachScorch1
{
	pic APBXA0
	x-scale 0.3
	y-scale 0.3
	add 1.0
	animator GoAway
	lowerdecal PlasmaScorchLower1
}

decal ArachScorch2
{
	pic APBXA0
	x-scale 0.3
	y-scale 0.3
	add 1.0
	animator GoAway
	lowerdecal PlasmaScorchLower2
}

decalgroup ArachnotronScorch
{
	ArachScorch1	1
	ArachScorch2	1
}

/***** Baron of Hell/Hell Knight Scorches **********************************/

decal BaronScorch1
{
}

decal BaronScorch2
{
}

decalgroup BaronScorch
{
	BaronScorch1	1
	BaronScorch2	1
}

/***** Cacodemon Scorches **************************************************/

decal CacoScorch1
{
}

decal CacoScorch2
{
}

decalgroup CacoScorch
{
	CacoScorch1	1
	CacoScorch2	1
}

/***** Doom Imp Scorches ***************************************************/

decal DImpScorch1
{
}

decal DImpScorch2
{
}

decalgroup DoomImpScorch
{
	DImpScorch1	1
	DImpScorch2	1
}

/***** Revenant ************************************************************/

decal RevenantScorch
{
}

/***** Generators **********************************************************/

generator NeutronGun		BulletChip
generator Compensator		BulletChip
generator Minigun			BulletChip

generator HarmonyGrenade	PlasmaScorch
generator Neutron			Scorch
generator TimeBomb			BFGLightning

generator Beastling			BulletChip
generator Follower			BulletChip
generator Soldier			BulletChip
generator WalkingPhage2		BulletChip
generator Echidna			BulletChip

generator PhageNeutron		ArachnotronScorch
generator GrenadeExplosion	CacoScorch
generator GuidedChaos		RevenantScorch

