Versions Compared

Key

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

baseitems.2da defines (most) of the base item types in the game and allows new ones to be added.

Table of Contents

Limitations

Line Limits

There is a limit of 255 lines in baseitems.2da. It is recommended to reuse "reserved" lines for new ones. One problem with going over 255 lines is that the base item type TLK identifier will not be loaded correctly, such as in this example:

Image Added

New Armor Cannot Be Added

The "armor" line is hardcoded. There is no way to add fully functional new armor even if the slot type is defined correctly (ie it fits on the chest). This is because the actual AC value of armor is linked to the appearance.

2DA Columns

Some information on 2da columns, will be tabled later:

WeaponType

The type of weapon and the damage it does.:

...

The size of the weapon. These numbers correspond to the rows in CreatureSizecreaturesize.2da.

RangedWeapon

Index to the row in Baseitems.2da specifying the type of ammunition used by a ranged weapon. Projectile weapons point to either row 20, 25, or 27. Thrown weapons point to themselves (i.e. they are their own ammunition).

...