Thread Tools Display Modes
03-25-12, 05:22 PM   #1
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
Player/Target, moving cooldown bar.

I am editing my layout to my liking and trying to weed out some bugs, doing an ok job, but in a screenshot I found of a plugin, I noticed the cooldown bar was moved to show all the 'debufs' on the target similiar to how xperl works. How exactly do I enable this? ss linked below. I realize that the below shows a friendly target and buffs, but I think what Im asking is basically the same thing, also I would like these 'clickable' for the sake of mouse overs. But I think i have that mod already done.


http://s.cdn.wowinterface.com/preview/pvw27670.jpg
 
03-25-12, 06:00 PM   #2
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
trying to be a bit more clear about what Im trying to do, as shown in screenshot 1 I can remove the '2nd' cooldown bar circled in black by changing the enabled to false also circled in black. My first question is can someone explain to me the differences in this circled bar and the bar above it?

By making that change I can get my UI to screenshot 2. Much cleaner and to my personal liking in my opinion. (Other ppl may not like this, not trying to offend anyone, I just like this setup).

I am still messing with the 'range' and castbar to get them exactly where I want them, but the concept is there, the 2nd cooldown bar is gone and I still have the cooldown timers on my action bar. Fantastic, now what i have circled in red, i would like to move as shown in the screenshot from my OP. Also illustrated with an arrow in ss2. i would like these 'clickable' so i can mouseover for the details shown in the box circled in blue.

Now circled in blue, It looks like the same debufs or cooldowns listed in that nice little box. How can I hide or disable that box as I believe it shows duplicate information. unless someone can advise me otherwise.

Circled in green are the Players buffs, I kinda like these here and not next to the health mana bars, but while Im learning here, where would I modify the code in which lua to have these be moved next to the hp/mana bars should I want them to be.

Once the red is moved, and the blue is gone, I would move the range and cast bar to refit the screen. I have figured out how to do that on my own.

screenshot 1
http://img820.imageshack.us/img820/3973/90268623.jpg

screenshot 2
http://img854.imageshack.us/img854/6498/88785842.jpg


Thanks in advance, I know Im changing quite a bit here.


*edit*
Interesting, by changing what I have changed my fps go to hell like <=5, altho nui un modded seems to be dropping my fps as well, having only nui+ installed im around 35-40fps, using sli gtx480s.

Last edited by twizt3dkitty : 03-25-12 at 06:53 PM.
 
03-26-12, 01:52 PM   #3
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
anyone know why these changes kill fps? or how to finish the modifications I wanted?
 
03-26-12, 02:47 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I think you may be very much misunderstanding what all of these things are. I might suggest you have a look at this FAQ and all of the labels in the image so you're clear on what each section is.

http://www.wowinterface.com/forums/s...ad.php?t=21108

There is only *1* cooldown bar. Player buffs are only in one location and have never been next to the health bars. etc. I think after you look at the image and labels, you'll begin to see.


All of that said, the player and pet buffs, and target debuffs are defined in the ["Aura"] section of the corresponding [ World of Warcraft > Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitSkin_{panel mode}{unit}.lua ] files.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-26-12, 04:09 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
The easy way I remember where the buffs/debuffs are, are as follows:


Good Stuff at the bottom left/right. Player Buffs, Target Debuffs - We like those

Bad Stuff in the hud left/right. Player Debuffs, Target Buffs - We hate those
__________________
 
03-26-12, 05:24 PM   #6
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
thankyou both, that image made things alot clearer, so what i really want to do is hide the cooldown bar entirely and move the auras off to the side of the hud. Any ideas on why modding this makes fps go to hell however? Im going to try to start over now that I know whats what.
 
03-27-12, 03:35 PM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Not really sure why modding it would damage FPS more than it already is. There is a known issue in nUI5 with an FPS leak, but I can't see why modding the layout would change that any.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-27-12, 04:34 PM   #8
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
yea, im working with it more right now actually, but you can see in the screenshots i posted the fps drop, ill report anything I find.

looks like i disabled the wrong field when trying to hide the cooldown bar, havnt tackled auras yet, but I have the castbar and range moved to my liking while maintaining 30fps (still low for my pc, but ya win some ya lose some, and spiel had mentions a fps leak)

ss3 posted below of the fix to disable cd bar correctly for anyone that wants it, left side wordpad is correct, right side is previous mod that caused fps lag for reference.

http://img401.imageshack.us/img401/4492/87722287.jpg


here is my final product (havnt moved auras yet)
http://img844.imageshack.us/img844/193/62361013.jpg

I even hit the macro to show where Extra Action Button is placed, obviously its not there because im not in DS but you get the idea of placement.

Last edited by twizt3dkitty : 03-27-12 at 05:35 PM. Reason: fps lag fixed
 
03-27-12, 08:43 PM   #9
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
Ok, Ive got pretty much everything how I wanted it customized, and havnt seem to broken anything (YAY ME)

To get the auras setup how I wanted them, I installed your AuraButtons plugin, and modified it quite a bit, and got them to show up on the target hud where the aura buffs were, then i moved the aura buff to the lower section of the hud. by modifying the following code.


Code:
[1] =	-- debuffs
			{
				anchor =
				{
					anchor_pt   = "BOTTOMLEFT",
					relative_to = "$parent_Health",
					relative_pt = "TOPRIGHT",
					xOfs        = -22,
					yOfs        = -660,
				},		
				options =
				{
					enabled = true,
					size    = 45,
					strata  = nil,
					level   = 1,
					
					aura_type        = "harm",
					origin           = "TOPLEFT",
					player_auras     = false,
					dispellable      = false,
					horizontal       = false,
					highlight_player = false,
					aura_types       = true,
					cooldown_anim    = false,
					flash_expire     = true,
					clickable        = true,
					rows             = 3,
					cols             = 4,
					expire_time      = 10,
					hGap             = 5,
					vGap             = 20,

					timer =
					{
						enabled     = true,
						fontsize    = 10,
						justifyH    = "CENTER",
						justifyV    = "TOP",
						anchor_pt   = "TOP",
						relative_pt = "BOTTOM",
						xOfs        = 0,
						yOfs        = 1,
					},

					count =
					{
						enabled     = true,
						justifyH    = "CENTER",
						justifyV    = "MIDDLE",
						anchor_pt   = "CENTER",
						relative_pt = "CENTER",
						xOfs        = 0,
						yOfs        = 0.5,
					},
				},		
			},

Now for the aura 'bar' that the player has cast, (shown below) I have moved it to roughly where I would like it, I just need help with one last thing. I changed origin to center, and got the icons to display from right to left starting in the pixal position on my screen where I want them. But how do i make them display from left to right on this same area?


Code:
[2] =	-- debuffs
			{
				anchor =
				{
					anchor_pt   = "BOTTOM",
					relative_to = nUI_HUDLAYOUT_PLAYERTARGET.."Bottom",
					relative_pt = "TOP",
					xOfs        = 400,
					yOfs        = -110,
				},		
				options =
				{
					enabled = true,
					size    = 40,
					strata  = nil,
					level   = 1,
					
					aura_type        = "help",
					origin           = "CENTER",
					player_auras     = true,
					dispellable      = false,
					horizontal       = true,
					dynamic_size     = true,
					highlight_player = false,
					aura_types       = false,
					cooldown_anim    = false,
					flash_expire     = true,
					clickable        = false,
					rows             = 1,
					cols             = 10,
					expire_time      = 10,
					hGap             = 5,
					vGap             = 20,

					timer =
					{
						enabled     = true,
						fontsize    = 12,
						justifyH    = "CENTER",
						justifyV    = "TOP",
						anchor_pt   = "TOP",
						relative_pt = "BOTTOM",
						xOfs        = 0,
						yOfs        = 1,
					},

					count =
					{
						enabled     = true,
						justifyH    = "CENTER",
						justifyV    = "MIDDLE",
						anchor_pt   = "CENTER",
						relative_pt = "CENTER",
						xOfs        = 0,
						yOfs        = 0.5,
					},
				},		
			},
Also is this the most efficient way of doing what Im trying to accoplish?

new screenshot
http://img138.imageshack.us/img138/1059/68504273.jpg

Circled in Black are the Aura Buttons modified for target only positions around HUD and to align from left to right in 4 colomns. Player Auras are still in nui fasion.

Circled in Green is the Target Aura moved lower and hopefully aligned correctly (havnt raided yet, just used dummys)

Circled in Purple is where my casting bar could be, but i missed shadowbolt in the screencap, It is viewable in my previous ss.

Circled in Red is are the Auras/Debuffs I have cast on the target. Circled in Blue is the starting location. Now as dots drop off the particular spells change location obviously, but using the ss as an example, the spells appear on the ui in the following order. Unstable Affliction, Bane of Agony, Haunt, Shadow Embrace, Corruption, Shadow and Flame, Curse of Elements. Meaning they were cast in the inverse order (obviously threw a sb in after coe) so they display from right to left, overlapping my action bar, if they display from left to right Im set

and yes I know based on the ss's that my Heroic Will/Dream UI is going to overlap where im putting the auras, I already changed the macro to put it roughly where the shard bar is and moved the shard bar left to match.

Last edited by twizt3dkitty : 03-27-12 at 08:45 PM.
 
03-28-12, 09:32 PM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
i believe the drawing of the buttons would be hardcoded that way in the source code. Scott would be able to confirm that .
__________________
 
03-28-12, 11:01 PM   #11
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
that is not good news for me.... but thanks for the reply.. just waiting on scott to confirm if it can be changed if not i need to rethink how all this is gonna layout
 
04-01-12, 12:40 AM   #12
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
date bump, hoping scott gets a chance to read.
 
04-01-12, 06:55 PM   #13
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah... you're kinda stuck with that with the CENTER option. You'd have to use "LEFT" to do that.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Customizing Layouts » Player/Target, moving cooldown bar.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off