You get all my love, Indie. That little edit in aura.lua fixed all my worries with buffs. Seriously, I love you. No fluff, like it is - yeah, that's you :)
Nice thread!
So, i'm planning to replace Grid with oUF Spawns of Raidframes, but i've got a Prob. Hw do i remove the manatext only for the raidframes? :S (Kinda noob to lua ._.)
I have already Spawned them, so i Just need to remove the text, so i can make the frames small as Possible.
Nice thread!
So, i'm planning to replace Grid with oUF Spawns of Raidframes, but i've got a Prob. Hw do i remove the manatext only for the raidframes? :S (Kinda noob to lua ._.)
I have already Spawned them, so i Just need to remove the text, so i can make the frames small as Possible.
Sry 4 bad eng,
thx in Advance
depends on the way you spawned them.
the code to hide mana text is
self.Power.value:Hide()
This is the code i used:
local raid1 = oUF:Spawn"raid1"
raid1:SetPoint("CENTER", 0, 0)
raid1:SetHeight(18)
raid1:SetWidth(130)
local raid2 = oUF:Spawn"raid2"
raid2:SetPoint("TOPLEFT", raid1, "BOTTOMLEFT", 0, -4)
raid2:SetHeight(18)
raid2:SetWidth(130)
(just these two atm, for configuration)
But there is an error (nil value) '~' I think thats why you said it depends the way the frames are spawned?^^
This is the code i used:
local raid1 = oUF:Spawn"raid1"
raid1:SetPoint("CENTER", 0, 0)
raid1:SetHeight(18)
raid1:SetWidth(130)
local raid2 = oUF:Spawn"raid2"
raid2:SetPoint("TOPLEFT", raid1, "BOTTOMLEFT", 0, -4)
raid2:SetHeight(18)
raid2:SetWidth(130)
(just these two atm, for configuration)
But there is an error (nil value) '~' I think thats why you said it depends the way the frames are spawned?^^
Use this instead.
This is how to create a SecureRaidGroupHeader. It will behave like party does and it will be easier to configure like that.
taken from blizzard SecureTemplate.lua
List of the various configuration attributes
======================================================
showRaid = [BOOLEAN] -- true if the header should be shown while in a raid
showParty = [BOOLEAN] -- true if the header should be shown while in a party and not in a raid
showPlayer = [BOOLEAN] -- true if the header should show the player when not in a raid
showSolo = [BOOLEAN] -- true if the header should be shown while not in a group (implies showPlayer)
nameList = [STRING] -- a comma separated list of player names (not used if 'groupFilter' is set)
groupFilter = [1-8, STRING] -- a comma seperated list of raid group numbers and/or uppercase class names and/or uppercase roles
strictFiltering = [BOOLEAN] - if true, then characters must match both a group and a class from the groupFilter list
point = [STRING] -- a valid XML anchoring point (Default: "TOP")
xOffset = [NUMBER] -- the x-Offset to use when anchoring the unit buttons (Default: 0)
yOffset = [NUMBER] -- the y-Offset to use when anchoring the unit buttons (Default: 0)
sortMethod = ["INDEX", "NAME"] -- defines how the group is sorted (Default: "INDEX")
sortDir = ["ASC", "DESC"] -- defines the sort order (Default: "ASC")
groupBy = [nil, "GROUP", "CLASS", "ROLE"] - specifies a "grouping" type to apply before regular sorting (Default: nil)
groupingOrder = [STRING] - specifies the order of the groupings (ie. "1,2,3,4,5,6,7,8")
maxColumns = [NUMBER] - maximum number of columns the header will create (Default: 1)
unitsPerColumn = [NUMBER or nil] - maximum units that will be displayed in a singe column, nil is infinate (Default: nil)
columnSpacing = [NUMBER] - the ammount of space between the rows/columns (Default: 0)
columnAnchorPoint = [STRING] - the anchor point of each new column (ie. use LEFT for the columns to grow to the right)
I have a question regarding spawning party frames. The oUF:Spawn function creates the party header, whereas other people (Industrial for example) spawn party1..party5 instead of calling oUF:Spawn("party"). Myself I'm spawning party1..party5, and works fine, I'm just wondering if there's anything I miss by not creating the party header?
I have a question regarding spawning party frames. The oUF:Spawn function creates the party header, whereas other people (Industrial for example) spawn party1..party5 instead of calling oUF:Spawn("party"). Myself I'm spawning party1..party5, and works fine, I'm just wondering if there's anything I miss by not creating the party header?
Thanks in advance.
you can move all 5 frames by moving the bottom one.. all i can think of right now
mind sharing the settings ? or, better, whole UI ? =)))
On the picture you can see oUF, oUF_Lily, oMinimap, oChat and Fane, all (except Fane) is heavily modified to my taste.
Play around with it to find your taste. I will not put out oUF_Pelim for public _yet_, want it to work properly first (got alot of missing features, bugs/errors atm)
Anyone else having this issue? UnitIsPVP(unit) works as check, but BugSack tells me it should be UnitIsPVP("unit"), yet when I put it up that way, pvp won't work (the text string won't show). Of course this is due to "player"/"target" already having quotes around them, and "unit" would look like ""player"" for the parser... But it's annoying me >.<
Anyone else having this issue? UnitIsPVP(unit) works as check, but BugSack tells me it should be UnitIsPVP("unit"), yet when I put it up that way, pvp won't work (the text string won't show). Of course this is due to "player"/"target" already having quotes around them, and "unit" would look like ""player"" for the parser... But it's annoying me >.<
actually, "unit" is seen as "unit" by the parser. and since unit isnt a valid unitid, it doesnt work.
Its giving you this error because there is a problem with the unitid, and since the unitid = nil, in the code its like UnitIsPVP() which is why BugSack tells you it needs "unit"(unitid like player/target/party1/etc, in quotes)
dont remember if you already have one, but make sure you have a "if (unit) then" before the pvp update func.
if yes already, then maybe try UnitIsPVP(tostring(unit)) but not sure if it would fix something lol
I added range alpha shader to my layout. i'll post the code later if any1's interested.
It will drop the alpha to 20% of Party/Raid(only) UF's that are not within range of a designated spell.
I will most likely add a secondary spell for target range check. (ie: i want Arcane Intellect for party/raid, and Frostbolt for target range check...)
on a side note, ill do some more testing but i think im gonna add a timer(faster than the global update one) specially for updateAggro and updateRange cause atm they are on updateHealth/global update and it doesnt seem enough.
I would love to see that code coldy, just started playing my shaman again (as healer) so it would be neat for pvp and stuff...
the global update is on 0.5 sec, but you could try to put a 0.25 or something for aggro.
as a mage (or any other party buffer) you can just buff a party member near you and the rest of that persons party will be buffed no matter where they are (even out of range).
say you stand at vashj or something and half party 2 is at entrance, rest is near you. Buff the one near you and everyone in the group will get buffed.
You get all my love, Indie. That little edit in aura.lua fixed all my worries with buffs. Seriously, I love you. No fluff, like it is - yeah, that's you :)
So, i'm planning to replace Grid with oUF Spawns of Raidframes, but i've got a Prob. Hw do i remove the manatext only for the raidframes? :S (Kinda noob to lua ._.)
I have already Spawned them, so i Just need to remove the text, so i can make the frames small as Possible.
Sry 4 bad eng,
thx in Advance
depends on the way you spawned them.
the code to hide mana text is
self.Power.value:Hide()
This is the code i used:
local raid1 = oUF:Spawn"raid1"
raid1:SetPoint("CENTER", 0, 0)
raid1:SetHeight(18)
raid1:SetWidth(130)
local raid2 = oUF:Spawn"raid2"
raid2:SetPoint("TOPLEFT", raid1, "BOTTOMLEFT", 0, -4)
raid2:SetHeight(18)
raid2:SetWidth(130)
(just these two atm, for configuration)
But there is an error (nil value) '~' I think thats why you said it depends the way the frames are spawned?^^
Use this instead.
This is how to create a SecureRaidGroupHeader. It will behave like party does and it will be easier to configure like that.
Modification in oUF.lua = http://coldfury.pastey.net/80671
Modification in layout.lua and how to change the look = http://coldfury.pastey.net/80673
taken from blizzard SecureTemplate.lua
List of the various configuration attributes
======================================================
showRaid = [BOOLEAN] -- true if the header should be shown while in a raid
showParty = [BOOLEAN] -- true if the header should be shown while in a party and not in a raid
showPlayer = [BOOLEAN] -- true if the header should show the player when not in a raid
showSolo = [BOOLEAN] -- true if the header should be shown while not in a group (implies showPlayer)
nameList = [STRING] -- a comma separated list of player names (not used if 'groupFilter' is set)
groupFilter = [1-8, STRING] -- a comma seperated list of raid group numbers and/or uppercase class names and/or uppercase roles
strictFiltering = [BOOLEAN] - if true, then characters must match both a group and a class from the groupFilter list
point = [STRING] -- a valid XML anchoring point (Default: "TOP")
xOffset = [NUMBER] -- the x-Offset to use when anchoring the unit buttons (Default: 0)
yOffset = [NUMBER] -- the y-Offset to use when anchoring the unit buttons (Default: 0)
sortMethod = ["INDEX", "NAME"] -- defines how the group is sorted (Default: "INDEX")
sortDir = ["ASC", "DESC"] -- defines the sort order (Default: "ASC")
groupBy = [nil, "GROUP", "CLASS", "ROLE"] - specifies a "grouping" type to apply before regular sorting (Default: nil)
groupingOrder = [STRING] - specifies the order of the groupings (ie. "1,2,3,4,5,6,7,8")
maxColumns = [NUMBER] - maximum number of columns the header will create (Default: 1)
unitsPerColumn = [NUMBER or nil] - maximum units that will be displayed in a singe column, nil is infinate (Default: nil)
columnSpacing = [NUMBER] - the ammount of space between the rows/columns (Default: 0)
columnAnchorPoint = [STRING] - the anchor point of each new column (ie. use LEFT for the columns to grow to the right)
so how would i do if i wanted to put "showParty" in my party settings? i have party and raid placed at the same spot :p
anyways, here is how it looks now, this is _with_ raid frames top-left
http://i13.tinypic.com/6u7e8ll.jpg
why show that amount of debuff as a mage?
I have a question regarding spawning party frames. The oUF:Spawn function creates the party header, whereas other people (Industrial for example) spawn party1..party5 instead of calling oUF:Spawn("party"). Myself I'm spawning party1..party5, and works fine, I'm just wondering if there's anything I miss by not creating the party header?
Thanks in advance.
you can move all 5 frames by moving the bottom one.. all i can think of right now
Classcolored HP bars, classcolored backgrounds (power/hp), leadericon...
http://mikma-wow.googlecode.com/svn/trunk/oUF_ABF/
mind sharing the settings ? or, better, whole UI ? =)))
On the picture you can see oUF, oUF_Lily, oMinimap, oChat and Fane, all (except Fane) is heavily modified to my taste.
Play around with it to find your taste. I will not put out oUF_Pelim for public _yet_, want it to work properly first (got alot of missing features, bugs/errors atm)
actually, "unit" is seen as "unit" by the parser. and since unit isnt a valid unitid, it doesnt work.
Its giving you this error because there is a problem with the unitid, and since the unitid = nil, in the code its like UnitIsPVP() which is why BugSack tells you it needs "unit"(unitid like player/target/party1/etc, in quotes)
dont remember if you already have one, but make sure you have a "if (unit) then" before the pvp update func.
if yes already, then maybe try UnitIsPVP(tostring(unit)) but not sure if it would fix something lol
It will drop the alpha to 20% of Party/Raid(only) UF's that are not within range of a designated spell.
I will most likely add a secondary spell for target range check. (ie: i want Arcane Intellect for party/raid, and Frostbolt for target range check...)
on a side note, ill do some more testing but i think im gonna add a timer(faster than the global update one) specially for updateAggro and updateRange cause atm they are on updateHealth/global update and it doesnt seem enough.
the global update is on 0.5 sec, but you could try to put a 0.25 or something for aggro.
as a mage (or any other party buffer) you can just buff a party member near you and the rest of that persons party will be buffed no matter where they are (even out of range).
say you stand at vashj or something and half party 2 is at entrance, rest is near you. Buff the one near you and everyone in the group will get buffed.
layout.lua