Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Feat.2da

From NWNWiki

Jump to: navigation, search
 

The feat.2da file controls the available feats that are included in the game. It specifies any restrictions the feat has, any scripts that are fired on use, and any other information governing the use of the feat. Refer to Feat.2da (table) for a layout of the actual file.

[edit] Column Descriptions

Column nameDescription
ID (no actual header}Sequentially numbered. This field identifies the item property to the game engine. The game engine actually ignores the value in this field and sequentially numbers the records as it reads them, so it is good practice to keep the entries in this field sequentially numbered to avoid confusion.
LabelA text value identifying the feat associated with the item property. It is not used by the game engine, but makes it easier to locate specific feats within the file. All spaces should be replaced with underscores ( _ ).
FeatA StringRef indicating the name of the feat, which will be displayed in the game.
DescriptionA StringRef indicating the description of the feat, which will be displayed in the game.
IconThe value of this field is the filename of the tga file that is the icon for this feat. It is usually prefixed as ife_, for icon feat, followed by an abbreviation of the feat name. The total length of this name must be 16 characters or less.
MINATTACKBONUSThe minimum attack bonus a character must have to be able to select this feat.
MINSTRThe minimum strength ability score a character must have to be able to select this feat.
MINDEXThe minimum dexterity ability score a character must have to be able to select this feat.
MININTThe minimum intelligence ability score a character must have to be able to select this feat.
MINWISThe minimum wisdom ability score a character must have to be able to select this feat.
MINCONThe minimum constitution ability score a character must have to be able to select this feat.
MINCHAThe minimum charisma ability score a character must have to be able to select this feat.
MINSPELLLVLThe minimum spell level a spellcasting character must be able to cast in order to select this feat.
PREREQFEAT1If this feat requires another feat to be selected before this one may be chosen, the ID number of the required feat will be in this column. The character must have this prior feat.
PREREQFEAT2Same as PREREQFEAT1.
GAINMULTIPLEValue of 0 (false) or 1 (true). Determines whether or not the feat may be gained multiple times.
EFFECTSSTACKValue of 0 (false) or 1 (true). Determines whether the effects of this feat stack with effects of the same type.
ALLCLASSESCANUSEValue of 0 (false) or 1 (true). Determines whether all classes can use this feat or not. If 0 (not), the appropriate class feat 2da files (cls_feat_*) determine whether or not this feat is available to the character.
CATEGORYThis determines how the AI treats this feat. It is an ID value in categories.2da.
MAXCRThe maximum challenge rating a character may have to be able to select this feat.
SPELLIDThe ID number in spells.2da for the equivalent spell script to run for this feat, if it needs one.
SUCCESSORThe ID number of the feat which follows this feat. For example, the Disarm feat has the ID number of Improved Disarm in this column.
CRValue
USESPERDAYThe number of times per day this feat may be used. A value of **** is unlimited.
MASTERFEAT
TARGETSELFValue 0 (false) or 1 (true). Determines whether this feat targets the character using the feat.
OrReqFeat0Similar to the PREREQFEAT columns above, this is the ID of a required feat the character needs to be able to select this feat. This column works with the other OrReqFeat columns in that the character is only required to have ONE of the feats specified in these columns. Used in conjunction with the PREREQFEAT columns, one can specify that a character must have feat x (PREREQFEAT) and one of feats y or z (OrReqFeat).
OrReqFeat1Same as OrReqFeat0.
OrReqFeat2Same as OrReqFeat0.
OrReqFeat3Same as OrReqFeat0.
OrReqFeat4Same as OrReqFeat0.
REQSKILLThe ID value in skills.2da of a required skill the character must have to be able to select this feat.
ReqSkillMinRanksThe minimum number of ranks the character must have of REQSKILL to be able to select this feat.
REQSKILL2The ID value in skills.2da of a required skill the character must have to be able to select this feat.
ReqSkillMinRanks2The minimum number of ranks the character must have of REQSKILL2 to be able to select this feat.
ConstantThe name of the script constant used to represent this feat in scripts. It is usually a combination of FEAT_ + the value of the LABEL column. Constants are actually defined either in nwscript.nss or another script file. The constant name in this field has no bearing on any scripts, and is probably for reference purposes only.
TOOLSCATEGORIES
HostileFeatValue 0 (false) or 1 (true). Determines whether the use of this feat is considered as a hostile act.
MinLevelThe minimum level a character must have to be able to take this feat. Works with MinLevelClass.
MinLevelClassThe ID value of the corresponding class from classes.2da the character must have MinLevel levels in.
MaxLevelThe maximum character level allowed a character to be able to select this feat.
MinFortSaveThe minimum fortitude saving throw bonus a character must have to be able to select this feat.
PreReqEpic
ReqAction
Rate this article:
Share this article: