[MOD] Dialog Tags

Dialog Tags is a mod that adds dialog tags informing you about how the Nameless One's ability scores, skills, and alignment can interact with certain dialog options. This mod was inspired by a request from @Queegon in the PST mod requests thread and by the dialog systems of games like Pathfinder: Kingmaker and Pillars of Eternity.
Massive thanks to @Argent77 who restructured the code of the Alignment Tags component to provide several different options for the information provided by this mod.
Highlight Alignment Choices
This labels any dialog choice that influences The Nameless One's alignment in one of three ways (chosen at installation). Be aware that this component cannot tell if you have already selected a given dialog option that can only influence your alignment once.
Highlight Attribute Choices
This labels any dialog choice that has been influenced by The Nameless One's ability scores, skills, or in one particular instance, fire resistance. There are three different ways for this labeling to be done (chosen at installation).
The latest release of this mod is available on Github.
Example screenshot of this mod in action:
This mod is available in English, Polish (translation by @memory ), Russian (translation by @Arkie ), and Brazilian Portuguese (translation by @Felipefpl ).
Massive thanks to @Argent77 who restructured the code of the Alignment Tags component to provide several different options for the information provided by this mod.
Highlight Alignment Choices
This labels any dialog choice that influences The Nameless One's alignment in one of three ways (chosen at installation). Be aware that this component cannot tell if you have already selected a given dialog option that can only influence your alignment once.
- Vague: Dialog choices are presented as "Ethical" for Lawful/Chaotic or "Moral" for Good/Evil options.
- Informative: Dialog choices are presented as "Lawful", "Chaotic", "Good" or "Evil".
- Precise: Same as Informative, except the magnitude of the choice is also shown (e.g. "Lawful +3").
Highlight Attribute Choices
This labels any dialog choice that has been influenced by The Nameless One's ability scores, skills, or in one particular instance, fire resistance. There are three different ways for this labeling to be done (chosen at installation).
- Vague: Dialog choices are labeled with the relevant character stat ("Strength", "Pick Pockets", etc.).
- Informative: Dialog choices are labeled with the relevant character stat and a + or - depending on whether you met the requirement ("Strength+").
- Precise: Dialog choices are labeled with the relevant character stat, the required values, and whether you met the requirement ("Intelligence 12-", "Fire Resistance 20+").
The latest release of this mod is available on Github.
Example screenshot of this mod in action:
Vague Alignment

Informative Alignment

Precise Alignment

Vague Attributes

Informative Attributes

Precise Attributes


Informative Alignment

Precise Alignment

Vague Attributes

Informative Attributes

Precise Attributes

This mod is available in English, Polish (translation by @memory ), Russian (translation by @Arkie ), and Brazilian Portuguese (translation by @Felipefpl ).
Post edited by Aquadrizzt on
7
Comments
I've noticed an issue, however. It looks like alignment info is sometimes added to all responses of a dialog state in addition to the response with the alignment modification. Good examples are the various zombie dialogs.
(The problem arises if Action 0 is an alignment modifying effect. I messed up my check for whether a given response has an associated action. If it doesn't, the field defaults to 0, which means it gets modified if Action 0 would result in text modification for its response text.)
EDIT: Anddddd it's fixed. My mistake was, in fact, exactly what I thought it was. Thanks @argent77!
For in-game text (the lines in mod.tra), I believe the engine supports accents. However, weidu (the lines in setup.tra) does not.