Thread Tools Display Modes
09-17-12, 07:23 PM   #1
JokerGod
A Kobold Labourer
Join Date: May 2010
Posts: 1
A little help with debuffs/buffs

Hey, I'm trying to follow the layout that I have before to active them, making where you scroll over them and get a Tooltip. However, I'm not able to get into the files. They all say .lua and I apparently don't have the program to change them let alone read them. I really love using nUI, but I really need to be able to see the buffs and debuff, so a little help here please would be greatly appreciated
 
09-17-12, 09:57 PM   #2
Chmee
A Molten Giant
Join Date: Dec 2006
Posts: 960
AFAIK, buffs and debuffs are part of the nUI system. There used to be a screen shot on the nuiaddon site showing where all the features go, but it seems to have gone missing since Scott changed the site layout. Anyway, the player buffs are on the left side, just above the dashboard. Player debuffs and target buffs are in the hud. Target debuffs are on the right side, above the dashboard. They should show up. If they're not, post a screenie.

Lua files are just text.
 
09-18-12, 12:52 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,877
As chmee said the lua files are normal text files so you can edit them with something as simple as notepad.

The tooltips for the buffs and debuffs were turned off as it would cause problems for click attackers. But the setting is overridable by enabling interactivity of the aura buttons.

Folder: Interface\AddOns\nUI\Layouts\Default\HUDLayouts\PlayerTarget
File: nUI_HUDSkin_PlayerTarget_Player.lua and nUI_HUDSkin_PlayerTarget_Target.lua

PlayerTarget portion is the name of the HUD layout you use so change that accordingly.

In the player file you will see a block like this:
Code:
		["Aura"] =
		{
			[1] =	-- debuffs
			{
				anchor =
				{
					anchor_pt   = "TOPRIGHT",
					relative_to = "$parent_Health",
					relative_pt = "TOPLEFT",
					xOfs        = 40,
					yOfs        = -100,
				},		
				options =
				{
					enabled = true,
					size    = 45,
					strata  = nil,
					level   = 1,
					
					aura_type        = "harm",
					origin           = "TOPRIGHT",
					player_auras     = false,
					dispellable      = false,
					horizontal       = false,
					highlight_player = false,
					aura_types       = true,
					cooldown_anim    = false,
					flash_expire     = true,
					clickable        = false,       <<< change to true
					rows             = 3,
					cols             = 4,
					expire_time      = 10,
					hGap             = 5,
					vGap             = 20,
The target file will have something similar.

I believe that will make it so that on mouseover tooltips will appear. If memory serves me right.
__________________
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Customizing Layouts » A little help with debuffs/buffs

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