+++ STEP 4 - EXPORT +++
Now we can export the model and try it out in the game!
First select on your ship model and your collision model, and use Utilities > Reset XForm on them:

Alternatively, you can convert everything to editable poly or similar (right click on each mesh, convert to > editable poly), but you will lose all the previous modifiers…
Export your scene as a DAE file, ensuring that you use “Centimeters” and uncheck the “Single Matrix” option:

If you didn’t do step 2, you now need to create a script for HODOR, which will control the transfer from DAE to HOD (which is the file used by the game). Paste the following into a text editor and save it as a “.hodor” file:
## TUTORIAL
= -$HWRM_BASE=C:\Program Files (x86)\Steam\steamapps
= -$SHIP_NAME=Kad_Swarmer
= -$SHADER_MAP=$[HWRM_BASE]\common\Homeworld\GBXTools\HODOR\SHADERS.MAP
= -$SHADE_OPT_LOADDAE=Force8888
= -$HOD_SAVE_OPTS=ForceScars FilterScars=thruster,bay
= -$CONVERT_IN=pathtoyourdaefile
= -$CONVERT_OUT=C:\Program Files (x86)\Steam\steamapps\common\Homeworld\HomeworldRM\Data\ship\kus_scout\kus_scout.HOD
= -do=convert
= -action=null
The script tells HODOR to take your DAE file and create a HOD file in the appropriate area for the Kushan Scout within the HWR directories. Note: Force8888 produces a HOD file quickly, but it will be a big HOD file. When you are ready to produce your final HOD, change this parameter to ForceMAP, which will compress the texture files and produce a HOD with a more manageable file size
Next open a command window where HODOR is installed (if you subscribed to the example, you should have HODOR now) and type the following:
HODOR.exe -script=pathtoyourhodorscript
In order to run the game and see your modded scout, you will need to run the game with a command line option. To do this create a shortcut to HomeworldRM.exe and add the -overrideBigFile tag to the end. Mine looks like this:
"C:\Program Files (x86)\Steam\steamapps\common\Homeworld\HomeworldRM\Bin\Release\HomeworldRM.exe" -overrideBigFile -dlccampaign HW2Campaign.big -campaign Ascension -moviepath DataHW2Campaign -mod compatibility.big
If you launch the game using your shortcut and build a scout, you should see your new Kushan Scout!

Coming next, texturing…