objEffect TwinkleStars
{
   Loop = true

   eiCloneGroup ShootingStars
   {
      Loop = true
      Count = [ 1, 5 ]

      eiParticleEmitter Stars
      {
         StartTime = [ 8.000000, 24.000000 ]

         Sprite
         {
            File = ~data/maps/ramessetpylon/meteor.jpg*data/maps/ramessetpylon/meteor_alpha.tga
            RandomFrame = true
            BlendMode = ADD
            FPS = 15.000000
         }

         Spline

         Palette

         Emitter
         {
            LifespanInfinite = false
            Lifespan = [ 1.000000, 1.500000 ]
            PosRelative = true
            PlaceHorz = ZERO
            PlaceVert = ZERO
            PositionMin = [ 300.000000, 475.000000, 0.000000 ]
            PositionMax = [ 500.000000, 475.000000, 0.000000 ]
         }

         Particles
         {
            Start = [ 1, 1 ]
            Rate = [ 0.000000, 0.000000 ]
            Lifespan = [ 3.000000, 3.500000 ]
            AlphaFadeIn = [ 0.100000, 0.100000 ]
            Scale = [ 0.250000, 0.500000 ]
            RotDir = true
         }

         Physics
         {
            VelocityMin = [ -500.000000, -100.000000, 0.000000 ]
            VelocityMax = [ 500.000000, -300.000000, 0.000000 ]
         }
      }
   }

   eiParticleEmitter TwinkleStars
   {
      Sprite
      {
         Color = [ 0.600000, 0.600000, 1.000000, 1.000000 ]
         File = ~data/sprites/particles/spark_ball_6.spr
         RandomFrame = true
         BlendMode = ADD
         FPS = 0.000000
      }

      Spline

      Palette

      Emitter
      {
         Lifespan = [ 1.000000, 1.500000 ]
         PosRelative = true
         PlaceHorz = ZERO
         PlaceVert = ZERO
         PositionMin = [ 400.000000, 0.000000, 0.000000 ]
         PositionMax = [ 400.000000, 0.000000, 0.000000 ]
      }

      Particles
      {
         Start = [ 50, 50 ]
         Max = [ 50, 50 ]
         Rate = [ 60.000000, 60.000000 ]
         Lifespan = [ 5.000000, 10.000000 ]
         AlphaFadeIn = [ 0.250000, 0.250000 ]
         AlphaFadeOut = [ 0.750000, 0.750000 ]
         SpawnRadiusMin = [ -500.000000, -175.000000, 0.000000 ]
         SpawnRadiusMax = [ 450.000000, 250.000000, 0.000000 ]
         Scale = [ 0.500000, 1.000000 ]
         RotDir = true
      }

      Physics
      {
         VelocityMin = [ 25.000000, 25.000000, 0.000000 ]
         VelocityMax = [ 25.000000, 25.000000, 0.000000 ]
      }
   }

   objEffect DarkPassThreshold
   {
      ObjectOffset = ":DarkPassThreshold"

      eiBezierLerp
      {
         Loop = true
         Target = "Data"
         Enable1 = true
         Val1 = [ 0.150000, 0.150000 ]
         Mode = BLEND_TARGET
      }
   }

   objEffect BrightPassThreshold
   {
      ObjectOffset = ":BrightPassThreshold"

      eiBezierLerp
      {
         Loop = true
         Target = "Data"
         Enable1 = true
         Val1 = [ 0.950000, 0.950000 ]
         Mode = BLEND_TARGET
      }
   }
}
