View Single Post
11/02/14, 09:41 AM   #5
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
- You should use either XML or LUA for creating your controls, not both at the same time.

- Not all DDS files will be displayed. If you add any image to the addons folder, it wont be loaded until you restart game client (image must be present in addons folder when game is started). Second reason why image could not be displayed is invalid DDS format. Make sure that image dimensions are power of 2 - 2, 4, 8, 16, ... 128, 256, 512, ... If your image does not fit, make it bigger and then set texture coordinates to show only the part of the image - <TextureCoords top="0" bottom="1" left="0" right="1" />, coordinates are normalized numbers between 0 and 1, topleft point has coordinates 0,0 and bottomright has coordinates 1,1.
If you want to test if the issue is caused by image and not by some mistake in addon code use one of ingame textures, for example "EsoUI/Art/Login/loginBG_ourosboros.dds" or "EsoUI/Art/Lockpicking/lock_body.dds".

Last edited by Garkin : 11/02/14 at 09:58 AM.
  Reply With Quote