I cant get this light flare to work with an animated light?

Author Topic: I cant get this light flare to work with an animated light?  (Read 1620 times)

I could have sworn what I was doing was correct but it's not.

I can't get an animated flare on this animated light for some reason.

datablock fxLightData(TDPLight)
{
   uiName = "TDP Blink";

   LightOn = true;
   radius = 8;
   brightness = 9;
   color = "0.8 0.9 1 1";

   
   FlareOn         = true;
   // FlareTP         = true;
   // Flarebitmap      = "base/lighting/corona";
   // FlareColor      = "1 1 1";
   // ConstantSizeOn   = false;
   // ConstantSize   = 1;
   // NearSize      = 3;
   // FarSize         = 0.5;
   // NearDistance   = 10.0;
   // FarDistance      = 30.0;
   // FadeTime      = 0.1;
   // BlendMode      = 0;

   AnimColor      = false;
   AnimBrightness   = true;
   AnimOffsets      = false;
   AnimRotation   = false;
   LinkFlare      = false;
   LinkFlareSize   = false;
   MinColor      = "1 1 0";
   MaxColor      = "0 0 1";
   MinBrightness   = 0.0;
   MaxBrightness   = 5.0;
   MinRadius      = 0.1;
   MaxRadius      = 10;
   StartOffset      = "-5 0 0";
   EndOffset      = "5 0 0";
   MinRotation      = 0;
   MaxRotation      = 359;

   SingleColorKeys   = false;
   RedKeys         = "AWTCFAH";
   GreenKeys      = "AWTCFAH";
   BlueKeys      = "AWTCFAH";
   
   BrightnessKeys   = "DEDEDFGF";
   RadiusKeys      = "AZAAAAA";
   OffsetKeys      = "AZAAAAA";
   RotationKeys   = "AZAAAAA";

   ColorTime      = 1.0;
   BrightnessTime   = 1.0;
   RadiusTime      = 1.0;
   OffsetTime      = 1.0;
   RotationTime   = 1.0;

   LerpColor      = false;
   LerpBrightness   = false;
   LerpRadius      = false;
   LerpOffset      = false;
   LerpRotation   = false;
};


I'm obviously overlooking something so small.

linkFlare = true;
linkFlareSize = true;

linkFlare = true;
linkFlareSize = true;

I tried that it didn't work when I did it.

I'll try it again.


uncomment these lines
Code: [Select]
  // FlareTP         = true;
   // Flarebitmap      = "base/lighting/corona";
   // FlareColor      = "1 1 1";
   // ConstantSizeOn   = false;
   // ConstantSize   = 1;
   // NearSize      = 3;
   // FarSize         = 0.5;
   // NearDistance   = 10.0;
   // FarDistance      = 30.0;
   // FadeTime      = 0.1;
   // BlendMode      = 0;

uncomment these lines
Code: [Select]
  // FlareTP         = true;
   // Flarebitmap      = "base/lighting/corona";
   // FlareColor      = "1 1 1";
   // ConstantSizeOn   = false;
   // ConstantSize   = 1;
   // NearSize      = 3;
   // FarSize         = 0.5;
   // NearDistance   = 10.0;
   // FarDistance      = 30.0;
   // FadeTime      = 0.1;
   // BlendMode      = 0;

That worked lol.

Now I just need to make the brightness smaller and I'll be all set.

I dindt think comment lines would forget up the code that badly.

I dindt think comment lines would forget up the code that badly.
That's what comment lines do. Anything after the // is ignored