Is There Any Way to Override Hak Scripts Without a New Hak?
Balkoth
Member Posts: 161
This is an issue that came up when I was helping someone. They're using a hak which changes some spells, but we're trying to NOT have a few of the changes. Basically want 95% of the changes. Unfortunately, changing the script in the module is overridden by the script in the hak. Is there any way around this short of adding a new hak with higher priority?
0
Comments
What I’m saying is to either remove the script from the hak and move it to your module or put an updated version back in the hak. Not remove the hak entirely.
It's reasonable to have a build team version of the Hak that you do own.
We have a server Hak that's empty for players, but full of all kinds of overrides for builders plus server.
Dave
-Dave
Top hak is your friend here.
Also, you can't just delete those things from your module as long as the module uses the hak, because the next time you load the module those scripts will be put right back where they were.
---------------
Now, if the only thing that hak file is giving you are changed spell scripts (and not 2da files, spell icons, or anything else), you could always export the spell scripts you want from it, remove the hak, and add the spell scripts directly to the module.
Now, keep in mind this is from experience with the 1.69 toolset. The NWN:EE toolset may or may not behave exactly the same.
1. Open the script-containing hak with nwhak, select the spell scripts (both .nss and .ncs files), and export them to a folder somewhere.
2. Open the module in the toolset, remove the script hak from the module. Save under a slightly different module name (just in case).
3. Close the toolset, restart it, and reopen the module.
4. Copy the exported script files into your modules/temp0 folder (this has all the resources in the module).
5. Edit a script in the toolset. Doing so should refresh the list of scripts in the module. Your exported scripts should show up now, and you should be able to edit them however you see fit.
6. Save.
module hak > patch hak > override.
to
override > Module hak > patch hak
cause override is something I want to override no matter if it is from the orginial rules or hak pack
just a suggestion.
assuming this is multiplayer, in singleplayer where you cannot control player's haks you must use top hak