
EffectDefinition
{
	
	EffectComponent ParticleEffect "dust_clouds_main"
	{
		RepeatTime		0
		ParticleLifespan	[0.4,0.6]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=25
				duration=0
				delay=0
				orientation=[0,360]
				speed=0
				rotationalSpeed=[90,-90]
				direction=[0, 360]
				spawnOffsetAbsX=400
				spawnOffsetAbsY=[0,600]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-30)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(200, 170, 120)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=200
				age=0.7, alpha=170
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4,0.4)							
				age=1.0, scale=(6.4,6.4)				
			}

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

	EffectComponent ParticleEffect "crusty_and_flying"
	{
		RepeatTime		0
		ParticleLifespan	[0.4,0.6]
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=20
				duration=0
				delay=0
				orientation=[0,360]
				speed=[20, 100]
				rotationalSpeed=[30,50]
				direction=[-20,20]
				spawnOffsetAbsX=400
				spawnOffsetAbsY=[0,600]
			}

			// Right
			SpawnParticles
			{
				count=20
				duration=0
				delay=0
				orientation=[0,360]
				speed=[20, 100]
				rotationalSpeed=[30,50]
				direction=[160,200]
				spawnOffsetAbsX=400
				spawnOffsetAbsY=[0,600]
			}

			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,200)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(150, 120, 75)		
			}
			
			Alpha
			{
				age=0, alpha=230
				age=1, alpha=0				
			}
			
			Scale
			{
				age=0, scale=(0.7,0.6)		
				age=0.5, scale=(0.8,0.8)		
				age=1.0, scale=(0.6,0.7)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
	EffectComponent ParticleEffect "light_beams"
	{
		RepeatTime		0
		ParticleLifespan	0.2
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=400
				spawnOffsetAbsY=300
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=255				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2, 30.5)							
				age=1, scale=(2.5, 30.5)
			}

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