File information

Last updated

Original upload

Created by

Gabe the Nwah

Uploaded by

GabbersTheNwah

Virus scan

Safe to use

Tags for this mod

About this mod

This simple mod adds the current time and date to the bottom left corner of Morrowind! It now comes with Holidays!

Requirements
Permissions and credits
Changelogs
!!Requires the latest development build of OpenMW!!


This simple lua script adds the date and time to the bottom right corner of the screen. It will show the current time (in a 12 hour clock) and the day of the week, followed by what day of the month it is, and finally the month name. The little window is able to be moved, however it may reset on a reload, or if you use the "reloadlua" command in the console. Saving the position of the window is a future feature.

This mod now includes season names and Holidays! Plans for future holiday and seasons effects are in the works!
If you want to move it for good, you'll have to edit the file in scripts/date named "date" and edit the following line:

relativePosition = v2(.948, .905)

It's located directly under the first "props = {" and is the first "relativePosition" in the file.
To change the clock to a 24 hour clock change:

calendar.formatGameTime(' %I:%M %p %A, \n %d %B 3E%Y')

to:

calendar.formatGameTime(' %H:%M  %A, \n %d %B 3E%Y')

In the future this will be something you can do in the scripts config in the OpenMW settings window in game. 


Possible FAQ

Q: Will this mod work with MWSE?

A: No, it requires certain OpenMW functions to work.

Q: Why is the AM/PM for noon and midnight backwards?

A: It's an OpenMW thing. You can change that by editing a line in \resources\vfs\openmw_aux\calendar. The line is:

if tag == '%p' then
if t.hour > 0 and t.hour <= 12 then
return 'am'
else
return 'pm'
end
  end

change it to:
if tag == '%p' then
if t.hour >= 0 and t.hour <= 11 then
return 'am'
else
return 'pm'
end
  end


Future Features!

1:Holidays will appear on their specified date in a new window above the current one. This feature can be turned of or tuned to your likely (hopefully soon), and it will show ALL holidays in Tamriel (This is for compatibility with Project Tamriel). Done!

2:Your birthday and current age! The ability to set your birthday based on your sign (unless you pick the serpant, then you just set the month). This will happen once a year (for obvious reasons) and will update your current age on your Character sheet (Once OpenMW supports UI modding further)

3:Early Morning/Morning/Early Afternoon, etc will be displayed with the time dependant on what time it is. It's just flavor text for those that like it, and can be toggled.

4:Argonian month names as an option! Will also include any other race variations I can find, for a truly custom expereince!

5:Mod config menu! Hopefully sooner rather than later!