Okay -- as promised earlier, here's the code you need to add health and power values to the simple HUD.
Edit [
Interace > AddOns > nUI > Layouts > Default > HUDLayouts > NoBars > nUI_UnitSkin_NoBars_Player.lua ] and add the following two sections to the layout's "
elements" section...
Code:
["Health"] =
{
anchor =
{
anchor_pt = "CENTER",
xOfs = 0,
yOfs = 0,
},
options =
{
enabled = true,
height = 2,
width = 2,
inset = 0,
strata = nil,
level = 2,
mix_health =
{
enabled = true,
barcolor = true,
fontsize = 16,
justifyH = "LEFT",
justifyV = "MIDDLE",
anchor_pt = "BOTTOMLEFT",
relative_to = nUI_HUDLAYOUT_NOBARS.."Bottom",
xOfs = -250,
yOfs = 270,
},
},
},
["Power"] =
{
anchor =
{
anchor_pt = "CENTER",
xOfs = 0,
yOfs = 0,
},
options =
{
enabled = true,
height = 2,
width = 2,
inset = 0,
strata = nil,
level = 2,
mix_power =
{
enabled = true,
barcolor = true,
fontsize = 12,
justifyH = "LEFT",
justifyV = "MIDDLE",
anchor_pt = "BOTTOMLEFT",
relative_to = nUI_HUDLAYOUT_NOBARS.."Bottom",
xOfs = -250,
yOfs = 247.5,
},
},
},
Then edit [
Interface > AddOns > nUI > Layouts > Default > HUDLayouts > NoBars > nUI_UnitSkin_NoBars_Target.lua ] and add the following two sections to its "
elements" section...
Code:
["Health"] =
{
anchor =
{
anchor_pt = "CENTER",
xOfs = 0,
yOfs = 0,
},
options =
{
enabled = true,
height = 2,
width = 2,
inset = 0,
strata = nil,
level = 2,
mix_health =
{
enabled = true,
barcolor = true,
fontsize = 16,
justifyH = "RIGHT",
justifyV = "MIDDLE",
anchor_pt = "BOTTOMRIGHT",
relative_to = nUI_HUDLAYOUT_NOBARS.."Bottom",
xOfs = 250,
yOfs = 270,
},
},
},
["Power"] =
{
anchor =
{
anchor_pt = "CENTER",
xOfs = 0,
yOfs = 0,
},
options =
{
enabled = true,
height = 2,
width = 2,
inset = 0,
strata = nil,
level = 2,
mix_power =
{
enabled = true,
barcolor = true,
fontsize = 12,
justifyH = "RIGHT",
justifyV = "MIDDLE",
anchor_pt = "BOTTOMRIGHT",
relative_to = nUI_HUDLAYOUT_NOBARS.."Bottom",
xOfs = 250,
yOfs = 247.5,
},
},
},
Save both files and reload WoW or do a '/nui rl' and you should get a screen that looks something like this...
.