EffectDefinition
{
	EffectComponent ParticleEffect "sandstorm_clouds_spinners"
	{
		RepeatTime		0
		ParticleLifespan	[2.6,2.6]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=4
				duration=0
				delay=0.15
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[-360,-460]
				direction=[268,272]
				spawnOffsetAbsX=[-400,-400]
				spawnOffsetAbsY=[-300,-300]
			}

			SpawnParticles
			{
				count=4
				duration=0
				delay=0.15
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[360,460]
				direction=[268,272]
				spawnOffsetAbsX=[400,400]
				spawnOffsetAbsY=[-300,-300]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(180, 150, 95)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=245
				age=0.5, alpha=200
				age=0.8, alpha=245
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(15.5,15.0)		
				age=0.5, scale=(13.5,13.5)		
				age=1.0, scale=(15.0,15.5)				
			}
		}
	}

	EffectComponent ParticleEffect "sandstorm_flying_rocks"
	{
		RepeatTime		0
		ParticleLifespan	[1.0,1.2]
		BlendMode		alpha
		Texture			"data/gfx/particles/rocks/rock_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=30
				duration=2.0
				delay=0
				orientation=[0,360]
				speed=[1000, 1400]
				rotationalSpeed=[-200,200]
				direction=[265,275]
				spawnOffsetAbsX=[-400,400]
				spawnOffsetAbsY=[20,40]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(160, 130, 100)		
			}
			
			Alpha
			{
				age=0, alpha=255
				age=0.5, alpha=200
				age=0.9, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.6,0.6)		
				age=0.5, scale=(0.65,0.65)		
				age=1.0, scale=(0.6,0.6)				
			}
		}
	}
	

	EffectComponent ParticleEffect "sandstorm_clouds_main"
	{
		RepeatTime		0
		ParticleLifespan	[1.0,1.2]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=40
				duration=2.3
				delay=0
				orientation=[0,360]
				speed=[1000, 1200]
				rotationalSpeed=[20,50]
				direction=[268,272]
				spawnOffsetAbsX=[-450,450]
				spawnOffsetAbsY=[20,40]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(180, 150, 95)		
			}
			
			Alpha
			{
				age=0, alpha=200
				age=0.5, alpha=150
				age=0.8, alpha=200
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(6.0,6.0)		
				age=0.5, scale=(4.5,7.5)		
				age=1.0, scale=(6.0,6.0)				
			}
		}
	}

	EffectComponent ParticleEffect "sandstorm_clouds_small"
	{
		RepeatTime		0
		ParticleLifespan	[1.0,1.2]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=40
				duration=2.0
				delay=0
				orientation=[0,360]
				speed=[1300, 1600]
				rotationalSpeed=[100,250]
				direction=[268,272]
				spawnOffsetAbsX=[-420,420]
				spawnOffsetAbsY=[20,40]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(200, 170, 125)		
			}
			
			Alpha
			{
				age=0, alpha=55
				age=0.5, alpha=20
				age=0.9, alpha=55
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3.0,3.0)		
				age=0.5, scale=(1.5,1.5)		
				age=1.0, scale=(3.0,3.0)				
			}
		}
	}
	
	 

	EffectComponent ParticleEffect "sandstorm_flying_small_rocks"
	{
		RepeatTime		0
		ParticleLifespan	[1.0,1.2]
		BlendMode		alpha
		Texture			"data/gfx/particles/rocks/rock_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=80
				duration=2.0
				delay=0
				orientation=[0,360]
				speed=[1000, 1800]
				rotationalSpeed=[-200,200]
				direction=[265,275]
				spawnOffsetAbsX=[-400,400]
				spawnOffsetAbsY=[20,40]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(200, 170, 125)		
			}
			
			Alpha
			{
				age=0, alpha=255
				age=0.5, alpha=200
				age=0.9, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)		
				age=0.5, scale=(0.35,0.35)		
				age=1.0, scale=(0.3,0.3)				
			}
		}
	} 

	EffectComponent ParticleEffect "sandstorm_overlay_wave"
	{
		RepeatTime		0
		ParticleLifespan	[1.0,1.2]
		BlendMode		add
		Texture			"data/gfx/particles/blursquare_32.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=2.0
				delay=0
				orientation=[0,0]
				speed=[800, 1200]
				rotationalSpeed=[0,0]
				direction=[265,275]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[50,100]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(100, 80, 60)		
			}
			
			Alpha
			{
				age=0, alpha=155
				age=0.5, alpha=100
				age=0.9, alpha=155
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(32.0,15.0)		
				age=0.5, scale=(32.0,12.0)		
				age=1.0, scale=(32.0,14.0)				
			}
		}
	} 

	EffectComponent ParticleEffect "sandstorm_clouds_glow_edges"
	{
		RepeatTime		0
		ParticleLifespan	[2.0,2.0]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.15
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[268,272]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0.15
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[268,272]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[-600,-600]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(180, 150, 95)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=150
				age=0.5, alpha=200
				age=0.8, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(42.5,2.5)		
				age=0.5, scale=(52.5,4.5)		
				age=1.0, scale=(42.5,2.5)				
			}
		}
	}


	EffectComponent ParticleEffect "sandstorm_speedy_lines"
	{
		RepeatTime		0
		ParticleLifespan	[0.4,0.6]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=2.0
				delay=0.1
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[265,275]
				spawnOffsetAbsX=[-400,400]
				spawnOffsetAbsY=[0,10]
			}

			SpawnParticles
			{
				count=10
				duration=2.0
				delay=0.1
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[265,275]
				spawnOffsetAbsX=[-400,400]
				spawnOffsetAbsY=[-600,-610]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(100, 80, 60)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=155
				age=0.5, alpha=100
				age=0.9, alpha=155
				age=1, alpha=0				
			}
			
			Scale
			{
				age=0, scale=(1.0,10.0)		
				age=0.5, scale=(2.0,20.0)		
				age=1.0, scale=(1.0,12.0)				
			}
		}
	} 
	
}