Author Topic: Haks not loading  (Read 503 times)

Legacy_Cebrimal

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Haks not loading
« on: July 08, 2012, 10:09:55 am »


               I have been playing NWN off and on for years, and built some very nice things in the toolset.  I decided I felt like trying to make a module from scratch.  To my dismay, right from the beginning I run into a problem.

I downloaded some item, placeable and tileset hak packs from the vault.  I added them all to the module, and the tileset ones work, but none of the other content imported.  Is there something obvious I missed? One of the haks said it required version 1.29 or better, so I shouldn't need anything else to see it's content in the equipment list I would think. 
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Haks not loading
« Reply #1 on: July 08, 2012, 10:21:25 am »


               You might want to try out multiple copies of a blank "test module", then adding each hak to a single copy of that module.  This should tell you exactly which hak is not working properly.

If it turns out they all work properly individually in a module, then the problem likely stems from haks higher in the hak order overridding resources from the haks lower in the full hak list.

Often this might be multiple copies of various 2da files.  If you are using multiple haks with new placeables, the problem is likely the highest hak's placeables.2da file does not have the lines for the models from the lower ordered haks.  You'd need to extract the placeables.2da file from each hak (you can open them using NWN/utils/nwhak.exe, right click on the file name you want and "export"), open them in a 2da editor or just in Notepad (plain text editor), and copy the "new models" lines from the lower ordered placeables.2da files into the one for the higher ordered hak.  Once you copy those lines in (moving/renumbering them if they would overwrite data in the higher hak), save the file and add it back into your top-level hak (open again with nwnhak.exe, then just drag/drop the updated hak into the list).

If such 2da issues is the case, the other models are technically there, but NWN isn't seeing them since they aren't in the uppermost placeables.2da file.
               
               

               


                     Modifié par The Amethyst Dragon, 08 juillet 2012 - 09:22 .
                     
                  


            

Legacy_Cebrimal

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Haks not loading
« Reply #2 on: July 08, 2012, 06:46:23 pm »


               This makes some sense.  Thanks.  I wasn't expecting another learning curve...
               
               

               
            

Legacy_Mr. Versipellis

  • Full Member
  • ***
  • Posts: 236
  • Karma: +0/-0
Haks not loading
« Reply #3 on: July 09, 2012, 02:38:35 pm »


               You are likely having .2DA issues, but another thing that could be causing trouble is that you simply don't have the blueprints in your module - these are the palette entries which contain information on the item itself which will appear in-game. While this is not always the case, most hakpaks don't add blueprints - just the models. This means that the toolset recognises that there are more models and textures for it to work with, but not that more items or placeables (e.g. swords or tables) have been added - you'll have to make your own item through the wizard or otherwise. Most placeable creators provide an ".erf" file, which imports the blueprints that they made into your module. You add these with the "import" function, which should add them to the relevant palette - have you done this?
               
               

               


                     Modifié par Mr. Versipellis, 09 juillet 2012 - 01:39 .