Jump to content
Sign in to follow this  
hyori

black smoke from destroyed vehicles

Recommended Posts

how do i reduce the amount of black smoke which comes out?

now when the tank is destroyed there's so much smoke i can't even see the destroyed tank.

Share this post


Link to post
Share on other sites

which addon are you talking about ?

if its yours, it seems to use some scripts for that or what have you changed ?

Share this post


Link to post
Share on other sites

i'm using the RHS T55 Tank Pack. when their tanks get destroyed there's a huge amt of black smoke. i tried removing the eventhandlers to see if its the scripts that's causing it but it isn't.

Share this post


Link to post
Share on other sites

You've to re-define some data in the following lines to decrease the smoke's level.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgCloudlets

{

access=1;

class Explosion

{

access=3;

cloudletDuration=0.15;

cloudletAnimPeriod=0.5;

cloudletSize=0.25;

cloudletAlpha=0.35;

cloudletGrowUp=0.01;

cloudletFadeIn=0.05;

cloudletFadeOut=0.35;

cloudletAccY=-0.002;

cloudletMinYSpeed=0;

cloudletMaxYSpeed=0;

cloudletShape="obrysove svetlo";

cloudletColor[]={1,1,1,0};

interval=0.0045;

size=6.5;

sourceSize=0.95;

timeToLive=6;

initT=2500;

deltaT=-4000;

class Table

{

class T1

{

maxT=0;

color[]={1,0.5,0,0};

};

class T2

{

maxT=800;

color[]={1,0.5,0,0};

};

class T3

{

maxT=1000;

color[]={1,0.5,0,0};

};

};

};

class CraterSmoke1

{

access=3;

interval=0.0555;

cloudletAnimPeriod=4.8000002;

cloudletSize="1.5+(random 1.5)";

cloudletAlpha="0.5 + (random 0.15)";

cloudletGrowUp=2.75;

cloudletFadeIn=0.378;

cloudletDuration="2.4 +(random 3)";

cloudletFadeOut=3;

cloudletAccY=-0.12;

cloudletMinYSpeed=-0.5;

cloudletMaxYSpeed="1+ (random 2.5)";

cloudletColor[]={1,1,1,0};

initT=500;

deltaT="-50 * 0.8";

cloudletShape="cl_basic";

density="0.2+(random 0.72)";

size="1.0+(random 2)";

timeToLive=0.15;

in=0.152;

out=0.95;

initYSpeed="1+(random 1.5)";

class Table

{

class T0

{

maxT=0;

color[]={1,1,1,0};

};

class T1

{

maxT=500;

color[]={0.5,0.5,0.5,0};

};

};

};

class CraterSmoke2

{

access=3;

interval=0.125;

cloudletAnimPeriod=3.8;

cloudletSize="1.5+(random 1)";

cloudletAlpha="0.1+(random 0.1)";

cloudletGrowUp=0.8;

cloudletFadeIn=0.8;

cloudletDuration="1.5 +(random 1)";

cloudletFadeOut=1.2;

cloudletAccY=-0.5;

cloudletMinYSpeed=0;

cloudletMaxYSpeed=5.5;

cloudletColor[]={0.345,0.36,0.348,0.15};

initT=0;

deltaT=700;

cloudletShape="cl_basic";

density=0.9;

size=1.0;

timeToLive=0.11;

in=0;

out=1.6;

initYSpeed=0.1;

class Table

{

class T0

{

maxT=0;

color[]={0.345,0.36,0.348,0.15};

};

class T1

{

maxT=300;

color[]={0.345,0.36,0.348,0.15};

};

};

};

class CraterSmoke3

{

access=3;

interval=0.125;

cloudletAnimPeriod=3.8;

cloudletSize="1.5+(random 1)";

cloudletAlpha="(random 0.550)";

cloudletGrowUp=0.8;

cloudletFadeIn=0.8;

cloudletDuration="3.5 +(random 1)";

cloudletFadeOut=1.2;

cloudletAccY=-0.15;

cloudletMinYSpeed=-1;

cloudletMaxYSpeed=0.5;

cloudletColor[]={0.75,0.75,0.75,0};

initT=500;

deltaT="-50 * 0.8";

cloudletShape="cl_basic";

density="0.2+(random 0.2)";

size="(random 10.500)";

timeToLive="0 +(random 15)";

in=0;

out=3.5999999;

initYSpeed=0.15;

class Table

{

class T0

{

maxT=0;

color[]={0.7,0.7,0.7,0};

};

class T1

{

maxT=500;

color[]={0.4,0.4,0.4,0};

};

};

};

and especially these following ones

Quote[/b] ] cloudletAnimPeriod=x;

cloudletSize="x+(random x)";

cloudletAlpha="x+(random x)";

cloudletGrowUp=x;

cloudletFadeIn=x;

cloudletDuration="x +(random x)";

Kind regards

Thunderbird84

Share this post


Link to post
Share on other sites

may I ask where does the above code snippet go? in the cfgVehicles section? or the tank class itself.

thank you for helping me with the missile lock question too. smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×