
EffectDefinition
{
	EffectComponent ParticleEffect "Smoke"
	{
		RepeatTime			2
		ParticleLifespan	[1,2]
		BlendMode			alpha
		Texture				"data/gfx/particles/smoke_01"
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				duration=2
				speed=[100,200]
				direction=[-75,-105]
				orientation=[0,360]
				rotationalSpeed=[-120,120]
				spawnOffsetAbsX=[-30,30]
				spawnOffsetAbsy=[-10,10]
			}
		}
		
		ParticleEvents
		{
		
			RGB
			{
				age=0, rgb=(0,0,0)
				age=.5, rgb=(50,50,50)
				age=1, rgb=(128,128,128)
			}
			Scale
			{
				age=0, scale=(0,0)
				age=0.5, scale=(3,3)
				age=1, scale=(2,2)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=255
				age=0.9, alpha=255
				age=1, alpha=0
			}
		}
	}

	EffectComponent ParticleEffect "Flame"
	{
		RepeatTime			.25
		ParticleLifespan	[0.25,1.5]
		BlendMode			add
		Texture				"data/gfx/particles/fire/flame_01"

		EmitterEvents
		{
			SpawnParticles
			{
				count=[3,10]
				duration=0.25
				speed=[-30,30]
				direction=[-180,0]
				orientation=[0,360]
				rotationalSpeed=[-720,720]
				spawnOffsetAbsX=[-30,30]
				spawnOffsetAbsy=[-10,10]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-250)
			}
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(150,40,15)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=255
				age=1, alpha=0
			}
			
			Scale
			{
				age=0, scale=(0,0)
				age=0.25, scale=(2,2)
				age=.5, scale=(4,4)
				age=1, scale=(0,0)
			}
		}
	}
	
	EffectComponent ParticleEffect "Smoke"
	{
		RepeatTime			2
		ParticleLifespan	[1,2]
		BlendMode			alpha
		Texture				"data/gfx/particles/smoke_01"
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=2
				speed=[100,200]
				direction=[-75,-105]
				orientation=[0,360]
				rotationalSpeed=[-120,120]
				spawnOffsetAbsX=[-30,30]
				spawnOffsetAbsy=[-10,10]
			}
		}
		
		ParticleEvents
		{
		
			RGB
			{
				age=0, rgb=(0,0,0)
				age=.5, rgb=(50,50,50)
				age=1, rgb=(128,128,128)
			}
			Scale
			{
				age=0, scale=(0,0)
				age=0.5, scale=(3,3)
				age=1, scale=(2,2)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=255
				age=0.9, alpha=255
				age=1, alpha=0
			}
		}
	}
	
}
