Forked from https://github.com/frute94/io_scene_bz2msh/tree/main
A modern, high-performance Blender Extension for importing .msh 3d model assets from Battlezone Combat Commander and Battlezone II. This tool is designed specifically for the Blender 4.5+ ecosystem, supporting the new layered animation system and Vulkan-based viewport.
- Global & Local Support: Correctly handles both global geometry (origin-offset) and local hierarchy meshes.
- Intelligent Mesh Indexing: Respects vertex group relative indexing to prevent "origin-clumping."
- Layered Animations: Full support for Blender 4.5 Action Slots, importing translation and rotation keyframes directly into the Action Editor.
- Material Mapping: Automatically searches for and applies textures/materials based on BZ2 path logic. Multiple materials are supported now!
- Auto converts detected DXTBZ2 textures to DDS, and loads into Blender material
- Experimental/Testing: Animation Support: Adds detected animations to Blender actions
The easiest way to install this is using the new Extensions system:
- Download: Click the green
<> Codebutton and select Download ZIP. - Open Blender: Go to
Edit > Preferences > Extensions. - Install: * Click the down-arrow icon in the top-right corner.
- Select Install from Disk....
- Navigate to the downloaded
.zipfile and select it.
- Enable: Ensure the "Battlezone II MSH Importer" is toggled on.
- Go to
File > Import > Battlezone II MSH (.msh). - Select your file.
- Import Options:
- Import Animations: Creates Actions and Slots for any embedded keyframes.
- Find Textures: Searches adjacent folders (like
/bitmaps/) for matching.tgaor.picfiles. - Respect Relative Indexing: (Enabled by default) Ensures geometry segments are placed correctly.
For developers looking to contribute, the structure is optimized for the Blender Extension manifest:
blender_manifest.toml: Metadata and permissions for Blender 4.5.__init__.py: Handles the UI and registration.msh_blender_importer.py: The core logic for mesh and animation creation.bz2msh.py: The low-level binary parser for the .msh format.
Distributed under the MIT License. See LICENSE for more information.
- GitHub: GrizzlyOne95/io_scene_bz2msh
- Issues: Report a Bug
Original plugin developed by frute94, original credits there: "Import logic for local mesh & material imports fixed by ZerothDivision and tested by GrizzlyOne95"