The Gold Road Chapter – which includes the Scribing system – and Update 42 is now available to test on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/656454/

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.