// WGL 5.0 Cloudlet Adjustments
class CfgCloudlets
{
	access=1;
	// Basic explosion seen at the center of all things that go boom
	class Explosion
	{
		access=3;
		cloudletDuration="0.25+(random 0.25)";
		cloudletAnimPeriod=0.5;
		//cloudletSize=0.150 +(random 0.15);
		//cloudletSize="0.050 +(random 0.15)";
		cloudletSize="2.0 +(random 4)";
		cloudletAlpha="0.05+(random 0.45000)";
		cloudletGrowUp=0.25;
		cloudletFadeIn=0.0;
		cloudletFadeOut="0.25+random 0.25";
		cloudletAccY=0;
		cloudletMinYSpeed=0;
		cloudletMaxYSpeed=1;
		cloudletShape="cl_fire";
		//cloudletColor[]={"0.80+(random 0.015)","0.32+(random 0.015)","0.020+(random 0.015)","0"};
		cloudletColor[]={1,1,1,0};
		interval=0.01;
		size= "0.75+(random 1)";
		sourceSize= "0.55+(random 0.65)";
		timeToLive=0;
		initT=2500;
		deltaT=-4000;

		class Table
		{
				class T1
				{
					maxT=0;
					color[]={1,1,1,0};
				};
				class T2
				{
					maxT=1000;
					color[]={0,0,0,0};
				};
		};
		initYSpeed=0;
		density="0.62 + (random 0.8)";
	};

	// Quick cl_water burst
	class CraterSmoke1
	{
		access=3;
		interval="5+random 5";
		cloudletAnimPeriod="0.45+random 0.35";
		cloudletSize="1+(random 1.5)";
		cloudletAlpha="0.25+random 0.45";
		cloudletGrowUp="0.15+(random 0.25)";
		cloudletFadeIn="0+random 0.4";
		cloudletDuration="0+random 1";
		cloudletFadeOut="0.15+(random 0.35)";
		cloudletAccY=0;
		cloudletMinYSpeed=0.0;
		cloudletMaxYSpeed="1+(random 1.5)";
		cloudletColor[]={"0.07+(random 0.03)","0.078+(random 0.03)","0.031+(random 0.03)","0.9+(random 0.1)"};
		initT=0
		deltaT=1000;
		class Table
		{
			class T0
			{
				maxT=0
				color[]={1,1,1,1};
			};
			class T1
			{
				maxT=1000
				color[]={0.1,0.1,0.1,0};
			};
		};
		cloudletShape="cl_water";
		density="0.62 + (random 0.8)";
		size="1+(random 10)";
		timeToLive=0.45;
		initYSpeed="(random 0.25)";
		in=0;
		out=0.75;
	};

	// Slower cl_water burst
	class CraterSmoke2
	{
		access=3;
		interval="5+random 5";
		cloudletAnimPeriod="0.75+random 0.25";
		cloudletSize="0.25+random 1";
		cloudletAlpha="0.25+random 0.45";
		cloudletGrowUp=0.75;
		cloudletFadeIn=0;
		cloudletDuration="0.1+random 0.5";
		cloudletFadeOut="0.25+(random 0.5)";
		cloudletAccY="0.0-random 0.1";
		cloudletMinYSpeed=0.0;
		cloudletMaxYSpeed="1+(random 2.5)";
		cloudletColor[]={"0.335+(random 0.03)","0.325+(random 0.03)","0.26+(random 0.03)","0.2+(random 0.2)"};
		initT=0
		deltaT=1000;
		class Table
		{
			class T0
			{
				maxT=0
				color[]={0.9,0.9,0.9,0};
			};
			class T1
			{
				maxT=1000
				color[]={0.5,0.5,0.5,0};
			};
		};
		cloudletShape="cl_water";
		density="1";
		size="15+(random 15)";
		timeToLive="0.5+random 0.5";
		initYSpeed="(random 0.25)";
		in=0;
		out=0.75;
	};

	// lingering cl_basic smoke effect
	class CraterSmoke3
	{
		access=3;
		interval=10.0;
		cloudletAnimPeriod=7;
		cloudletSize="6+(random 6)";
		cloudletAlpha="0.25+random 0.45";
		cloudletGrowUp="0.5+(random 2)";
		cloudletFadeIn=0;
		cloudletDuration=0;
		cloudletFadeOut="(random 2)";
		cloudletAccY=0;
		cloudletMinYSpeed=0;
		cloudletMaxYSpeed="1";
		cloudletColor[]={"0.435+(random 0.03)","0.425+(random 0.03)","0.36+(random 0.03)","0.25+random 0.45"};
		initT=0
		deltaT=1000;
		class Table
		{
			class T0
			{
				maxT=0
				color[]={1,1,1,0};
			};
			class T1
			{
				maxT=1000
				color[]={0.5,0.5,0.5,0};
			};
		};
		cloudletShape="cl_basic";
		density="0.62 + (random 0.8)";
		size="12+random 12";
		timeToLive="1+random 1";
		initYSpeed="0.25+(random 0.75)";
		in=0;
		out=1;
	};

	// WGL 5 Phaeden tweak
	// Bullet ground impact effects
	class CraterDustSmall
	{
		access=3;
		cloudletAlpha="(0.25+random 0.35)";
		cloudletColor[]={0.593,0.57,0.508,"0.4+random 0.4"};
		cloudletDuration="0.5+(random 1.5)";
		cloudletAnimPeriod="0.5+random 1.5";
		cloudletGrowUp="(0.25+random 1.75)";
		cloudletFadeIn=0;
		cloudletFadeOut="0.25+random 0.25";
		cloudletAccY="-0.25+random 2.5";
		cloudletMinYSpeed="-1+random 5";
		cloudletMaxYSpeed="14+random 10";
		cloudletShape="cl_basic";
		cloudletSize="2.5+(random 3)";
		density="(0.22 + random 0.78)";
		interval="(0.015+random 0.05)";
		initYSpeed="1.5+random 0.75";
		initT=0;
		deltaT=1000;
		class Table
		{
			class T0
			{
				maxT=0
				color[]={0.353,0.32,0.268,0.25};
			};
			class T1
			{
				maxT=400
				color[]={0.453,0.42,0.368,0.15};
			};
			class T2
			{
				maxT=8000
				color[]={0.493,0.47,0.408,0.05};
			};

		};
		size="1.5+(random 2.75)";
		sourceSize="0.5+random 0.25";
		timeToLive="(0.75+random 1.75)";
	};

	class CraterBlood: CraterDustSmall
	{
		access=3;
		cloudletAlpha="(0.25+random 0.35)";
		cloudletColor[]={0.3,0.0,0.02,"0.3+random 0.4"};
		cloudletDuration="(0.15+random 0.5)";
		cloudletAnimPeriod=1;
		cloudletGrowUp="(0.25+random 0.75)";
		cloudletFadeIn=0;
		cloudletFadeOut="(0.15+random 0.5)";
		cloudletAccY=-0.05;
		cloudletMinYSpeed=0;
		cloudletMaxYSpeed=0.5;
		cloudletShape="cl_water";
		cloudletSize="(0.15+random 0.25)";
		density="(0.22 + random 0.48)";
		interval="(0.05+random 0.05)";
		initYSpeed=0.25;
		size="(0.015 +random 0.085)";
		sourceSize="0.01+random 0.02";
		timeToLive="(0.25+random 0.25)";
	};
	class CraterWater: CraterDustSmall
	{
		access=3;
		interval=0.5;
		cloudletAlpha=0.785;
		cloudletDuration=0.3;
		cloudletAnimPeriod=1;
		cloudletGrowUp=0.3;
		cloudletFadeIn=0;
		cloudletFadeOut=0.2;
		cloudletAccY=-10;
		cloudletMinYSpeed=-3;
		cloudletMaxYSpeed=3;
		cloudletShape="cl_water";
		cloudletColor[]={0.95,0.95,1,0.785};
		size=0.2;
		sourceSize=0.02;
		initT=0;
		deltaT=0;
		class Table
		{
			class T0
			{
				maxT=0
				color[]={0.95,0.95,1,0.785};
			};
		};
	};
	class CraterDustBig: CraterDustSmall
	{
		access=3;
		cloudletDuration="3+(random 2)";
		cloudletGrowUp=0.2;
		cloudletFadeIn=0.2;
		cloudletFadeOut=1.5;
		cloudletAccY=0;
		cloudletMinYSpeed=0;
		cloudletMaxYSpeed=0;
	};
	// Small tweak to alpha and size and color
	class CloudletsMissile
	{
		access=3;
		interval="0.005+random 0.095";
		cloudletSize="3+random 4";
		cloudletAlpha="0.5+random 0.5";
		cloudletDuration="0.25+random 0.25";
		cloudletAnimPeriod=1;
		cloudletGrowUp="0.0+random 0.1";
		cloudletFadeIn=0.0;
		cloudletFadeOut="5+random 5";
		cloudletAccY=0;
		cloudletMinYSpeed=-5;
		cloudletMaxYSpeed=5;
		cloudletColor[]={0.7,0.7,0.7,0.5};
		initT=0;
		deltaT=10;
		class Table
		{
			class T0
			{
				maxT=10;
				color[]={0.85,0.85,0.85,random 1};
			};
		};
		cloudletShape="missileSmoke";
	};

	// Turned off smoke off back of person-fired missiles
	class CloudletsMissileManual: CloudletsMissile
	{
		interval=2.0;
		cloudletSize=0.0;
		cloudletAlpha=0.0;
		cloudletShape="empty";
	};

	class CloudletsScud: CloudletsMissile
	{
		cloudletSize=18;
		cloudletAlpha=0.5;
		cloudletColor[]={1,1,1,0};
		cloudletFadeIn=0;
		cloudletDuration=1.5;
		cloudletFadeOut=0.5;
		cloudletGrowUp=1;
		cloudletAccY=0;
		cloudletMinYSpeed=-1000;
		cloudletMaxYSpeed=1000;
		interval=0.02;
		size=16.0;
		sourceSize=1.0;
	};
};
