armor.2da is the reference point for extra armor values.
Hardcoded Aspects
The ACBONUS column in this 2da is ignored by the game, instead the parts_chest.2da ACBONUS column, when rounded, references a line in this 2da for the base stats - with the line ID being the base AC bonus applied.
This means you cannot have 2 different AC types at the same AC level. EG: If you try and put in "Elven Chain" at AC value of 4 which is lower arcane spell failure and higher dexterity bonus - it is impossible. Adding line 9 or 10 would mean the AC is set to 9 or 10.
You can add higher ACs but not negative ones. EG you can have 9 AC armor.
Other hardcoded aspects of armor the game uses:
- The sounds used for the armor (don/doff etc.) and world item shown
- Rangers abilities work when the AC value (line ID) of 3 or lower
- Monk abilities work only with a base AC value of 0 (line ID 0)
- Line ID 0 - ie cloth / no AC - is hardcoded to have unlimited Dexterity Bonus (DEXBONUS see below)
2da Columns
| Column | Example Contents | Valid Values | Description and Notes |
|---|---|---|---|
| Line ID (Unmarked) | 0 | 0 or higher integer | The line ID is the AC value. This worth noting in this wiki page since it is functionally the base AC applied to the object. This means you cannot have 2 armors at the same AC level with different statistics (eg; Elven Chain Mail with a lower arcane spell failure and higher dex bonus). |
| ACBONUS | 0 | 0 or higher integer | This column is entirely unused by the game. The Line ID is used instead. |
| DEXBONUS | 100 | 1 or higher integer | The maximum dexterity bonus when worn. 100 if functionally unlimited. 0 applies unlimited dexterity bonuses. 1 and above applies a limit. Note if the line ID (ie base armor class) is 0 then this is not applied, and will always act as if 0 (unlimited). |
| ACCHECK | 0 | 0 or higher integer | The penalty to dexterity based skills when worn. |
| ARCANEFAILURE% | 0 | 0 or higher integer | Arcane spell percentage, when casting an arcane spell (not divine) it'll roll dice versus this plus the shield penalty and the spell may fail. Can be affected by item properties too. |
| WEIGHT | 10 | 0 or higher integer | Ten times the weight of this item in pounds. 500 is 50lbs in game, thus allows partials (eg 455 is 45.5lbs) |
| COST | 1 | 0 or higher integer | Base item cost. |
| DESCRIPTIONS | 1727 | TLK string reference number | Used on unidentified items and in the toolset |
| BASEITEMSTATREF | 5411 | TLK string reference number | The stats block, usually several lines like this: Base Armor Class: 0 Maximum Dexterity Bonus: None Armor Check Penalty: 0 Arcane Spell Failure: 0% Feats Required: None |
2da Contents
2DA V2.0
ACBONUS DEXBONUS ACCHECK ARCANEFAILURE% WEIGHT COST DESCRIPTIONS BASEITEMSTATREF
0 0 100 0 0 10 1 1727 5411
1 1 8 0 5 50 5 1728 5432
2 2 6 0 10 100 10 1729 5435
3 3 4 -1 20 150 15 1730 5436
4 4 4 -2 20 300 100 1731 5437
5 5 2 -5 30 400 150 1732 5438
6 6 1 -7 40 450 200 1733 5439
7 7 1 -7 40 500 600 1734 5440
8 8 1 -8 45 500 1500 1736 5441