This is a modified version of the MD3 export script from
It has been modified for GZDoom-friendly exporting.
Tested for Blender 2.66a (works great!)
How to install:
Copy io_export_gzdoom.md3 into the scripts\addons\ direction. For example,
C:\Program Files\Blender Foundation\Blender\2.66\scripts\addons\
Then start Blender, go to File -> User Preferences
Go to the Addons tab
Scroll down the Addons list and look for Import-Export: GZDoom .MD3 and tick
the checkbox to enable GZDoom export. You will find it under File -> Export ->
(To avoid having to redo this everytime Blender starts up, click the "Save User
Settings" button in the User Preferences window)
Warning: Models must not exceed 511 in size in Blender units, in any axis... otherwise the exporter will fail. So to be safe, make sure your models dimensions are < 512 Blender units (you can see this selecting your object, pressing N on the keyboard, then look for "dimensions" in the properties panel)
This .blend file can be used for your reference with regards to scale, when you are making your models for use in GZDoom. The dimensions are setup such that they will export with a 1:1 Blender - GZDoom scale. So for example, a 64 x 64 x 64 cube in Blender will export as a model that fits a 64 x 64 x 64 sector in Doom map units. However, one little detail needs to be observed:
GZDoom squashes models down on the Z axis by default, so to truly achieve a 1:1 scale, you have to use the following scale parameters in your MODELDEF:
- Code: Select all
Scale 1 1 1.2
So model your objects around my references, apply 1.2 scaling on the Z axis on your MODELDEF, and you will achieve 1:1 Blender -> GZDoom scaling.
Oh and also, 1 more thing. By default, this script exports the .md3 with the object facing the wrong angle. To fix this, apply this in your MODELDEF:
- Code: Select all
And you're good to go!
Download my MD3 exporter script for Blender 2.66a
Download size reference template
Added a HUD model weapon modeling reference for Blender. The test gun is roughly sized to the Doom pistol. Also positioned such so that it will appear in the HUD area properly without having to mess with MODELDEF offsets. Runnable test file for GZDoom included.
Download gun reference .blend file