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

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0
				delay=0.45
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[-100,100]
				direction=[0,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[-50,-512]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-40)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(20,40,80)		
			}
			
			Alpha
			{
				age=0, alpha=200							
				age=0.7, alpha=190
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.0,2.0)		
				age=1.0, scale=(4.0,4.0)				
			}
		}
	}

	EffectComponent ParticleEffect "lightning_scatter_clouds"
	{
		RepeatTime		0
		ParticleLifespan	[0.2,0.4]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0.5
				delay=0
				orientation=[0,360]
				speed=[10, 20]
				rotationalSpeed=[50,100]
				direction=[270,270]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,-512]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=60							
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)		
				age=1.0, scale=(1.5,1.5)				
			}
		}
	}

	EffectComponent ParticleEffect "lightning_directional_pusher"
	{
		RepeatTime		0
		ParticleLifespan	[0.5,0.5]
		BlendMode		add
		AnimSequence		"lightning_small"
//		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				duration=0.3
				delay=0
				orientation=[0,360]
				speed=[2000, 2000]
				rotationalSpeed=[40,40]
				direction=[269,271]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(150,160,255)		
			}
			
			Alpha
			{
				age=0, alpha=80							
				age=0.9, alpha=80	
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.5,2.5)		
				age=1.0, scale=(4.0,4.0)				
			}
		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[1500, 1500]
				rotationalSpeed=[0,0]
				direction=[269,271]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(150,160,255)		
			}
			
			Alpha
			{
				age=0, alpha=40							
				//age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.5,2.5)		
				age=1.0, scale=(16.0,16.0)				
			}
		}
	}


	EffectComponent ParticleEffect "lightning_bolt_main"
	{
		RepeatTime		0
		ParticleLifespan	[0.7,0.8]
		BlendMode		add
		Texture			"data/gfx/particles/lightning/lightning_main_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[270,270]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[-266,-266]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=190 				
				age=0.7, alpha=180
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0,0.0)	
				age=0.05, scale=(1.8,2.1)	
				age=0.9, scale=(1.81,2.1)
				age=1.0, scale=(1.95,2.12)				
			}
		}
	}

	EffectComponent ParticleEffect "lightning_bolt_crazyoverlay"
	{
		RepeatTime		0
		ParticleLifespan	[0.1,0.2]
		BlendMode		add
		Texture			"data/gfx/particles/lightning/lightning_main_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=0.3
				delay=0.1
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[270,270]
				spawnOffsetAbsX=[-25,25]
				spawnOffsetAbsY=[-266,-266]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,120,255)		
			}
			
			Alpha
			{
				age=0, alpha=128				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0.0, scale=(-1.5,2.1)	
				age=1.0, scale=(-1.8,2.1)				
			}
		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[270,270]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[-266,-266]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=128				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0.0, scale=(1.5,32.1)	
				age=1.0, scale=(30.1,32.1)				
			}
		}
	}
	
	EffectComponent ParticleEffect "lightning_scatter"
	{
		RepeatTime		0
		ParticleLifespan	[0.2,0.4]
		BlendMode		add
		AnimSequence		"lightning_small"

		EmitterEvents
		{
			SpawnParticles
			{
				count=5
				duration=0.5
				delay=0
				orientation=[0,360]
				speed=[10, 20]
				rotationalSpeed=[50,100]
				direction=[270,270]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[-50,-552]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=100							
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(4.0,4.0)		
				age=1.0, scale=(2.5,2.5)				
			}
		}
	}

	EffectComponent ParticleEffect "lightning_scatter_sparks"
	{
		RepeatTime		0
		ParticleLifespan	[0.7,1.0]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8.png"	

		EmitterEvents
		{
			SpawnParticles
			{
				count=20
				duration=0.3
				delay=0.35
				orientation=[0,360]
				speed=[300, 400]
				rotationalSpeed=[50,100]
				direction=[180,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[-50,-552]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,400)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=150							
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.2,1.2)		
				age=1.0, scale=(0.7,0.7)				
			}
		}
	}

	EffectComponent ParticleEffect "lightning_directional_sparks"
	{
		RepeatTime		0
		ParticleLifespan	[0.7,1.0]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8.png"	

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0
				delay=0
				orientation=[0,360]
				speed=[700, 900]
				rotationalSpeed=[50,100]
				direction=[225,315]
				spawnOffsetAbsX=[-2,2]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,400)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=150							
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.8,1.8)		
				age=1.0, scale=(0.7,0.7)				
			}
		}
	}
	
}