
EffectDefinition
{
	EffectComponent ParticleEffect "GateArmEffect"
	{
		RepeatTime		0.1
		ParticleLifespan	[1.3,1.5]
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_8"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				speed=50
				orientation=[0, 360]
				rotationalspeed=[350,600]
			}
		}
		
		ParticleEvents
		{
			Rgb
			{
				age=0, rgb=(10, 50, 255)
				age=1, rgb=(20, 220, 255)
			}
			
			Scale
			{
				age=0,  scale=(0.6,0.6)
				age=0.5,  scale=(1.6,1.6)
				age=1,  scale=(0.7,0.7)
			}

			Alpha
			{
				age=0, alpha=255
				age=0.8, alpha=200
				age=1, alpha=0
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}

	}


	EffectComponent ParticleEffect "GateArmEffect"
	{
		RepeatTime		0.1
		ParticleLifespan	[1.3,1.5]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_8"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				speed=50
				orientation=[0, 360]
				rotationalspeed=[350,600]
			}
		}
		
		ParticleEvents
		{
			Rgb
			{
				age=0, rgb=(10, 50, 255)
				age=1, rgb=(20, 220, 255)
			}
			
			Scale
			{
				age=0,  scale=(1.6,1.6)
				age=0.4,  scale=(2.4,2.4)
				age=1,  scale=(0.7,0.7)
			}

			Alpha
			{
				age=0, alpha=255
				age=0.8, alpha=200
				age=1, alpha=0
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}

	}

	EffectComponent ParticleEffect "highlight"
	{
		RepeatTime		2.5
		ParticleLifespan	2
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				speed=0
				rotationalspeed=[150,300]
			}
		}
		
		ParticleEvents
		{
			Rgb
			{
				age=0, rgb=(200, 220, 255)
			}
			
			Scale
			{
				age=0,  scale=(1,1)
				age=.5,  scale=(1.2,1.2)
				age=1,  scale=(1,1)
			}

			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=30
				age=0.7, alpha=40
				age=1, alpha=0
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}

	}
	
	EffectComponent ParticleEffect "highlight sparkles"
	{
		RepeatTime		2.5
		ParticleLifespan	2
		BlendMode		add
		AnimSequence		"sparkle_dust"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				speed=0
				orientation=[0, 360]
				rotationalspeed=[50,90]
			}
		}
		
		ParticleEvents
		{
			Rgb
			{
				age=0, rgb=(200, 220, 255)
			}
			
			Scale
			{
				age=0,  scale=(4,4)
				age=.5,  scale=(4.2,4.2)
				age=1,  scale=(4,4)
			}

			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=50
				age=0.7, alpha=80
				age=1, alpha=0
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}

	}

	EffectComponent ParticleEffect "light_smoke"
	{
		RepeatTime		0.2
		ParticleLifespan	[0.8,1.0]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02"
		FollowEmitter		true
		
		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				speed=0
				orientation=[0, 360]
				rotationalspeed=[20,50]
			}
	
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-80)
			}
		}
		
		ParticleEvents
		{
			Rgb
			{
				age=0, rgb=(0, 20, 205)
				age=1, rgb=(20, 220, 255)
			}
			
			Scale
			{
				age=0,  scale=(0.6,0.6)
				age=1,  scale=(1.0,1.0)
			}

			Alpha
			{
				age=0, alpha=0				
				age=0.4, alpha=80
				age=1, alpha=0
			}
			
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}

	}
}
