PRC Manual - Installation Guide
RAR Installation Instructions
Extract the contents into the correct directories in the directory in which Neverwinter Nights is installed (the module updater can be put anywhere):
Extension | Directory |
hak | hak |
hif | hak |
erf | erf |
tlk | tlk |
Installing PRC into modules
Before installation, back up your modules. Something may go wrong or you may need the originals for patching as is the case for the Bioware campaigns.
Using the module updater:
Option | Notes |
PRC Pack | Install PRC into a module |
prc_ocfix | Installs extra fixes for the Bioware campaigns |
These options are contained within the relevant .hif files. You may also create your own .hif file for installing other content (they are plain text, see an existing one for an example).
Manual installation:
- Open the module using the toolset (or other software, if not using windows).
-
Add these haks (on top of any existing haks):
- prc_2das.hak
- prc_scripts.hak
- prc_newspellbook.hak
- prc_spells.hak
- prc_epicspells.hak
- prc_psionics.hak
- prc_race.hak
- prc_textures.hak
- prc_misc.hak
- prc_craft2das.hak
If the existing haks contain conflicting content, you must merge the contents in a new hak using the application of your choice (to be placed on top of the list).
At some point the toolset (if you are using it) will attempt to build the module. Click cancel as fast as you can, or the toolset may crash.
- Set the Custom Tlk to prc_consortium.tlk. If there already is a file there, you must merge the contents in a new tlk using the application of your choice.
- Import prc_consortium.erf (and prc_ocfix.erf if this is a Bioware campaign modue)
- Add the following module event scripts:
Event Script OnAcquireItem prc_onaquire OnActivateItem prc_onactivate OnClientEnter prc_onenter OnClientLeave prc_onleave OnCutsceneAbort prc_oncutabort OnHeartbeat prc_onheartbeat OnModuleLoad prc_onmodload OnPlayerDeath prc_ondeath OnPlayerDying prc_ondying OnPlayerEquipItem prc_equip OnPlayerLevelUp prc_levelup OnPlayerRest prc_rest OnPlayerRespawn prc_onrespawn OnUnaquireItem prc_onunaquire OnPlayerUnequipItem prc_unequip OnUserDefined prc_onuserdef If the module already has scripts attached to events (and it probably does) then you will either need to edit those scripts and add ExecuteScript("prc_xxx"); at the top of each one or make a new script that calls ExecuteScript() for both the prc script and the old event script.
- Cache these scripts:
- prc_onaquire
- prc_onactivate
- prc_onenter
- prc_onleave
- prc_oncutabort
- prc_onheartbeat
- prc_onmodload
- prc_ondeath
- prc_ondying
- prc_equip
- prc_levelup
- prc_rest
- prc_onrespawn
- prc_onunaquire
- prc_unequip
- prc_onuserdef
- prc_hitcast
- nw_ch_ac5
- nw_ch_ace
- nw_ch_ac3
- nw_ch_ac4
- nw_ch_ac6
- nw_ch_ac7
- nw_ch_ac8
- nw_ch_ac1
- nw_ch_ac2
- nw_ch_aca
- nw_ch_summon_9
- nw_ch_acb
- nw_ch_acd
- Save the module