View Single Post
12-14-09, 02:57 PM   #4
Zhek
A Murloc Raider
Join Date: Dec 2009
Posts: 4
Well, one hour later and I'm stuck.

Basicly, I wanted to hardcode in the nUI.xml another bar to put over the bottombar so I could fill it in with other textures. I've down that, it shows the nUI_Dashboard5top.blp (added it on top of the far right texture, on top of it). Problem is when I go on my layout addon to replace it with a different texture, say nUI_GlossBlack5top (far right, on top of it), it doesn't replace it, which leaves a pretty lady with only legs and no top.

Here's what I changed in the codes :

In the main nUI.xml
Code:
<Texture name="nUI_BottomBars5top" file="Interface\AddOns\nUI\Layouts\Default\Art\nUI_Dashboard5top.blp" 

alphaMode="BLEND" frameLevel="1">
							<Size>
								<AbsDimension x="512" y="512" />
							</Size>
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="BOTTOM">
									<Offset>
										<AbsDimension x="768" y="842" />
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0" right="1.0" top="1" bottom="0"/>
						</Texture>
And here's the line I added to the Layout mod
Code:
nUI_BottomBars5top:SetTexture( "Interface\\AddOns\\nUI_GlossBlack\\nUI_GlossBlack5top" );
In the Layour mod, it doesn't want to replace the texture. Something tells me I didn't add the Bottombars5top texture somewhere else in a file, but I have no idea where