This document describes the basics of setting up a folder structure to create a data MOD for Dawn of War.
Do NOT directly modify W40K data in place – this will potentially break multiplayer games for yourself and others! Instead, you should modify any attribute files under your own mod project so that your changes are available only to people with your MOD installed.
For your convenience we have included a sample project named “My_Mod”. You can use this as a template when creating your project. You only need to setup your MOD once.
All MODs require a specific folder structure. The easiest way to create this structure is to copy the following folders and rename the “copy of My_Mod” folder to the name of your MOD.
The given paths assume you have installed the game in the default location (C:\Program Files\THQ\Dawn of War). If you have the game installed in another directory then, modify the paths as required.
You will need to edit the following files to setup your MOD:
Copy and rename this file to the name of your mod, .e.g. SpaceHulk_Mod. The fields of interest in this file are:
NOTE: This file has changed from version 1.20 to 1.30 – you should look at the sample my_mod.module file to simplify your file.
This file is used by the tools to load and save data for your MOD. To setup your MOD you should go to the bottom of the file and copy and paste the [project:my_mod] section. Change the name of the copies section to match the “ModFolder” you created in the above module file. You can leave the rest of the fields as is.
NOTE: This file has changed from version 1.20 to 1.30 – additional files have been added so it is easier to re-edit the 1.30 version rather than convert the 1.20 version.
If you want to MOD the behavior of Dawn of War’s game play then it is much simpler to do with this version of the tools.
All of the LUA files are now used only by the AE and are stored under C:\Program Files\THQ\Dawn of War\ModTools\~DataGeneric\... The Game loads binary files that are output by the AE.
Assuming you have setup your MOD properly and it depends on the W40k MOD to operate you simply need to:
Make sure you load your mod project and make changes under it – do not load and modify the W40k project – you will potentially break multiplayer games for yourself and others (data sync-errors).
If any files fail to load they will be logged in the debug window of the AE. You may need to either run the supplied mod conversion tool (if you are working on a MOD you created before version 1.3) or fix the file by hand. Please see the ModConversion.rtf document for more details.
When you make a change that you want to use in-game you have to do two things:
1. Save the changes by selecting “Save” from the file menu.
2. Select “Save Binaries” from the File menu. This will “burn” the binary data format to the folder that the game engine loads.
Relic Developer Network
http://www.relic.com/rdn/index.php (registration required)
Adeptus Modificatus – Official Dawn of War Modding Forums