
EffectDefinition
{

	
	EffectComponent ParticleEffect "smoke"
	{
		RepeatTime		.05
		ParticleLifespan	[2,3]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,360]
				speed=[5,10]
				rotationalSpeed=[-100,100]
				direction=[0,0]
				spawnOffsetAbsX=[-30,30]
				spawnOffsetAbsY=[5,30]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-35)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=40
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)
				age=1, scale=(2,2)
				
			}			

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1			
			}
		}
	}
	
	EffectComponent ParticleEffect "star"
	{
		RepeatTime		1.5
		ParticleLifespan	1
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=45
				speed=0
				rotationalSpeed=150
				direction=[0,0]
				spawnOffsetAbsX=5
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=40
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1,1)
				age=0.5, scale=(3,5)
				age=1, scale=(1,1)
				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1			
			}
		}
	}

	EffectComponent ParticleEffect "star rim"
	{
		RepeatTime		5
		ParticleLifespan	2.8
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=45
				speed=40
				rotationalSpeed=150
				direction=90
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,50)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1,1)
				age=0.5, scale=(1,3)
				age=1, scale=(1,1)
				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1			
			}
		}
	}

	EffectComponent ParticleEffect "star right shine"
	{
		RepeatTime		5
		ParticleLifespan	2.8
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=0
				speed=50
				rotationalSpeed=0
				direction=60
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(33,50)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1,1)
				age=1, scale=(12,2)
				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1			
			}
		}
	}

	EffectComponent ParticleEffect "pyramid shine overlay"
	{
		RepeatTime		5
		ParticleLifespan	2.8
		BlendMode		add
		Texture			"data/gfx/particles/pyramid_overlay.png"
		FollowEmitter		True

		EmitterEvents
		{

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=190
			}		
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.5, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(6.4,6.4)
				age=0.5, scale=(6.5,6.5)
				age=1, scale=(6.4,6.4)
				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1			
			}
		}
	}			
}