Variables
{
	%tint = (0,255,0)
}


EffectDefinition
{

	EffectComponent ParticleEffect "reflector_shower_sparks"
	{
		RepeatTime		0
		ParticleLifespan	[0.5,0.8]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[60, 110]
				rotationalSpeed=[-150,150]
				direction=[0,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
				age=1, rgb=%tint		
			}
			
			Alpha
			{
				age=0, alpha=128 				
				age=1, alpha=0 				
				
			}
			
			Scale
			{
				age=0, scale=(0.8,0.9)
				age=1.0, scale=(0.3,0.0)				
			}
		}
	}

	EffectComponent ParticleEffect "reflector_smoke_puff"
	{
		RepeatTime		0
		ParticleLifespan	[0.5,0.8]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[30, 60]
				rotationalSpeed=[-50,50]
				direction=[0,360]
				spawnOffsetAbsX=[-2,2]
				spawnOffsetAbsY=[-2,2]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-40)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
				age=1, rgb=%tint
			}
			
			Alpha
			{
				age=0, alpha=128 				
				age=1, alpha=0 				
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1.0, scale=(1.5,1.5)				
			}
		}
	}

	EffectComponent ParticleEffect "I_like_sparkles"
	{
		RepeatTime		0
		ParticleLifespan	[1.0,1.3]
		BlendMode		add
		AnimSequence		"sparkle_dust"

		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[10, 20]
				rotationalSpeed=[-50,50]
				direction=[0,360]
				spawnOffsetAbsX=[-2,2]
				spawnOffsetAbsY=[-2,2]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-40)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)	
				age=1, rgb=%tint	
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=1, alpha=0 				
				
			}
			
			Scale
			{
				age=0, scale=(2.0,2.0)
				age=1.0, scale=(5.5,5.5)				
			}
		}
	}
	
}