Greets!
I'm thinkin about editin a lil bit of data, and slowly but surely learnin the way mod creation works. And for now it's only to tinker with details, like changin the range of weapons/hits, tired of bein bitten by rats three meters away from me. Should i use the unity editor for that, and does it work well on linux?
That's all folks, and grats to all the creators of that wonderful game!
Learnin to mod DFU.
- Jay_H
- Posts: 4070
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Learnin to mod DFU.
Welcome to the forums! I've moved your topic to the Modder Discussion section.
- tmsbrg
- Posts: 13
- Joined: Sun Aug 28, 2022 8:14 pm
Re: Learnin to mod DFU.
Check the resources in this forum. There's a "Modding Tutorials" sticky at the top. I haven't got any modding experience yet but it looks like a good comprehensive tutorial.
Good luck & happy hacking
Should be yes on both. You can download the Unity editor and the Daggerfall source code and then open the Daggerfall project and follow the tutorial I linked above.
Good luck & happy hacking
- Syl
- Posts: 40
- Joined: Fri Sep 02, 2022 8:41 am
Re: Learnin to mod DFU.
Thxs, first steps will be to manage the installation of unity and the DFU mod builder... Luckily, got a lot of spare time.
- Syl
- Posts: 40
- Joined: Fri Sep 02, 2022 8:41 am
Re: Learnin to mod DFU.
OK, unity hub is installed, but no daggerfall template. How do i integrate the daggerfall source code as a new project?
- Sluggy
- Posts: 20
- Joined: Tue Aug 23, 2022 9:28 pm
Re: Learnin to mod DFU.
You will need to follow the link to the source code and either download it or setup a git repo that you can pull to. Since it seems you are quite new to this I'd suggest the first option for now. A lot less work and way fewer things that can go wrong. Make sure you have Unity 2019.4.40f1 installed from Unity Hub as well.
Once it is downloaded, unzip the contents somewhere and open up Unity Hub. At the top-right there is a dropdown menu for 'Open'. Select the option 'Add Project From Disk' and navigate to the root of your newly downloaded source folder then press 'Add Folder'. After this it will setup a new Unity project and begin the rather lengthy process of importing all assets and compiling the code. After Unity has started up go to the top menu and select 'File->Open Scene'. Navigate to the 'Scenes' folder and select the file 'DaggerfallUnityStartup'. Once this has loaded you can press the play button to begin playing the game from within the editor.
VERY IMPORTANT: Be sure you have installed Unity version 2019.4.40f1 !!! This is the version of Unity that DFU is currently built for and for a variety of reasons I don't feel like getting into it is also the version you should be using to test and develop mods with until such a time as DFU upgrades as well. DO NOT USE OLDER OR NEWER VERSIONS. You can have multiple versions of Unity installed at the same time so don't worry if you already downloaded a different version. Just navigate to 'Installs' from Unity Hub and be sure to install 2019.4.40f1 LTS. Unity will figure out the rest for the most part.
Once it is downloaded, unzip the contents somewhere and open up Unity Hub. At the top-right there is a dropdown menu for 'Open'. Select the option 'Add Project From Disk' and navigate to the root of your newly downloaded source folder then press 'Add Folder'. After this it will setup a new Unity project and begin the rather lengthy process of importing all assets and compiling the code. After Unity has started up go to the top menu and select 'File->Open Scene'. Navigate to the 'Scenes' folder and select the file 'DaggerfallUnityStartup'. Once this has loaded you can press the play button to begin playing the game from within the editor.
VERY IMPORTANT: Be sure you have installed Unity version 2019.4.40f1 !!! This is the version of Unity that DFU is currently built for and for a variety of reasons I don't feel like getting into it is also the version you should be using to test and develop mods with until such a time as DFU upgrades as well. DO NOT USE OLDER OR NEWER VERSIONS. You can have multiple versions of Unity installed at the same time so don't worry if you already downloaded a different version. Just navigate to 'Installs' from Unity Hub and be sure to install 2019.4.40f1 LTS. Unity will figure out the rest for the most part.
- Jay_H
- Posts: 4070
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
- Sluggy
- Posts: 20
- Joined: Tue Aug 23, 2022 9:28 pm
Re: Learnin to mod DFU.
Well, you should be using the version of Unity that matches the DFU build. But presumably anyone starting out with moding now would be switching to the latest release of DFU which recommends 2019.4.401f
- Syl
- Posts: 40
- Joined: Fri Sep 02, 2022 8:41 am
Re: Learnin to mod DFU.
Okokok, installed version 2019.4.40f1. Had a short overview, but haven't seen any weapons data, only their scripts. Hit chances and ranges could only be tweaked from them?