Home   Help Search Login Register  

Author Topic: A couple of questions about CfgCloudlets.  (Read 548 times)

0 Members and 1 Guest are viewing this topic.

Offline Kurayami

  • Members
  • *
A couple of questions about CfgCloudlets.
« on: 23 Nov 2004, 05:07:07 »
I've checked the commented config and searched OFPEC, but I still can't find answers to a couple of things....

Sample ECP class:
Code: [Select]
   class CraterDustSmall
   {
      access=3;
      interval=0.010000;
      cloudletSize=1;
      cloudletAlpha="random 0.500";
      cloudletDuration="0.20 + (random 0.5)";
      cloudletAnimPeriod=1;
      cloudletGrowUp=0.600000;
      cloudletFadeIn=0;
      cloudletFadeOut=0.600000;
      cloudletAccY=-3.500000;
      cloudletMinYSpeed=3;
      cloudletMaxYSpeed=8
      cloudletColor[]={0.3250000,0.3210000,0.260000,random 0.5};
      initT=0;
      deltaT=1000;
      class Table
      {
         class T0
         {
            maxT=0
            color[]={0.3250000,0.3230000,0.16,0.25};
         };
         class T5
         {
            maxT=500
            color[]={0.32650000,0.3230000,0.160000,0.25};
         };
         class T10
         {
            maxT=1000
            color[]={0.32650000,0.3230000,0.160000,0.25};
         };

      };
      cloudletShape="cl_basic";
      //cloudletShape="\ecp_effects\kickdust";
      size="(random 0.4)";
      sourceSize="(random 0.035)";
   };

What is the working difference between CloudletDuration and timeToLive?  I would assume that TTL would be determined by the fade in, fade out, and duration values, but apparently it isn't.

What is the working difference between CloudletSize and size?

I assume that interval determines the length of time between cloudlet spawns, but is this rendered redundant when the class is being used to generate gunclouds?

And now for the question that I feel very stupid for asking: The table class governs what, exactly? I'm assuming that T is a time variable, but why are colors/alpha transparency defined above if they are also defined in this table? How exactly do deltaT and initT interact with the values given in the table class?

I've done some experimenting with this tonight (using bright, pretty colors :P,) and while it has cleared up some things, I'm still not certain about the stuff mentioned above.

Thanks for any help.

Offline Kurayami

  • Members
  • *
Re:A couple of questions about CfgCloudlets.
« Reply #1 on: 25 Nov 2004, 15:27:22 »
Bump.

Did I post this in the wrong forum or something? I haven't posted here in a while, but it didn't seem like any other forum really fit general, non-addon related config questions.

Homefry31464

  • Guest
Re:A couple of questions about CfgCloudlets.
« Reply #2 on: 25 Nov 2004, 16:57:40 »
I'm no moderator... but it seem's like a close enough place.  I'm sure one of the ECP mod members can help you out...