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

EffectDefinition
{
	EffectComponent ParticleEffect "color_cloud_color_smoke"
	{
		RepeatTime		0
		ParticleLifespan	[0.7,1.1]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_02.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0.2
				delay=0.05
				orientation=[-360,360]
				speed=[40,80]
				rotationalSpeed=[40,80]
				direction=[0,360]
				spawnOffsetAbsX=[-2,2]
				spawnOffsetAbsY=[-2,2]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-30)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint
				age=1, rgb=%tint
				
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(4.5,4.5)

				
			}
		}
	}

	EffectComponent ParticleEffect "color_cloud_initial_puff"
	{
		RepeatTime		0
		ParticleLifespan	[0.3,0.6]
		BlendMode		add
		Texture			"data/gfx/particles/smoke_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[140,180]
				rotationalSpeed=[40,80]
				direction=[0,360]
				spawnOffsetAbsX=[-2,2]
				spawnOffsetAbsY=[-2,2]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint
				age=1, rgb=%tint
				
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(4.0,4.0)

				
			}
		}
	}

	EffectComponent ParticleEffect "color_cloud_sparkle_dust"
	{
		RepeatTime		0
		ParticleLifespan	[1.1,1.4]
		BlendMode		add
		AnimSequence		"sparkle_dust"

		EmitterEvents
		{
			SpawnParticles
			{
				count=10
				duration=0
				delay=0.1
				orientation=[-360,360]
				speed=[40,50]
				rotationalSpeed=[-100,100]
				direction=[0,360]
				spawnOffsetAbsX=[-5,5]
				spawnOffsetAbsY=[-5,5]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-30)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
				
			}
			
			Alpha
			{
				age=0, alpha=0 				
				age=0.1, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1.5,1.5)
				age=1, scale=(9.0,9.0)

				
			}
		}
	}

	EffectComponent ParticleEffect "color_cloud_blast_ring"
	{
		RepeatTime		0
		ParticleLifespan	[0.6,0.7]
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[-360,360]
				speed=[0,0]
				rotationalSpeed=[40,60]
				direction=[0,360]
				spawnOffsetAbsX=[-1,1]
				spawnOffsetAbsY=[-1,1]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint
				age=1, rgb=%tint
				
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=1, scale=(10.0,10.0)

				
			}
		}
	}

	EffectComponent ParticleEffect "color_cloud_blast_horizon"
	{
		RepeatTime		0
		ParticleLifespan	[0.6, 0.6]
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0.1
				orientation=[0,0]
				speed=[0,0]
				rotationalSpeed=[0,0]
				direction=[0,0]
				spawnOffsetAbsX=[0,0]
				spawnOffsetAbsY=[0,0]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=%tint
				age=1, rgb=%tint
				
			}
			
			Alpha
			{
				age=0, alpha=255 				
				age=0.7, alpha=200 				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=0.2, scale=(4.5,2.5)
				age=1, scale=(27.0,0.1)

				
			}
		}
	}

	
}