Skip to content

[MOD] Dialog Tags

AquadrizztAquadrizzt Member Posts: 1,065
edited May 2021 in PST:EE Mods
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.
  1. Vague: Dialog choices are presented as "Ethical" for Lawful/Chaotic or "Moral" for Good/Evil options.
  2. Informative: Dialog choices are presented as "Lawful", "Chaotic", "Good" or "Evil".
  3. 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).
  1. Vague: Dialog choices are labeled with the relevant character stat ("Strength", "Pick Pockets", etc.).
  2. Informative: Dialog choices are labeled with the relevant character stat and a + or - depending on whether you met the requirement ("Strength+").
  3. 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
j7oi4buw86bq.png

Informative Alignment
aslv8z9eq69g.png

Precise Alignment
vib2eh6ediex.png

Vague Attributes
il98dp76l0tr.png

Informative Attributes
zwzytbglciwd.png

Precise Attributes
a1fuxzfywo9a.png


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
Aciferargent77memoryMiraStastnyTimbo0o0o0GuboSanctifer

Comments

  • argent77argent77 Member Posts: 3,431
    That's a great idea.

    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.
    Aquadrizzt
  • AquadrizztAquadrizzt Member Posts: 1,065
    edited May 2021
    @argent77, ah I thought I fixed that. Local man who always messes up bitflag checking in his mods has, sources say, messed up his bitflag checking in his mod. Easy enough fix at least. Thanks for pointing it out!

    (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!
  • FelipefplFelipefpl Member, Translator (NDA) Posts: 119
    Added brazilian portuguese translation on github, does your mod support accents/different letters like ç?
  • AquadrizztAquadrizzt Member Posts: 1,065
    Felipefpl wrote: »
    Added brazilian portuguese translation on github, does your mod support accents/different letters like ç?

    For in-game text (the lines in mod.tra), I believe the engine supports accents. However, weidu (the lines in setup.tra) does not.
  • NicolBluetoothNicolBluetooth Member Posts: 48
    It's so nice to have a new Planescape mod after all this time!
  • MothorMothor Member Posts: 244
    Cool! Is it compatible with the Unfinished Business mod?
  • AquadrizztAquadrizzt Member Posts: 1,065
    @Mothor , this mod should be compatible with any mod as long as it is installed after them. It automatically searches through all dialogs to assign the tags.
  • AquadrizztAquadrizzt Member Posts: 1,065
    In a fit of inspiration (and the gift of an unusual weekend of downtime), I've been working on a new feature for this mod: actual skill checks that are rolled during dialog. This feature is not live yet, but hopefully will be soon once I can guarantee it doesn't produce any gamebreaking bugs.

    In unmodded Planescape, all of the dialog checks are simple thresholds (e.g. "do you have more or less than 17 Intelligence?"). Sometimes, the game hides whether your stat is high enough to get the "good" outcome, but after almost 25 years, most players are familiar with the important breakpoints and passive checks.

    For those seeking a bit more variety, I present d20 skill checks which are rolled after choosing the dialog option, complete with the closest sound I could find in the game files to a die being rolled across a table. The actual outcomes (NPC responses and hidden effects) are unchanged from the base game. The difficulty of the checks is unchanged, so if it used to require a score of 18, it now has a DC of 18 (although this is tunable at mod installation). The actual roll is d20 + ability score - 10.

    The installation code for this is algorithmic, so it can be tuned to user preference upon installation. This system should also be compatible with other content mods. It currently updates 500 attribute checks throughout the game (although this number is slightly inflated by a staggering amount of useless Intelligence checks from having your companions translate Fell's rebus puzzles). There are about 50 more attribute checks that are more complex and will require some additional refining - I've left them alone for now.
    Not the prettiest, but neither is Vaxis... kco498bz982b.png

    There are obviously a few bugs to still iron out, and some aesthetic improvements to be done, but I am very excited about this feature and I look forward to getting it out into the world.
  • FelipefplFelipefpl Member, Translator (NDA) Posts: 119
    This is great, even better than what you made earlier, but i suggest to use green letters like neverwinter nights 1 used to display what is between parenthesis. It's better to see this way. ;)

    https://3.bp.blogspot.com/-7DIJ8JdZBqo/Vv986uFpk4I/AAAAAAAAIVs/-8X7BOAWoEYqbjkR018ZaUrTZjPYl3Ubw/s1600/wisdom+and+intelligence+checks.jpg
  • AquadrizztAquadrizzt Member Posts: 1,065
    Felipefpl wrote: »
    This is great, even better than what you made earlier, but i suggest to use green letters like neverwinter nights 1 used to display what is between parenthesis. It's better to see this way. ;)

    https://3.bp.blogspot.com/-7DIJ8JdZBqo/Vv986uFpk4I/AAAAAAAAIVs/-8X7BOAWoEYqbjkR018ZaUrTZjPYl3Ubw/s1600/wisdom+and+intelligence+checks.jpg

    My goal for this system is that it can be refined in a variety of ways (colors, data presentation, whether probabilities are listed, etc.). I did try dialog highlighting, but I am still prototyping the logic and want to focus on that first.
  • AquadrizztAquadrizzt Member Posts: 1,065
    Put a lot more work into this. Much, much more stable now. It currently handles just shy of 500 unique "binary" (e.g. is your stat above or below a single threshold) dialog checks through the game.
    z9bqphhfmstb.png

    I tried making the text more colorful, but it produces some weird issues (most notably, removing the change in color when you hover over text, which makes it hard to identify what option you're choosing).

    I've also tried to add a (STAT: Success) or (STAT: Failure) message to the beginning of the resulting dialog state, but I haven't come up with a good way to make sure that this is only done once. Probably some array magic is required.
  • FelipefplFelipefpl Member, Translator (NDA) Posts: 119
    I totally forgot about this thread, shame on me for that....

    Kongratz for the improvements, i'm eager to see what may happen, specially if you are able to change the color of the letters. :)
Sign In or Register to comment.