EffectDefinition
{
	EffectComponent ParticleEffect "sun"
	{
		RepeatTime		9.6
		ParticleLifespan	[10.0,11.5]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			// Top left
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[175,175]
				spawnOffsetAbsY=[70,70]
			}

			// Top Right
			SpawnParticles
			{
				count=1
				duration=0
				delay=4
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[569,569]
				spawnOffsetAbsY=[59,59]
			}

			// middle left
			SpawnParticles
			{
				count=1
				duration=0
				delay=2
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[126,126]
				spawnOffsetAbsY=[246,246]
			}


			// middle right			
			SpawnParticles
			{
				count=1
				duration=0
				delay=6
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[625,625]
				spawnOffsetAbsY=[245,245]
			}

			// bottom left			
			SpawnParticles
			{
				count=1
				duration=0
				delay=10
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[26,26]
				spawnOffsetAbsY=[500,500]
			}

			
			// bottom right			
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[720,720]
				spawnOffsetAbsY=[520,520]
			}			

			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 150)		
			}
			
			Alpha
			{
				age=0, alpha=0
				//age=0.2, alpha=50
				age=0.5, alpha=100
				//age=0.8, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(4.0,4.0)		
				age=0.5, scale=(5.0,5.0)		
				age=1.0, scale=(4.0,4.0)				
			}
		}
	}

	EffectComponent ParticleEffect "sun_bigger_spots"
	{
		RepeatTime		9.6
		ParticleLifespan	[10.0,11.5]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
					
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[775,775]
				spawnOffsetAbsY=[128,128]
			}			

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[50,50]
				spawnOffsetAbsY=[50,50]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=[566,566]
				spawnOffsetAbsY=[566,566]
			}

			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 150)		
			}
			
			Alpha
			{
				age=0, alpha=0
				//age=0.2, alpha=50
				age=0.5, alpha=60
				//age=0.8, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(4.0,4.0)		
				age=0.5, scale=(5.0,5.0)		
				age=1.0, scale=(4.0,4.0)				
			}
		}
	}

	EffectComponent ParticleEffect "sun_ring_strobe"
	{
		RepeatTime		12.0
		ParticleLifespan	[13.0,13.0]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
					
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[50,50]
				direction=[0,0]
				spawnOffsetAbsX=[50,50]
				spawnOffsetAbsY=[50,50]
			}						

			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 150)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=40
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(150.0,150.0)				
			}
		}
	}
	
}