Page 1 of 1
How to change the Era on the save date?
Posted: Fri Feb 19, 2021 6:47 am
by The Holy Knight
For roleplay reasons I want to set my new playthroughs character in 2E close to the events of ESO
How would I do that?
Re: How to change the Era on the save date?
Posted: Fri Feb 19, 2021 7:07 am
by pango
Hi Holy Knight,
dateAndTime.gameTime in SaveData.txt is the number of seconds since an hypothetical year 0 of the third era, example:
SaveData.txt:
Code: Select all
...
"dateAndTime": {
"gameTime": 12644752612,
"realTime": 637480545694216364,
"$version": "v1"
},
...
12644752612 / (60 * 60 * 24 * 30 * 12) = 406.531398276748916 so it's some time in summer 406E3
Re: How to change the Era on the save date?
Posted: Fri Feb 19, 2021 7:26 am
by The Holy Knight
I figured that out
I was wondering how to change the 3E to 2E
Re: How to change the Era on the save date?
Posted: Fri Feb 19, 2021 8:15 am
by pango
And that's it, the game is hardcoded to take place in third era.
Year (hence era) is seldom mentioned in game though, I spotted "3E" 3 times in Assets/Scripts/Utility/DaggerfallDateTime.cs and I assume that's what shows up in Daggerfall Unity's Load/Save screens...
Re: How to change the Era on the save date?
Posted: Fri Feb 19, 2021 4:29 pm
by The Holy Knight
Interesting, Well thank you for the help, I'll test it out
Re: How to change the Era on the save date?
Posted: Fri Feb 19, 2021 5:33 pm
by The Holy Knight
Possibly dumb question, but I cannot seem to find the assets/Scripts/utility path? Is it found in the main workshop folder?
Re: How to change the Era on the save date?
Posted: Fri Feb 19, 2021 5:41 pm
by numidium3rd
If you have the code pulled down from GitHub then the path should be daggerfall-unity\Assets\Scripts\Utility. daggerfall-unity is the project's top level folder. Nice avatar btw.