
EffectDefinition
{
	EffectComponent ParticleEffect "smoke"
	{
		RepeatTime		.1
		ParticleLifespan	[0.8,1.2]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,360]
				speed=[10,20]
				rotationalSpeed=[10,30]
				direction=[260, 280]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=-20
			}
			
			Dynamics
			{
				delay=0, 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=0
				age=0.5, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(2.0,2.0)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
	EffectComponent ParticleEffect "sparkles"
	{
		RepeatTime		.2
		ParticleLifespan	[0.8,1.2]
		BlendMode		add
		AnimSequence		"sparkle_dust"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,360]
				speed=[10,20]
				rotationalSpeed=[10,30]
				direction=[260, 280]
				spawnOffsetAbsX=[-10,10]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, 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=0				
				age=0.6, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.2,2.2)
				age=1, scale=(4.0,4.0)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			

		}
	}

	EffectComponent ParticleEffect "crystal ball glow"
	{
		RepeatTime			3
		ParticleLifespan	2.5
		BlendMode			add
		Texture				"data/gfx/particles/blurcircle_01"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				delay=.9
				count=2
				spawnOffsetAbsY=3
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=0
				age=0.9, alpha=200
				age=1, alpha=0
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
			Scale
			{
				age=0, scale=(2,2)
			}
		}
	}
/*
	EffectComponent ParticleEffect "symbol #0 - isis"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/isis_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=0 // 3 x symbol#
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.7,0.7)
			}
		}
	}
	
	EffectComponent ParticleEffect "symbol #1 - ra"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/ra_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=3 // 3 x symbol#
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.7,0.7)
			}
		}
	}

	EffectComponent ParticleEffect "symbol #2 - nut"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/nut_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=6 // 3 x symbol#
				spawnOffsetAbsY=-3
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.6,0.6)
			}
		}
	}

	EffectComponent ParticleEffect "symbol #3 - geb"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/geb_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=9 // 3 x symbol#
				spawnOffsetAbsX=-2
				spawnOffsetAbsY=-4
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.6,0.6)
			}
		}
	}

	EffectComponent ParticleEffect "symbol #4 - horus"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/horus_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=12 // 3 x symbol#
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.7,0.7)
			}
		}
	}

	EffectComponent ParticleEffect "symbol #5 - osiris"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/osiris_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=15 // 3 x symbol#
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.7,0.7)
			}
		}
	}

	EffectComponent ParticleEffect "symbol #6 - anubis"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/anubis_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=18 // 3 x symbol#
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.55,0.55)
			}
		}
	}

	EffectComponent ParticleEffect "symbol #7 - thoth"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/thoth_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=21 // 3 x symbol#
				spawnOffsetAbsY=-3
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.55,0.55)
			}
		}
	}

	EffectComponent ParticleEffect "symbol #8 - sekhmet"
	{
		RepeatTime			27
		ParticleLifespan	3
		BlendMode			add
		Texture				"data/gfx/particles/symbols/sekhmet_symbol"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				delay=24 // 3 x symbol#
				spawnOffsetAbsY=-2
			}
		}
		
		ParticleEvents
		{
			Scale
			{
				age=0, scale=(0,0)
				age=1, scale=(0.7,0.7)
			}
		}
	}
*/
	EffectComponent ParticleEffect "halo glow"
	{
		RepeatTime		3
		ParticleLifespan	3.3
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"
		FollowEmitter		true

		EmitterEvents
		{
			
			SpawnParticles
			{
				count=1
			}			
		}
		
		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=0
				age=0.95, alpha=60
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3.2, 3.2)
				age=0.5, scale=(3.5, 3.5)
				age=1, scale=(3.2, 3.2)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
		}
	}

	EffectComponent ParticleEffect "wing shine sparkle"
	{
		RepeatTime			3
		ParticleLifespan	1.0
		BlendMode			add
		Texture				"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			// left
			SpawnParticles
			{
				count=3
				duration=0.2
				speed=240
				rotationalSpeed=-50
				spawnOffsetAbsX=-20
				spawnOffsetAbsY=-27
			}
			
			// right
			SpawnParticles
			{
				count=3
				duration=0.2
				speed=240
				direction=180
				rotationalSpeed=50
				spawnOffsetAbsX=20
				spawnOffsetAbsY=-27
			}


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-50)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 220, 100)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=200				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4, 0.4)
				age=0, scale=(1.1, 1.1)
				age=1, scale=(0.5, 0.5)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "wing shine"
	{
		RepeatTime		3
		ParticleLifespan	1.0
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			// left
			SpawnParticles
			{
				count=2
				duration=0.1
				speed=240
				rotationalSpeed=-50
				spawnOffsetAbsX=-20
			}
			
			// right
			SpawnParticles
			{
				count=2
				duration=0.1
				speed=240
				direction=180
				rotationalSpeed=50
				spawnOffsetAbsX=20
			}


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-80)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 220, 100)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=140				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.8, 3.2)
				age=0, scale=(1.1, 2.8)
				age=1, scale=(0.5, 1.5)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "side rim flare"
	{
		RepeatTime			3
		ParticleLifespan	1.5
		BlendMode			add
		Texture				"data/gfx/particles/sparkle/star_01"
		FollowEmitter		true

		EmitterEvents
		{
			// left
			SpawnParticles
			{
				count=1
				rotationalSpeed=-150
				direction=90
				spawnOffsetAbsX=-172
			}
			
			// right
			SpawnParticles
			{
				count=1
				rotationalSpeed=150
				direction=90
				spawnOffsetAbsX=169
			}


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,300)
			}
		}
		
		ParticleEvents
		{
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=255				
				age=1, alpha=0
			}
			
			Scale
			{
				age=0, scale=(0.5, 0.5)
				age=0.5, scale=(0.7, 0.7)
				age=1, scale=(0.5, 0.5)
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
}