Interface

Neverwinter Nights 2 UI is based upon XML files, TGA images and DDS(?) files.

In the XML files is where the UI elements are defined such as size and position, but also more advanced settings and scripts to some extent.

Targa (.tga) files are images files which can be edited in most image-editing programs like photoshop. The targa files consists of one layer and 4 channels, 3 channels for RGB and 1 channel for Alpha. When drawing in an alpha channel, black represents 100% transparency, white 0% transparancy, some gray colors between are halftransparent. When saving .tga files, do not save with the original name, use a new name and remember to change the association in the correct XML file too. Saving with the original name will make NWN2 load the original images, even if you've replaced them in the UI folder.

When doing UI changes, you have to put the files in your My Documents/Neverwinter Nights 2/ folder and it's a good idea to save the original files in the /program directory.