
EffectDefinition
{
	EffectComponent ParticleEffect "star base clouds"
	{
		RepeatTime		.5
		ParticleLifespan	[1.2, 1.5]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				orientation=[0,360]
				speed=[1,5]
				rotationalSpeed=[-50,-100]
				direction=[0,360]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=2
				orientation=[0,360]
				speed=[1,5]
				rotationalSpeed=[50,100]
				direction=[0,360]
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(0,0,0)
				age=1, rgb=(15,10,15)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=160
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.6,0.6)
				age=1, scale=(1.1,1.1)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	

	
	EffectComponent ParticleEffect "star base stars"
	{
		RepeatTime		1
		ParticleLifespan	0.6
		BlendMode		alpha
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,0]
				speed=[0,0]
				rotationalSpeed=0
				direction=[0,360]
			}

			SpawnParticles
			{
				count=1
				delay=0.5
				orientation=[45,45]
				speed=[0,0]
				rotationalSpeed=0
				direction=[0,360]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(10,5,10)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=40
				age=0.7, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.6,0.6)
				age=1, scale=(1.3,1.3)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "orbiting erratic stars"
	{
		RepeatTime		1
		ParticleLifespan	2.2
		BlendMode		alpha
		Texture			"data/gfx/particles/offset_circle_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=0
				speed=[0,0]
				rotationalSpeed=-250
				direction=[0,360]
			}

			SpawnParticles
			{
				count=1
				delay=0.5
				orientation=180
				speed=[0,0]
				rotationalSpeed=250
				direction=[0,360]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(10,5,10)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=30
				age=0.7, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1, scale=(0.8,0.8)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
	EffectComponent ParticleEffect "orbiting outer stars"
	{
		RepeatTime		4
		ParticleLifespan	4.8
		BlendMode		add
		Texture			"data/gfx/particles/offset_circle_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=45
				speed=[0,0]
				rotationalSpeed=-200
				direction=[0,360]
			}

			SpawnParticles
			{
				count=1
				delay=0.5
				orientation=225
				speed=[0,0]
				rotationalSpeed=200
				direction=[0,360]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=40
				age=0.7, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.9,0.9)
				age=1, scale=(1.05,1.05)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "emitting from center"
	{
		RepeatTime		0.1
		ParticleLifespan	0.6
		BlendMode		alpha
		Texture			"data/gfx/particles/sparkle/star_8"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 360]
				speed=[40,70]
				rotationalSpeed=40
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(1.5,1.5)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
		}
	}

	

	EffectComponent ParticleEffect "ring"
	{
		RepeatTime		0.6
		ParticleLifespan	0.8
		BlendMode		alpha
		Texture			"data/gfx/particles/blur_ring_32"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 360]
				speed=0
				rotationalSpeed=40
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(10,5,10)
			}
			
			Alpha
			{
				age=0, alpha=0
				//age=0.3, alpha=30
				age=0.7, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.6,1.6)				
				age=1, scale=(2.4,2.4)	
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "center"
	{
		RepeatTime		4.0
		ParticleLifespan	4.6
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_8"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 360]
				speed=0
				rotationalSpeed=40
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(10,5,10)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=20
				age=0.7, alpha=10
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.1,2.1)				
				age=0.5, scale=(2.6,2.6)				
				age=1, scale=(2.1,2.1)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "huge_shine"
	{
		RepeatTime		6.0
		ParticleLifespan	2.6
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 0]
				speed=0
				rotationalSpeed=0
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=10
				age=0.40, alpha=10
				age=0.5, alpha=50
				age=0.60, alpha=10
				age=0.7, alpha=10
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)				
				age=0.5, scale=(0.9,6.5)				
				age=1.0, scale=(0.3,0.3)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "huge_halo"
	{
		RepeatTime		6.0
		ParticleLifespan	2.6
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 0]
				speed=0
				rotationalSpeed=0
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=1
				age=0.40, alpha=2
				age=0.5, alpha=10
				age=0.60, alpha=2
				age=0.7, alpha=1
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(4.3,4.3)				
				age=0.5, scale=(4.4,4.4)				
				age=1.0, scale=(4.3,4.3)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "SYMBOL"
	{
		RepeatTime		3.8
		ParticleLifespan	4.5
		BlendMode		add
		Texture			"data/gfx/particles/symbols/anubis_symbol.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 0]
				speed=0
				rotationalSpeed=0
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=120				
				age=0.5, alpha=220
				age=0.8, alpha=120
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.9, 0.9)	
				age=0.5, scale=(1.1, 1.1)	
				age=1, scale=(0.9, 0.9)	
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "SYMBOL_scatter"
	{
		RepeatTime		0.2
		ParticleLifespan	0.4
		BlendMode		add
		Texture			"data/gfx/particles/symbols/anubis_symbol.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 0]
				speed=0
				rotationalSpeed=0
				direction=[0,360]
				spawnOffsetAbsX=[-20, 20]
				spawnOffsetAbsY=[-20, 20]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=10				
				age=0.5, alpha=20
				age=0.8, alpha=10
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3, 0.3)	
				age=0.5, scale=(0.6, 0.6)	
				age=1, scale=(0.3, 0.3)	
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "sparkles"
	{
		RepeatTime		1.0
		ParticleLifespan	1.2
		BlendMode		alpha
		AnimSequence		"sparkle_dust"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0, 360]
				speed=0
				rotationalSpeed=40
				direction=[0,360]
			}			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.2, alpha=90
				age=0.7, alpha=60
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(2.5,2.5)
				age=1, scale=(4.1,4.1)				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
		
}