ACTOR SSTParticle
{
  Radius 1
  Height 1
  Speed 10
  Damage 0
  Projectile
  -RANDOMIZE
  +PAINLESS
  +BLOODLESSIMPACT
	+NoTeleport
	+NOBLOCKMAP
	+RIPPER
	-SOLID
	+DONTSPLASH
	+FORCEXYBILLBOARD
  RenderStyle Add
  Alpha 0.01
  scale 10.0//6.0
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	
	TNT1 A 1
	STAR AAA 1 BRIGHT A_FadeIn(0.04)
	
  Spawn2:
	TNT1 A 0 A_ChangeVelocity(momx*0.5,momy*0.5,momz*0.5, CVF_REPLACE)
    STAR A 1 BRIGHT A_FadeOut(0.02)//0.05//change to .01 when A_ScaleVelocity works
    //STAR A 1 BRIGHT A_FadeOut(0.03)//0.05//change to .01 when A_ScaleVelocity works
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}

ACTOR SSTParticle2 : SSTParticle
{
  Alpha 0.02
  scale 8.0//4.0
}

ACTOR RedParticle : SSTParticle
{
	translation "80:95 = 176:191"
}
ACTOR RedParticleGravity : RedParticle
{
  yscale 6.0
  xscale 8.5
  alpha 0.57
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)//0.03
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}
ACTOR GreenParticle : SSTParticle
{
	translation "80:95 = 112:127"
}
ACTOR GreenParticleGravity : GreenParticle
{
  alpha 0.57
  yscale 6.0
  xscale 8.5
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}
ACTOR BlueParticle : SSTParticle
{
	//translation "112:127 = 192:207"
	translation "80:95 = 192:207"
}
ACTOR BlueParticleGravity : BlueParticle
{
  alpha 0.57
  yscale 6.0
  xscale 8.5
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)//0.03
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}
ACTOR YellowParticle : SSTParticle
{
	translation "80:95 = 229:231"
}
ACTOR YellowParticleGravity : YellowParticle
{
  alpha 0.57
  yscale 6.0
  xscale 8.5
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)//0.03
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}

ACTOR RedParticle2 : SSTParticle2
{
	translation "80:95 = 176:191"
}
ACTOR RedParticleGravity2 : RedParticle2
{
  alpha 0.57
  yscale 6.0
  xscale 8.5
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)//0.03
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}
ACTOR GreenParticle2 : SSTParticle2
{
	translation "80:95 = 112:127"
}
ACTOR GreenParticleGravity2 : GreenParticle2
{
  alpha 0.57
  yscale 6.0
  xscale 8.5
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}
ACTOR BlueParticle2 : SSTParticle2
{
	translation "80:95 = 192:207"
}
ACTOR BlueParticleGravity2 : BlueParticle2
{
  alpha 0.57
  yscale 6.0
  xscale 8.5
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)//0.03
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}
ACTOR YellowParticle2 : SSTParticle2
{
	translation "80:95 = 229:231"
}
ACTOR YellowParticleGravity2 : YellowParticle2
{
  alpha 0.57
  yscale 6.0
  xscale 8.5
	-NOGRAVITY
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    STAR A 1 BRIGHT A_FadeOut(0.03)//0.03
    Loop
  Death:
	TNT1 A 0
	Stop
  }
}

ACTOR SSTParticleSphere
{
	+NOTELEPORT
  Radius 1
  Height 1
  +NOBLOCKMAP
  +NOTELEPORT
  +NOGRAVITY
  +NOCLIP
  -SOLID
  -SHOOTABLE
  RENDERSTYLE NONE
}

ACTOR RedParticleSphere : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle2",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticle2",0,0,random(-180,180),2,random(-90,90))
	Stop
  }
}
ACTOR RedParticleShroom : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticleGravity",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticleGravity",0,0,random(-180,180),2,random(0,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticleGravity2",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("RedParticleGravity2",0,0,random(-180,180),2,random(0,90))
	Stop
  }
}
ACTOR ImpBallParticles : RedParticleShroom
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAA 0 A_CustomMissile("ImpBallParticle",0,0,random(-180,180),2,random(0,90))
	
	TNT1 AAAAAAAA 0 A_CustomMissile("ImpBallParticle",0,0,random(-180,180),2,random(0,90))
	
	TNT1 AAAAAAAA 0 A_CustomMissile("ImpBallParticle",0,0,random(-180,180),2,random(-45,90))
	Stop
  }
}
ACTOR ImpBallParticle : RedParticleGravity
{
  yscale 4.0
  xscale 5.5
  Alpha 0.22//.35
  speed 7
  Gravity 0.5
  States
  {
  Spawn:
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
	TNT1 A 0 Thing_ChangeTID (0, 1330) 
  Spawn2:
    BAL1 AB 1 bright A_Fadeout(0.01)
	loop
  Death:
	TNT1 A 0
	Stop
  }
}
ACTOR GreenParticleSphere : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle2",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticle2",0,0,random(-180,180),2,random(-90,90))
	Stop
  }
}
ACTOR GreenParticleShroom : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticleGravity",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticleGravity",0,0,random(-180,180),2,random(0,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticleGravity2",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("GreenParticleGravity2",0,0,random(-180,180),2,random(0,90))
	
	Stop
  }
}
ACTOR BlueParticleSphere : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle2",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticle2",0,0,random(-180,180),2,random(-90,90))
	Stop
  }
}
ACTOR BlueParticleShroom : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticleGravity",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticleGravity",0,0,random(-180,180),2,random(0,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticleGravity2",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("BlueParticleGravity2",0,0,random(-180,180),2,random(0,90))
	
	Stop
  }
}
ACTOR YellowParticleSphere : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle2",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticle2",0,0,random(-180,180),2,random(-90,90))
	Stop
  }
}
ACTOR YellowParticleShroom : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticleGravity",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticleGravity",0,0,random(-180,180),2,random(0,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticleGravity2",0,0,random(-180,180),2,random(0,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("YellowParticleGravity2",0,0,random(-180,180),2,random(0,90))
	
	Stop
  }
}








ACTOR PurpleParticle : SSTParticle
{
	translation "80:95 = 250:254"
}
ACTOR PurpleParticle2 : SSTParticle2
{
	translation "80:95 = 250:254"
}


ACTOR PurpleParticleSphere : SSTParticleSphere
{
  States
  {
  Spawn:
    TNT1 A 0
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle2",0,0,random(-180,180),2,random(-90,90))
	
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle2",0,0,random(-180,180),2,random(-90,90))
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("PurpleParticle2",0,0,random(-180,180),2,random(-90,90))
	Stop
  }
}