Author Topic: The Player Resource Compendium  (Read 2799 times)

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #60 on: May 14, 2011, 06:35:07 pm »


               Thanks!

Figured would toss up another update. Gone back through and redid all my work for the various files I had done. I'm probably around 85% now done on a rough guess. Finished the spells.2da today. Now only a few minor changes to the races and the remainder of the spell files to go...

My question is for changing the spells known for the PRC classes. There is two files it looks like I can adjust. Wondering if I can change only 1 or if both are needed. The files are cls_spcr_*classname* (seems to control the spells known and what level they are known at) and cls_spell_*classname* (seems to contain the spell information, description, etc).

My suspicion/guess would be only the spcr one needs to be changed, but I'd like to make sure that is true. What do you say?

Thanks for all the help. '<img'>
               
               

               
            

Legacy_Alex Warren

  • Sr. Member
  • ****
  • Posts: 326
  • Karma: +0/-0
The Player Resource Compendium
« Reply #61 on: May 14, 2011, 07:42:37 pm »


               It's not that easy. If you want to add new spells to class spell lists, you will have to download our SVN repository. There is a tool that will help you with that. Without that you would have to edit both 2da files (cls_spcr_* and cls_spell_*) and spells.2da, feat.2da, cls_feat_*.2da, iprp_feats.2da and tlk table.
It's not worth the hassle.
               
               

               
            

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #62 on: May 14, 2011, 07:50:32 pm »


               Ah sorry I don't think I was clear in the last post!

I'm simply talking about blocking the spells again. Not adding. Making it so they can't use certain ones (or even select them). Wondering if I need to adjust both those files or just one of them to block the spells being selected.
               
               

               
            

Legacy_Alex Warren

  • Sr. Member
  • ****
  • Posts: 326
  • Karma: +0/-0
The Player Resource Compendium
« Reply #63 on: May 14, 2011, 09:50:18 pm »


               Oh, we already talked about it:

'Try removing spell from cls_spell_*.2da file and put it in your top hak. Than copy 'fresh' prc_data.* files to your database directory (ie from rar package). conversation options are cached into database the first time you enter PRC module and if you change any cls_spell_*.2da later, you won't see your changes.'

Read this thread again ;p
               
               

               
            

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #64 on: May 14, 2011, 10:47:00 pm »


               Hey I just found the cls_spcr_ files and wasn't sure. This stuff is all new to me. '<img'>
               
               

               
            

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #65 on: June 09, 2011, 03:56:15 am »


               So this is hopefully my last question for you (fingers crossed) as I'm nearly finished, but when altering the spell lists (cls_spell_*.2da) for the various classes, is it alright just to delete the line I don't want? I've so far been replacing the offending lines with * as I know these are ignored, but it's a bit annoying. Figured I'd see if either works. Would cut down some time on the ones remaining if so.
               
               

               
            

Legacy_Alex Warren

  • Sr. Member
  • ****
  • Posts: 326
  • Karma: +0/-0
The Player Resource Compendium
« Reply #66 on: June 09, 2011, 07:22:19 am »


               

Aleron wrote...

So this is hopefully my last question for you (fingers crossed) as I'm nearly finished, but when altering the spell lists (cls_spell_*.2da) for the various classes, is it alright just to delete the line I don't want? I've so far been replacing the offending lines with * as I know these are ignored, but it's a bit annoying. Figured I'd see if either works. Would cut down some time on the ones remaining if so.


You need to delete those lines completely - row 0 should always be empty, the rest must be other than '****'
               
               

               
            

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #67 on: June 09, 2011, 10:50:00 am »


               Much easier then. I don't suppose I should renumber them (or do I have to)? My hunches tell me not as I suspect other 2das might indicate this one by the line number meaning it would be important to leave them as they are.

Also need to go back to the skill 2da and delete those lines, I had just done what I mentioned and replaced the offending lines with *****s.

Thanks very much!
               
               

               
            

Legacy_Alex Warren

  • Sr. Member
  • ****
  • Posts: 326
  • Karma: +0/-0
The Player Resource Compendium
« Reply #68 on: June 09, 2011, 11:34:10 am »


               You can renumber them (there are some tools on the vault that will do that for you) - the file is easier to read and debug '<img'> Those files are only accessed by scripts.

And remember to refresh the database (copy prc_data.* files from prc install) or your changes will have no effect.
               
               

               
            

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #69 on: June 09, 2011, 09:36:15 pm »


               Heh figures. I should stop jinxing myself.

Anyway, what we'd like to do is add a prereq for a couple of feats in addition to what is already there. Those in question being the following:

Holy Martial Strike: Requires Epic Paladin OR Epic Champion of Torm
Unholy Martial Strike:  Epic Blackguard
Lingering Damage: Epic Rogue

Now I believe this can be done via the feats.2da since there is essentially a few lines for prereqs. That said, I can just track down the feat number for the Epic Rogue, Epic Paladin, etc feats.

The part I'm not sure on is the OR for the epic Champion or epic Paladin. Any hints or suggestions there? I haven't really got into the feat editting much so far so I'm a bit at a loss for this. Or is it possible that this is entirely more elaborate and difficult than I'm thinking as well?

In any case, thanks! If it is too difficult maybe I can just add something like 25 charisma or something required instead since I know that part is easy with the way I've been disabling other things.
               
               

               
            

Legacy_Alex Warren

  • Sr. Member
  • ****
  • Posts: 326
  • Karma: +0/-0
The Player Resource Compendium
« Reply #70 on: June 10, 2011, 06:51:34 am »


               Those feats already require epic levels o.O...
In case of Unholy Strike and Lingering Damage just put Epic Blackguard and Epic Rogue feat id in PREREQFEAT1 or PREREQFEAT2 fields.
For Holy Martial Strike put Epic Paladin and Epic Champion of Torm in OrReqFeat0 and OrReqFeat1.
This should work '<img'>
               
               

               
            

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #71 on: June 10, 2011, 10:44:20 am »


               Thanks!

Yes, we know they already require epic levels but we want them available only to those with 21+/11+ in paladin, rogue, blackguard, and champion respectfully. Otherwise any rogue that has 15 levels (8d6 sneak attack) can take Lingering damage and all you need for the other two is technically the ability to smite evil/good.
               
               

               
            

Legacy_Aleron

  • Full Member
  • ***
  • Posts: 227
  • Karma: +0/-0
The Player Resource Compendium
« Reply #72 on: June 23, 2011, 08:59:02 pm »


               Well as far as the PRC itself goes, we should be starting to add it to the server sometime starting next week. '<img'> Wanted to thank you for everything, really couldn't have done it without you Alex.

Also was curious, the PRC Manual online keeps giving me a HTTP 404 not found error. It's fine since I have it DLed, but was curious if something happened there?
               
               

               
            

Legacy_Alex Warren

  • Sr. Member
  • ****
  • Posts: 326
  • Karma: +0/-0
The Player Resource Compendium
« Reply #73 on: June 24, 2011, 04:59:29 am »


               PRC forums has moved to http://prc.athasreborn.com
Online manual is now on http://www.nwnprc.co...nual/index.html
               
               

               
            

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
The Player Resource Compendium
« Reply #74 on: June 25, 2011, 01:32:25 am »


               When I'm playing in the test mod, I'm unable to cast spells or access a spellbook at all on the Witch class... any ideas? I haven't edited the haks at all.