
EffectDefinition
{
	
	EffectComponent ParticleEffect "sparks"
	{
		RepeatTime		0
		ParticleLifespan	[0.2,0.4]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8.png"
		FollowEmitter		True

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				orientation=[0,360]
				speed=[100, 200]
				rotationalSpeed=[10,30]
				direction=[0, 360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=200
				age=0.4, alpha=170
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.8,0.8)
				age=1, scale=(1.1,1.1)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}

		}
	}

	EffectComponent ParticleEffect "halos"
	{
		RepeatTime		0
		ParticleLifespan	0.2
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"
		FollowEmitter		True

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0.2
				orientation=[0,360]
				speed=0
				rotationalSpeed=[10,30]
				direction=270
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)				
			}
			
			Alpha
			{
				age=0, alpha=150				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.1,0.1)
				age=1, scale=(4.5,4.5)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}

		}
	}

	EffectComponent ParticleEffect "star"
	{
		RepeatTime		0
		ParticleLifespan	0.4
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		True

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				orientation=0
				speed=0
				rotationalSpeed=200
				direction=270
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				orientation=180
				speed=0
				rotationalSpeed=-200
				direction=270
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)				
			}
			
			Alpha
			{
				age=0, alpha=255				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4,0.4)
				age=1, scale=(2.5,2.5)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}

		}
	}
		
}