tatsuo
03-11-2007, 09:45 PM
i am wondering how i could put an experience bar under the mp in the player unit frame. anyone that could help please do. thanks.
evilhyde
03-12-2007, 11:32 AM
Open you Layout.lua and look for:
Nurfed_Unit_xp = {
type = "StatusBar",
strata = "LOW",
StatusBarTexture = nrf_ffsbar,
children = { bg = { type = "Texture", layer = "BACKGROUND", Texture = nrf_ffsbar, VertexColor = { 0, 0, 1, 0.25 }, Anchor = "all" },
text = { type = "FontString", layer = "OVERLAY", FontObject = "Nurfed_UnitFontSmall", JustifyH = "CENTER", ShadowColor = { 0, 0, 0, 0.75 },
ShadowOffset = { -1, -1 }, Anchor = "all", vars = { format = "$cur/$max $rest $perc" }, }, },
vars = { ani = "glide" }, --globally adds glide to all xp bars
},
If its not there just copy and paste it at the beginning of your Layout.lua.
And then you have to add the following line at the "childframes" from your Player Unit.
Nurfed_UnitsLayout.Layout = {
player = {
children = {
xp = { template = "Nurfed_Unit_xp", size = { 170, 9 }, Anchor = { "TOPLEFT", "$parentmp", "BOTTOMLEFT", 0, -1 }, }, --xp bar
the rest is aligning so you have to play around with this for a while.
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.