EffectDefinition
{
	EffectComponent ParticleEffect "rim sparkles"
	{
		RepeatTime		5.0
		ParticleLifespan	4.0
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01"

		EmitterEvents
		{
			// Left upper
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=50
				rotationalSpeed=-50
				direction=148
				spawnOffsetAbsX=298
				spawnOffsetAbsY=365
			}
			
			// Right upper
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=50
				rotationalSpeed=50
				direction=32
				spawnOffsetAbsX=504
				spawnOffsetAbsY=365
			}

			// Left upper
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=54
				rotationalSpeed=-50
				direction=141
				spawnOffsetAbsX=298
				spawnOffsetAbsY=386
			}
			
			// Right upper
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=54
				rotationalSpeed=50
				direction=39
				spawnOffsetAbsX=504
				spawnOffsetAbsY=386
			}

			// Left tower
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=50
				direction=0
				spawnOffsetAbsX=288
				spawnOffsetAbsY=24
			}

			// Right tower
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=50
				direction=0
				spawnOffsetAbsX=519
				spawnOffsetAbsY=24
			}


			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=70				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)		
				age=0.3, scale=(0.5,0.5)		
				age=1.0, scale=(0.2,0.2)				
			}
		}
	}

	EffectComponent ParticleEffect "gold sparkles 1"
	{
		RepeatTime		0.4
		ParticleLifespan	[0.9, 1.4]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01"

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=[150, 250]
				direction=0
				spawnOffsetAbsX=[117, 259]
				spawnOffsetAbsY=[307, 343]
			}
			
			SpawnParticles
			{
				count=2
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=[150, 250]
				direction=0
				spawnOffsetAbsX=[551, 692]
				spawnOffsetAbsY=[304, 341]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=[150, 250]
				direction=0
				spawnOffsetAbsX=[128, 198]
				spawnOffsetAbsY=[361, 387]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=[150, 250]
				direction=0
				spawnOffsetAbsX=[128, 198]
				spawnOffsetAbsY=[361, 387]
			}


			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=60				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0,0.0)		
				age=0.3, scale=(0.3,0.3)		
				age=1.0, scale=(0.0,0.0)				
			}
		}
	}

}