EffectDefinition
{
	EffectComponent ParticleEffect "tracer base"
	{
		RepeatTime		0.4
		ParticleLifespan	[0.6,0.7]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=-200
				direction=[0,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=200
				direction=[0,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
//			Dynamics
//			{
//				delay=0.0, absoluteAcceleration=(0,0)
//			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(232,225,22)
				age=1, rgb=(225,152,25)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=255
				age=0.7, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.8,0.8)		
				age=1.0, scale=(1.2,1.2)				
			}
//			MoveWithEmitter
//			{
//				age=0, moveWithEmitter=1
//			}
		}
	}	


	EffectComponent ParticleEffect "base_smoke BLUE"
	{
		RepeatTime		1
		ParticleLifespan	0.6
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=200
				duration=1
				orientation=[0, 360]
				rotationalSpeed=[100,200]
				speed=0
				direction=[250, 290]
				spawnOffsetAbsX=[-5,5]
				spawnOffsetAbsY=0
			}

//			Dynamics
//			{
//				delay=0.0, absoluteAcceleration=(0,-30)
//			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0.0, alpha=255
				age=0.6, alpha=200
				age=1.0, alpha=0
			}
			
			Rgb
			{
				age=0, rgb=(0,20,155)
				age=1, rgb=(20,170,255)	
			}
		
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1.0, scale=(1,1)
			}

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

	EffectComponent ParticleEffect "base_smoke GOLD"
	{
		RepeatTime		1
		ParticleLifespan	0.6
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=200
				duration=1
				orientation=[0, 360]
				rotationalSpeed=[100,200]
				speed=0
				direction=[250, 290]
				spawnOffsetAbsX=[-5,5]
				spawnOffsetAbsY=0
			}

//			Dynamics
//			{
//				delay=0.0, absoluteAcceleration=(0,-30)
//			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0.0, alpha=255
				age=0.6, alpha=200
				age=1.0, alpha=0
			}
			
			Rgb
			{
				age=0, rgb=(255,225,22)
				age=1, rgb=(255,152,25)	
			}
		
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1.0, scale=(0.6,0.6)
			}

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

	EffectComponent ParticleEffect "sparkley trail"
	{
		RepeatTime		1
		ParticleLifespan	0.7
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=100
				duration=1
				orientation=[0, 360]
				rotationalSpeed=[100,200]
				speed=0
				direction=[250, 290]
				spawnOffsetAbsX=[-5,5]
				spawnOffsetAbsY=0
			}

//			Dynamics
//			{
//				delay=0.0, absoluteAcceleration=(0,-30)
//			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0.0, alpha=255
				age=0.1, alpha=100
				age=0.2, alpha=255
				age=0.3, alpha=100
				age=0.4, alpha=220
				age=0.5, alpha=90
				age=0.6, alpha=170
				age=0.7, alpha=70
				age=0.8, alpha=120
				age=0.9, alpha=40
				age=1.0, alpha=0
			}
			
			Rgb
			{
				age=0, rgb=(232,225,22)
				age=1, rgb=(225,152,25)
			}
		
			Scale
			{
				age=0, scale=(0.3,0.3)
				age=1.0, scale=(0.7,0.7)
			}

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

	EffectComponent ParticleEffect "stray_sparks"
	{
		RepeatTime		1
		ParticleLifespan	[0.2, 0.4]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_8"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=100
				duration=1
				orientation=[0, 360]
				rotationalSpeed=[100,200]
				speed=[120,180]
				direction=[-220, 40]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0.0, alpha=255
				age=1.0, alpha=0
			}
			
			Rgb
			{
				age=0, rgb=(232,225,22)
				age=1, rgb=(225,152,25)
			}
		
			Scale
			{
				age=0, scale=(0.8,0.8)
				age=1.0, scale=(1.9,1.9)
			}

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