The Loop (Games)
Do you like this video?
- This article covers the layout of the file; for the default contents, see feat.2da (contents).
feat.2da file is the .2da that defines the feats available in the game. It specifies any restrictions the feat has, links activated feats to scripts via spells.2da, and defines most other information governing the use of the feat.
|ID (no actual name)||Row numbers for the benefit of human readers. The game engine ignores the value in this field, instead generating sequential row numbers as the file is read. It is good practice to keep the entries in this field sequentially numbered to avoid confusion.|
|LABEL||A text value identifying the feat associated with this row. 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 ( _ ).|
|FEAT||A StringRef indicating the name of the feat, which will be displayed in the game.|
|DESCRIPTION||A StringRef indicating the description of the feat, which will be displayed in the game.|
|ICON||The 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.|
|MINATTACKBONUS||The minimum attack bonus a character must have to select this feat.|
|MINSTR||The minimum strength ability score a character must have to select this feat.|
|MINDEX||The minimum dexterity ability score a character must have to select this feat.|
|MININT||The minimum intelligence ability score a character must have to select this feat.|
|MINWIS||The minimum wisdom ability score a character must have to select this feat.|
|MINCON||The minimum constitution ability score a character must have to select this feat.|
|MINCHA||The minimum charisma ability score a character must have to select this feat.|
|MINSPELLLVL||The minimum spell level a spellcasting character must be able to cast in order to select this feat. To determine eligibility, a check is made in classes.2da, examining the "SpellGainTable" and either the "SpellKnownTable" (for bards and sorcerers) or the "PrimaryAbil" (for other clases).|
|PREREQFEAT1||If this feat requires another feat to be selected before this one may be chosen, the ID number of the required feat(s) will be in these columns.|
|ALLCLASSESCANUSE||Value 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.|
|CATEGORY||This determines how the AI treats this feat. It is an ID value in categories.2da.|
|MAXCR||The maximum challenge rating a character may have to be able to select this feat.|
|SPELLID||The ID number in spells.2da for the equivalent spell script to run for this feat, if it needs one.|
|SUCCESSOR||The 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||The weight of a feat in the CR calculations.|
|USESPERDAY||The number of times per day this feat may be used. A value of **** is unlimited.|
|MASTERFEAT||This number references masterfeats.2da. The master feat is used when a feat falls into a subcategory, such as the way "improved critical (longsword)" is a subcategory of improved critical.|
|TARGETSELF||Value 0 (false) or 1 (true). Determines whether this feat targets the character using the feat.|
|OrReqFeat0||Similar to the PREREQFEAT columns above, this is the ID of a required feat the character needs to select this feat. These columns are different in that the character is only required to have one of the feats specified in these columns. This can be used in conjunction with the PREREQFEAT columns to specify that a character must have feat x (PREREQFEAT) and one of feats y or z (OrReqFeat).|
|REQSKILL||The ID value in skills.2da of a required skill the character must have to be able to select this feat.|
|ReqSkillMinRanks||The minimum number of ranks the character must have of REQSKILL to be able to select this feat.|
|REQSKILL2||The ID value in skills.2da of a required skill the character must have to be able to select this feat.|
|ReqSkillMinRanks2||The minimum number of ranks the character must have of REQSKILL2 to be able to select this feat.|
|Constant||The 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||This is a hardcoded value used by the Toolset. It sets the category of the feat when using the "filter feats by category" option in the Toolset.|
1 = combat feat; 2 = active combat feat; 3 = defensive feat; 4 = magical feat; 5 = class / racial feat; 6 = other feat.
|HostileFeat||Value 0 (false) or 1 (true). Determines whether the use of this feat is considered as a hostile act.|
|MinLevel||The minimum level a character must have to be able to take this feat. Works with MinLevelClass.|
|MinLevelClass||The ID value of the corresponding class from classes.2da the character must have MinLevel levels in.|
|MaxLevel||The maximum character level allowed a character to be able to select this feat.|
|MinFortSave||The minimum fortitude saving throw bonus a character must have to be able to select this feat.|
|PreReqEpic||Indicates if only epic characters can choose this feat. A value of 1 indicates epic-only, while 0 indicates no such requirement.|
|ReqAction||0 = This is an instant feat, bypassing the action queue and without animation.|
1 = Feat activation uses the action queue and plays an animation.
Community content is available under CC-BY-SA unless otherwise noted.