
EffectDefinition
{

	EffectComponent ParticleEffect "canopic_sparks"
	{
		RepeatTime		0
		ParticleLifespan	[0.6,1.2]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[50, 250]
				rotationalSpeed=[-150,150]
				direction=[0,360]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}

			SpawnParticles
			{
				count=20
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[50, 250]
				rotationalSpeed=[-150,150]
				direction=[230,310]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}
			
			Dynamics
			{
				delay=1, absoluteAcceleration=(0,100)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				//age=1, alpha=0 				
				
			}
			
			Scale
			{
				age=0, scale=(0.7,0.9)
				age=1.0, scale=(0.4,0.0)				
			}
		}
	}


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

		EmitterEvents
		{
			SpawnParticles
			{
				count=8
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[350, 450]
				rotationalSpeed=[-300,300]
				direction=[230,310]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,600)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=0.7, alpha=200 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)
				age=0.2, scale=(-1.0,1.0)
				age=0.6, scale=(-1.0,-1.0)
				age=0.8, scale=(1.0,-1.0)
				age=1.0, scale=(1.0,1.0)				
			}
		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[350, 450]
				rotationalSpeed=[-300,300]
				direction=[230,310]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,600)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=0.7, alpha=200 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)
				age=0.2, scale=(-1.0,1.0)
				age=0.6, scale=(-1.0,-1.0)
				age=0.8, scale=(1.0,-1.0)
				age=1.0, scale=(1.0,1.0)				
			}
		}
	}	

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[350, 450]
				rotationalSpeed=[-300,300]
				direction=[230,310]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,600)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=0.7, alpha=200 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)
				age=0.2, scale=(-1.0,1.0)
				age=0.6, scale=(-1.0,-1.0)
				age=0.8, scale=(1.0,-1.0)
				age=1.0, scale=(1.0,1.0)				
			}
		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[350, 450]
				rotationalSpeed=[-300,300]
				direction=[230,310]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,600)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=0.7, alpha=200 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)
				age=0.2, scale=(-1.0,1.0)
				age=0.6, scale=(-1.0,-1.0)
				age=0.8, scale=(1.0,-1.0)
				age=1.0, scale=(1.0,1.0)				
			}
		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[350, 450]
				rotationalSpeed=[-300,300]
				direction=[230,310]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,600)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=0.7, alpha=200 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)
				age=0.2, scale=(-1.0,1.0)
				age=0.6, scale=(-1.0,-1.0)
				age=0.8, scale=(1.0,-1.0)
				age=1.0, scale=(1.0,1.0)				
			}
		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0.01
				delay=0
				orientation=[-360,360]
				speed=[30, 40]
				rotationalSpeed=[-30,30]
				direction=[0,360]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[-10,10]
			}
			
			Dynamics
			{
				delay=0.5, absoluteAcceleration=(0,-20)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)	
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=1, alpha=0 							
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)			
				age=1.0, scale=(3.0,3.0)				
			}
		}
	}
	
	EffectComponent ParticleEffect "canopic_magical_dust"
	{
		RepeatTime		0
		ParticleLifespan	[1.2,2.0]
		BlendMode		add
		AnimSequence		"sparkle_dust"

		EmitterEvents
		{
			SpawnParticles
			{
				count=30
				duration=0.2
				delay=0.1
				orientation=[-360,360]
				speed=[30, 90]
				rotationalSpeed=[-30,30]
				direction=[0,360]
				spawnOffsetAbsX=[-20,20]
				spawnOffsetAbsY=[-20,20]
			}
			
			Dynamics
			{
				delay=0.5, absoluteAcceleration=(0,-40)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(80,160,255)		
				age=0.5, rgb=(60,180,255)		
				age=1, rgb=(100,120,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=1, alpha=0 							
			}
			
			Scale
			{
				age=0, scale=(1.0,1.0)			
				age=1.0, scale=(5.0,5.0)				
			}
		}
	}

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

		EmitterEvents
		{
			SpawnParticles
			{
				count=3
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[180,360]
				direction=[0,360]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)		
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=1, alpha=0 							
			}
			
			Scale
			{
				age=0, scale=(0.1,0.1)			
				age=1.0, scale=(4.0,4.0)				
			}
		}
	}

	EffectComponent ParticleEffect "canopic_full_flash"
	{
		RepeatTime		0
		ParticleLifespan	0.1
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

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

				
			}
		}
	}
}