Files
PRC8/nwn/nwnprc/DocGen/trunk
Jaysyn904 5e9986829f 2025/10/30 Update
Improved Trip / Disarm should be Champion of Corellon bonus feats.
Crinti Shadow Marauders don't get weapon proficiencies.
Epic Dragon Shaman is 21st level.
JPM was missing epic arcane bonus feats.
Karsites & Silverbrows can enter Crinti Shadow Maarauder.
Drunken Rage can allow entry into Frostrager.
Knight of the Sacred Seal was missing FEATOR prereq for Weapon Focus: Shortsword.
Two-Weapon Defense is a general feat.
Tweaked Echoblade enchantment cost.
Added base class equpiment packages more inline with PnP & the actual package descriptions (@Cypher).
Added a modified packages.2da to support the above.
Updated Dynamic Conversation tokens as to greatly lessen the chance of conflicting with module dialogues.
Added weapon proficiencies to FeatToIprop().
Added pnp essentia scaling support for meldshaper levels over 40.
Added GetProficiencyFeatOfWeaponType().
Added GetHasSwashbucklerWeapon().
Added GetHasCorellonWeapon().
Fixed spelling for IP_CONST_FEAT_WEAPON_PROFICIENCY_NUNCHAKU.
Fixed PsyRogue's Enhanced Sneak Attack scaling.
Eldrtich Doom shouldn't target non-hostiles.
Fixed Hellfire Warlock fire resistance to work with other sources of fire resistance.
Fixed text feedback for Island in Time.
Added some DEBUG for Shadow Blade.
prc_2da_cache creature should no longer be accidently targetable, causing faction issues.
Added a PnP cat creature, for the hell of it.  Tibitz is Dragon Magizine, unfortunately.
Updated text tokens for Astral Construct convos.
Updated text tokens for soulknife's mindblade convos.
If you save vs certain fear effects, they fail to work on you for 24 hours, from that source.  (Form of Doom, Dragon Fear)
Fixed Prismatic Sphere VFX bug (@Syrophir)
Fixed Banishment bug on all Prismatic spells.
Bralani Eldarin were missing Low-Light Vision.
Fixed Lips of Rapture bug.
Prelimiary work to making Favoured Soul's Deity's Weapon closer to PnP.
Fixed Firey Burst bug.  I think.

Updated notes.
Updated PRC8 Manual.
2025-10-30 19:04:58 -04:00
..
2025-08-21 07:40:32 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00
2024-06-23 22:07:50 -05:00
2023-08-22 10:00:21 -04:00
2023-08-22 10:00:21 -04:00

Manual generator

To use the Autodoc, create rawicons/ in the location you will be running it from. This location should also contain the directory templates/ and the file settings from the CVS. Make a copy of Main Manual Files/ called manual/

Place all class, domain, (master)feat, skill and spell icons (no scrolls required) in rawicons/.


Script generator:

Use: Compile the CodeGen class. Run it: java CodeGen namePrefix templatePath 2daPaths...

where namePrefix = the base name that all the resulting scripts will share templatePath = the filename of the template used to generate the scripts 2daPaths... = any number of filenames of 2das used to fill in the blanks in the template

The template consists of normal text with the locations to be replaced with texts from the 2das marked with ~~~Identifier~~~, where Identifier is the label of a colum from one of the 2das. The label matching is case-insensitive.

The 2das are applied in the order given. This only has effect on the filename, which is built up from the namePrefix + Suffix column of each of the 2das where it is present + .nss, unless you add a new identifier from the 2da.

The 2das may contain any number of columns. Each column's label is matched against a location marked for replacement in the template. If a column labeled Suffix is present, it's value is added to the filename as described above.

See codegen_example -directory for example template and 2das. To see the results from it, run (replace \ with / if not running on windoze)

java CodeGen exa_ codegen_example\example.nss codegen_example\Foo.2da codegen_example\Bar.2da

Build Docs

As it currently goes, this seems to run best on windows (xcopy is required). There is a makefile, but xcopy + make are not cooperating with each other, so here are the commands to build the docs.

make # builds the autodoc code
xcopy "Main Manual Files" manual /iey # copies the html templates
java -Xmx1024m -Xms300m -cp "imageio_tga_1.1.0.jar;." prc/autodoc/Main # runs autodoc

This has been conveniently placed in a batch file called autodoc.bat for Windows users.

Testing the Site

You'll want to use a server to host the docs so you can load them correctly. I like python for this

python -m http.server