NWNWiki
NWNWiki
3,719
pages

The cls_bfeat_*.2da files are the .2da files that define when a class gets bonus feats. These files are used only when referred to by the "BonusFeatsTable" column of classes.2da.

These .2da's have 60 rows (numbered 0 to 59), even though only 40 rows are normally relevant, as player characters are limited to level 40. (The extra rows could be used when a non-player character is given levels with the LevelUpHenchman() NWScript command.) These .2da's additionally have a blank row between the headers and row 0.

Columns of cls_bfeat_*.2da
Name Description
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.

The class level to which this row applies is the row number plus one (provided this starts at 0; the HotU prestige classes start this at 1, presumably to reduce confusion within the file).

Bonus The number of bonus feats gained by a character at this class level.

The files of this type that are provided in the standard game are named for the (playable) class to which they are associated. Specifically, the standard files of this type are

  • cls_bfeat_archer.2da,
  • cls_bfeat_asasin.2da,
  • cls_bfeat_barb.2da,
  • cls_bfeat_bard.2da,
  • cls_bfeat_blkgrd.2da,
  • cls_bfeat_cler.2da,
  • cls_bfeat_divcha.2da (for champions of Torm),
  • cls_bfeat_dradis.2da,
  • cls_bfeat_drag.2da,
  • cls_bfeat_dru.2da,
  • cls_bfeat_dwdef.2da,
  • cls_bfeat_fight.2da,
  • cls_bfeat_harper.2da,
  • cls_bfeat_kensei.2da (unused; incomplete implementation of weapon master),
  • cls_bfeat_monk.2da,
  • cls_bfeat_pal.2da,
  • cls_bfeat_palema.2da,
  • cls_bfeat_pdk.2da,
  • cls_bfeat_rang.2da,
  • cls_bfeat_rog.2da,
  • cls_bfeat_shadow.2da,
  • cls_bfeat_shiftr.2da,
  • cls_bfeat_sorc.2da,
  • cls_bfeat_wiz.2da, and
  • cls_bfeat_wm.2da.