Player Resource Consortium

 

Author Topic: Pale Master question.  (Read 15793 times)

0 Members and 1 Guest are viewing this topic.

February 24, 2012, 01:40:56 PM
Reply #15
  • Adept
  • *
  • Posts: 34
  • Karma: +0/-0
  • Gender: Male
  • Doom of Worlds
    • View Profile

Cool, read it and it doesn't seem too opaque to me, I'll try it out tonight.  Thanks.


February 24, 2012, 02:32:16 PM
Reply #16
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

It's really easy - you just need to edit GetArcanePRCLevels() function in prc_inc_castlvl.nss and recompile all scripts calling PRCGetCasterLevel().


February 27, 2012, 02:17:49 PM
Reply #17
  • Adept
  • *
  • Posts: 34
  • Karma: +0/-0
  • Gender: Male
  • Doom of Worlds
    • View Profile

It's really easy - you just need to edit GetArcanePRCLevels() function in prc_inc_castlvl.nss and recompile all scripts calling PRCGetCasterLevel().

Maybe for a builder, but I seem to be a bit retarded in that area, it seems.  I pulled out the Pale Master entry from prc_inc_castlvl, modified it so it looked like all the full caster entries, then pasted it in among them and saved the .nss.  Then I ran it through the nsscompiler, yet I still get only one caster level every other level.  I'm at a loss as to what to do, or even where all the files are that call PRCgetcasterlevel (heck, I may not even understand the compiler).  Is there a tutorial or something for idiots?


February 27, 2012, 02:40:52 PM
Reply #18
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

This is how I would do that:
1. extract prc_include.hak to c:\prc_include
2. edit prc_inc_castlvl.nss like this:
Code: [Select]
           +  (GetLevelByClass(CLASS_TYPE_BLADESINGER,        oCaster) + 1) / 2
           +  (GetLevelByClass(CLASS_TYPE_BONDED_SUMMONNER,   oCaster) + 1) / 2
           +  GetLevelByClass(CLASS_TYPE_PALEMASTER,         oCaster)
           +  (GetLevelByClass(CLASS_TYPE_HATHRAN,            oCaster) + 1) / 2
           +  (GetLevelByClass(CLASS_TYPE_HAVOC_MAGE,         oCaster) + 1) / 2
           +  (GetLevelByClass(CLASS_TYPE_SPELLSWORD,         oCaster) + 1) / 2
           +  (GetLevelByClass(CLASS_TYPE_THRALL_OF_GRAZZT_A, oCaster) + 1) / 2
3. extract prc_spells.hak to c:\prc_spells
4. copy nwnnsscomp.exe to c:\prc_spells
5. start windows command line and change dir to c:\prc_spells
Code: [Select]
cd c:\prc_spells6. compile all scripts with this command:
Code: [Select]
nwnnsscomp.exe -o -g -i c:\prc_include *.*7. use compiled scripts to create new prc_spells.hak (overwrite the old one)
8. edit classes.2da and in ArcSpellLvlMod column for pale master put 1 instead of 2.
9. add edited classes.2da to prc_2das.hak

That's all ;)


February 28, 2012, 12:49:32 PM
Reply #19
  • Adept
  • *
  • Posts: 34
  • Karma: +0/-0
  • Gender: Male
  • Doom of Worlds
    • View Profile

Cool. That's a whole lot more than I knew how to do.  Thanks for that and with that bit of knowledge I ought to be able to do stuff on my own in the future.  (I was clueless on the compiler, I'd just been dragging and dropping haks like I was operating DosBox or something...D'oh!)
« Last Edit: February 28, 2012, 12:51:58 PM by Siradein »