Player Resource Consortium


Recent Posts

Pages: [1] 2 3 ... 10
Help / Re: Presentations and a basic doubt
« Latest: by ThE LoSt BoY on February 21, 2018, 08:06:17 PM »
PRC Char Creator:


If that doesn't help, just do a search on 'CC' 'Char' 'Creator' or similar here.
Help / Re: Presentations and a basic doubt
« Latest: by Mindflayer on February 21, 2018, 04:38:59 PM »
You forgot to write what happens when you try to "start the new classes".

But it's probably the usual problem of not being able to select new classes and races during character creation which is normal. You need to use the java character creator, leto or some other program to make a character with those classes (or select them starting from lvl 2).
Help / Presentations and a basic doubt
« Latest: by Chilvalric on February 19, 2018, 11:05:29 PM »
Good evening to everyone,
I'm Andrea and I'm a player from the beginning of Neverwinter Nights and, then, of NWN 2.

I recently bought the Diamond version and I tried to install the PRC via .exe. The installation seems to have been successful, but when I try to start the new classes.
Did I do something wrong?

Thank you in advance! :)
Prestige Classes / Re: Difficulty becoming Shifter (PNP)
« Latest: by Atalsen on January 26, 2018, 11:42:03 PM »
For classes qualifying for PnP shifter via casting Polymorph Self, the PRC checks to see if you are *currently capable of casting it* - i.e. have at least one instance of it memorized and ready to go.

So when leveling, have one or more instances of Polymorph Self ready to go; You may need to rest (I think logging on and off will work too) to ensure the PRC/NWN recognizes the spell as ready.
Help / Re: Need little help/suggestion - Ita Admin
« Latest: by Atalsen on January 26, 2018, 11:22:53 PM »
As a recap: the Spellhook script fires before the bulk of the spell script; if the Spellhook script returns false in the X2PreSpellCastCode function, then the origional script will not fire. In this way, you can 'intercept' a spell, do something else with it, and tell the original spell not to fire.

You have to define what script (what name your script will have) to fire for spellhooking, that is where setting the module variable via SetModuleOverrideSpellscript(string sScriptName) comes in. Pick a name like "my_spell_hook" and then use that name when you create your spellhook script. I don't remember off hand if the PRC has a default value set for a spellhooking script name that you can just use without the need to set anything.

I think you know this, and that you just need helm with how the spellhook sript works. If that's not it, then let me know.

Here is an example from my own spellhook script; however, my script compiles the PRC items in it using the NWNTX Loader.exe updated toolset you can find on the NWN vault. Without that you wont' be able to use any PRC includes or functions.

Here is a partial spellhook file example for simply disabling the Continual Flame spell:

Code: [Select]
//:: Name: Spellhook script

This script handles all the spellhooking for various spells


#include "x2_inc_switches"
// allows the use of:
// SetModuleOverrideSpellScriptFinished();
// which will kill the origional spell, if we need it not to run

// Include file for PCR Spell constants
#include "prc_spell_const"

// Include file for PCR Psionic Power constants
#include "psi_power_const"

//:: Functions

void main()

// Gather all useful info about the spell
    object oCaster =  OBJECT_SELF;                  // The caster of the spell is OBJECT_SELF
    object oMagicItem = GetSpellCastItem();         // if an item cast the spell, this function gets that item
    object oTarget =  GetSpellTargetObject();       // returns the targeted object of the spell, if valid
    location locTarget = GetSpellTargetLocation();  // returns the targeted location of the spell, if valid
    int iCasterClass = GetLastSpellCastClass();     // gets the class the PC cast the spell as
    int iCastLevel = GetCasterLevel(OBJECT_SELF);   // gets the level the PC cast the spell as
    int iSpellDC = GetSpellSaveDC();                // gets the DC required to save against the effects of the spell
    int iCasterAlignment = GetAlignmentGoodEvil(OBJECT_SELF);  // Returns the good/neutral/evil constant for the caster

    int iSpell = GetSpellId();                      // returns the SPELL_* constant of the spell cast

    switch (iSpell)
//:: Spells Section

                FloatingTextStringOnCreature(ColorString(C_RED, "The Continual Flame spell is currently disabled."), oCaster, FALSE);

Basically, in the spellhook file you want to
1) Identify the spell via spell ID (GetSpellId())
2) Do something with the spell (script your own spell, call another script, whatever); in my example I play some floating text in the caster.
3) Tell the original spell NOT to fire (via SetModuleOverrideSpellScriptFinished() call)

My example just ends the spell, and doesn't do #2, but for a different fireball you could do this:

        case SPELL_FIREBALL:
                ExecuteScript("my_cust_fireball", OBJECT_SELF);

And then you can write up your own fireball script in the "my_cust_fireball" scritp file.
Help / Re: Can't create Psion with the Creator tool?
« Latest: by ThE LoSt BoY on January 20, 2018, 03:18:02 PM »
Most of the CC fraps are related to Java, although there are other Usual Suspects. There are a good deal of searchable CC fix threads still around.

If no one can find a fix, there are a couple of workarounds.

1) PM someone with a working CC with the stats, etc. you want & they PM back or post the .bic.

2) PRC Leto an existing .bic that started as a Psion at L1.
Download the PRC Leto.
Using Leto, de-level down to 1, then save.
Change the feats per marohair39's inputs here:, then save.

PRC Leto is very good to have regardless, but method 1 is recommended if no fix is found.
Help / Can't create Psion with the Creator tool?
« Latest: by LamiaCritter on January 19, 2018, 10:58:21 PM »
Howdy! I've come across an issue, that seems to only pertain to the Psion class (so far) in the character creator tool.
Everything starts out fine and well; pick gender, race, etcetera. I can pick the Psion class as well.. However, when it comes to choosing the Psionic feats, namely the specialization of the psionics, I hit a wall.
Namely, I choose the psionics specialty (doesn't matter which. Going with metacreativity as an example), and then, after I click the done button on that particular window, the entire character creator gets frozen in a waiting/ processing mode, and doesn't let me progress further. I have to restart the creation tool all over and pick a different class.

HOWEVER, if I make a character that's say... a 1 Cleric, and then multiclass into a Psion, I'm perfectly fine..

Does anyone have suggestions for fixing this issue?
Help / Re: Just a tip
« Latest: by Arbaal on January 13, 2018, 07:31:33 AM »
Prc script can be recalled by

case x (where x is the ID row in 2da spells file)

I'm very proud and happy of this :)
Help / Just a tip
« Latest: by Arbaal on January 12, 2018, 01:35:12 PM »
Hi, i've done my spellhooking script and it works.

It recalls original nwn spells (modified from prc) without problems, and it does what it's been programmed to do.

I've only a problem. The code calls the spells by constant SPELL_XXXX_XXX, by using the switch function and "case by case" script.
Prc spells does not have constants.

How can i call the prc spell scripts? Is there a syntax to recall directly the spell scripts?

Below the first part of code:
Code: [Select]
void main()
object oTarget;
int nSpell=GetSpellId();
int nSpellDC=GetSpellSaveDC();
int nCastLevel=GetCasterLevel(OBJECT_SELF);
object oCaster = OBJECT_SELF;
if (GetCasterLevel(OBJECT_SELF) > 20)
nCastLevel = (GetCasterLevel(OBJECT_SELF) + (GetLevelByXP(OBJECT_SELF)-40));

     switch (nSpell)

//*Arcane Sfera 1

         //* Evoca I
               {int nMetaMagic = GetMetaMagicFeat();
               int nDuration = nCastLevel;

and so by case.

Can you help me to recall the spell scripts in my script? I would like to edit by spellhooking the spells/epic spells effects, without importing, exporting, compiling.
General Discussion / Re: How to remove XP penalty for multiple summons
« Latest: by Half-Virus on January 09, 2018, 12:42:12 PM »
Make a text file in your override folder, name it personal_switch.2da and fill it however you like.
here's mine for example, just change file format to .2da:
Pages: [1] 2 3 ... 10