
EffectDefinition
{

	EffectComponent ParticleEffect "edge_haze"
	{
		RepeatTime		0.6
		ParticleLifespan	[3.2,3.5]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02.png"

		EmitterEvents
		{
			// CORNERS
	
			// Bottom Left
			SpawnParticles
			{
				count=2
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[25,35]
				rotationalSpeed=[-20,20]				direction=[-75,15]
				spawnOffsetAbsX=[-500,-500]
				spawnOffsetAbsY=[400,400]
			}

			// Bottom Right
			SpawnParticles
			{
				count=2
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[25,35]
				rotationalSpeed=[-20,20]
				direction=[195,255]
				spawnOffsetAbsX=[500,500]
				spawnOffsetAbsY=[400,400]
			}

			// Top Right
			SpawnParticles
			{
				count=2
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[25,35]
				rotationalSpeed=[-20,20]
				direction=[105,165]
				spawnOffsetAbsX=[500,500]
				spawnOffsetAbsY=[-400,-400]
			}

			// Top Left
			SpawnParticles
			{
				count=2
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[25,35]
				rotationalSpeed=[-20,20]
				direction=[15,75]
				spawnOffsetAbsX=[-500,-500]
				spawnOffsetAbsY=[-400,-400]
			}

			// SIDES

			// Left
			SpawnParticles
			{
				count=1
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[15,25]
				rotationalSpeed=[-20,20]
				direction=[-30,30]
				spawnOffsetAbsX=[-500,-500]
				spawnOffsetAbsY=[-150,150]
			}

			// Right
			SpawnParticles
			{
				count=1
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[15,25]
				rotationalSpeed=[-20,20]
				direction=[150,210]
				spawnOffsetAbsX=[500,500]
				spawnOffsetAbsY=[-150,150]
			}

			// Top
			SpawnParticles
			{
				count=2
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[15,25]
				rotationalSpeed=[-20,20]
				direction=[60,120]
				spawnOffsetAbsX=[-250,250]
				spawnOffsetAbsY=[-450,-450]
			}

			// Bottom
			SpawnParticles
			{
				count=2
				duration=0.4
				delay=0
				orientation=[0,360]
				speed=[15,25]
				rotationalSpeed=[-20,20]
				direction=[240,300]
				spawnOffsetAbsX=[-250,250]
				spawnOffsetAbsY=[400,400]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(74,45,37)	
			
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.1, alpha=255
				age=0.5, alpha=140 	
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3.5,3.5)
				age=0.6, scale=(6.5,6.8)
				age=1, scale=(6.5,6.8)
				
			}
		}
	}

	
}