Author Topic: Lens flares in stars.tbl are supposed to be zero-indexed!  (Read 1930 times)

0 Members and 1 Guest are viewing this topic.

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Lens flares in stars.tbl are supposed to be zero-indexed!
https://www.hard-light.net/forums/index.php?topic=99129.0;topicseen

I think the MVPs have been doing it wrong ever since lens flares were introduced? Or maybe either FSO or the MVPs changed at some point.

Anyway the tbl is weird as balls, and apparently when you define a texture in "$FlareTexture1:", you're supposed to reference it by using "+FlareTexture: 0", not "+FlareTexture: 1". The MediaVPs use +FlareTexture: 1 through 6, meaning the "6" one never gets used, and all the others use the wrong texture.