
EffectDefinition
{
	EffectComponent ParticleEffect "star base stars"
	{
		RepeatTime		1
		ParticleLifespan	0.6
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter	true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,0]
				speed=[0,0]
				rotationalSpeed=0
				direction=[0,360]
			}

			SpawnParticles
			{
				count=1
				delay=0.5
				orientation=[45,45]
				speed=[0,0]
				rotationalSpeed=0
				direction=[0,360]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,150,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=90
				age=0.7, alpha=60
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.15,0.15)
				age=1, scale=(0.4,0.4)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "orbiting outer stars"
	{
		RepeatTime		4
		ParticleLifespan	4.8
		BlendMode		add
		Texture			"data/gfx/particles/offset_circle_8.png"
		FollowEmitter	true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=45
				speed=[0,0]
				rotationalSpeed=-200
				direction=[0,360]
			}

			SpawnParticles
			{
				count=1
				delay=0.5
				orientation=225
				speed=[0,0]
				rotationalSpeed=200
				direction=[0,360]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,150,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=70
				age=0.7, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)
				age=1, scale=(0.4,0.4)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "ring"
	{
		RepeatTime		1.0
		ParticleLifespan	1.2
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32"
		FollowEmitter	true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 360]
				speed=0
				rotationalSpeed=40
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,150,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=50
				age=0.7, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4,0.4)				
				age=0.5, scale=(0.45,0.45)		
				age=1.0, scale=(0.4,0.4)		
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "center"
	{
		RepeatTime		4.0
		ParticleLifespan	4.6
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8"
		FollowEmitter	true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 360]
				speed=0
				rotationalSpeed=40
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,150,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=50
				age=0.7, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.85,0.85)				
				age=0.5, scale=(1.0,1.0)				
				age=1, scale=(0.85,0.85)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "huge_shine"
	{
		RepeatTime		6.0
		ParticleLifespan	4.6
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01"
		FollowEmitter	true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 0]
				speed=0
				rotationalSpeed=0
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,150,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=10
				age=0.40, alpha=20
				age=0.5, alpha=80
				age=0.60, alpha=20
				age=0.7, alpha=10
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.15,0.15)				
				age=0.5, scale=(0.2,2.3)				
				age=1.0, scale=(0.15,0.15)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
		
}