[Mod] Convenient Clock

A curated forum for approved mods. Users are unable to create new topics in this forum but can reply to existing topics. Please message a moderator to have your mod moved into this forum area.
User avatar
Uncanny_Valley
Posts: 122
Joined: Mon Mar 23, 2015 5:47 pm

Re: [Mod] Convenient Clock

Post by Uncanny_Valley » Mon May 14, 2018 5:54 am

Highyena wrote:
Sun May 13, 2018 7:33 pm
This makes things so much better, thank you!

I do have a request though. I'm using the simple text option, would it be possible to add an additional toggle to remove that extra detail at the top of the border (the "horns")?
I have updated the mod to version 1.01. I added the option to override any textures used. So you can easily remove the "horns" if you wish. :D

BansheeXYZ
Posts: 472
Joined: Fri Oct 23, 2015 8:19 pm

Re: [Mod] Convenient Clock

Post by BansheeXYZ » Mon May 14, 2018 10:37 am

This is a great idea, I was thinking about requesting it last week. Time plays a huge role in the game, with all the shops and guilds having hours of operation, and it's very annoying in vanilla to have to hit a hotkey to know how long you need to loiter/sleep.

The "i" screen also tells you where you are, the day of the month, and legal standing. Seems like your legal standing should have just been integrated into the character stats screen. With a small enough font, you could just give time, day, place beneath or above compass. Thus making the "i" screen obsolete.

Highyena
Posts: 21
Joined: Mon Apr 30, 2018 8:05 pm

Re: [Mod] Convenient Clock

Post by Highyena » Mon May 14, 2018 10:00 pm

Uncanny_Valley wrote:
Mon May 14, 2018 5:54 am
I have updated the mod to version 1.01. I added the option to override any textures used. So you can easily remove the "horns" if you wish. :D
Thank you!

Sorry, didn't know what to call them. XD

BansheeXYZ
Posts: 472
Joined: Fri Oct 23, 2015 8:19 pm

Re: [Mod] Convenient Clock

Post by BansheeXYZ » Tue May 15, 2018 12:18 am

I think I found a few bugs. Right now my i screen says "Fredas the 13th", but the mod says "Fredas the 12nd". So 12 is wrong, and putting "nd" after 12 is wrong.

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

Re: [Mod] Convenient Clock

Post by Interkarma » Tue May 15, 2018 12:26 am

Uncanny_Valley, this is likely because dates are zero-based in code. There are also helpers in DaggerfallDateTime to provide correct date suffix. See DateString() for an example.

Code: Select all

public string DateString()
{
	string suffix = GetSuffix(Day+1);
	return string.Format("{0} the {1}{2} of {3:00}", DayName, Day + 1, suffix, MonthName);
}
Rather than format yourself, you can probably just use DaggerfallUnity.Instance.WorldTime.Now.DateString(); to always get correct string here. There are some nice helpers in the date classes to already handle this stuff.

Hope that helps!

User avatar
Midknightprince
Posts: 1082
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

Re: [Mod] Convenient Clock

Post by Midknightprince » Tue May 15, 2018 12:29 am

This mod is actually quite awesome...
Love the minimalist setting with just the sun, and the moon.
Check out my YouTube Channel!

User avatar
BoneofMalkav
Posts: 8
Joined: Wed Oct 25, 2017 7:56 pm

Re: [Mod] Convenient Clock

Post by BoneofMalkav » Tue May 15, 2018 12:38 am

Great Mod, loving it so far. But I did notice that the text only options ignore the Use Only 12 Hour setting.

User avatar
Uncanny_Valley
Posts: 122
Joined: Mon Mar 23, 2015 5:47 pm

Re: [Mod] Convenient Clock

Post by Uncanny_Valley » Tue May 15, 2018 8:06 am

BansheeXYZ wrote:
Tue May 15, 2018 12:18 am
I think I found a few bugs. Right now my i screen says "Fredas the 13th", but the mod says "Fredas the 12nd". So 12 is wrong, and putting "nd" after 12 is wrong.
Thank you for the bug report. Will fix this in the next update.

BoneofMalkav wrote:
Tue May 15, 2018 12:38 am
Great Mod, loving it so far. But I did notice that the text only options ignore the Use Only 12 Hour setting.
Hmmm... it works for me. Do you get the same result for all the text only options? Did you press "Save" after changing your settings in the mod menu?

User avatar
BoneofMalkav
Posts: 8
Joined: Wed Oct 25, 2017 7:56 pm

Re: [Mod] Convenient Clock

Post by BoneofMalkav » Tue May 15, 2018 8:44 am

Uncanny_Valley wrote:
Tue May 15, 2018 8:06 am
BansheeXYZ wrote:
Tue May 15, 2018 12:18 am
I think I found a few bugs. Right now my i screen says "Fredas the 13th", but the mod says "Fredas the 12nd". So 12 is wrong, and putting "nd" after 12 is wrong.
Thank you for the bug report. Will fix this in the next update.

BoneofMalkav wrote:
Tue May 15, 2018 12:38 am
Great Mod, loving it so far. But I did notice that the text only options ignore the Use Only 12 Hour setting.
Hmmm... it works for me. Do you get the same result for all the text only options? Did you press "Save" after changing your settings in the mod menu?
Yes I do press Save when I change settings in the mod menu.

User avatar
Uncanny_Valley
Posts: 122
Joined: Mon Mar 23, 2015 5:47 pm

Re: [Mod] Convenient Clock

Post by Uncanny_Valley » Wed May 16, 2018 10:29 am

@BoneOfMalkav - I'm sorry, but I am unable to reproduce your result, the 12 hour setting always works for me as intended. I honestly don't know what it could be. What version of Daggefall Unity do you use? Is it for windows, Linux och Mac? 32 or 64 bit?

Does anybody else have this problem?

Post Reply