Hello to everyone!
I edited some script files from DFTFU assets : "BuildingNames.cs", "NameHelper.cs" and "NameGen.txt" - but I can't get that to work in the game. In Unity Editor all changes work perfect(I mean if to launch the game from Editor), but after a mod is built and enabled nothing changes in the game. In Mod Builder I have added 3 files mentioned above, and this files have original path in assets.
DFUnity ver.: 0.10.6.
DFTFU version: recent from GitHub.
Unity ver.: 2018.2.21f1.
So what am I doing wrong?
Thank you in advance for your help.
How to build a mod?
-
- Posts: 1400
- Joined: Mon Aug 12, 2019 4:32 pm
- Contact:
Re: How to build a mod?
I could be wrong, but I do not think mod builder is supposed to work with the base script files. Replacing the base script files with a mod built script file, I imagine, would not work. Instead, the "mod" should be built right into the engine and game itself, since it is coding directly into the base script files.
My Daggerfall Mod Github: l3lessed DFU Mod Github
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
- King of Worms
- Posts: 4752
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: How to build a mod?
The Lacus will know, let him know about this thread if he doesnt pop up here after some time
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: How to build a mod?
I confirm that you can't replace C# source files; you can interact with the public API instead. Please read the modding documentation, if there is something you don't understand i'm happy to clarify.
- Sandman
- Posts: 7
- Joined: Sat Aug 31, 2019 7:01 pm
Re: How to build a mod?
I'm new in coding and that's why I can understand nothing from "Mod Features" page. And what " interact with the public API" means?
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: How to build a mod?
There are tutorials available. You can access them from the documentation page i directed you, but here is a direct link. Good luck.
- Hazelnut
- Posts: 3015
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: How to build a mod?
Can I just say thanks for all of the mod enablement work you do TheLacus. Honestly it's absolutely fantastic stuff and very high quality. The project is very lucky to have you and the expanding list of mods avaliable on the Nexus is largely down to your hard work behind the scenes. Bit of a random thread, but I just wanted to say this and make sure you know that you're appreciated.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- pango
- Posts: 3347
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: How to build a mod?
I concur, backend work is not as visible, but just as essential
Thanks TheLacus!
Thanks TheLacus!
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: How to build a mod?
Thank you, it's great to see how far this project has come thanks to the efforts of all the people involved.