EffectDefinition
{
	EffectComponent ParticleEffect "horn_rising_left"
	{
		RepeatTime		0
		ParticleLifespan	[2.0,2.0]
		BlendMode		add
		Texture			"data/gfx/particles/hud/corner_horn_mask.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[270,270]
				spawnOffsetAbsX=-370
				spawnOffsetAbsY=-25
			}			
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5625, 1.5625)						
				age=1.0, scale=(7.5, 7.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
	EffectComponent ParticleEffect "horn_rising_right"
	{
		RepeatTime		0
		ParticleLifespan	[2.0,2.0]
		BlendMode		add
		Texture			"data/gfx/particles/hud/corner_horn_mask.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=[0,0]
				direction=[270,270]
				spawnOffsetAbsX=370
				spawnOffsetAbsY=-25
			}			
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				// Remember negative scale
				age=0, scale=(-1.5625, 1.5625)						
				age=1.0, scale=(-7.5, 7.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "colorsmoke_01_both_sides"
	{
		RepeatTime		0
		ParticleLifespan	[1.3,1.7]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=8
				duration=0
				delay=0
				orientation=[0,360]
				speed=[50, 100]
				rotationalSpeed=[20,30]
				direction=[270,280]
				spawnOffsetAbsX=-380
				spawnOffsetAbsY=-50
			}			

			// Right
			SpawnParticles
			{
				count=8
				duration=0
				delay=0
				orientation=[0,360]
				speed=[50, 100]
				rotationalSpeed=[20,30]
				direction=[260,270]
				spawnOffsetAbsX=380
				spawnOffsetAbsY=-50
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-100)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,50,50)	
				age=1.0, rgb=(50,50,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=100
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5, 1.5)						
				age=1.0, scale=(3.5, 3.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "colorsmoke_02_both_sides"
	{
		RepeatTime		0
		ParticleLifespan	[1.2,1.5]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=8
				duration=0
				delay=0
				orientation=[0,360]
				speed=[5, 10]
				rotationalSpeed=[20,30]
				direction=[270,270]
				spawnOffsetAbsX=-380
				spawnOffsetAbsY=-50
			}			

			// Right
			SpawnParticles
			{
				count=8
				duration=0
				delay=0
				orientation=[0,360]
				speed=[5, 10]
				rotationalSpeed=[20,30]
				direction=[270,270]
				spawnOffsetAbsX=380
				spawnOffsetAbsY=-50
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-10)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(50,255,50)	
				age=1.0, rgb=(50,50,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=100
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5, 1.5)						
				age=1.0, scale=(6.5, 6.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "smoke_02_white_flash"
	{
		RepeatTime		0
		ParticleLifespan	[0.3,0.5]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=3
				duration=0
				delay=0
				orientation=[0,360]
				speed=[50, 100]
				rotationalSpeed=[20,30]
				direction=[270,270]
				spawnOffsetAbsX=-380
				spawnOffsetAbsY=-50
			}			

			// Right
			SpawnParticles
			{
				count=3
				duration=0
				delay=0
				orientation=[0,360]
				speed=[50, 100]
				rotationalSpeed=[20,30]
				direction=[270,270]
				spawnOffsetAbsX=380
				spawnOffsetAbsY=-50
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-100)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5, 0.5)						
				age=1.0, scale=(2.5, 2.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}


	EffectComponent ParticleEffect "sparkles_01_both_sides"
	{
		RepeatTime		0
		ParticleLifespan	1.4
		BlendMode		add
		AnimSequence		"sparkle_dust"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.5
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=-384
				spawnOffsetAbsY=-16
			}			

			// Right
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.5
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[0,0]
				spawnOffsetAbsX=384
				spawnOffsetAbsY=-16
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-1)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=200
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3.5, 3.5)						
				age=1.0, scale=(7.5, 7.5)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "lots_of_sparks"
	{
		RepeatTime		0
		ParticleLifespan	[1.1,1.5]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=30
				duration=0.2
				delay=0
				orientation=[0,360]
				speed=[700, 900]
				rotationalSpeed=[-300,-600]
				direction=[260,280]
				spawnOffsetAbsX=-380
				spawnOffsetAbsY=-50
			}			

			// Right
			SpawnParticles
			{
				count=30
				duration=0.2
				delay=0
				orientation=[0,360]
				speed=[700, 900]
				rotationalSpeed=[300,600]
				direction=[260,280]
				spawnOffsetAbsX=380
				spawnOffsetAbsY=-50
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,650)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=130
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.2, 1.2)						
				age=1.0, scale=(1.9, 1.9)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "halos"
	{
		RepeatTime		0
		ParticleLifespan	[0.7,0.7]
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[260,280]
				spawnOffsetAbsX=-380
				spawnOffsetAbsY=-42
			}			

			// Right
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[0, 0]
				rotationalSpeed=[20,30]
				direction=[260,280]
				spawnOffsetAbsX=380
				spawnOffsetAbsY=-42
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0, 0.0)						
				age=1.0, scale=(15.3, 15.3)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "full_flash"
	{
		RepeatTime		0
		ParticleLifespan	[0.1,0.1]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[40,40]
				direction=[260,280]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=-300
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
				
			}
			
			Alpha
			{
				age=0, alpha=150 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0,0.0)
				age=1, scale=(100.0,100.0)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "HUD_Sheen"
	{
		RepeatTime		0
		ParticleLifespan	1.3
		BlendMode		add
		Texture			"data/gfx/particles/blursquare_32.png"
		FollowEmitter		true

		EmitterEvents
		{
			// Left
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=300
				rotationalSpeed=[20,30]
				direction=0
				spawnOffsetAbsX=-384
				spawnOffsetAbsY=-16
			}			

			// Right
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=300
				rotationalSpeed=[20,30]
				direction=180
				spawnOffsetAbsX=384
				spawnOffsetAbsY=-16
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(150,255,150)	
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.7, 1.0)										
			}
		
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
}