
EffectDefinition
{
	EffectComponent ParticleEffect "smoke left lingering in a column after lightning strike"
	{
		ParticleLifespan	[0.8,1.9]
		BlendMode			alpha
		Texture				"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=45
				speed=[-50,50]
				orientation=[0,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,-512]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-150)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(60,70,80)
			}
			
			Alpha
			{
				age=0, alpha=255
				age=0.7, alpha=200
				age=0.7, alpha=200
				age=1, alpha=0
			}
			
			Scale
			{
				age=0, scale=(0,0)
				age=0.01, scale=(0.5,0.5)
				age=0.3, scale=(1,1)
				age=1.0, scale=(2,2)
			}
		}
	}

	EffectComponent ParticleEffect "main white-hot bolt for lightning strike"
	{
		ParticleLifespan	0.35
		BlendMode			add
		Texture				"data/gfx/particles/lightning/lightning_main_01.png"
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				spawnOffsetAbsY=-288
				direction=90
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=128
				age=1, alpha=0
			}
		
			Scale
			{
				age=0, scale=(1.5,2.2)
				age=1, scale=(1.7,2.3)
			}
		}
	}

	EffectComponent ParticleEffect "vertical plain white additive column flash"
	{
		ParticleLifespan	0.35
		BlendMode			add
		Texture				"data/gfx/particles/blursquare_32.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				direction=90
				spawnOffsetAbsY=-288
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=100
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0.0, scale=(1.1,32.1)
			}
		}
	}

	EffectComponent ParticleEffect "vertical plain white additive column flash"
	{
		ParticleLifespan	0.15
		BlendMode			add
		Texture				"data/gfx/particles/blursquare_32.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				direction=90
				spawnOffsetAbsY=-288
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=128
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0.0, scale=(0,32.1)	
				age=1.0, scale=(10,32.1)	
			}
		}
	}

	EffectComponent ParticleEffect "large near-fullscreen quick bright additive double-flash"
	{
		ParticleLifespan	0.15
		BlendMode			add
		Texture				"data/gfx/particles/blursquare_32.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0.20
				direction=90
				spawnOffsetAbsY=-288
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=96
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0.0, scale=(32.5,32.1)	
				age=1.0, scale=(32.1,32.1)				
			}
		}
	}
	
}
