Importing Static Meshes from Blender - DarklightGames/DarkestHour GitHub Wiki
To import Static Meshes into the Darkest Hour SDK, the models must be in a now defunct format known as ASE
(ASCII Scene Export). This guide will walk you through how to export your models to this format using Blender 2.9.
Installing the Addon
We maintain a Blender addon named io_scene_ase
that can export your models to the ASE format.
- Download and save the latest
io_scene_ase
release from here - Open Blender
- Navigate to
Edit > Preferences
- Navigate to
Addons
- Click
Install...
- Select the zip file you downloaded (eg.
io_scene_ase-main-1.0.0.zip
) and clickInstall Add-on
- Check the box next to
Import-Export: ASCII Scene Export
to enable to the addon
To verify that the installation worked correctly, navigate to File > Export
. There should be a new item, ASCII Scene Export (.ase)
Exporting Models
- Select all the objects that you want to export.
- Navigate to
File > Export > ASCII Scene Export (.ase)
- Adjust the settings on the export dialog as needed
- Click
Export
.
You can now import the ASE file into the SDK.
Collision Meshes
To export an associated collision mesh with the model, give your collision mesh object the prefix of MCDCX_
. This will signal to the exporter to use that object as a collision object instead of visible geometry.
Click here for a full guide on how to create karma and player collision meshes for exported models.