Discuss this and other Mother's UI pieces here
**GU 29 Compatible **
I've never seen a really big need for a timer window, but the request comes up occasionally, so in a fit of boredom, I thought I'd take a shot at it. The result is a totally configurable 40 minute countdown timer which can be started and configured via in-game macros.
If you already have a UI mod installed, unzip the file into the same directory as your current mods. For example: c:\Program Files\Sony\Everquest II\UI\EQ2MAP.
If you do not have a file called eq2ui_mainhud.xml in that directory, then rename the file called eq2ui_mainhud_example.xml that is included with this zip file to eq2ui_mainhud.xml.
If you do have a file called eq2ui_mainhud.xml, open that file with notepad and add a line:
I would suggest between eq2ui_mainhud_target.xml and eq2ui_mainhud_tracking.xml, just to keep it alphabetized, but you can add the line anywhere before the </Page> line.
To make the timer window show, use the command
The four timers are set with some default times, but you will probably want to change them. To do so is not too complicated, although it involves the use of more /show_window commands. Learn to love the /show_window.
The timers are numbered 1-4. Within each timer are a set of sub-windows you can show via the /show_window commands. They're 0-9, 00-50, and 0m-19m + p20m for seconds, tens of seconds and minutes respectively. To change timer 1 to 7 minutes 30 seconds, you would use the following commands:
You can fit all 3 commands on a single line in a macro using:
: ; show_window MainHUD.Timer.1.7m ; show_window MainHUD.Timer.1.30 ; show_window MainHUD.Timer.1.0
Please note the spaces before and after the ;'s.
In order to start a timer, you can use the button on the timer, or the following show command in a macro:
Yes, you can use the commands to set the time and the go command in the same macro, although I'm not sure if all 4 commands will fit on a single line. Feel free to experiment.
There are no window controls on the timer window. You can right-click it to close (I think) or use the /hide_window MainHUD.Timer command.
The timers rely on the eq2 client app to provide timing and as such, i would not recommend using them for medical emergencies or other really important events.
As far as I can tell, the clock always seems to run fast. And the higher your frame rate, the faster it runs. There is a correction factor you can adjust to try to match the time the game sees to real life time. Load the eq2ui_mainhud_timerdefaults.xml in notepad and search for "CorrectionFactor=".
60 is no correction. Numbers larger than 60 slow the timer down. Smaller than that makes the clock run faster. In my brief experience, numbers between about 60 and 62 appear to be correct. The mod is distributed with the correction factor at 60.5 which ran about 6 seconds fast over the course of 15 minutes for my test.
Ok, big news... I believe I fixed the problem of this mod crashing the game. Clicking the start buttons and then jumping did not crash this latest version for me at all.
Other big news... Timers now expanded to 39 minutes 59 seconds. There's three new pages you can show if you use macros - 18m, 19m, and p20m. The p20m button adds 20 minutes to whatever minutes the timer is already set at (p
lus 20 m
inutes, if you were wondering). So, if you want timer 1 at 38 minutes you would use
: ; show_window MainHUD.Timer.1.18m ; show_window MainHUD.Timer.1.p20m
: ; show_window MainHUD.Timer.1.00 ; show_window MainHUD.Timer.1.0
Or you can set it with the options windows and the defaults xml file and never think about it again.
Timer does not show times above 18 minutes, but it does appear to count down correctly once the time remaining gets below 18 minutes. Thanks gm9 for that idea as how to display higher times was what kept me from adding capacity. Not displaying them at all is pure genius!
/shame - caught a typo in timers 3 and 4 that cause the double colons in the screenshot. Could also cause problems with the options window for those timers.
Added options so that you can actualy use the window entirely without any /show_window commands except for the one to show the window.
Added the ability to play a sound or flash the timer window at timer completion or a certain number of seconds before. Sounds are limited to sounds that already exist in-game, but are selectable so you should be able to pick one that will stand out to you.
Moved the default settings to a seperate file. And when you modify the timer options, a textbox fills with the text that you can select and copy with ctrl-c... then open the defaults file with notepad and paste the new settings over the existing in the defaults file to make your own ready to roll defaults. Sorry, I can't think of an easy way to do defaults per-character.
Anyhow, that's a few of the suggestions I was given for improvement. Feel free to keep them coming. I'll try to do what I can with them.