Download
(3 Kb)
Download
Updated: 01-03-10 12:04 AM
Pictures
File Info
Updated:01-03-10 12:04 AM
Created:01-03-10 12:04 AM
Downloads:2,315
Favorites:7
MD5:
XuTotems
Version: 100
by: Garry [More]
About the Addon
Well, it is a Totem Timer. Nothing more and nothing less

How to install
Just extract the file into your "World of Warcraft/Interface/Addons/" folder

Change Log
- release as v100


Want to move the TotemTimerBar around:
To move the TotemTimer, move your mouse to the side of the bar ( you should casts your totems before!) and then hold down the ALT+SHIFT-key and click your mousebutton and hold it. Now move your mouse and drag the bar where ever you want.

MemUsage
It only "steals" 1.0kb Mem infight.

If you can change the borders?
Yes you can. It is possible to change:
-color ( even class colored )
-turn shadow texture on/off
-match the shadow texture to your border texture

A config?
Well, open core.lua and there you will find the needed stuff ^^

Config code:
Code:
Code:
-- small config -----------------------------------------------
local parent = UIParent				-- frame parent
local anchor =  {"CENTER", "CENTER"}	-- frame anchor
local scale = 1						-- scale the TotemTimerBar
local space = 8						-- changing scale sometimes requires to change the space between the timers
local x = -68							-- position x
local y = -100							-- position y

local shadow_use = true					-- turns on/off shadow texture
local shadow_strata = "BACKGROUND"		-- depending on border texture you need to change this to "LOW"

--set border texture color color ( red, green, blue in RGB)
local color_border = { r = 1, g = 1, b = 1, }


--color for  shadow texture (red, green, blue in RGB)
local color_shadow = { r = 0, g = 0, b = 0, }
--want class color? just comment in this:
--local color_shadow = RAID_CLASS_COLORS[select(2, UnitClass("player"))]

--set the alpha of the  shadow color
local shadow_alpha = 1

--Following lines allow you to change the path and file name of the Border Texture.
--Insert folder where your rune Border Texture is located:
local border_path = "Interface\\AddOns\\xuTotems\\"
--Insert file name of Border Texture:
local border_texture = "slim"


--Well, you changed the Border Texture, then you might need to change some
--Texture parts.

--Change the setpoint of border texture
local borderA = 0.5
local borderB = -0.5
--Change the setpoint of shadow texture
local shadowA = 3
local shadowB = -3
--Change the insets of shadow texture
local shadowI = 8


---end of config-----------------------------------------------
Todo list:
- clean code
- make Timers clickable to "destroy" totem
- tweaks
- ofc bugs
Optional Files (0)


Post A Reply Comment Options
Old 01-03-10, 09:32 AM  
Garry
A Kobold Labourer
 
Garry's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 158
Uploads: 7
In the moment not, the totems use the default ingame Frame to build the bar.
Primary i will have to clean the code, and think about another way how to change the border texture. Currently the border is build as a background texture, and that i dont like because its not so flexible.

Originally posted by richerich
Sweet, exactly what i was looking for Gonna test it for the raid tonight

EDIT: Can you switch how the totems are lined up? like i wanna see fire totem first in the line and not in the middle, for example
Garry is offline Report comment to moderator  
Reply With Quote
Old 01-03-10, 08:14 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 825
Uploads: 13
Sweet, exactly what i was looking for Gonna test it for the raid tonight

EDIT: Can you switch how the totems are lined up? like i wanna see fire totem first in the line and not in the middle, for example
__________________


Livestream | Twitter | Facebook | YouTube


Last edited by Dajova : 01-03-10 at 08:15 AM.
Dajova is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: