Player Resource Consortium

 

Author Topic: Two questions...  (Read 6440 times)

0 Members and 1 Guest are viewing this topic.

September 11, 2010, 01:17:05 AM

1 Can I change the bonus spell of Archivist into Int-based? I've checked almost all the haks but found no results...

2 Why do many new base classes such as Favoured Soul have a level cap of 20? Can I simply edit classes.2da in prc_2das.hak to remove the cap? Will it work fine?

Thanx!
« Last Edit: September 11, 2010, 08:39:53 PM by william_iii »


September 12, 2010, 02:08:38 AM
Reply #1

Oh... the 1st one... finally I found it...

Here it is, Line 318 in the head file inc_newspellbook.nss in prc_include.hak:

Quote
int nAbilityMod = nClass == CLASS_TYPE_ARCHIVIST ? GetAbilityModifier(ABILITY_WISDOM, oItemPosessor) : (nAbilityScore - 10) / 2;


so Archivist appears to be a really special one... then I tried to edit it but failed, then I remember that nearly ALL scripts will have to be recompiled if a header file changes:o

So... can I just ask how to compile scripts... or do I have to drop?:|
« Last Edit: September 12, 2010, 02:12:24 AM by william_iii »


September 12, 2010, 03:38:19 AM
Reply #2
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

Quote from: william_iii

Oh... the 1st one... finally I found it...

Here it is, Line 318 in the head file inc_newspellbook.nss in prc_include.hak:

Quote
int nAbilityMod = nClass == CLASS_TYPE_ARCHIVIST ? GetAbilityModifier(ABILITY_WISDOM, oItemPosessor) : (nAbilityScore - 10) / 2;


so Archivist appears to be a really special one... then I tried to edit it but failed, then I remember that nearly ALL scripts will have to be recompiled if a header file changes:o

So... can I just ask how to compile scripts... or do I have to drop?:|


I think you would only have to compile prc_rest.nss and PRC_S_spellb.nss for this to work.
You need to extract contents of prc_include.hak somewhere (ie. c:\prc_include), modify inc_newspellbook.nss and compile prc_rest and prc_s_spellb scripts with nwnnsscomp.exe.

Command line to use (assuming nwnnsscomp.exe and the scripts are in the same dir):
Code: [Select]
nwnnsscomp.exe -o -g -i c:\prc_include prc_rest.nss
nwnnsscomp.exe -o -g -i c:\prc_include prc_s_spellb.nss


BTW cheats are *NOT* fun :P


September 12, 2010, 04:35:15 AM
Reply #3

GREAT, xwarren! Even such a question can get answer~

BTW it seems too much cheat makes spirit empty:D