Variables
{
	%tint = (10,255,10)
}

EffectDefinition
{
	EffectComponent ParticleEffect "reticle alpha"
	{
		RepeatTime		0.8
		ParticleLifespan	1.2
		BlendMode		alpha
		Texture			"data/gfx/particles/radius_reticle.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=60
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=180
				speed=0
				rotationalSpeed=-60
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(0, 0, 0)
				age=1, rgb=%tint			
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.2, alpha=255 
				age=0.8, alpha=255 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5,1.5)
				age=0.5, scale=(1.51,1.51)
				age=1, scale=(1.5,1.5)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

	EffectComponent ParticleEffect "reticle"
	{
		RepeatTime		0.8
		ParticleLifespan	1.2
		BlendMode		add
		Texture			"data/gfx/particles/radius_reticle.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=60
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=180
				speed=0
				rotationalSpeed=-60
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint				
				age=1, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.3, alpha=140 
				age=0.7, alpha=120 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5,1.5)
				age=0.5, scale=(1.51,1.51)
				age=1, scale=(1.5,1.5)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

	EffectComponent ParticleEffect "reticle smoke left"
	{
		RepeatTime		0.1
		ParticleLifespan	0.7
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=120
				direction=270
				spawnOffsetAbsX=-86
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=-120
				direction=90
				spawnOffsetAbsX=-86
				spawnOffsetAbsY=0
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(200,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint				
				age=1, rgb=(255, 255, 255)			
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.05, alpha=200 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)				
				age=1, scale=(0.2,0.2)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

	EffectComponent ParticleEffect "reticle smoke right"
	{
		RepeatTime		0.1
		ParticleLifespan	0.7
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=120
				direction=270
				spawnOffsetAbsX=86
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=-120
				direction=90
				spawnOffsetAbsX=86
				spawnOffsetAbsY=0
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(-200,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint				
				age=1, rgb=(255, 255, 255)			
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.05, alpha=200 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)				
				age=1, scale=(0.2,0.2)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

	EffectComponent ParticleEffect "reticle smoke top"
	{
		RepeatTime		0.1
		ParticleLifespan	0.7
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=120
				direction=180
				spawnOffsetAbsX=0
				spawnOffsetAbsY=-86
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=-120
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=-86
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,200)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint				
				age=1, rgb=(255, 255, 255)			
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.05, alpha=200 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)				
				age=1, scale=(0.2,0.2)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

	EffectComponent ParticleEffect "reticle smoke bottom"
	{
		RepeatTime		0.1
		ParticleLifespan	0.7
		BlendMode		add
		Texture			"data/gfx/particles/smoke_02.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=120
				direction=180
				spawnOffsetAbsX=0
				spawnOffsetAbsY=86
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=100
				rotationalSpeed=-120
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=86
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-200)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint				
				age=1, rgb=(255, 255, 255)				
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.05, alpha=200 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.3,0.3)				
				age=1, scale=(0.2,0.2)

				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}

	EffectComponent ParticleEffect "inner sparkles"
	{
		RepeatTime		0.1
		ParticleLifespan	0.2
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=320
				direction=180
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=-320
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint				
				age=0.5, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.05, alpha=120 
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.7,0.7)				
				age=1, scale=(2.7,2.7)
				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}		

		}
	}


}
