Here is the MD5 exporter with a small fix to allow you to export some animations without some channels. That is, some bones move, and other don't - this is crucial for combining animations, since the bones that don't move aren't processed and are left at the previous stage of animation.
As said in the shorter description, this is a MD5 exporter I found in the net, with a small addition I made.
The original script was made by a guy nicknamed "der_ton", from the doom 3 community.
Notes to properly export:
- Always make sure no vertex has a weight sum different than 1 (e.g. 0.8 + 0.6, or 0.4 + 0.3 + 0.1). Blender has a way to deal with these events just fine, so you will have trouble realizing it, but the exporter does not. Which means, be careful, or you'll have deformed vertices.
- Assign the "Smooth" flag to all faces. Otherwise the script, for some reason, will split all the individual triangles, and as you can guess that is not good.
- If you wish to export an animation with a "passive" bone as explained above (e.g. in upper body animations, the legs should be passive), delete the bone's line from the action editor. Use multiple actions if necessary.
- You shouldn't use more than 8 weights for each vertex or the model won't work - that's the game's limit. For caution, make that 4 (XReal's limit)