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 Name | Valid Values | Description |
---|---|---|
Label | Text | Names of damage levels for the benefit of human readers. Unused by the game. |
STRING_REF | TLK Entry | A StringRef for the name of damage levels. |
2da Default Contents
Label | STRING_REF | Description |
---|---|---|
UNINJURED | 6409 | Default text shown when a creature's current hit point percentage is between 100% and 95% |
BARELY_INJURED | 6410 | Text changes from 'Uninjured' to 'Barely Injured' once a creature's current hit point percentage goes below 95% |
INJURED | 6411 | Text changes from 'Barely Injured' to 'Injured' once a creature's current hit point percentage goes below 75% |
HEAVILY_WOUNDED | 6412 | Text changes from 'Injured' to 'Badly Wounded' once a creature's current hit point percentage goes below 50% |
NEAR_DEATH | 6413 | Text changes from 'Badly Wounded' to 'Near Death' once a creature's current hit point percentage goes below 25% |
DEAD | 6414 | Default text changes from 'Near Death' to 'Dead' once a creature's current hit point percentage reaches 0% |