...
Another alternative to look through GFF information is to use offline tools, this can be done with the nim-tools that output identical similar JSON to the game:
https://github.com/niv/neverwinter.nim
...
Note however there are two kinds of GFF - the one on the template file and the in-game struct, which you can get with ObjectToJson. These can differ quite significantly sometimes due to how the game generates fields (saved in a save game) with the active state of some parts of the creature.
nim-tools Differences to TemplateToJson
The JSON for some fields may be different, for instance nim-tools nwn_gff:
| Code Block |
|---|
"LocalizedName": {
"id": 181,
"type": "cexolocstring",
"value": {
"0": "Adorned Full Plate"
}
}, |
Similar block from the game:
| Code Block |
|---|
"LocalizedName": {
"type": "cexolocstring",
"value": {
"0": "The Name",
"id": 123
}
}, |
Due to this you might want to use the Wiki pages to find the in-game compatible key-value fields.
Finding Values Example
A simple example to find a usually inaccessible field. This doesn't use nw_inc_gff.nss so explains step by step the process of parsing the array of information.
...