...
This is the most useful information for many basic edits.
| Data Type | NWN Explorer Name | Size (in bytes) | Value Limits | Description | Notes |
|---|---|---|---|---|---|
| BYTE | UINT8 | 1 | 0 to 255 | Unsigned single byte | Smallest unit to store so also used for booleans |
| WORD | UINT16 | 2 | 0 to 65535 | Unsigned integer | UINT16 in Explorer |
| DWORD | UINT32 | 4 | 0 to 4294967296 | Unsigned integer | |
| DWORD64 | 8 | 0 to roughly 18E18 | Unsigned integer | ||
| SHORT | 2 | -32768 to 32767 | Signed integer | ||
| INT | INT32 | 4 | -2147483648 to 2147483647 | Signed integer | |
| INT64 | 8 | Roughly -9E18 to +9E18 | Signed integer | ||
| FLOAT | FLOAT | 4 | Floating point value | ||
| DOUBLE | 8 | Double-precision floating point value | |||
| CExoLocString | variable | Localized string. Contains a StringRef DWORD, and a number of CExoStrings, each having their own language ID. | |||
| CExoString | STRING | variable | Non-localized string | Commonly used in the toolset (ie user set per-module) | |
| CHAR | 1 | 1 character | Single character byte | ||
| CResRef | RESREF | 16 | 16 characters | Filename of a game resource. Max length is 16 characters. Unused characters are nulls. | |
| VOID | variable | Variable-length arbitrary data | Used to store things like sqlite data on BICs or Modules/Saves | ||
| Struct | ENTRY | variable | A complex data type that can contain any number of any of the other data types, including other Structs. | Used to lay out data in the GFF, eg; level data in a BIC | |
| List | LIST | variable | A list of Structs. | ||
| Binary | variable | Binary data |