YerghaizVerot
New member
Hey everybody. So long story short, as the title says, I am having one heck of a time getting a custom png to load into my UI.
The window is created, and placed in the XUi file, and I can get solid color backgrounds to show up. But it seems that no matter what I do, I cannot get the png to show. Not getting any error messages either, which would at least be something.
Anyway, on with the show:
Is what I'm working with right now.
Any help or suggestions are greatly appreciated.
PS I have already tried changing it to #@modfolder. That throws an NRE exception every time
The window is created, and placed in the XUi file, and I can get solid color backgrounds to show up. But it seems that no matter what I do, I cannot get the png to show. Not getting any error messages either, which would at least be something.
Anyway, on with the show:
Code:
<window name="NODInfo" width="202" height="202" panel="Center" backgroundcolor="[black]">
<rect>
<texture name="NODLogo" depth="0" pos="1, -1" size="200, 200" texture="@modfolder:Textures/nodlogo.png" material="Materials/Transparent Colored" type="sliced" />
</rect>
</window>
Any help or suggestions are greatly appreciated.
PS I have already tried changing it to #@modfolder. That throws an NRE exception every time
Last edited by a moderator: