Jump to content
TorpolM

Gas particle parameter

Recommended Posts

I try make Gas aerosol Particle parameter but it will not  good.

I can change color and weight.

But I don't know how to change particle size and Gradually widen paraticles

_PS = "#particlesource" createVehicleLocal getpos _OBJ;
_ps setParticleCircle [0, [0, 0, 0]];
_ps setParticleRandom [0, [0.5, 0.5, 0], [0.2, 0.2, 0], 0, 0.25, [0, 0, 0, 0.1], 0, 0];
_ps setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 7, 1, 6], "", "Billboard", 1, 8, [1, 1, 0], [1, 1, 4.5], 0, 50, 7.9, 0.01, [4, 12, 20], [[1,1, 0.1, 0.8], [0.25, 0.25, 0.25, 0.5], [0.5, 0.5, 0.5, 0]], [0.125], 1, 0, "", "", _OBJ];
_ps setDropInterval 0.1;

↓I want to make smoke such as this video

Do you know good parameters?

  • Like 1

Share this post


Link to post
Share on other sites
8 hours ago, TorpolM said:

I want to make smoke such as this video

If you solve this, please post your solution as I'm interested in that effect.  Thanks.

  • Like 1

Share this post


Link to post
Share on other sites

 

Check if this helps:

/* 
Goon/Gooncorp 2015
call with alpha parameter
[.1] execVM "goon_dust.sqf"; would be faint particles
[.6] execVM "goon_dust.sqf"; would be strong/opaque particles
*/

_alpha = (_this select 0) + random 0.12;// set the alpha of the particles based on call parameter
[_alpha] spawn {     
        while {true} do {		
	       _obj = (vehicle player);
	       _pos = getposASL _obj;
               setwind [0.401112*2,0.204166*2,false];
               _n =  abs(wind select 0) + abs(wind select 1) + abs(wind select 2);
               _velocity = wind;
               _color = [.38, .33, .2];             
               _dust = "#particlesource" createVehicleLocal _pos;  
               _dust setParticleParams [["a3\data_f\ParticleEffects\Universal\Universal.p3d", 16, 12, 8, 0], "", "Billboard", 1, 30, [0, 0, 0], _velocity, (_n * 12), 1.275, 1, 1, [75 + (random 46)], [_color + [0], _color + [(_this select 0)], _color + [0]], [1000], 1, 1, "", "", _obj];
               _dust setParticleRandom [3, [400 + (random 8), 400 + (random 10), 75], [2, 2, 0], 1, 0, [0, 0, 0, 0.01], 0, 0];
               _dust setParticleCircle [0.1, [0, 0, 0]];
               _dust setDropInterval 0.019; 
               _delay = 25 + (random 5);
               sleep _delay;
               deletevehicle _dust;
        };
     };

 

 

 

Share this post


Link to post
Share on other sites
10 hours ago, TorpolM said:

I want to make smoke such as this video

Do you know good parameters?

 

Spoiler

Bare minimum.....some good quality rolling papers, a grinder and plenty of Hindu Kush.   :w:

 

  • Like 1

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

×