Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: TopAce on April 11, 2021, 10:10:43 am

Title: Insignia uses an invalid LOD
Post by: TopAce on April 11, 2021, 10:10:43 am
I need some help debugging the TF Kvasir (https://wiki.hard-light.net/index.php/TF_Kvasir). When I run a mission featuring it, I get this:

Code: [Select]
Warning: Model 'TF-13_KvasirR6.pof': insignia uses an invalid LOD (-1)

File: modelread.cpp
Line: 2418

The offending model is this (https://www.mediafire.com/file/vjid9q8pejntu9b/TF-13_KvasirR6.pof/file). (Not sure this is the same as the one linked to in the wiki, so uploading it to my MF just in case.)

Log attached.

I can include tables and textures if needed. The problems occurred on every nightly debug I've tried, beginning some time at the end of March and including the new 21.2.0 release candidate.

[attachment deleted to save space]
Title: Re: Insignia uses an invalid LOD
Post by: Goober5000 on April 18, 2021, 11:33:31 pm
The model you're using must be a buggy version.  I looked at the link you provided, and the model does indeed specify -1 for the LOD number of two of its insignias.

I downloaded the version from the FSMods link and all of its insignias specify LOD 0.  Also, the FSMods model uses 5 insignias, whereas the model you linked only uses 4.  There are also different sets of primary and secondary weapon points.