Jump to content

Home

Question about modding PrCs


l33tleboy

Recommended Posts

Well, as part of some crazy rebalance ideas I have, I've been thinking of putting the old level 20 cap back in, but this would only make sense if the game could be modded so the PC is able to get a PrC at level 10, instead of getting it at level 15 as it is now. Is this possible? Any ideas about how could this be done?

Link to comment
Share on other sites

from all I read here you should be able to do that by editing the triggering of kreia's script so instead of an if pc == 15 a pc == 10.

But since I have no scripting or modding experience as of yet I don't know how or where this should be done, heck I don't even know how the triggering script looks like.

Link to comment
Share on other sites

To change the level at which the pc will be able to get a prestige class to level 10, extract c_pc_prestige.nss

 

and chage the following line:

if ( ( nLevel >= nCompareAmount ) && ( ( nAlign <= nAlignLow ) || ( nAlign >= nAlignHigh ) ) ) return TRUE;[/size]

 

for this one:

if ( ( nLevel >= 10 ) && ( ( nAlign <= nAlignLow ) || ( nAlign >= nAlignHigh ) ) ) return TRUE;[/size]

 

and finally, compile your script.

Link to comment
Share on other sites

I'm having trouble trying to compile this script.

 

When I run the compiler (and yes I have the right one), I get the following error message.

 

Compiling: c_pc_prestige.nss
c_pc_prestige.nss(9): Error: Undeclared indentifier "GetScriptParameter"
c_pc_prestige.nss(12): Error: Undeclared indentifier "GetScriptParameter"
c_pc_prestige.nss(15): Error: Undeclared indentifier "GetScriptParameter"
Compilation aborted with errors

Link to comment
Share on other sites

It looks like your compiler is using the Kotor1 nwscript.nss instead of Kotor 2's.

 

If you are using Hazard X script compiler, make sure you put nwscript.nss in the same folder as nwnsscomp.exe. read the notices in this post to make sure you are doing everything ok: http://www.lucasforums.com/showthread.php?s=&threadid=143681

 

 

You can also use Fred Tetra's new compiler for Kotor 1 and 2: http://www.lucasforums.com/showthread.php?s=&threadid=145516

Just make sure you specify the right game: -g 1 for Kotor 1 and -g 2 for kotor 2.

(I'll update the tutorial a bit later to include this new compiler)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...