Versions Compared

Key

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

...

2da fileLine Limit (assuming 0 start)Notes
baseitems.2da255Hardcoded due to network limitations; items may not function as intended.
classes.2da254Hardcoded due to network limitations plus "255" number is reserved as "CLASS_TYPE_INVALID"
effecticons.2da255Only NWNX or similar can have new icons added howeverNow can use new lines with EffectIcon.
feat.2da32,768

uint16 used in network however not recommended to go over 32K even if 65,536 is absolute maximum. There are likely problems with subdial feats if you do this.

skills.2da32Hardcoded due to network limitations to 255 but GUI issues make it a 32 skill limit. May only affect the "Untrained" column however? https://github.com/Beamdog/nwn-issues/issues/171
spells.2da4096Possibly the limit - needs testing, but is to do with 12 bits available for the "spell radial" entry being sent over the network. May have been removed at some point but needs fully testing.
iprp_damagecost.2da127 (or possibly 128)

Certainly going to line 129 or higher works for the server end (damage is done correctly) but the client won't show it correctly in the character sheet because it looks up 2da line as a negative (impossible). Line 159 was tested which had the string "-97 Magical Damage" since 159 - 128 = 31, and 128 - 31 = 97.

It shows correctly on items, and higher lines are safe for NPCs to use.

...