I’ve been reading on how to create custom conversation tokens, and while I’m sure it’s not complex, I’m just not grasping how to do so with what I find on the wiki.
Can someone point the way here?
For now I just wanted to create some different gendered tokens.
Yes: I would have a look on the code at the first place
The line of the NPC should read “… my good <CUSTOM4711>. …”
And there must be a script somewhere which is executed before the line appears, which defines the contents of the token. you may put something like this in the “Text appears when” of the line.
int StartingConditional()
{
SetCustomToken (4711, "paying customer");
return TRUE;
}
Uh, that’s by far too complicated for me. A simple Method would be to define all static tokens in a single script on startup and the dynamic ones in the dialogue as shown above.
However, without seeing your line in source and some snippets of the 2da, I doubt that anybody could provide much help.
If it works locally then I’d double check that the updated stringtokens.2da is really in the hak you pushed to the server (and re-nwsync’d). Or that you don’t have an overriding old one on there somewhere?