Building Your First .dfmod

This page is a redirect from another larger page, here is the original: Making Mods

# Step-by-Step Process

In this section, I'm going to be showing you how to build a basic mod into a .dfmod using the Daggerfall tools in the Unity Editor. For this particular example atleast, I'm going to be doing probably the most simple "type" of mod, that being a simple texture replacement. For no particular reason outside being in an easy to access place, I'm going to be replacing this decoration texture as shown below:

We are going to replace that pile of bones texture, with the below sprite/texture I found Online:

We are going to build this single texture replacement into a .dfmod file, this process will basically be how any .dfmod would be made, but just on a much smaller scale when it comes to the file importing part, but most of the steps will be the same no matter what type and scale of mod you are deciding to build for DFU.

Anyway, let us begin!

1. Open DFU in the Unity Editor as a project, as shown in the previous section of the guide. Then open up the mod builder tool as shown in the images below:

2. When you have the mod builder window open, click the "Create New Mod" button:

3. When the file-explorer window pops up, create a new folder in this location, as shown in the images below:

4. Then inside that folder give a name to your mod-file, then click the "Save" button:

5. After doing so, the mod builder window should now look like the image below (Make sure to pull the corners of the window and expand the size so you can fully view the other buttons in this window.):

**The following images are going to explain on a basic level the various sections and buttons in this mod builder window. So read the text in these images for a better understanding of what you are looking at:**

**So with that stuff explained, let's continue with the steps...**

6. Fill the empty fields as shown below:

7. Once the fields and such are filled, press the "Save Mod Settings to File" button. Then close out of the mod builder window by pressing the "X" in the right-corner of the window:

8. Once the window is closed and you are back in the Unity Editor window, follow the below series of images, read and follow and text on the images, this will involve navigating to the location/folder that our mod assets will be placed so they can be imported into the mod:

9. Now that we have our replacement texture in the expected location with the correct name, as well as with the proper meta-data set so it won't look blurry and compressed when in-game, we can finally add our asset to the mod itself. Start this process by opening the mod builder window once again, so you can see something similar to the below image:

Once you do, follow the below series of images and text on them to import the asset into the mod, and then actually building the mod into a .dfmod file:

10. Now that we finally have our .dfmod built, let us navigate to where it was built so we can actually "install" it into our instance of DFU to see in action, follow the below images to find where the resulting .dfmod file should be located, and where to copy/paste it to "install" it as a DFU mod:

11. With our new mod installed, launch DFU and check that it is installed properly by going to the "Mod Manager" so you can see our example mod, once you have confirmed that, play the game and load a save or start a new game so you can find where our replaced texture can be observed, as shown in the below images:

And with that, you have just created your first functional DFU mod from beginning to end, good job!

You can now hopefully use this process to do larger modding projects, as the general process for building the .dfmod file in the end is essentially the same, just with more assets added in. But the end result is still the same, a singular .dfmod file that can be distributed and installed easily by anyone!

Anyway, hope this was helpful. Keep an eye out for more guides similar to this one, but for other more specialized parts of the mod making process.

# Other Useful Links & Community Resources

* Daggerfall Unity Official Workshop Forums
* Official DFU Subreddit
* Unofficial DFU Fan Server, Discord Invite Link
* The Older Scrolls Server, Discord Invite Link
* Daggerfall Unity Nexus Mods Portal

 GENERAL

 GRAPHICS

 WORLD EDITING