OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Baphomet on 25 Apr 2003, 05:52:31
-
I've made my own offhand smoke launcher and I was wondering if there's any way to define in the cfg ammo portion how the smoke behaves.
I know you can change these values:
class Smoke
{
interval=0.010000;
cloudletDuration=4.000000;
cloudletAnimPeriod=1.000000;
cloudletSize=0.250000;
cloudletAlpha=1.000000;
cloudletGrowUp=1.500000;
cloudletFadeIn=0.000000;
cloudletFadeOut=5.000000;
cloudletAccY=-0.300000;
cloudletMinYSpeed=0;
cloudletMaxYSpeed=10;
cloudletShape="cl_basic";
cloudletColor[]={1,1,1,0};
However are there any that govern how high the smoke rises in the air? I'd like to be able to make a smoke grenade that produces a slow moving column of smoke for easy visibility from a range. Any help would be appreciated.
-
Nevermind... I figured out my own suitable solution.
interval=0.040000;
cloudletDuration=10.000000;
cloudletAnimPeriod=1.000000;
cloudletSize=0.500000;
cloudletAlpha=1.000000;
cloudletGrowUp=8.500000;
cloudletFadeIn=0.000000;
cloudletFadeOut=5.000000;
cloudletAccY=0.300000;
cloudletMinYSpeed=0;
cloudletMaxYSpeed=10;
...In case anyone is curious...
-
Always....thx for posting the solution ;D
-
No problem. Glad it could be of some use to someone. :)