Skip to content

Can't add custom character portraits into NWN:EE toolset ---SOLVED---

lautasantennilautasantenni Member Posts: 9
edited May 18 in Builders - Toolset
Hi!

So my problem is this, I can't get the toolset to display custom portraits.

All the portraits are in correct .TGA format and dimensions, they do work in-game, if I want to try to use them as PC portraits.


But even though I've done this:
  1. Used nwnexplorer.exe to extract the portraits.2da -file, and added in the portraits into it (using the portraits already in it as an example for correct flag values).
  2. Then I've used the nwhak.exe to create a new .hak file, and the name is under 16 letters, all lower case, no white spaces, for the actual .hak -file or any of the files contained within it, or even in the file description.
  3. Then I've added the hak as custom asset for the module, via: Edit -> Module Properties -> Custom Content -> <Selected the correct hak> -> Add -> OK -> Save

Even after closing and opening the toolset and the module again, the portraits.2da and the portrait files do not get loaded in. I can't use them for the NPCs, they do not even show up in the portrait selection under any category, not any race, gender or plot (which they are supposed to be under).

I've tried different combinations of; different index numbers, different racial and gender categories, different file names, different file format (.dds and .tga) but none seem to work. The issue is not that the portrait is not displayed correctly, but it is not listed at all.

The hak is located/stored under ...Documents\Neverwinter Nights\hak

Here's an example line I've used in the portraits.2da:

2027 test_ 0 1 **** 1 ****

Files contained in the .hak are:

test_h.tga 256x512 (256x400)
test_l.tga 128x256 (128x204)
test_m.tga 64x128 (64x100)
test_s.tga 32x64 (32x50)
test_t.tga 16x32 (16x25)

Hak Pak Conflict Analysis reports that the portraits.2da file in the .hak is overriding Standard Resources, and the Complete Resources list lists all the files correctly, i.e. the portrait files, and the portraits.2da -file.


Does anyone have any insight what the issue could be? I've even tried to put the portraits.2da into the override folder too, but nothing.




EDIT:

I figured it out, the *file names* need to have po_ -prefix.
Post edited by lautasantenni on
Sign In or Register to comment.