Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(5 Kb)
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:5,542
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
Archived Files (6)
File Name
Version
Size
Author
Date
beta5
5kB
thek
11-29-10 09:49 AM
beta4
4kB
thek
11-29-10 04:31 AM
beta3
4kB
thek
11-29-10 03:22 AM
beta2
2kB
thek
11-28-10 02:03 PM
beta1
2kB
thek
11-28-10 09:32 AM
0.1
3kB
thek
04-22-10 01:07 PM


Post A Reply Comment Options
Unread 12-01-10, 08:54 AM  
Areul
A Kobold Labourer

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

I love this Blizzard art style !! hope that would add some party and raid config.
nice work!
Areul is offline 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: 45
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)
Ak1ra is offline 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)
thek is offline Report comment to moderator  
Reply With Quote
Unread 12-05-10, 10:17 AM  
karmamuscle
Premium Member
 
karmamuscle's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 193
File comments: 163
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
karmamuscle is offline 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.
thek is offline Report comment to moderator  
Reply With Quote
Unread 12-06-10, 02:00 AM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 167
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 {
}
}
reale is offline 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.
Alaeri is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: