Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can also do subraces (if scripted for support in some aspects) using additional racial type rows although you'd need to edit a fair chunk of spells which make assumptions on what is humanoid (for instance Charm Person). This also obviously doesn't allow favoured enemies to work correctly either. Additionally any hardcoded aspects of lines 0 - 6 would not apply to those races "subraces".


2da Column Information

Column NameExampleValid ValuesDescription
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
TextThe name of the race for the benefit of human readers. Unused by the game.
Abrev
TextThe two-letter abbreviation for this race. Not used in the game as far as we know.
Name
TLK entryA StringRef for the name of this race (capitalized).
ConverName
TLK entryA StringRef for the adjective form of this race (capitalized).
ConverNameLower
TLK entryA StringRef for the adjective form of this race in lowercase.
NamePlural
TLK entryA StringRef for the name of members of this race (capitalized, plural).
Description
TLK entryA StringRef for the description of this race (shown during character creation).
Icon
Icon resrefNew for NWN:EE presumably the icon used for the race at character select.
Appearance
appearance.2da line referenceThe ID of the row in appearance.2da that defines the default appearance for members of this race. (In particular, this is the appearance given to player characters of this race during character creation.)
StrAdjust
IntegerThe racial modifier to strength for members of this race.
DexAdjust
IntegerThe racial modifier to dexterity for members of this race.
IntAdjust
IntegerThe racial modifier to intelligence for members of this race.
ChaAdjust
IntegerThe racial modifier to charisma for members of this race.
WisAdjust
IntegerThe racial modifier to wisdom for members of this race.
ConAdjust
IntegerThe racial modifier to constitution for members of this race.
Endurance

Ignored. This field contains remnants of a (pre-release) definition of the movement speeds of the playable races. However, by the time the game was released, race-based speed definitions were discarded in favor of creaturespeed.2da.
Favored
classes.2da line referenceThe ID of the row in classes.2da that defines the favored class of this race.
FeatsTable
2da resref name

The name of the .2da file (without the extension) defining the racial feats gained from taking this race.

Bioware used the naming format race_feat_*.2da which you can safely ignore (but can help to keep them together).

Note the feats listed here not always are functional just informational like Quick to Master. The unhardcoded columns allow some like Quick to Master to be retooled/changed now however.

Biography
TLK entryA StringRef for the default biography of this race, which is the default description provided for player characters during character creation.
PlayerRace11 or 0

1 = playable race

0 = non-playable race

Does not seem to affect the script command GetIsPlayableRacialType.

Constant
TextIgnored. The NWScript symbolic constant for this racial type. This is ignored by the game and is only for the reference of the human reader.
AGE
IntegerThe default age for player characters of this race.
ToolsetDefaultClass
classes.2da line referenceThe default class selected by the Toolset when creating a non-player character of this race.
CRModifier1Float valueUsed for CR calculations in the toolset, which affect XP given for defeating monsters.
NameGenTableA

dwarf

elf

gnome

halfing

halforc

human

Resref of an LTR file minus the "f" or "m"

Unhardcoded random name generation file used for this race during PC character generation.

From niv: "LTR files are relatively simple probability lists and letter lookup tables for various parts of the name. I can look into writing up some docs on it, but editing them comfortably will require more than a spec."

These probably ommit the "f" and "m" part. So not sure if you can use "familiar" as an option here. Test and replace this line if you find you can (or can generate new ones).

NameGenTableBAs aboveAs above.

Unhardcoded random name generation file used for this race during PC character generation.

Half elves use this to have human and elf names available.

ExtraFeatsAtFirstLevel1**** or IntegerIf set it adds this many extra feats at first level - ie; human trait sets this to 1
ExtraSkillPointsPerLevel1**** or IntegerIf set it adds this many extra skill points at each level up. ie; humans have this set to 1.
FirstLevelSkillPointsMultiplier4Integer

The amount of skill points at first level are multiplied by this, for instance a 10 intelligence Human Cleric gets 4 * (2 + 1) = 12 skill points at level 1. A Half-Orc Cleric would get 4 * (2 + 0) = 8 skill points at level 1.

You can set this to 0 to have level 1 characters not get any skill points.

AbilitiesPointBuyNumber30IntegerAmount of points available for point buys. ruleset.2da contains some overarching options to do with this as well.
NormalFeatEveryNthLevel3IntegerThe amount of levels between normal feats. EG: 3 means you get a feat at level 1, 3, 6, 12, 15. 4 would mean 1, 4, 8, 12, 16.
NumberNormalFeatsEveryNthLevel1IntegerAmount of feats gained when NormalFeatEveryNthLevel level occurs, plus level 1.
SkillPointModifierAbilityINTSTR, DEX, CON, WIS, INT, CHA3 letter code for an ability modifier used to provide additional skill points on level up. If blanked (****) it will not provide any. If the column is missing it will default to INT.
FavoredEnemyFeat261feat.2da line reference

The feat used for Favored Enemy. This unhardcodes the Favored Enemy feats.

It is very useful to replicate Subraces pretty much entirely from an engine perspective.

EG: Favored Enemy: Elf is 261. If you create the "Drow" racial type, you can then have that race be thought of as an Elf by Favoured Enemy: Elf.


2da Contents

1.82.8169.20

Code Block
2DA V2.0

     Label                  Abrev     Name      ConverName     ConverNameLower     NamePlural     Description     Icon     Appearance     StrAdjust     DexAdjust     IntAdjust     ChaAdjust     WisAdjust     ConAdjust     Endurance     Favored     FeatsTable          Biography     PlayerRace     Constant                           AGE      ToolsetDefaultClass     CRModifier     NameGenTableA     NameGenTableB     ExtraFeatsAtFirstLevel     ExtraSkillPointsPerLevel     FirstLevelSkillPointsMultiplier     AbilitiesPointBuyNumber     NormalFeatEveryNthLevel     NumberNormalFeatsEveryNthLevel     SkillPointModifierAbility
0    Dwarf                  Dw        22        5583           5588                23             251             ****     0              0             0             0             -2            0             2             20            4           RACE_FEAT_DWARF     8157          1              RACIAL_TYPE_DWARF                  50       4                       1              dwarf             ****              ****                       ****                         4                                   30                          3                           1                                  INT
1    Elf                    El        24        5584           5589                25             252             ****     1              0             2             0             0             0             -2            30            10          RACE_FEAT_ELF       8158          1              RACIAL_TYPE_ELF                    120      10                      1              elf               ****              ****                       ****                         4                                   30                          3                           1                                  INT
2    Gnome                  Gn        26        26             4919                27             253             ****     2              -2            0             0             0             0             2             20            10          RACE_FEAT_GNOME     8159          1              RACIAL_TYPE_GNOME                  45       10                      1              gnome             ****              ****                       ****                         4                                   30                          3                           1                                  INT
3    Halfling               Hl        28        28             4920                29             254             ****     3              -2            2             0             0             0             0             20            8           RACE_FEAT_HALF      8160          1              RACIAL_TYPE_HALFLING               20       8                       1              halfling          ****              ****                       ****                         4                                   30                          3                           1                                  INT
4    HalfElf                He        30        5586           5590                31             255             ****     4              0             0             0             0             0             0             30            ****        RACE_FEAT_HFELF     8161          1              RACIAL_TYPE_HALFELF                21       4                       1              elf               human             ****                       ****                         4                                   30                          3                           1                                  INT
5    HalfOrc                Ho        32        32             4922                33             256             ****     5              2             0             -2            -2            0             0             30            0           RACE_FEAT_HFORC     8162          1              RACIAL_TYPE_HALFORC                18       0                       1              halforc           ****              ****                       ****                         4                                   30                          3                           1                                  INT
6    Human                  Hu        34        34             4923                35             257             ****     6              0             0             0             0             0             0             30            ****        RACE_FEAT_HUMAN     8163          1              RACIAL_TYPE_HUMAN                  18       4                       1              human             ****              1                          1                            4                                   30                          3                           1                                  INT
7    Aberration             Ab        525       525            5001                63235          525             ****     102            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_ABERRATION             25       11                      1.3            ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
8    Animal                 Am        526       526            5002                63236          526             ****     93             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_ANIMAL                 20       12                      0.95           ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
9    Beast                  Be        527       527            5003                63237          527             ****     174            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_BEAST                  20       21                      ****           ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
10   Construct              Ct        528       528            5004                63238          528             ****     92             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_CONSTRUCT              1000     13                      1.3            ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
11   Dragon                 Dg        529       529            5005                63239          529             ****     41             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_DRAGON                 500      18                      0.825          ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
12   Humanoid_Goblinoid     Gb        533       533            5006                63240          533             ****     86             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_HUMANOID_GOBLINOID     8        14                      ****           ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
13   Humanoid_Monstrous     Mn        536       536            100972              536            536             ****     119            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_HUMANOID_MONSTROUS     18       15                      1              ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
14   Humanoid_Orc           Or        537       537            5008                63241          537             ****     140            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_HUMANOID_ORC           14       14                      ****           ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
15   Humanoid_Reptilian     Rp        538       538            100973              63242          538             ****     134            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_HUMANOID_REPTILIAN     20       14                      1              ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
16   Elemental              Em        539       539            5010                63243          539             ****     60             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_ELEMENTAL              100      16                      1.1            ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
17   Fey                    Fe        540       540            5011                540            540             ****     51             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_FEY                    100      17                      1              ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
18   Giant                  Gi        541       541            5012                63245          541             ****     78             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_GIANT                  18       22                      1              ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
19   Magical_Beast          Mb        542       542            100970              63246          542             ****     73             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_MAGICAL_BEAST          20       23                      1              ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
20   Outsider               Oe        543       543            5014                63247          543             ****     38             0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_OUTSIDER               300      24                      1.1            ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
21   DELETED                Og        ****      ****           ****                ****           ****            ****     ****           ****          ****          ****          ****          ****          ****          ****          ****        ****                ****          ****           ****                               ****     ****                    ****           ****              ****              ****                       ****                         ****                                ****                        ****                        ****                               INT
22   DELETED                On        ****      ****           ****                ****           ****            ****     ****           ****          ****          ****          ****          ****          ****          ****          ****        ****                ****          ****           ****                               ****     ****                    ****           ****              ****              ****                       ****                         ****                                ****                        ****                        ****                               INT
23   Shapechanger           Sh        546       546            5017                63248          546             ****     171            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_SHAPECHANGER           18       25                      ****           ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
24   Undead                 Un        547       547            5018                547            547             ****     186            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_UNDEAD                 20       19                      1.3            ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
25   Vermin                 Vr        548       548            5019                548            548             ****     159            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_VERMIN                 4        26                      1.1            ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT
26   DELETED                Oc        ****      ****           ****                ****           ****            ****     ****           ****          ****          ****          ****          ****          ****          ****          ****        ****                ****          ****           ****                               ****     ****                    ****           ****              ****              ****                       ****                         ****                                ****                        ****                        ****                               INT
27   DELETED                Ol        ****      ****           ****                ****           ****            ****     ****           ****          ****          ****          ****          ****          ****          ****          ****        ****                ****          ****           ****                               ****     ****                    ****           ****              ****              ****                       ****                         ****                                ****                        ****                        ****                               INT
28   INVALID_RACE           ****      ****      ****           ****                ****           ****            ****     ****           ****          ****          ****          ****          ****          ****          ****          ****        ****                ****          ****           ****                               ****     ****                    ****           ****              ****              ****                       ****                         ****                                ****                        ****                        ****                               INT
29   Ooze                   Oo        84437     84437          84438               84437          84437           ****     470            0             0             0             0             0             0             0             ****        ****                0             0              RACIAL_TYPE_OOZE                   100      38                      1.1            ****              ****              ****                       ****                         4                                   30                          3                           1                                  INT

...