
EffectDefinition
{

	EffectComponent ParticleEffect "horn smoke BLUE"
	{
		RepeatTime		0.1
		ParticleLifespan	1.5
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02.png"

		EmitterEvents
		{


			// Left Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=60
				rotationalSpeed=[100,200]
				direction=[275,295]
				spawnOffsetAbsX=50
				spawnOffsetAbsY=620
			}

			
			// Right Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=60
				rotationalSpeed=[100,200]
				direction=[245,265]
				spawnOffsetAbsX=750
				spawnOffsetAbsY=620
			}			

			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-140)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(5,10,80)			
				age=1, rgb=(25,90,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=255
				age=0.3, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5,1.5)
				age=1, scale=(2.8,2.8)
				
			}
		}
	}
	
	EffectComponent ParticleEffect "horn smoke alpha GOLD"
	{
		RepeatTime		0.2
		ParticleLifespan	1.5
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02.png"

		EmitterEvents
		{
			// Left Corner
			SpawnParticles
			{
				count=2
				duration=0.2
				orientation=[0,360]
				speed=120
				rotationalSpeed=[100,200]
				direction=[275,295]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=620
			}

			// Left Corner 2 
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=60
				rotationalSpeed=[100,200]
				direction=[275,295]
				spawnOffsetAbsX=80
				spawnOffsetAbsY=620
			}

			// Right Corner
			SpawnParticles
			{
				count=2
				duration=0.2
				orientation=[0,360]
				speed=120
				rotationalSpeed=[100,200]
				direction=[245,265]
				spawnOffsetAbsX=800
				spawnOffsetAbsY=620
			}

			// Right Corner 2
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=60
				rotationalSpeed=[100,200]
				direction=[245,265]
				spawnOffsetAbsX=720
				spawnOffsetAbsY=620
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-140)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(178,119,17)			
				age=1, rgb=(91,64,18)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=200
				age=0.5, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.6,0.6)
				age=1, scale=(1.4,1.4)
				
			}
		}
	}
	
	
	EffectComponent ParticleEffect "horn smoke add"
	{
		RepeatTime		0.1
		ParticleLifespan	1.5
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"

		EmitterEvents
		{
			// Left Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=120
				rotationalSpeed=[100,200]
				direction=[275,295]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=620
			}

			// Left Corner 2
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=60
				rotationalSpeed=[100,200]
				direction=[275,295]
				spawnOffsetAbsX=80
				spawnOffsetAbsY=620
			}

			// Right Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=120
				rotationalSpeed=[100,200]
				direction=[245,265]
				spawnOffsetAbsX=800
				spawnOffsetAbsY=620
			}

			// Right Corner 2
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=60
				rotationalSpeed=[100,200]
				direction=[245,265]
				spawnOffsetAbsX=720
				spawnOffsetAbsY=620
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-140)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,180,70)			
				age=1, rgb=(255,120,30)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=200
				age=0.5, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.6,0.6)
				age=1, scale=(1.0,1.0)
				
			}
		}
	}
	
	EffectComponent ParticleEffect "corner fireworks gold"
	{
		RepeatTime		0.1
		ParticleLifespan	[1.2, 1.4]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"

		EmitterEvents
		{
			// Left Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[700,850]
				rotationalSpeed=[100,200]
				direction=[270,280]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=620
			}

			// Left Corner 2
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[600,700]
				rotationalSpeed=[100,200]
				direction=[270,280]
				spawnOffsetAbsX=80
				spawnOffsetAbsY=620
			}

			// Right Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[700,850]
				rotationalSpeed=[100,200]
				direction=[260,270]
				spawnOffsetAbsX=800
				spawnOffsetAbsY=620
			}

			// Right Corner 2
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[600,700]
				rotationalSpeed=[100,200]
				direction=[260,270]
				spawnOffsetAbsX=720
				spawnOffsetAbsY=620
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,550)
			}
			
			SignalEvents
			{
				delay=1, event="PlaySound", string "name"="FireworkExplode"
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(178,119,17)			
				age=1, rgb=(91,64,18)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=255
				age=0.5, alpha=180
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)
				age=1, scale=(0.5,0.5)
				
			}
		}
	}

	EffectComponent ParticleEffect "corner fireworks blue"
	{
		RepeatTime		0.15
		ParticleLifespan	[1.2, 1.4]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"

		EmitterEvents
		{
			// Left Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[700,850]
				rotationalSpeed=[100,200]
				direction=[270,280]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=620
			}

			// Left Corner 2
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[600,700]
				rotationalSpeed=[100,200]
				direction=[270,280]
				spawnOffsetAbsX=80
				spawnOffsetAbsY=620
			}

			// Right Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[700,850]
				rotationalSpeed=[100,200]
				direction=[260,270]
				spawnOffsetAbsX=800
				spawnOffsetAbsY=620
			}

			// Right Corner 2
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=[600,700]
				rotationalSpeed=[100,200]
				direction=[260,270]
				spawnOffsetAbsX=720
				spawnOffsetAbsY=620
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,550)
			}
			
			SignalEvents
			{
				delay=1, event="PlaySound", string "name"="FireworkExplode"
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(50, 100, 255)
				age=1, rgb=(100, 180, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=255
				age=0.5, alpha=180
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)
				age=1, scale=(0.8,0.8)
				
			}
		}
	}


	EffectComponent ParticleEffect "rings 1"
	{
		RepeatTime		0
		ParticleLifespan	1.5
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"

		EmitterEvents
		{
			// Lower Left Corner
			SpawnParticles
			{
				count=8
				duration=1.0
				orientation=[0,360]
				speed=0
				rotationalSpeed=[100,200]
				direction=[275,295]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=600
			}

			// Lower Right Corner
			SpawnParticles
			{
				count=8
				duration=1.0
				orientation=[0,360]
				speed=0
				rotationalSpeed=[100,200]
				direction=[245,265]
				spawnOffsetAbsX=800
				spawnOffsetAbsY=600
			}

			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(50, 50, 255)
				age=0.5, rgb=(255, 50, 50)
				age=1, rgb=(50, 255, 50)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=200
				age=0.6, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1, scale=(35.9,35.9)
				
			}
		}
	}

	EffectComponent ParticleEffect "spirals"
	{
		RepeatTime		0
		ParticleLifespan	2
		BlendMode		add
		Texture			"data/gfx/particles/offset_circle_8.png"

		EmitterEvents
		{
			// Left Corner
			SpawnParticles
			{
				count=8
				duration=0.8
				orientation=180
				speed=0
				rotationalSpeed=-900
				direction=[275,295]
				spawnOffsetAbsX=200
				spawnOffsetAbsY=600
			}

			// Right Corner
			SpawnParticles
			{
				count=8
				duration=0.8
				orientation=0
				speed=0
				rotationalSpeed=900
				direction=[245,265]
				spawnOffsetAbsX=600
				spawnOffsetAbsY=600
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=120
				age=0.6, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1, scale=(20.9,20.9)
				
			}
		}
	}

	EffectComponent ParticleEffect "side things"
	{
		RepeatTime		0
		ParticleLifespan	2.5
		BlendMode		add
		Texture			"data/gfx/particles/blur_line_64.png"

		EmitterEvents
		{
			// top
			SpawnParticles
			{
				count=1
				duration=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=400
				spawnOffsetAbsY=0
			}

			// bottom
			SpawnParticles
			{
				count=1
				duration=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=400
				spawnOffsetAbsY=600
			}

			// left
			SpawnParticles
			{
				count=1
				duration=0
				orientation=90
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=300
			}
			
			// right
			SpawnParticles
			{
				count=1
				duration=0
				orientation=90
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=800
				spawnOffsetAbsY=300
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(50, 50, 255)
				age=0.5, rgb=(255, 50, 50)
				age=1, rgb=(50, 255, 50)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=70
				age=0.2, alpha=130
				age=0.4, alpha=70
				age=0.6, alpha=130
				age=0.8, alpha=70
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(15.2,15.2)
				age=0, scale=(17.2,17.2)
				age=0, scale=(15.2,15.2)
				
			}
		}
	}

	EffectComponent ParticleEffect "rolling over line"
	{
		RepeatTime		0
		ParticleLifespan	1.5
		BlendMode		add
		Texture			"data/gfx/particles/blur_line_64.png"

		EmitterEvents
		{
			// top
			SpawnParticles
			{
				count=5
				duration=1.5
				orientation=0
				speed=400
				rotationalSpeed=0
				direction=270
				spawnOffsetAbsX=400
				spawnOffsetAbsY=600
			}

			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 150, 150)
				age=0.5, rgb=(150, 255, 150)
				age=1, rgb=(150, 150, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=120
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(15.2,15.2)
				age=0, scale=(17.2,17.2)
				age=0, scale=(15.2,15.2)
				
			}
		}
	}	

	EffectComponent ParticleEffect "corner fireworks initial burst"
	{
		RepeatTime		0
		ParticleLifespan	[1.2, 1.4]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"

		EmitterEvents
		{
			// Left Corner
			SpawnParticles
			{
				count=25
				duration=0.8
				orientation=[0,360]
				speed=[700,850]
				rotationalSpeed=[100,200]
				direction=[275,295]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=620
			}

			// Right Corner
			SpawnParticles
			{
				count=25
				duration=0.8
				orientation=[0,360]
				speed=[700,850]
				rotationalSpeed=[100,200]
				direction=[245,265]
				spawnOffsetAbsX=800
				spawnOffsetAbsY=620
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,600)
			}
			
			SignalEvents
			{
				delay=0, event="PlaySound", string "name"="FireworkLaunch"
			}
			SignalEvents
			{
				delay=1, event="PlaySound", string "name"="FireworkExplode"
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 100, 100)
				age=0.5, rgb=(100, 255, 100)
				age=1, rgb=(100, 100, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.01, alpha=255
				age=0.5, alpha=180
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.7,0.7)
				age=1, scale=(1.5,1.5)
				
			}
		}
	}

	EffectComponent ParticleEffect "full flicker"
	{
		RepeatTime		[0.3, 0.8]
		ParticleLifespan	[0.3, 0.5]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			// Left Corner
			SpawnParticles
			{
				count=1
				duration=0
				orientation=[0,360]
				speed=0
				rotationalSpeed=[100,200]
				direction=0
				spawnOffsetAbsX=400
				spawnOffsetAbsY=620
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 180)
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.5, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(35.7,35.7)

				
			}
		}
	}
		
}