ParticleSystem " CandleFlame " 1.00
{
   Position = XYZ(0, 0, 0)
   SourceBlending = 5
   DestBlending = 6

   EventSequence " BOOM "
   {
      LifeTime = random(1.0,1.0)
      EmitRate = random(2000,2000)
      EmitRadius = XYZ(random(-5.0,5.0),random(-5.0,5.0),random(-5.0,5.0))
      Gravity = XYZ(0.00, 0.00, 0.00)
      FollowCamera = 1
      Orientation = XYZ(0.00,0.00,0.00)
      SelfRotation = 0
      SelfRotAxis = XYZ(1.00,1.00,1.00)
      SelfRotSpeed = random(0.500000,1.000000)
      Has_Rotation = 0
      Texture = " P_Glow_01 "
      NumParticles = 10
      Loop = 0

      Initial Velocity = XYZ(random(-20.0,20.0), random(-20.0,20.0), random(-20.0,20.0))
      Initial Size = random(30.0,30.0)
      Initial Color = RGBA(random(255,255),random(255,255),random(255,255),random(20,20))

      //// Color 2
      Fade So At 0.5 Color = RGBA(random(255,255),random(10,10),random(255,255),random(10,10))
      Fade So At 1 Color = RGBA(random(255,255),random(10,10),random(255,255),random(0,0))

      //// Size 2
      Fade So At 0.5 Size = random(10.0,10.0)
      Fade So At 1 Size = random(1.0,1.0)

      //// Velocity 3
      Fade So At 0.25 Velocity = XYZ(random(-20.0,20.0),random(-20.0,20.0),random(-20.0,20.0))
      Fade So At 0.5 Velocity = XYZ(random(-80.0,80.0),random(-80.0,80.0),random(-80.0,80.0))
      Fade So At 1 Velocity = XYZ(random(-200,200),random(-200,200),random(-200,200))
   }

   EventSequence " BADABOOM "
   {
      LifeTime = random(1,1)
      EmitRate = random(2000,2000)
      EmitRadius = XYZ(random(-5.0,5.0),random(-5.0,5.0),random(-5.0,5.0))
      Gravity = XYZ(0.0, 0.0, 0.0)
      FollowCamera = 1
      Orientation = XYZ(0.00,0.00,0.00)
      SelfRotation = 0
      SelfRotAxis = XYZ(1.00,1.00,1.00)
      SelfRotSpeed = random(0.50,1.00)
      Has_Rotation = 0
      Texture = " P_Star_01 "
      NumParticles = 20
      Loop = 0

      Initial Velocity = XYZ(random(-20.0,20.0), random(-20.0,20.0), random(-20.0,20.0))
      Initial Size = random(8,8)
      Initial Color = RGBA(random(255,255), random(255,255), random(255,255), random(200,200))

      //// Color 2
      Fade So At 0.5 Color = RGBA(random(255,255), random(10,10), random(255,255), random(100,100))
      Fade So At 1 Color = RGBA(random(255,255), random(10,10), random(255,255), random(0,0))

      //// Size 2
      Fade So At 0.5 Size = random(4,4)
      Fade So At 1 Size = random(1,1)

      //// Velocity 3
      Fade So At 0.25 Velocity = XYZ(random(-20.0,20.0), random(-20.0,20.0), random(-20.0,20.0))
      Fade So At 0.5 Velocity = XYZ(random(-80.0,80.0), random(-80.0,80.0), random(-80.0,80.0))
      Fade So At 1 Velocity = XYZ(random(-200.0,200.0), random(-200.0,200.0), random(-200.0,200.0))
   }

}
