View Single Post
Old 09-03-11, 11:58 PM   #7840
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Had a request some time ago to add an alarm clock to the game. It was on my list of things to do/look into and I've finally gotten around to making it :


You click the face of the chrono to show/hide the alarm clock box (chrono is the stock game chrono). The buttons are: (starting from the top and working down - first item is not lit state, second item is lit state)

Disabled/Enabled - toggles the alarm clock on/off
Single/Continuous - toggles the alarm clock from alarming once and stopping to alarming continuously (rearms itself after alarming)
Interval/Time - determines whether the time input by user is an interval (time span) time or an actual time
Don't play sound/Play sound - determines whether the alarm clock plays a sound (\data\Sound\AlarmClock.wav) when it alarms (using my TDWSound.dll so no sdl entries required)
Don't display message/Display message - determines whether a user defined message is displayed in messagebox when it alarms (this will also appear in ship's journal as an entry)
No TC change/Time compression 1 - determines whether time compression is set to 1 when it alarms
No pause game/Pause game - determines whether the game is paused when it alarms
Set - allows the user to define the message to display in the messagebox. Only this text will show (there is no leading Alarm Clock: as in my screenshot)
00:02 - mouse into each one and use mousewheel to change values. If mode is Interval: First is Hours, second is Minutes. If mode is Time then first is clock hour, second is clock minutes (defined in military time). The max time you can define for either is 23:59.

If alarm clock is enabled and you change the Single/Continuous, Interval/Time, or the hours or minutes then alarm clock is disabled. You'll have to re-enable it.

It does not show any kind of countdown so there's no way of knowing the 'amount of time' left before it alarms when mode is Interval

This alarm clock is using my high precision timer dll so time compression is factored in

Will be available in v6.8.0

Last edited by TheDarkWraith; 09-04-11 at 01:30 AM.
TheDarkWraith is offline   Reply With Quote