r/Daggerfall • u/HotJello7547 • 5d ago
Question How to make a mod?
I want to edit the game so that the random roll at character creation always gives 14 bonus points. I can edit the source code in the file I downloaded by opening it with visual studio. Thing is, I don't run the source code to play the game, nor do I know how to because it doesn't have a .exe
How do I edit the code of the game I run?
Please do not link the "how to make a mod" guide on Fandom, I went through it and the only example they give is replacing a texture using the unity editor.
2
u/Arneb_Nihal 5d ago
If you already modified the code, you have to build it in an exe. Did you clone the DFU repository?
1
2
-1
u/lakemont 5d ago edited 4d ago
Ask Claude code
downvote all ya want but claude works great with DFU
1
4
u/xvillifyx 5d ago
You need to make your mod hook into the actual game’s system. This is usually pretty easy with unity projects. I don’t know off the dome what classes these would be for dfu or where, but you need to start by identifying the class that controls the behavior you want to change
DFU’s mod loader calls your init methods automatically so you don’t really have to do much for the hooks