2DA is the abbreviation for "Two Dimensional Array", a text file that contains data the game needs in order to handle some aspect of its functions. 2DAs are very easy to edit*, the only requirement is a simple text editor, such as Notepad. The only things to do are changing the content, saving the changes into the Overridefolder, and firing up the game to see the results. 2DAs originated from Infinity Engine games like Baldur's Gate.

For specific technical information on the file format of 2da files, see the official documentation located here: http://nwn.bioware.com/developers/Bioware_Aurora_2DA_Format.doc

Warnings[edit | edit source]

  • Tabs should be converted into spaces. (Alurihl: NWN2 reads 2DA with Tab separator!!!)
  • Columns are not essential, but help reading the file; The only requirement is a space between fields.
  • Spaces can be included into a string by enclosing them with quotation marks (" "), avoiding the requirement of a StringRef to a TLK.
  • Leaving a field blank using multiple spaces is not recognized correctly, use **** to note a field as blank.
    LABEL                STRINGREF      MODEL
745 Creature             46656          c_creature
746 "Some Creature"      ****           c_somecreature
747 Some_OtherCreature   46657          c_othercreature

  • 2DA changes are based server sided. Custom changes to 2DAs are overridden by the server in a multiplayer session.
  • 2DA hakpacks override 2DAs in the Override folder.

Server side override and hakpack override based on speculation

List of 2DAs[edit | edit source]

ambientmusic.2da Defines music used in game..
appearance.2da Defines character models and assigns them to a number.
baseitems.2da Defines items used in game.
chargenclothes.2da List of clothes that the class wears after the character creation
classes.2da Defines character classes and their tablefiles.
cls_atk_*.2da Base Attack Bonus of the class
cls_bfeat_*.2da List of how many bonus feats the class takes at each level. Fighters are a good example of a class with bonus feats
cls_feat_*.2da List of which feats the class can learn
cls_savthr_*.2da Base Saving Throws the class gets at each level
cls_skill_*.2da Class' Skills
cls_spgn_*.2da Number of available spells for class/spell
cls_spkn_*.2da Number of spells knew for class/spellincantesimo
cls_spon_*.2da List of Spontaneous Spells of the class by level
cls_pres_*.2da Prerequisites for a Prestige Class
domains.2da List of Domains
feat.2da Defines all feats, their requirements and what they do
nx2_crafting.2da NX2-SoZ Crafting Recipes
nx2_enchanting.2da NX2-SoZ Enchanting Recipes
packages.2da Starting packages. List of what a class has in the inventory, suggested skills, feats and so on for the class (each line is a 'model'). Links the pack*.2da files below into a single package.
packeq*.2da Base objects in the PC's inventory when created
packft*.2da Suggested feats for the class
packsk*.2da Suggested skills for the class
packsp*.2da Suggested spells for the class
skills.2da Skills used in-game
spells.2da Spells used in-game
soundset.2da Voice sets used in-game
spellschools.2da List of Schools of Magic
racialtypes.2da Defines races and their tablefiles
racialsubtypes.2da Defines subraces and their tablefiles
des_crft_drop.2da Defines the set of droppable crafting items
des_treas_items.2da lists all the special items
des_treas_gold.2da "Gold" treasure table

More 2DAs do exist, but these are the most essential ones for characters.

Community content is available under CC-BY-SA unless otherwise noted.