Player Resource Consortium

 

Author Topic: where does one find the assemble_spellbooks.bat file?  (Read 4144 times)

0 Members and 1 Guest are viewing this topic.

February 05, 2013, 09:28:28 AM
  • Adept
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile

Can someone help me find the assemble_spellbooks.bat file?  I am working on making dragons playable and need to set up their spells.  Thank you


February 05, 2013, 01:11:42 PM
Reply #1

Can someone help me find the assemble_spellbooks.bat file?  I am working on making dragons playable and need to set up their spells.  Thank you

I've never heard of it.
HEATSTROKE


February 05, 2013, 09:29:15 PM
Reply #2
  • Adept
  • *
  • Posts: 3
  • Karma: +0/-0
  • New Member
    • View Profile

I see assemble_spellbooks.bat in the root of the SVN repository, where are you looking?  The file looks like:

Quote
@echo on

java -Xmx200m -jar tools\prc.jar spellbookmaker
@echo off
echo Change AMS_VERSION in prc_inc_switch.nss!
pause
if exist tlk\prc_consortium.tlk.xml tools\xml2tlk.exe tlk\prc_consortium.tlk.xml tlk\prc_consortium.tlk
:en


February 06, 2013, 12:52:20 PM
Reply #3
  • Adept
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile

in the inc_newspellbook script it says

/* Steps for adding a new spellbook

Prepared:
Make cls_spgn_*.2da
Make cls_spcr_*.2da
Add cls_spgn_*.2da to classes.2da
Add class entry in prc_classes.2da
Add the spellbook feat (#1999) to cls_feat_*.2da at the appropriate level
Add class to GetSpellbookTypeForClass() below
Add class to GetAbilityScoreForClass() below
Add class to bKnowsAllClassSpells() below if necessary
Add class to GetIsArcaneClass() or GetIsDivineClass() in prc_inc_castlvl as appropriate
Add class to GetCasterLevelModifier() in prc_inc_spells if necessary
Add class to SetupLookupStage() in inc_lookups
Run the assemble_spellbooks.bat file
Make the prc_* scripts in newspellbook. The filenames can be found under the spell entries for the class in spells.2da.

Spont:
Make cls_spgn_*.2da
Make cls_spkn_*.2da
Make cls_spcr_*.2da
Add cls_spkn_*.2da and cls_spgn_*.2da to classes.2da
Add class entry in prc_classes.2da
Add class to GetSpellbookTypeForClass() below
Add class to GetAbilityScoreForClass() below
Add class to bKnowsAllClassSpells() below if necessary
Add class to GetIsArcaneClass() or GetIsDivineClass() in prc_inc_castlvl as appropriate
Add class to GetCasterLevelModifier() in prc_inc_spells if necessary
Add class to SetupLookupStage() in inc_lookups
Add class to prc_amagsys_gain if(CheckMissingSpells(oPC, CLASS_TYPE_SORCERER, MinimumSpellLevel, MaximumSpellLevel))
Add class to ExecuteScript("prc_amagsys_gain", oPC) list in EvalPRCFeats in prc_inc_function
Run the assemble_spellbooks.bat file
Make the prc_* scripts in newspellbook

prc_classes.2da entry:
Label       - name for the class
Name        - tlk file strref
SpellCaster - does the class cast spells? 0 = No, 1 = Yes (used for bonus spellslot item properties)
SBType      - S = spontaneous, P = prepared
AL          - does the class use Advanced Learning of any type? 0 = No, 1 = Yes
*/


February 10, 2013, 04:03:25 PM
Reply #4
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

You need to download PRC SVN repository. You'll find there this file and all other tools required to build PRC Pack.

How to: http://prc.athasreborn.com/index.php?topic=1426.msg6016#msg6016