PRC Manual - Installation Guide


You will need: The PRC

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:

  1. Open the module using the toolset (or other software, if not using windows).
  2. 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.

  3. 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.
  4. Import prc_consortium.erf (and prc_ocfix.erf if this is a Bioware campaign modue)
  5. Add the following module event scripts:

    EventScript
    OnAcquireItemprc_onaquire
    OnActivateItemprc_onactivate
    OnClientEnterprc_onenter
    OnClientLeaveprc_onleave
    OnCutsceneAbortprc_oncutabort
    OnHeartbeatprc_onheartbeat
    OnModuleLoadprc_onmodload
    OnPlayerDeathprc_ondeath
    OnPlayerDyingprc_ondying
    OnPlayerEquipItemprc_equip
    OnPlayerLevelUpprc_levelup
    OnPlayerRestprc_rest
    OnPlayerRespawnprc_onrespawn
    OnUnaquireItemprc_onunaquire
    OnPlayerUnequipItemprc_unequip
    OnUserDefinedprc_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.

  6. 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
  7. Save the module