OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: FiLL2d on 13 Jul 2007, 21:50:22

Title: black puff of smoke in drop command
Post by: FiLL2d on 13 Jul 2007, 21:50:22
Hi can someone help here, getting a headache randomly changing the partical options in the
Particle Parameter Utility V2.1.

I can get the right effect it just keeps on looping though, all i need is a black/dark grey puff of smoke that will fade in about 10 seconds no bigger than the size of a tank. just one puff of smoke, no looping or what ever because i cant get my head round it and used to be good with particles in ofp... please help  :no:

thanks.
Title: Re: black puff of smoke in drop command
Post by: Delta on 22 Jul 2007, 01:37:27
Hi,

    You could try setting the lifetime of the PS to 10 secs and then deleting your Logic so no more are created.
Dont know if you've tried this,but it could help?

I'm no wizard with CSL's funky tool,but it should work.

Try something along these lines~

_obj ="Logic" Createvehicle _area
ps = "#particlesource" createVehicleLocal getpos _obj;
_ps setParticleCircle [23, [0, 0.3, 0.2]];
_ps setParticleRandom [70, [0.25, 0.25, 0], [0.175, 0.175, 0], 0, 3.25, [0, 0, 0, 0.1], 0, 0];
_ps setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 8, 1, 8], "", "Billboard", 1, 6.5, [0, 0, 0], [0, 0, 0.75], 0, 10.2, 7.9, 0.075, [1.2, 2, 4], [[0.1, 0.1, 0.1, 1], [0.25, 0.25, 0.25, 0.5], [0.5, 0.5, 0.5, 0]], [0.08], 1, 0, "", "", _obj];
_ps setDropInterval 0.05;


~3

deletevehicle _obj



PS -    (dont use this effect above though :P)
~3 -   (depending on how long your effect takes to form to your needs)
_area - use any marker (getmarkerpos"Tank pos", or 'getpos"tankname", ect,ect)

No Logic, no PS y'see.


Delta