Category: Plug-Ins & Patches
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Taroven's Portal Bug Reports Feature Requests

This file is a Addon for EventHorizon Continued by Taroven. You must have that installed before this Addon will work.

Author:
Version:
1.1
Date:
10-12-2009 10:13 PM
Size:
1.16 Kb
Downloads:
156
Favorites:
7
MD5:
EventHorizon Lines
Please remember that your continued donations help to keep EventHorizon alive. I do not play WoW anymore, and though my account is active and currently in good standing, I do not have the financial resources to keep it up for the sole purpose of maintaining addons.

I apologize for the donation window when you download this addon, but I find it does the best job of bringing this situation to the attention of EH's users.

What is EventHorizon_Lines?
EventHorizon_Lines is a very short and simple module for EventHorizon that overlays as many vertical lines on the frame as you like at points of your choosing.

Why?
I've been wanting to make this for a long time. On my Rogue and Druid, I've always wanted to have something showing where everything would be at in 30 energy or so. On my Warrior, I always wanted an easy way to plan out my next couple GCDs. This handles both nicely.

Configuration
This module uses EventHorizon's config table. In your myconfig.lua, add the following two entries:
Code:
local config = EventHorizon.config
config.lines = {3,6,9,12} -- Seconds at which to place the lines. This can be in any order.
config.linesColor = {1,1,1,0.5} -- Color of the lines (r,g,b,alpha). Optional, defaults to this.
If you would like to have a different configuration for different characters or classes:
Code:
if UnitClass("player") == "ROGUE" then
	config.lines = {3,6}
elseif UnitClass("player") == "WARRIOR" then
	config.lines = {1.5, 3, 4.5, 6, 7.5, 9, 10.5}
	config.linesColor = {1,1,1,0.2}
else --Any other class
	config.lines = {3,6,9}
end
Quirks, known issues, planned changes
There should be no bugs, but there is no default line setup. You will need to add config.lines, and at the moment it must be a table (as above) even if you just want one line.

Lines are displayed after the "now" line. A line at 1.5 seconds will display 1.5 seconds in the future. No need to compensate for that.

Only up to 20 lines will display at once. The number could very easily go higher if requested.

Lines aren't always exactly one pixel. I've done what I can, but WoW's UI rendering will sometimes make them appear a little thicker. Not something I can control, sadly. You can try tweaking the time of a line by something like 0.01 seconds to adjust its placement.

Planned: Coming soon will be the ability to individually color lines. Also, I'd like to add a way to just tell the module to add a line every X seconds.

Questions, comments, feedback?
Post a comment here for best results.
  Comments - EventHorizon Lines
Post A Reply Comment Options
Old 10-13-2009, 09:25 AM  
Taroven
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 5
File comments: 316
Uploads: 9
Quote:
Originally posted by Gads
Is there a way to change the configuration based on a Stance or a specific talent. It would be very useful when i was in cat to have them at every 1s, and 1.5s any other time.
Sorry, not possible.
__________________
Author of EventHorizon Continued and its modules. Enjoy my work? Buy me a cookie!
Follow me on Twitter, and check out the instructional EH Blogs at Casters R Us.
Taroven is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-13-2009, 06:27 AM  
Gads
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Is there a way to change the configuration based on a Stance or a specific talent. It would be very useful when i was in cat to have them at every 1s, and 1.5s any other time.
Gads is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.