Maintenance for the week of December 16:
• PC/Mac: No maintenance – December 16
• NA megaservers for patch maintenance – December 17, 4:00AM EST (9:00 UTC) - 12:00PM EST (17:00 UTC)
• EU megaservers for patch maintenance – December 17, 9:00 UTC (4:00AM EST) - 17:00 UTC (12:00PM EST)
The issues on the North American megaservers have been resolved at this time. If you continue to experience difficulties at login, please restart your client. Thank you for your patience!

How is a custom texture file referenced in the XML attributes?

Hav0ch
Hav0ch
Soul Shriven
I'm creating some custom images just to dress up my UI. Everything I have found says it must be a DDS (DTX5) file format so that's what I have created.
These files have been placed directly under my addon folder in a sub-folder titled "Textures".
I'm using the <Texture ... textureFile="subfolder/filename.dds" > attribute to try to locate the file.
All I get is black. Tried deleting shader.cooked file and reloading but that didn't work.
I guess I have 2 questions: 1) where do I place the custom textures, and 2) how do I reference them in the XML file.
  • votan73
    votan73
    ✭✭✭
    The path is relative to the "Addons" folder, not your addon.
    <Texture ... textureFile="Textures/subfolder/filename.dds" >

    Also make sure the width and height is dividable by 8.
  • Hav0ch
    Hav0ch
    Soul Shriven
    Thanks for the quick response.

    To clarify, the file path should be ... "addonFolder/subfolder/file.dds"?
  • votan73
    votan73
    ✭✭✭
    yes.
  • Hav0ch
    Hav0ch
    Soul Shriven
    Success!

    NOTE for anyone saving with Paint.net, the DXT5 option is not the correct choice. See the image below to get a working DDS file for ESO.

    3wluasmt1ix8.png
Sign In or Register to comment.