11-07-2009, 06:59 PM
|
#1
|
A Theradrim Guardian
Join Date: Jul 2008
Posts: 60
|
need some help here
how do i add borders around my castbar icon?
its round now but i want them to be square
EDIT: i found a way to add borders only the question is now why are they looking not right
did i do something wrong cause they seem a little blurry to me.
what should i do to make them to have a little bit more quality like the castbar itself, or btr to have the same color as the unitframe(greyish)
Here is a picture of how it looks now

Last edited by jasje : 11-09-2009 at 10:08 AM.
|
|
|
11-09-2009, 10:08 AM
|
#2
|
A Theradrim Guardian
Join Date: Jul 2008
Posts: 60
|
anybody that could help me out here?
|
|
|
11-09-2009, 10:24 AM
|
#3
|
A Chromatic Dragonspawn
Join Date: May 2006
Posts: 183
|
I use castbar icon borders and backgrounds in oUF_viv's castbar code. You can take that as a reference.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."
"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."
|
|
|
11-09-2009, 11:23 AM
|
#4
|
A Theradrim Guardian
Join Date: Jul 2008
Posts: 60
|
i will definitly take a look at that ty!
EDIT:2
Also while were at it(dont wanna make a new tread for it)
how do i add a portrait's to a oUF i dont like them much but a guildie of mine does...
he just dont want my interface cause it hasnt got portraits( yeah tell me about it!)
so i looked at other oUF lay-outs but didnt got any wiser on where to add a code for that
help?
Last edited by jasje : 11-09-2009 at 11:29 AM.
Reason: Another question
|
|
|
11-09-2009, 03:32 PM
|
#5
|
A Wyrmkin Dreamwalker
Join Date: Apr 2009
Posts: 59
|
Portrait code is pretty easy. I think I took most of mine from oUF_Caellian. Just look for self.Portrait. Really, though, you just have to make a player model frame (so CreateFrame('PlayerModel', someName, self)) and assign it to self.Portrait for any unit you want to have one. Set a height and width and you're set.
|
|
|
11-10-2009, 09:02 AM
|
#6
|
A Theradrim Guardian
Join Date: Jul 2008
Posts: 60
|
Quote:
Originally Posted by wurmfood
Portrait code is pretty easy. I think I took most of mine from oUF_Caellian. Just look for self.Portrait. Really, though, you just have to make a player model frame (so CreateFrame('PlayerModel', someName, self)) and assign it to self.Portrait for any unit you want to have one. Set a height and width and you're set.
|
uhmz not getting any wiser from that..
ive tryed to copy some code and place it in my own layout but without succes
|
|
|
11-10-2009, 01:48 PM
|
#7
|
A Chromatic Dragonspawn
Join Date: May 2006
Posts: 183
|
Code:
local portrait = CreateFrame("PlayerModel", nil, self)
portrait:SetScript("OnShow", function(self) self:SetCamera(0) end)
--portrait:SetPoint("TOPLEFT", self.Health, "TOPRIGHT", 4, 0)
portrait.type = "3D"
self.Portrait = portrait
--portrait:SetFrameStrata("LOW")
--portrait:SetFrameLevel(11)
--portrait:SetAlpha(1)
This is all you need. Commented lines are optional. You have to tell the layout for which frames (like player, target, ....) it should spawn the portrait, though.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."
"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."
|
|
|
11-10-2009, 03:58 PM
|
#8
|
Featured Artist
Join Date: Dec 2005
Posts: 349
|
Code:
portrait.type = "3D"
Isn't needed. oUF figures that out by it self  .
__________________
I've made you a drawing of a giraffe boinking an elephant. Notice how his mustache looks just like mine.
私に任せて先に行け~!
壊してあげる!
|
|
|
11-10-2009, 06:14 PM
|
#9
|
A Chromatic Dragonspawn
Join Date: May 2006
Posts: 183
|
Ah, ok. 
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."
"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."
|
|
|
11-11-2009, 01:04 PM
|
#10
|
A Theradrim Guardian
Join Date: Jul 2008
Posts: 60
|
Just wanted to let u know that im finished with my oUF here is the final lay-out
ss:

Last edited by jasje : 11-11-2009 at 04:51 PM.
|
|
|
11-12-2009, 09:22 AM
|
#11
|
A Chromatic Dragonspawn
Join Date: May 2006
Posts: 183
|
Looks very nice. Does it also show HPPerc on target (to estimate when it's about time for execute, hammer of wrath, etc.)? 
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."
"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."
|
|
|
11-12-2009, 10:19 AM
|
#12
|
A Theradrim Guardian
Join Date: Jul 2008
Posts: 60
|
No i havnt got anything out of the ordinaire..
As said im just starting with this so dont rly know how to do that... Yet!
EDIT:
Yes the HPPerc is in the lay_out now.
Last edited by jasje : 11-14-2009 at 03:35 AM.
Reason: Question!
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|