Jump to content

Recommended Posts

Hello, I've been working on some big cannon. I made a script for it. Figured out how to make a dust wave after it's fired but I can't really figure out how to make some sort of wing of smoke that spread from the muzzle. And well, a projectile trail that will fade eventually, like a trails from Halo's SRS99 rifles. 

 

For dust wave I used setParticle, setParticleCircle and all that. I tried tweaking every possible number and parameters but it... Doesn't seem to rotate on 90 degrees as I need. 

#EDIT

Figured out some kind of "trail" effect using explosion effect. Still have no idea how to make a vertical ring of smoke.

 

_trail = "#particlesource" createVehicleLocal (getPos _canonfire);
_trail setParticleCircle [0, [0, 0, -3]];
_trail setParticleRandom [10, [0.25, 0.25, 0], [0, 0, 0], 0, 0.1, [0, 0, 0, 0.1], 0, 0];
_trail setParticleParams [["\A3\data_f\cl_exp", 1, 0, 1], "", "Billboard", 1, 3, [0, 0, 0], [0, 0, 0], 7, 6.35, 5, 0, [15,11,7,3], [[1, 1, 1, 1]], [0.05], 1, 0, "", "", _trail];
_trail setDropInterval 0.001;
_trail attachTo [_canonfire, [0,0,0]];

 

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

×