OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: eegore on 15 May 2014, 15:34:27

Title: Cropdusting script?
Post by: eegore on 15 May 2014, 15:34:27

  I was looking to do some cropdusting off an AN-2.

  I have looked around but cant find a smoke script that I can attach to an AN-2 at will.  Does anyone know of a way to do this, or if something similar has been done?

  I am thinking an addaction to turn smoke on/off would do the trick and I'd need to place the smoke release points along the wings.
Title: Re: Cropdusting script?
Post by: h- on 15 May 2014, 16:13:11
Just a quicky, there's a 'wing trail' script somewheres in the vanilla game files so maybe that could be edited to suit your needs?
Title: Re: Cropdusting script?
Post by: eegore on 19 May 2014, 10:12:06

  I will look into it.

  I've seen scripts where vehicles drive around with smoke coming off the roof and this is exactly what I need, just positioned differently. 

  I cant find any f those scripts though.

Title: Re: Cropdusting script?
Post by: h- on 20 May 2014, 08:15:27
In 'Ca -> Data -> ParticleEffects -> SCRIPTS -> misc', there's a script called aircraftvapour.sqf..
But that might not help on anything but a starting point for the particle effect parameters..

attachTo (http://www.ofpec.com/COMREF/index.php?action=details&id=901&game=All) the particlesources along the plane wings and have the spew out particles.
Of course correct spots have to be found by hand but things like road cones or something can help on visualising the positions.

Title: Re: Cropdusting script?
Post by: eegore on 20 May 2014, 14:21:22

  Is there a way to just create smoke grenade smoke, or just attach active smoke grenades to the wings?
Title: Re: Cropdusting script?
Post by: h- on 24 May 2014, 20:44:36
Smoke grenades create way too slow smoke for a moving vehicle, even if they could be attached to the vehicle (which I doubt). Also the smoke nade smoke goes up..

The only way to do this is with the particle crap.
Title: Re: Cropdusting script?
Post by: eegore on 26 May 2014, 10:08:50

  Yeah the workaround I finally came up with was teleporting gamelogics via radio trigger.

  I just have them on fire just enough to emit smoke and I get grey smoke coming off the wings.  Not perfect but faster then writing a whole particle effect.
Title: Re: Cropdusting script?
Post by: savedbygrace on 01 Jul 2014, 02:03:48
You can down load these addons and depbo them to check out there smoke scripts.
Number 1 (http://www.armaholic.com/page.php?id=21228&highlight=PLANE%2BSMOKE%2BSCRIPT)
Number 2 (http://www.armaholic.com/page.php?id=10747&highlight=PLANE%2BSMOKE%2BSCRIPT)