damagelevels.2da controls the GUI in showing how damaged a creature is. It is formatted above a creature's head, under the name.

Hardcoded Information

The levels that each HP band is for is hardcoded and sent from the client as an line ID number, this is a purely client side 2da file that displays the right string reference.

Note NWNX can alter the information sent to the client (ie the line ID) so it could give you 6 options to use but at arbitrary HP levels or even for another purpose. The colours are hardcoded however.

2da Column Information

Column NameValid ValuesDescription
LabelTextNames of damage levels for the benefit of human readers. Unused by the game.
STRING_REFTLK EntryA StringRef for the name of damage levels.

2da Default Contents

LabelSTRING_REFDescription
UNINJURED6409Default text shown when a creature's current hit point percentage is between 100% and 95%
BARELY_INJURED6410Text changes from 'Uninjured' to 'Barely Injured' once a creature's current hit point percentage goes below 95%
INJURED6411Text changes from 'Barely Injured' to 'Injured' once a creature's current hit point percentage goes below 75%
HEAVILY_WOUNDED6412Text changes from 'Injured' to 'Badly Wounded' once a creature's current hit point percentage goes below 50%

NEAR_DEATH

6413Text changes from 'Badly Wounded' to 'Near Death' once a creature's current hit point percentage goes below 25%
DEAD6414Default text changes from 'Near Death' to 'Dead' once a creature's current hit point percentage reaches 0%
  • No labels