NWN2Wiki

.2da file. The 2D Array that define requirements for prestige class.

Here is a description of the various columns:

Label
The name of the row. Doesn't serve any function other than to add readability.
ReqType
The type of the requirement. DIVSPELL for divine casting level, ARCSPELL for arcane casting level. SAVE for a base save. FEAT for a feat requirement. There is also one named FEATOR, which requires that at least one of the FEATOR parameters be matched. VAR stands for variable, and means that the variable mentioned has to be positive. There may well be more of these definitions. However, VAR seems to be broken.
ReqParam1
The first parameter. This is given context by the prior column ReqType. For instance, a 1 here means Fortitude save if the ReqType column before it is SAVE. If the column name is FEAT, then this parameter determines which feat has to be acquired.
ReqParam2
Second parameter, not used that often. If the ReqType is SAVE and the first parameter is 1 (meaning fortitude save) then this parameter is the minimum value of the base save. SAVE 1 4 means that the save fortitude has to be at least 4.
Column Example Explanation Note
*void* 0 Row's ID (unique) -
Label Point_Blank_Shot Indicative name of the requirement -
ReqType FEAT Requirement type See following table for all requirement types
ReqParam1 27 First parameter for requirement See following table for more
ReqParam2 **** Second parameter for requirement Not all requirements have second parameter


Requirement types and their Param1, Param2 values[]

Type Explanation Param1 Param2
FEAT Feat. Require this feat Row ID to feat.2da Not set (****)
FEATOR Or feat. Require this feat OR any other FEATOR feats (if any) Row ID to feat.2da Not set (****)
FEATOR2 Second Or feat. Require this feat OR any other FEATOR2 feats (if any) Row ID to feat.2da Not Set (****)
RACE Race. One or many (there is no 'RACEOR') Row ID to racialtypes.2da Not set (****)
SUBRACE Subrace. Row ID to racialsubtypes.2da Not set (****)
BAB Base Attack Bonus Required Base attack bonus Not set (****)
VAR Script Variable Variable name ("X1_AllowArcher") 0 set, 1 not set
SKILL Skill. There can be multiple SKILL requirements Row ID to skills.2da Required Skill rank.
SKILLOR Or skill. Requires this skill. Class can have multiple SKILLOR requirements Row ID to skills.2da Required Skill rank.
ARCSPELL Arcane spell caster level Level Not set (****)
DIVSPELL Divine spell caster level Level Not set (****)
CLASSOR Or class. Require this class. Class can have multiple CLASSOR requirements Row ID to classes.2da Not set (****)
CLASSNOT Not class. Cannot have this class. Row ID to classes.2da Not set (****)
ARCSPELLOR Or arcane spell caster level Level Not set (****)
DIVSPELLOR Or divine spell caster level Level Not set (****)
SAVE Minimum base save Row ID to iprp_savingthrow.2da Base Saving throw amount.
SPECIALIST Specialist wizard Not set (****) Not set (****)
SPELL Required levels in a class with spellcasting. Level Not set (****)
SPELLOR Or required Spell Row ID to Spells.2da Not set (****)
SAD Sneak Attack Dice Number of dice. Not set (****)