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

The ruleset.2da file is a .2da that was added by Beamdog in Neverwinter Nights Enhanced Edition patch 1.79 to expose various ruleset constant definitions that were previously hardcoded in the game to allow servers and custom content creators to override various ruleset settings. Unlike other .2da files that are packed inside the game's .bif package files, ruleset.2da is a loose file located in the ovr folder in the game's installation directory.

Some ruleset changes on multiplayer servers require players to install the new ruleset.2da as custom content. Beamdog has divided the rows in ruleset.2da into a server section which only requires ruleset.2da to be installed on the server, and server and clientside section for setting changes that must be installed by both server and player to function correctly.

Columns of ruleset.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.
LABEL A text value identifying the ruleset setting associated with this row. It is not used by the game engine, but makes it easier to locate specific settings within the file. All spaces should be replaced with underscores ( _ ).
VALUE A constant defining the ruleset setting.