View Single Post
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.