Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   Neverwinter Nights 1 & 2 Also SoU & HotU Forum (http://www.ironworksforum.com/forum/forumdisplay.php?f=16)
-   -   Haks from NWN (http://www.ironworksforum.com/forum/showthread.php?t=36193)

Evil Intentions 08-13-2003 01:50 AM

I have some hak paks for NWN such as the gauntlet/glove hak. It won't let me load a SoU game if that hak is in my override folder. Anywhere I can get hak paks that are compatible or ways to fix current haks? Thanks

Luvian 08-13-2003 02:09 AM

Hak should not be in the override folder. Put them in your hak folder.

Evil Intentions 08-13-2003 10:57 PM

I put the bracer hak in the hak folder and then the pictures of the up/down bracers for the bullet slot in the override folder but when i try to create a new game it crashes, does anybody know if there is an updated version of the bracers hak available and if so a link to it would be greatly appreciated [img]smile.gif[/img]

Luvian 08-14-2003 01:13 AM

Are you sure it's related to the hak? Did you try removing it and starting a game?

Evil Intentions 08-14-2003 09:23 PM

The zip for bracers hak has the following things in it:

iit_bracer_001 - 012.tga
bracer.hak
baseitems.2da

I put the bracer hak in the hak folder, then I put the iit_bracer pics and the baseitems.2da in the override. I'll try putting the bracer.hak in the hak folder and then the tga's in the override and see if i leave the baseitems.2da out if that will work. It not I'll try something else. Thanks for the reply. If I knew how this hak thing worked I would probably just attempt to fix the older version hak to work with SoU v1.30. Any good links to show tutorials on creating haks?

Evil Intentions 08-15-2003 12:44 AM

Ok I put the bracer.hak in the hak folder and the tga's in the override folder, and left the 2da file out of the override folder. It works in changing the direction of the pictures of the bracers, making them rather short and fat in the gloves box but still can't put them in the bullets slot. So it's the 2da file. Does anybody know how to modify it to work with 1.30 or if there is an updated file out there?

andrewas 08-15-2003 06:51 AM

The trouble is that NWN adds some new basetypes (grenadelike comes to mind) and so a baseitems.2da extracted from the original NWN will cause trouble.

(Hey, its a theory and it makes a kind of sense)

If I'm even remotely correct, what you will have to do is extract the new baseitems.2da and modify it the same way the baseitems.2da from the hak is. I think youll have to look for the bracers/gloves entry and change the equippable slots field, but there could be other changes.

I dont know how the NWN community normaly does these things, but I work with the infintity engine and it turns out NearInfinity is capable of reading a NWN .key and extracting the files, so you can use that. It will report 'unknown file type' if you try and mess with any of the aurora-specific file formats, but .2da is an old standard. Other teambg tools (WinBiff and so on) dont handle unknown filetypes very well and crash.

<s>But first, have a look on the NWN vault and see if there isnt an update for this hak already, its not really a complex change so I would expect it to be out by now.</s> Got bored and searched myself. Not there. Ill download it tonight and see how the file has changed, cant be that hard to do. Cant it?

[ 08-15-2003, 07:05 AM: Message edited by: andrewas ]

Luvian 08-15-2003 03:31 PM

If you change the place of your bracers entriesy in the 2da file, you will have to rename all your textures, models and other files in the hak file, too, and all internal name of the models. To change the internal name of the models, open a model file in a text editor, and change all mention of the old name to the new name.

Of course I'm assuming this hak add new items, if all it does is replace the apparance of already existing bracers, you won't have to do that.

Evil Intentions 08-15-2003 04:42 PM

Thanks guys for your comments. If there is one thing I have figured out from this thread it's that I need to research how to modify code like making haks and such. I think I'll start searching for that info today. Thanks again.

andrewas 08-15-2003 07:19 PM

I just extracted the baseitems.2da from SoU, and put it into the override. unmodified. It crashed.

Hypothesis: NWN dosent like .2da files in the override folder since version 1.30

Hypothesis: NearInfinity appears to extract .2da files correctly, but actualy dosent.

Hypothesis: SoU overrides original files rather than replaces them, so I am in fact extracting the original NWN baseitems.2da

If 1 is true, theres no way that I know of to fix it. .2da files are simple enough that I dont believe 2 can be correct. If its 3, then more investigation is needed. At this moment, Im leaning towards 1, but Ill have another look tomorrow.

Theres some gibberish is the readme about adding the .hak to the original campaign module, see if doing it that way rather than through the override folder works any better.

andrewas 08-16-2003 06:05 AM

Cant belive I missed the second keyfile. So obvious when you think about it.

Anyway to fix this hak yourself, look for nearinfinity (it needs a java VM installed on your computer to run, you can get one from sun if you need to) and point it at the XP1.key in your neverwinter nights folder. Navigate to baseitems.2da and export it. (alternately, the 2da you need is stored in xp1.bif, notpad should be able to pick it out. Examine the baseitems.2da from the hak to see what it looks like.) You'll need to open it in notepad or similar, and change the first three fields of the bracers entry which is near the end. The sizes are easy enough to figure out, just change it from 2,1 to 1,2 or vice versa. The equipable slot field should be changed from 0x00008 to 0x01000 .

You may also want to change the stacking limits on rings, amulets and so on, as was done in the original hak, but thats optional.

The .tga files contain the new graphics, the .2da contains the new rules, put all of them in the override and you have a bracers slot where your bullet slot used to be, just as in the original hak.

Or at least it worked for me when I tested briefly. Bracers of Armour +1 work correctly as far as I can tell.

[ 08-16-2003, 06:42 AM: Message edited by: andrewas ]

Luvian 08-16-2003 06:42 AM

Oh... this is not an item hak, but a rules modification hak? I should have paid more attention...


All times are GMT -4. The time now is 08:44 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved