Jump to content
Lawd PIGes

particle effect script does not work

Recommended Posts

The particle effect script doesn't work,it's an example code from the wiki. here is the code

_OBJ = player;
_PS1 = "#particlesource" createVehicleLocal getpos _OBJ;
_PS1 setParticleCircle [0, [0, 0, 0]];
_PS1 setParticleRandom [0.2, [1, 1, 0], [0.5, 0.5, 0], 1, 0.5, [0, 0, 0, 0], 0, 0];
_PS1 setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 8, 2, 6], "", "Billboard", 1, 1, [0, 0, 0], [0, 0, 0.5], 1, 1, 0.9, 0.3, [1.5], [[1, 0.7, 0.7, 0.5]], [1], 0, 0, "", "", _obj];
_PS1 setDropInterval 0.03;

and the code seems to work fine,no warning after running the script

very appreciated if anybody could help me figure it out!

Share this post


Link to post
Share on other sites
2 hours ago, Lawd PIGes said:

The particle effect script doesn't work,it's an example code from the wiki. here is the code


_OBJ = player;
_PS1 = "#particlesource" createVehicleLocal getpos _OBJ;
_PS1 setParticleCircle [0, [0, 0, 0]];
_PS1 setParticleRandom [0.2, [1, 1, 0], [0.5, 0.5, 0], 1, 0.5, [0, 0, 0, 0], 0, 0];
_PS1 setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 8, 2, 6], "", "Billboard", 1, 1, [0, 0, 0], [0, 0, 0.5], 1, 1, 0.9, 0.3, [1.5], [[1, 0.7, 0.7, 0.5]], [1], 0, 0, "", "", _obj];
_PS1 setDropInterval 0.03;

and the code seems to work fine,no warning after running the script

very appreciated if anybody could help me figure it out!

 

this path is from Arma 2. You should find it in arma 3 and rewrite it

"\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d"

 

Share this post


Link to post
Share on other sites
4 minutes ago, M1ke_SK said:

 

this path is from Arma 2. You should find it in arma 3 and rewrite it


"\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d"

 

a big thank SK! but how do i  find it in arma3, i am not too familiar with those config in arma3....

Share this post


Link to post
Share on other sites
2 minutes ago, Lawd PIGes said:

a big thank SK! but how do i  find it in arma3, i am not too familiar with those config in arma3....

 

I think in Arma 3 equivalent should be

 

"\A3\data_f\ParticleEffects\Universal\smoke.p3d"

 

Share this post


Link to post
Share on other sites
2 minutes ago, M1ke_SK said:

 

I think in Arma 3 equivalent should be

 


"\A3\data_f\ParticleEffects\Universal\smoke.p3d"

 

OMG, it did work,thank you so much SK!!

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

×