
EffectDefinition
{
	EffectComponent ParticleEffect "star base clouds"
	{
		RepeatTime		.5
		ParticleLifespan	[1.0, 1.3]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter	true

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				orientation=[0,360]
				speed=[5,10]
				rotationalSpeed=[-50,-100]
				direction=[0,360]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=2
				orientation=[0,360]
				speed=[5,10]
				rotationalSpeed=[50,100]
				direction=[0,360]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(108,161,208)
				age=1, rgb=(104,146,183)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)
				age=1, scale=(0.7,0.7)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	

	
	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=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=40
				age=0.7, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4,0.4)
				age=1, scale=(1.0,1.0)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "orbiting erratic stars"
	{
		RepeatTime		1
		ParticleLifespan	2.2
		BlendMode		add
		Texture			"data/gfx/particles/offset_circle_8.png"
		FollowEmitter	true

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

			SpawnParticles
			{
				count=1
				delay=0.5
				orientation=180
				speed=[0,0]
				rotationalSpeed=250
				direction=[0,360]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=30
				age=0.7, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1, scale=(0.6,0.6)				
			}
			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=(233,226,211)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=40
				age=0.7, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.6,0.6)
				age=1, scale=(0.7,0.7)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "emitting from center"
	{
		RepeatTime		0.1
		ParticleLifespan	0.6
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_8"
		FollowEmitter	true

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

	EffectComponent ParticleEffect "sparkles"
	{
		RepeatTime		1.0
		ParticleLifespan	1.2
		BlendMode		add
		AnimSequence		"sparkle_dust"
		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=(167,200,230)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=90
				age=0.7, alpha=60
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.5,2.5)
				age=1, scale=(3.1,3.1)				
			}
			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=(167,200,230)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=30
				age=0.7, alpha=10
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.9, 0.9)				
				age=0.5, scale=(1.0, 1.0)	
				age=1.0, scale=(0.9, 0.9)	
			}
			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=(167,200,230)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=20
				age=0.7, alpha=10
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.8, 1.8)				
				age=0.5, scale=(2.2,2.2)				
				age=1, scale=(1.8, 1.8)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "huge_shine"
	{
		RepeatTime		6.0
		ParticleLifespan	2.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=(167,200,230)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=10
				age=0.40, alpha=10
				age=0.5, alpha=40
				age=0.60, alpha=10
				age=0.7, alpha=10
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)				
				age=0.5, scale=(0.5,3.3)				
				age=1.0, scale=(0.3,0.3)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
		
}