Autonumber Format & Dialogue Actor Name Format

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
gothamgoblin
Posts: 6
Joined: Thu Sep 22, 2022 8:44 am

Autonumber Format & Dialogue Actor Name Format

Post by gothamgoblin »

Hi,

First for anyone wondering about this, you can format dialogue actor name appearance in the Dialogue Actor component, Prepend Actor Name Format:

[em3]{0}[/em3]{1} <- Here I applied an em from the dialogue database, which sets the character name in the subtitle box to bold based on my settings. Just wanted to show how to do it for anyone who searches the topic.

My question is that I'm trying to do something similar with Autonumber > Format in the Standard UI Menu Panel. I tried using the same method as above, but it just types it in as text.



Is there a way I can set my autonumbers to white, for example? Like how it's done in Baldur's Gate and Disco Elysium. The response text itself highlights white based on the Text Mesh Pro and Button settings, just want to have that first little bit ahead of time.

Cheers,

Gothamgoblin.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Autonumber Format & Dialogue Actor Name Format

Post by Tony Li »

Good idea! This patch will do it:

DS_MenuPatch_2022-09-23.unitypackage

This will also be in the next release (2.2.33).
gothamgoblin
Posts: 6
Joined: Thu Sep 22, 2022 8:44 am

Re: Autonumber Format & Dialogue Actor Name Format

Post by gothamgoblin »

Cheers, Tony. I think something is overwriting the color from the em or I've configured my colors in the wrong way on the response text, but it's definitely picking up the tag now. I did a bit of fiddling after installing the patch to get the effect and managed to get it working though!

In the Response Button Template, I set "Standard UI Response Button" default color to red. Then I changed all the colors in the Response Text button to white. That seemed to make it display right. An then I changed the button highlight color opacity to about 75% to make the mouse over give a bit of feedback again. Also the text color in the em, in the database, is white.

Image

Thanks for the quick response :) Really appreciate your assistance. I was thinking how your tools are saving some of us 100s of hours of work I'd imagine.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Autonumber Format & Dialogue Actor Name Format

Post by Tony Li »

I'm glad it's working the way you want now. But I'm afraid I don't understand what wasn't working the way you expected. Does something appear to be working incorrectly?
gothamgoblin
Posts: 6
Joined: Thu Sep 22, 2022 8:44 am

Re: Autonumber Format & Dialogue Actor Name Format

Post by gothamgoblin »

Hi,

Yes, not sure what was happening, but the white color selection for the em in the database wasn't applying. In the game it remained red, rather than white. However, the underline option worked, so I knew it was picking up the em tag and applying that element at least.

I think I've probably done something with the dialog or a color tag somewhere, but no big deal.

Cheers.
Post Reply