Thread: Combat Icon
View Single Post
06-29-09, 04:10 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,953
Well, looking at the layout files Solo, Party and Raid10 layouts have a section that covers the size of the icon. You can change it and see how it works. You may need to move it as well which would be in the same area.

Files to look at in each case are:
nUI_UnitSkin_Raid10Target.lua
nUI_UnitSkin_PartyTarget.lua
nUI_UnitSkin_SoloTarget.lua

And the block of code to look for ( an example from the Solo version is here ) looks like the below. The size value should be all you need to change but you might need to fiddle with the yOfs and xOfs if the size effects the positioning:

Code:
		["Combat"] =
		{
			anchor =
			{
				anchor_pt   = "TOPLEFT",
				relative_to = "$parent_Portrait",
				xOfs = 0,
				yOfs = -2.5,
			},		
			options =
			{
				enabled = true,
				size    = 35,
				inset   = 0,
				strata  = nil,
				level   = 2,
			},
		},
Of course .. if it is the 25Raid version you are working with then that isn't there but if I recall correctly from other posts by Scott that you can add the appropriate block in but I've not done that myself to confirm whether its possible.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818