Map Update
Map Update
This commit is contained in:
28
_notes_/PRC Notes/notes_on_compiling.txt
Normal file
28
_notes_/PRC Notes/notes_on_compiling.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
A few notes about compiling:
|
||||
|
||||
There are a bunch of batch files at the nwnprc/ module root. These are your interface to the build system.
|
||||
The makefile depends on a machine-specific file called config.make. This file specifies the location of NWN
|
||||
on the current system and the PRC version string.
|
||||
|
||||
#begin example config.make
|
||||
NWN_DIR = E:\NeverWinterNights\NWN
|
||||
PRC_VERSION = 23a
|
||||
PRC_INSTALLVERSION = 2.3a
|
||||
#end example config.make
|
||||
|
||||
|
||||
The batch files:
|
||||
|
||||
clean.bat - Cleans all object files. Use after drastic changes to make sure no old cruft lies around. Also always to be used before building a release.
|
||||
|
||||
make.bat - Builds the makefile and then runs it
|
||||
|
||||
buildmake.bat - Builds the makefile
|
||||
runmake.bat - Runs a pre-built makefile
|
||||
|
||||
|
||||
|
||||
By default, the build process compiles each of the scripts. The scripts are then packaged into haks that are placed
|
||||
under CompiledResources. The erfs are similarly built and placed under CompiledResources.
|
||||
The tlk.xml file is converted into a tlk file.
|
||||
These generated files are also installed into their respective subdirectories under your NWN directory.
|
17
_notes_/PRC Notes/racial_SLAs
Normal file
17
_notes_/PRC Notes/racial_SLAs
Normal file
@@ -0,0 +1,17 @@
|
||||
Racial SLAs:
|
||||
|
||||
1) Add new line with to spells.2da, copy line from spell entry and update impact script to race_sla, change any class spell level entries to ****
|
||||
|
||||
2) Define new constant in prc_spell_const.nss with name pointing to newly added spells.2da line number
|
||||
|
||||
3) Add new case to race_sla.nss using constant defined in step 2
|
||||
a. Set caster level using nCasterLvl = 1;
|
||||
b. Set spell script to run using nSpell = SPELL_FAERIE_FIRE; (spell constant from prc_spell_const.nss)
|
||||
|
||||
4) Add line to feat.2da with name and description of racial SLA, make sure SPELLID column matches line number from spells.2da defined in #1. Set uses per day column
|
||||
|
||||
5) Update cls_feat_allBaseClasses.2da in \devnotes\, adding the feats under the **RacialFeats** line but before **BonusDomains**
|
||||
|
||||
6) Run update_all_base_classes_feats.bat before compile
|
||||
|
||||
7) Full compile
|
27
_notes_/PRC Notes/spont_casters
Normal file
27
_notes_/PRC Notes/spont_casters
Normal file
@@ -0,0 +1,27 @@
|
||||
Spont:
|
||||
Make cls_spgn_*.2da
|
||||
Make cls_spkn_*.2da
|
||||
Make cls_spcr_*.2da
|
||||
Make blank cls_spell_*.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_castlvl if necessary
|
||||
Add class to SetupLookupStage() in inc_lookups
|
||||
Add class to GetCasterLvl() in prc_inc_spells
|
||||
Add Practiced Spellcaster feat to feat.2da and to PracticedSpellcasting() in prc_inc_castlvl
|
||||
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
|
||||
*/
|
Reference in New Issue
Block a user