Download
(5Kb)
Download
Updated: 12-01-10 04:11 AM
Pictures
File Info
Updated:12-01-10 04:11 AM
Created:04-22-10 01:07 PM
Downloads:7,121
Favorites:16
MD5:

thek: Unitframes  Popular! (More than 5000 hits)

Version: beta6
by: thek [More]

thek: Unitframes (BETA)

Adds some small improvements to the default unitframes.

  • Classcolored healthbars
  • Classicons as portrait
  • current hp as text and percent
  • movable player- and targetframe
  • movable and redesigned totem-/rune-/comboframe
  • NEW: change the size of target-/focusframe buffs & debuffs

If you like the look of the totem-/rune-/comboframe maybe you want to take a look at thek: Buttonskin.

How to move the unitframes

use /tuf to toggle the dragframes

HINT: if the positioning of the unitframes is wrong, wait till you're leaving combat. then they will be set to the correct position. (this happens from time to time when you're leaving a vehicle during combat)

How to move the totem-/rune-/comboframe

use Alt + left mouse button to drag them around when you're out of combat.

Configuration

open the config.lua file:

Code:
-- general configuration
c.showClassIcons    = true;

-- healthbartext configuration
c["player"] = {
    percent         = {true, "LEFT", "LEFT", 230, 3},
    current         = {false, "LEFT", "LEFT", 120, 3}
};
c["target"] = {
    percent         = {true, "RIGHT", "LEFT", 3, 3},
    current         = {true, "RIGHT", "LEFT", 120, 3}
};
c["focus"] = {
    percent         = {true, "RIGHT", "LEFT", 3, 3},
    current         = {true, "RIGHT", "LEFT", 120, 3}
};

-- targetbuff/-debuff settings
c["targetaura"]     = {
    largeSize       = 25,
    smallSize       = 19
};

-- totem-/rune-/comboframe configuration
c["classThings"] = {
    iconSize        = 28,
    iconSpacing     = 8,
    borderTexture   = "Interface\\Buttons\\UI-TotemBar",
    comboBarTexture = "Interface\\TargetingFrame\\UI-StatusBar",
    comboBarColor   = {.1, .9, .1},
};

-- font settings
c["font"] = {
    face            = "Fonts\\FRIZQT__.TTF",
    size            = 12,
    options         = "THINOUTLINE"
};
The first value of percent / current sets those text as enabled or disabled (true, false). The following values defines the text position relative to a created frame behind the parent frame. (not the given parentframe!)

Coming features:
...

beta6:
now you can set the target-/focusframe buff & debuff size

beta5:
removed cp spam
added a central config.lua file

beta4:
added movable comboframe

beta3:
added movable totem- and runeframe

beta2:
added dragframes for player- / targetframe

beta1:
initial release of the rewritten version
Post A Reply Comment Options
Unread 12-01-10, 08:54 AM  
Areul
A Kobold Labourer

Forum posts: 0
File comments: 119
Uploads: 0
T.T

I love this Blizzard art style !! hope that would add some party and raid config.
nice work!
Report comment to moderator  
Reply With Quote
Unread 12-03-10, 04:15 AM  
Ak1ra
A Fallenroot Satyr
 
Ak1ra's Avatar

Forum posts: 26
File comments: 63
Uploads: 0
can I somehow reset frame positions after I move it? I just found a way do disable my current % hp And I want to move my target frame to fefault position)
Report comment to moderator  
Reply With Quote
Unread 12-03-10, 04:32 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Originally posted by Ak1ra
can I somehow reset frame positions after I move it? I just found a way do disable my current % hp And I want to move my target frame to fefault position)
sorry, this option is not included, but i will add this to the next release (today / tomorrow)
Report comment to moderator  
Reply With Quote
Unread 12-05-10, 10:17 AM  
karmamuscle
A Cobalt Mageweaver
 
karmamuscle's Avatar
AddOn Author - Click to view AddOns

Forum posts: 205
File comments: 173
Uploads: 1
Is there any way to get the statustext on the playerframe to be above the artwork, just like on the targetframe?
http://peecee.dk/uploads/122010/WoWS...510_165706.jpg
__________________
55 89 144 233 377 610 987 1597 2584 4181 6765
Report comment to moderator  
Reply With Quote
Unread 12-06-10, 01:27 AM  
thek
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 104
Uploads: 10
Originally posted by ckramme
Is there any way to get the statustext on the playerframe to be above the artwork, just like on the targetframe?
http://peecee.dk/uploads/122010/WoWS...510_165706.jpg
uuuhh... stupid bug. i'll take care of this one.
Report comment to moderator  
Reply With Quote
Unread 12-06-10, 02:00 AM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 164
Uploads: 0
Error

Error happens when I have a target and hit escape:

Message: Interface\AddOns\thek_Unitframes\core.lua:86: attempt to index field 'current' (a nil value)
Time: 12/05/10 23:58:44
Count: 1
Stack: Interface\AddOns\thek_Unitframes\core.lua:86: in function <Interface\AddOns\thek_Unitframes\core.lua:71>
Interface\AddOns\thek_Unitframes\core.lua:174: in function <Interface\AddOns\thek_Unitframes\core.lua:142>
[C]: in function `ClearTarget'
Interface\FrameXML\UIParent.lua:2893: in function `ToggleGameMenu'
[string "TOGGLEGAMEMENU"]:1: in function <[string "TOGGLEGAMEMENU"]:1>

Locals: unit = "target"
hp = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'current' (a nil value)"
c = <table> {
player = <table> {
}
font = <table> {
}
showClassIcons = false
target = <table> {
}
targetaura = <table> {
}
classThings = <table> {
}
focus = <table> {
}
}
a = thek_Unitframes {
target = thek_Unitframes_target {
}
player = thek_Unitframes_player {
}
0 = <userdata>
focus = thek_Unitframes_focus {
}
}
Report comment to moderator  
Reply With Quote
Unread 12-09-10, 11:13 AM  
Alaeri
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I'm getting that error as well.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: