GlowBlue fix or conflict?

Defender

Member
I have been using the older aelxblitz.cs and renaming it aelxblitz2.cs
So the blue glow shows up on the old Quarry structures I've been using in my maps lately..
I found the problem below, I think...




Code:
new Material(GlowBlue)
{
  mapTo = "glowy_bluey";
 
  baseTex[0] = "legions/data/shapes/props/jumppad/glowy_bluey";
  glow[0] = true;
  emissive[0] = true;
  animFlags[0] = $scroll;
  scrollDir[0] = "1 0"; // scroll the texture in U and V directions.
  scrollSpeed[0] = 1.0; // that's two texture lengths per second.
 
  texCompression[0] = DXT5;
};

Old code that works, is below..

Code:
new Material(GlowBlue)
{
  mapTo = "GlowBlue";
 
  baseTex[0] = "legions/data/interiors/GlowBlue";
  glow[0] = true;
  emissive[0] = true;
  animFlags[0] = $scroll;
  scrollDir[0] = "1 0"; // scroll the texture in U and V directions.
  scrollSpeed[0] = 1.0; // that's two texture lengths per second.
 
texCompression[0] = DXT5;
};
 
Top