Home   Help Search Login Register  

Author Topic: Making smoke that climbs into the air  (Read 957 times)

0 Members and 1 Guest are viewing this topic.

Baphomet

  • Guest
Making smoke that climbs into the air
« 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.

Baphomet

  • Guest
Re:Making smoke that climbs into the air
« Reply #1 on: 25 Apr 2003, 09:29:47 »
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...

Leone

  • Guest
Re:Making smoke that climbs into the air
« Reply #2 on: 26 Apr 2003, 09:08:29 »
Always....thx for posting the solution  ;D

Baphomet

  • Guest
Re:Making smoke that climbs into the air
« Reply #3 on: 27 Apr 2003, 02:15:00 »
No problem. Glad it could be of some use to someone.  :)