Where should text versions of game data go?

Discuss coding questions, pull requests, and implementation details.
Post Reply
Alth
Posts: 28
Joined: Wed Feb 20, 2019 9:59 pm
Location: New Zealand

Where should text versions of game data go?

Post by Alth »

If we wanted to move something from being hardcoded to loaded from text files for mod support where should it be put?

User avatar
Interkarma
Posts: 6211
Joined: Sun Mar 22, 2015 1:51 am

Re: Where should text versions of game data go?

Post 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.

User avatar
TheLacus
Posts: 1322
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Where should text versions of game data go?

Post 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.
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
Interkarma
Posts: 6211
Joined: Sun Mar 22, 2015 1:51 am

Re: Where should text versions of game data go?

Post by Interkarma »

Thank you TheLacus. My apologies for not linking that information as well.

Post Reply