Blockland Forums > Modification Help

What is overrideAdvance?

Pages: (1/1)

-Jetz-:

When creating a particle emitter datablock, there's a variable called "overrideAdvance." It's set to false by default, but setting it to true doesn't seem to change anything.

--- Quote ---datablock ParticleEmitterData(ParticleEmitter)
{
   ejectionPeriodMS = 100;
   periodVarianceMS = 0;
   ejectionVelocity = 2.0;
   velocityVariance = 1.0;
   ejectionOffset   = 0.5;
   thetaMin         = 0;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = " ";
  
   useEmitterColors = 0;
};
--- End quote ---
I've found no documentation for this anywhere, and in some old bits of Torque engine code I've read it doesn't seem to do anything. The only check I could see for it set to true was the commented out error: "Not going to work.  Fix it!"

Does anyone know what this does or was supposed to do?

Truce:


--- Quote ---ParticleEmitter contains a field called overrideAdvance which enables or disables an error-correction feature that is not well understood. In TGE, overrideAdvance defaults to false, meaning that the error-correction is normally performed.
--- End quote ---

Source: http://www.torquepowered.com/community/forums/viewthread/61359/1#comment-452504

lordician:

Silly variable. :o
I never thought about researching it, though i found it a rather interesting variable too.

-Jetz-:


--- Quote from: Truce on January 11, 2011, 04:22:29 PM ---Source: http://www.torquepowered.com/community/forums/viewthread/61359/1#comment-452504

--- End quote ---
So it does something, but it mostly says to just try it and see. Weird, since it usually seems to have no effect and the situations for its use aren't clearly outlined.

Pages: (1/1)

Go to full version