Skip to content
Projects

robrohan/blender_ie_quake_mdl

View on GitHub

About

Blender plugin to import / export Quake 1 and Hexen models

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Blender Quake MDL Import / Export

(Works with Blender 5.1)

This is a plugin for Blender that gives the basic ability to import and export models in the Quake 1 and Hexen MDL format.

This plugin was originally authored by Bill Currie and Aleksander Marhall, and they had the license in the source files.

I don't know where I found this originally. I just had it sitting on a drive and kept losing it. I thought I'd put it on github so I can find it, and also, maybe, it'd help out some mod'ers or people building basic game engines.

Blender Version Notes

Blender 5.x / 4.4+: The Blender 4.4 release overhauled the animation system with a new "slotted actions" API. The plugin has been updated to use action.layers, action.slots, and strip.channelbags in place of the old action.fcurves interface. Enum property handling in the exporter was also fixed for API changes in how as_keywords() returns values.

Screenshot

Installation

You should be able to:

  • download the source as a zip using the Code > Download Zip button above.
  • Inside blender, choose Edit > Preferences > Add-ons > Install
  • Browse to the downloaded zip file; click install
  • Find io_mesh_qfmdl and check activate

You should then see Quake 1 from Blenders normal import and export menu.

Animations

Since there are no bones or rigging in MDL files, each frame is loaded as (or exported from) a Shape Key (check the blender documentation) for how this works.

Original TODOs

X   auto-convert quads/ngons to tris
o   combine multiple selected meshes into one mdl
    ?   active object determines origin?
    ?   non-active objects' meshes rotated relative to active? all objects
        relative to world?
o   bake image textures to the mdl
    ?   how to handle overlapping UVs?

Credits

  • Bill Currie — original author
  • Aleksander Marhall — original author
  • Rob Rohan — github preservation, misc fixes
  • Claude Sonnet (Anthropic) — Blender 5.x / 4.4+ compatibility fixes

Explore related projects

Loading…