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 value 1 << 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 to 16384, and MAXSTUDIOMODELS has been raised to 48, 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 to ACT_INVALID.