//****************************************************************
//****************************************************************
//
//	6.0 New Blood Effects
//
//****************************************************************
//****************************************************************

Actor MCBloodFXMain replaces Blood
{
	+NOINTERACTION
	+NOTIMEFREEZE
	+DONTSPLASH
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 2 A_SpawnItemEx("MCBloodParticle",random(0,2),0,random(1,4),random(0,1.5),0,random(0.1,2.0),random(0,359),33)
		TNT1 AA 0 A_SpawnItemEx("MCBloodParticle",random(0,2),0,random(1,4),random(0,1.5),0,random(0.1,2.0),random(0,359),33,128)
		Stop
	}
}

Actor MCBloodParticle : Blood //replaces BloodSplatter
{
	//+THRUACTORS
	+DONTSPLASH
	+NOTIMEFREEZE
	+DONTBLAST
	//Translation "0:255=%[0,0,0]:[1,0,0]"
	Renderstyle Translucent
	Gravity 0.20
	Scale 0.175
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(256,"B11","B21","B31")
//		TNT1 A 0 A_Jump(256,"B11","B12","B13","B14","B21","B22","B23","B24","B31","B32","B33","B34")


	B11:
		X057 A 2 A_SetTranslucent(0.95)
		X057 B 2 A_SetTranslucent(0.90)
		X057 C 2 A_SetTranslucent(0.85)
		X057 D 2 A_SetTranslucent(0.80)
		X057 E 2 A_SetTranslucent(0.75)
		X057 F 2 A_SetTranslucent(0.70)
		X057 G 1 A_SetTranslucent(0.65)
		X057 H 1 A_SetTranslucent(0.60)
		X057 I 1 A_SetTranslucent(0.50)
		X057 J 1 A_SetTranslucent(0.40)
		X057 K 1 A_SetTranslucent(0.35)
		X057 L 1 A_SetTranslucent(0.30)
		X057 M 1 A_SetTranslucent(0.25)
		X057 N 1 A_SetTranslucent(0.20)
		X057 O 1 A_SetTranslucent(0.15)
		X057 P 1 A_SetTranslucent(0.10)
		X057 Q 1 A_SetTranslucent(0.05)
		X057 R 1 A_SetTranslucent(0.02)
		X057 S 1 A_SetTranslucent(0.01)
		Stop
	B12:
		XA57 A 2 A_SetTranslucent(0.95)
		XA57 B 2 A_SetTranslucent(0.90)
		XA57 C 2 A_SetTranslucent(0.85)
		XA57 D 2 A_SetTranslucent(0.80)
		XA57 E 2 A_SetTranslucent(0.75)
		XA57 F 2 A_SetTranslucent(0.70)
		XA57 G 1 A_SetTranslucent(0.65)
		XA57 H 1 A_SetTranslucent(0.60)
		XA57 I 1 A_SetTranslucent(0.50)
		XA57 J 1 A_SetTranslucent(0.40)
		XA57 K 1 A_SetTranslucent(0.35)
		XA57 L 1 A_SetTranslucent(0.30)
		XA57 M 1 A_SetTranslucent(0.25)
		XA57 N 1 A_SetTranslucent(0.20)
		XA57 O 1 A_SetTranslucent(0.15)
		XA57 P 1 A_SetTranslucent(0.10)
		XA57 Q 1 A_SetTranslucent(0.05)
		XA57 R 1 A_SetTranslucent(0.02)
		XA57 S 1 A_SetTranslucent(0.01)
		Wait
	B13:
		XB57 A 2 A_SetTranslucent(0.95)
		XB57 B 2 A_SetTranslucent(0.90)
		XB57 C 2 A_SetTranslucent(0.85)
		XB57 D 2 A_SetTranslucent(0.80)
		XB57 E 2 A_SetTranslucent(0.75)
		XB57 F 2 A_SetTranslucent(0.70)
		XB57 G 1 A_SetTranslucent(0.65)
		XB57 H 1 A_SetTranslucent(0.60)
		XB57 I 1 A_SetTranslucent(0.50)
		XB57 J 1 A_SetTranslucent(0.40)
		XB57 K 1 A_SetTranslucent(0.35)
		XB57 L 1 A_SetTranslucent(0.30)
		XB57 M 1 A_SetTranslucent(0.25)
		XB57 N 1 A_SetTranslucent(0.20)
		XB57 O 1 A_SetTranslucent(0.15)
		XB57 P 1 A_SetTranslucent(0.10)
		XB57 Q 1 A_SetTranslucent(0.05)
		XB57 R 1 A_SetTranslucent(0.02)
		XB57 S 1 A_SetTranslucent(0.01)
		Wait
	B14:
		XC57 A 2 A_SetTranslucent(0.95)
		XC57 B 2 A_SetTranslucent(0.90)
		XC57 C 2 A_SetTranslucent(0.85)
		XC57 D 2 A_SetTranslucent(0.80)
		XC57 E 2 A_SetTranslucent(0.75)
		XC57 F 2 A_SetTranslucent(0.70)
		XC57 G 1 A_SetTranslucent(0.65)
		XC57 H 1 A_SetTranslucent(0.60)
		XC57 I 1 A_SetTranslucent(0.50)
		XC57 J 1 A_SetTranslucent(0.40)
		XC57 K 1 A_SetTranslucent(0.35)
		XC57 L 1 A_SetTranslucent(0.30)
		XC57 M 1 A_SetTranslucent(0.25)
		XC57 N 1 A_SetTranslucent(0.20)
		XC57 O 1 A_SetTranslucent(0.15)
		XC57 P 1 A_SetTranslucent(0.10)
		XC57 Q 1 A_SetTranslucent(0.05)
		XC57 R 1 A_SetTranslucent(0.02)
		XC57 S 1 A_SetTranslucent(0.01)
		Wait
	B21:
		X059 A 2 A_SetTranslucent(0.95)
		X059 B 2 A_SetTranslucent(0.90)
		X059 C 2 A_SetTranslucent(0.85)
		X059 D 2 A_SetTranslucent(0.80)
		X059 E 2 A_SetTranslucent(0.75)
		X059 F 2 A_SetTranslucent(0.70)
		X059 G 1 A_SetTranslucent(0.65)
		X059 H 1 A_SetTranslucent(0.60)
		X059 I 1 A_SetTranslucent(0.50)
		X059 J 1 A_SetTranslucent(0.40)
		X059 K 1 A_SetTranslucent(0.35)
		X059 L 1 A_SetTranslucent(0.30)
		X059 M 1 A_SetTranslucent(0.25)
		X059 N 1 A_SetTranslucent(0.20)
		X059 O 1 A_SetTranslucent(0.15)
		X059 P 1 A_SetTranslucent(0.10)
		X059 Q 1 A_SetTranslucent(0.05)
		X059 R 1 A_SetTranslucent(0.02)
		Stop
	B22:
		XA58 A 2 A_SetTranslucent(0.95)
		XA58 B 2 A_SetTranslucent(0.90)
		XA58 C 2 A_SetTranslucent(0.85)
		XA58 D 2 A_SetTranslucent(0.80)
		XA58 E 2 A_SetTranslucent(0.75)
		XA58 F 2 A_SetTranslucent(0.70)
		XA58 G 1 A_SetTranslucent(0.65)
		XA58 H 1 A_SetTranslucent(0.60)
		XA58 I 1 A_SetTranslucent(0.50)
		XA58 J 1 A_SetTranslucent(0.40)
		XA58 K 1 A_SetTranslucent(0.35)
		XA58 L 1 A_SetTranslucent(0.30)
		XA58 M 1 A_SetTranslucent(0.25)
		XA58 N 1 A_SetTranslucent(0.20)
		XA58 O 1 A_SetTranslucent(0.15)
		XA58 P 1 A_SetTranslucent(0.10)
		XA58 Q 1 A_SetTranslucent(0.05)
		XA58 R 1 A_SetTranslucent(0.02)
		Wait
	B23:
		XB58 A 2 A_SetTranslucent(0.95)
		XB58 B 2 A_SetTranslucent(0.90)
		XB58 C 2 A_SetTranslucent(0.85)
		XB58 D 2 A_SetTranslucent(0.80)
		XB58 E 2 A_SetTranslucent(0.75)
		XB58 F 2 A_SetTranslucent(0.70)
		XB58 G 1 A_SetTranslucent(0.65)
		XB58 H 1 A_SetTranslucent(0.60)
		XB58 I 1 A_SetTranslucent(0.50)
		XB58 J 1 A_SetTranslucent(0.40)
		XB58 K 1 A_SetTranslucent(0.35)
		XB58 L 1 A_SetTranslucent(0.30)
		XB58 M 1 A_SetTranslucent(0.25)
		XB58 N 1 A_SetTranslucent(0.20)
		XB58 O 1 A_SetTranslucent(0.15)
		XB58 P 1 A_SetTranslucent(0.10)
		XB58 Q 1 A_SetTranslucent(0.05)
		XB58 R 1 A_SetTranslucent(0.02)
		Wait
	B24:
		XC58 A 2 A_SetTranslucent(0.95)
		XC58 B 2 A_SetTranslucent(0.90)
		XC58 C 2 A_SetTranslucent(0.85)
		XC58 D 2 A_SetTranslucent(0.80)
		XC58 E 2 A_SetTranslucent(0.75)
		XC58 F 2 A_SetTranslucent(0.70)
		XC58 G 1 A_SetTranslucent(0.65)
		XC58 H 1 A_SetTranslucent(0.60)
		XC58 I 1 A_SetTranslucent(0.50)
		XC58 J 1 A_SetTranslucent(0.40)
		XC58 K 1 A_SetTranslucent(0.35)
		XC58 L 1 A_SetTranslucent(0.30)
		XC58 M 1 A_SetTranslucent(0.25)
		XC58 N 1 A_SetTranslucent(0.20)
		XC58 O 1 A_SetTranslucent(0.15)
		XC58 P 1 A_SetTranslucent(0.10)
		XC58 Q 1 A_SetTranslucent(0.05)
		XC58 R 1 A_SetTranslucent(0.02)
		Wait
	B31:
		X059 A 2 A_SetTranslucent(0.95)
		X059 B 2 A_SetTranslucent(0.90)
		X059 C 2 A_SetTranslucent(0.85)
		X059 D 2 A_SetTranslucent(0.80)
		X059 E 1 A_SetTranslucent(0.70)
		X059 F 1 A_SetTranslucent(0.60)
		X059 G 1 A_SetTranslucent(0.50)
		X059 H 1 A_SetTranslucent(0.40)
		X059 I 1 A_SetTranslucent(0.30)
		X059 J 1 A_SetTranslucent(0.20)
		X059 K 1 A_SetTranslucent(0.15)
		X059 L 1 A_SetTranslucent(0.10)
		X059 M 1 A_SetTranslucent(0.05)
		Stop
	B32:
		XA59 A 2 A_SetTranslucent(0.95)
		XA59 B 2 A_SetTranslucent(0.90)
		XA59 C 2 A_SetTranslucent(0.85)
		XA59 D 2 A_SetTranslucent(0.80)
		XA59 E 1 A_SetTranslucent(0.70)
		XA59 F 1 A_SetTranslucent(0.60)
		XA59 G 1 A_SetTranslucent(0.50)
		XA59 H 1 A_SetTranslucent(0.40)
		XA59 I 1 A_SetTranslucent(0.30)
		XA59 J 1 A_SetTranslucent(0.20)
		XA59 K 1 A_SetTranslucent(0.15)
		XA59 L 1 A_SetTranslucent(0.10)
		XA59 M 1 A_SetTranslucent(0.05)
		Wait
	B33:
		XB59 A 2 A_SetTranslucent(0.95)
		XB59 B 2 A_SetTranslucent(0.90)
		XB59 C 2 A_SetTranslucent(0.85)
		XB59 D 2 A_SetTranslucent(0.80)
		XB59 E 1 A_SetTranslucent(0.70)
		XB59 F 1 A_SetTranslucent(0.60)
		XB59 G 1 A_SetTranslucent(0.50)
		XB59 H 1 A_SetTranslucent(0.40)
		XB59 I 1 A_SetTranslucent(0.30)
		XB59 J 1 A_SetTranslucent(0.20)
		XB59 K 1 A_SetTranslucent(0.15)
		XB59 L 1 A_SetTranslucent(0.10)
		XB59 M 1 A_SetTranslucent(0.05)
		Wait
	B34:
		XC59 A 2 A_SetTranslucent(0.95)
		XC59 B 2 A_SetTranslucent(0.90)
		XC59 C 2 A_SetTranslucent(0.85)
		XC59 D 2 A_SetTranslucent(0.80)
		XC59 E 1 A_SetTranslucent(0.70)
		XC59 F 1 A_SetTranslucent(0.60)
		XC59 G 1 A_SetTranslucent(0.50)
		XC59 H 1 A_SetTranslucent(0.40)
		XC59 I 1 A_SetTranslucent(0.30)
		XC59 J 1 A_SetTranslucent(0.20)
		XC59 K 1 A_SetTranslucent(0.15)
		XC59 L 1 A_SetTranslucent(0.10)
		XC59 M 1 A_SetTranslucent(0.05)
		Wait
	}
}

Actor MCBloodSplatter : MCBloodParticle replaces BloodSplatter
{ }

//****************************************************************
//****************************************************************
//
//	v6 New Blood Effects
//
//****************************************************************
//****************************************************************


Actor NewBlood : Blood //replaces Blood  //Blood as in v5.03, kept for compatability
{
	Scale 0.15
	Gravity 0.44
	+DONTSPLASH
	+DONTBLAST
	States
	{
	Spawn:
		BLD1 A 1
//		TNT1 AAA 0 A_SpawnItemEx("ExtraBlood",random(3,-3),random(3,-3),random(3,-3),0,0,0,0,1)
		TNT1 AAA 0 A_SpawnItemEx("ExtraBlood",random(3,-3),random(3,-3),random(3,-3),1,0,0,random(1,359),1)
		BLD1 ABCD 6
		Stop
	}
}
Actor ExtraBlood : NewBlood
{
	Scale 0.09
	States
	{
	Spawn:
		TNT1 A 0
		BLD1 A 1 ThrustThingZ(0,random(5,12),0,1)
		BLD1 A 5
		BLD1 ABCD 6
		Stop
	}
}
