NWNWiki
NWNWiki
3,719
pages
This article covers the layout of the file; for the default contents, see diffsettings.2da (contents).

The diffsettings.2da file is the .2da that defines the effects of the difficulty setting. It differs from most .2da files in that both the columns and the rows have special meanings.

Columns of diffsettings.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.
Name A descriptive name identifying the purpose of the row. This is for the benefit of human readers and is ignored by the game.
DMEasy The settings used for the "Very Easy" difficulty setting.
Easy The settings used for the "Easy" difficulty setting.
Normal The settings used for the "Normal" difficulty setting.
Hardcore The settings used for the "Hardcore" difficulty setting.
DMPlayers The settings used for the "Very Difficult" difficulty setting.


Rows of diffsettings.2da
Name Possible values Description
NoCriticalOnPC 0, 1 Determines whether or not non-player characters can inflict critical hits upon player characters.
NoAoOWithRanged 0, 1 Determines whether or not using a ranged weapon in close combat initiates an attack of opportunity.
NoAoOWithPotion 0, 1 Determines whether or not using a potion in close combat initiates an attack of opportunity.
MinPCDamagePercent 0 to 100 Determines the minimum damage (as a percentage) inflicted by player characters.
MaxNPCDamagePercent 0 to 200 Determines the maximum damage (as a percentage) inflicted by non-player characters.
MinHP1 0, 1 Determines whether or not a player character's hit points can go below 1.
MassiveDamage 0, 1 Previously indicated if massive damage rules were in effect, but this is no longer used.