Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,38 +0,0 @@
tlk.dialog tlk => 'c:/games/NeverwinterNights/NWN/dialog.tlk',
custom => 'C:/Documents and Settings/user/Desktop/PRC Stuff/prc/tlk/prc_consortium.tlk';
meta dir => 'C:/Documents and Settings/user/Desktop/PRC Stuff/prc/2das';
$TLKBASE = 16830956;
$CLASSNAME = 'Occular Adept';
$nRowMax = 411;
$nRow = 0;
for($nRow=1; $nRow<$nRowMax; $nRow++)
{
$nRealSpellID = lookup 'cls_spell_ocu', $nRow, 'RealSpellID';
$nTlkLineNo = $nRow+$TLKBASE;
$nTlkEntry = $CLASSNAME+' '+tlk.getstrref lookup 'spells', $nRealSpellID, 'Name';
$nMetamagicFeat = lookup 'cls_spell_ocu', $nRow, 'ReqFeat';
$nMetamagicTlk = '';
if(($nMetamagicFeat != '****') and ($nMetamagicFeat != ''))
{
$nMetamagicTlk;
if($nMetamagicFeat eq 29)
{ $nMetamagicTlk = '(quicken)'; }
if($nMetamagicFeat eq 33)
{ $nMetamagicTlk = '(silent)'; }
if($nMetamagicFeat eq 37)
{ $nMetamagicTlk = '(still)'; }
if($nMetamagicFeat eq 12)
{ $nMetamagicTlk = '(extend)'; }
if($nMetamagicFeat eq 11)
{ $nMetamagicTlk = '(empower)'; }
if($nMetamagicFeat eq 25)
{ $nMetamagicTlk = '(maximize)'; }
$nTlkEntry = $nTlkEntry+' '+$nMetamagicTlk;
}
print "$nRow $nRealSpellID $nMetamagicFeat $nMetamagicTlk $nTlkLineNo $nTlkEntry \n";
tlk.setstrref $nTlkLineNo, $nTlkEntry;
}
tlk.dialog custom => '>';
/*This feat opens the spellbook for this class. This is a conversation and feat driven version of the normal spellbook. Instead of appearing on the spell radial, they will appear on the class radial instead. Also, you may be able to use the spell after you have cast all your uses. No spell will result, but you will spend a round trying to cast it.*/

View File

@@ -1,73 +0,0 @@
<html>
<head>
<title>Player Resource Consortium :: Manual :: PrC building :: New Spellbooks</title>
</head>
<body>
<br>How to use the new spellbook generator excel spreadsheet
<br>
<br>First, make sure you have the latest spells.2da file imported into the excel spreadsheet. To do this:
<ol><li>File</li>
<li>Open</li>
<li>[select spells.2da]</li>
<li>Open</li>
<li>Delimited</li>
<li>Next</li>
<li>Space</li>
<li>Finish</li>
<li>[select cell a4]</li>
<li>{End}</li>
<li>{Shift+RightArrow}</li>
<li>{End}</li>
<li>{Shift+DownArrow}</li>
<li>{Ctrl+C}</li>
<li>[select cell a4 in the "input spells" worksheet in the newspellbooks spreadsheet]</li>
<li>{Ctrl+V}</li></ol>
<br>
<br>Make sure the Location reference (Location!B3) points to a valid location on your hard disk,
preferably NOT where the PRC 2da files are. Make sure you keep the trailing slash.
<br>
<br>Fill out the spells.2da, feat.2da, iprp_feats.2da, and tlk starting row locations.
<br>
<br>Switch to the "spellbooks" worksheet. Here every class is listed with ALL its spells
even those not created yet. Create a new section on the far right hand side following
the layout of the others.
<br>
<br>Copy the 3 columns you just created, except for the header row, and copy'n'paste
them into "Location" worksheet just below the Label, Spelllist and Level columns.
<br>
<br>Delete any spells that arent created yet and move spells below those up to create a single
continuous block.
<br>
<br>For the first spell in your list, fill out the "spellscript prefix" and "lable prefix" columns.
Then duplicate them down the list by selecting each in turn and double-clicking in the
small box that appears to the bottom right of the cell. Fill in cls_feat_start in the same
manner.
<br>
<br>At this point, the 2da files are ready to be exported. Select each of the following worksheets
in turn, iprp_feats feat spells cls_spell cls_feat_template, and for each of them press Ctrl+Shift+M
then select "Write 2da file".
<br>This will output the 2da files into the location you specified earlier. Rename the cls_spell.2da
file to have the same ending as that classes cls_feat_*.2da file, for example cls_spell_barb.2da for
the barbarian. For iprp_feats.2da, feat.2da, and cls_feat_template.2da, you have to splice the rows
into the PRC versions of those files, removing any spare end rows as apropriate.
<br>
<br>For the spells per day, you have to make a cls_spbk_*.2da file manually. I suggest copying
one of the existing ones and then editing that. Remember that 0 spells for a level can have
bonus spells added to it, but a null value (****) cannot.
<br>
<br>Each spellbook needs to have its own set of scripts. I suggest you make a copy of the
prc_ocu_*.nss files and edit/rename them for your class. You need to replace the class constant
inside the file and rename the file to match the "spellscript prefix" you specified in the
spreadsheet
<br>
<br>There are several functions that need to be expanded to include any new spellbook.
<br>inc_newspellbook needs the constants updating at the top, SPELLBOOK_ROW_COUNT,
SPELLBOOK_IPRP_FEATS_START, and SPELLBOOK_IPRP_FEATS_END, as well as updating GetAbilityForClass()
to include the new class.
<br>inc_lookups needs MakeLookupLoopMaster() updating following the example of the other spellbooks.
<br>prc_inc_spells needs GetIsArcaneClass() and/or GetIsDivineClass() updating to include the new
spellbook.
<br>
<br>To do: Tlk entries
</body>
</html>