Nightfire MDL conversion to Half Life format - noodlecollie/afterburner-game GitHub Wiki
The following modifications were made to the Half Life engine and model format in order to properly support converting Nightfire models:
- A new StudioMDL flag,
STUDIO_NO_EMBEDDED_TEXTURES
with value1 << 11
, has been added. If this flag is present on the model, all textures in the model are expected to be loaded from disk. There is no embedded texture data in the model. MAXSTUDIOVERTS
has been raised to16384
, andMAXSTUDIOMODELS
has been raised to48
, to support some of the more complex Nightfire models.ACT_INVALID
has been added to the activity list, to support the odd activities present in some models. I think the legacy decompiler maps unsupported activities toACT_INVALID
.