Page 1 of 1

Where should text versions of game data go?

Posted: Tue Dec 15, 2020 9:27 am
by Alth
If we wanted to move something from being hardcoded to loaded from text files for mod support where should it be put?

Re: Where should text versions of game data go?

Posted: Tue Dec 15, 2020 11:35 pm
by Interkarma
The majority of in-game text in Daggerfall Unity is not hardcoded or part of classic data. We use Addressable Assets and the Unity Localization system to deliver text. More text (books, quests) will be moved to this system in the future.

If you're interested in how text works in Daggerfall Unity and delivering your own custom text assets via the mod system, please follow this topic. There are more tutorials to come when I have the time, which will be in early 2021 at this stage. This system isn't just for translations, although that's the most compelling use-case.

For your own mod's text, it can come from anywhere you like. But for consistency and portability, it's probably best to get across Addressables and Localization.

Re: Where should text versions of game data go?

Posted: Wed Dec 16, 2020 1:42 am
by TheLacus
To extend on last point, there is also integrated support for localization of additional text provided by mods, including labels and descriptions of settings. This should probably be moved to new addressable system if possible, but current version based on csv tables can be used for the moment.

Re: Where should text versions of game data go?

Posted: Wed Dec 16, 2020 3:05 am
by Interkarma
Thank you TheLacus. My apologies for not linking that information as well.