
EffectDefinition
{
	EffectComponent ParticleEffect "rainbow base"
	{
		RepeatTime		0.07
		ParticleLifespan	0.25
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=0
				speed=150
				rotationalSpeed=0
				direction=55
				spawnOffsetAbsX=-10
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				orientation=0
				speed=150
				rotationalSpeed=0
				direction=-55
				spawnOffsetAbsX=-10
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(600,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(10, 10, 255)
				age=0.3, rgb=(255, 10, 10)
				age=1, rgb=(10, 255, 10)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=255
				age=0.7, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5, 1.5)
				age=1, scale=(1, 1)
				
			}

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

	
	EffectComponent ParticleEffect "rainbow sparks"
	{
		RepeatTime		0.07
		ParticleLifespan	0.25
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=0
				speed=150
				rotationalSpeed=0
				direction=55
				spawnOffsetAbsX=-15
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				orientation=0
				speed=150
				rotationalSpeed=0
				direction=-55
				spawnOffsetAbsX=-15
				spawnOffsetAbsY=0
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(600,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 10, 10)
				age=0.3, rgb=(10, 255, 10)
				age=1, rgb=(10, 10, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=255
				age=0.7, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5, 1.5)
				age=1, scale=(1, 1)
				
			}

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

	EffectComponent ParticleEffect "rainbow ring"
	{
		RepeatTime		0.5
		ParticleLifespan	0.6
		BlendMode		add
		Texture			"data/gfx/Hud/targetingIndicator.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=-90
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 10, 10)
				age=0.5, rgb=(10, 255, 10)
				age=1, rgb=(10, 10, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.1, alpha=255
				age=0.9, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1, 1)
				age=0.5, scale=(1.2, 1.2)
				age=1, scale=(1, 1)
				
			}

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