Page 1 of 1

Compromise between Prepend Name and Add Speaker Name

Posted: Thu Apr 13, 2023 3:55 pm
by BWLGeorge
Howdy! I'm trying to get it so that conversations will show the speaker's name in specifically colored text before the dialogue, but I have many side NPCs who don't have specific colors to them, and so would like to rely on the "Add Speaker Name" function for them, while using the Dialogue Actor's "Prepend Name" function for those few characters who do have unique colors. Problem is that obviously using both means that characters with colors show both their name in a specific color and then their name in the default color, and then the dialogue text (e.g. Dave: Dave: Hello). Any way to find a compromise between these two options or do I just have to go through and add dialogue actors to everything?

Re: Compromise between Prepend Name and Add Speaker Name

Posted: Thu Apr 13, 2023 4:48 pm
by Tony Li
Hi,

In this case, don't use the Dialogue Actor's Set Subtitle Color > Apply To Prepended Actor Name. Instead, set the actor's Display Name, and use rich text codes, such as:
  • Name: "Green Knight"
  • Display Name: "<color=green>The Green Knight</color>"
and rely on the StandardUISubtitlePanel's Add Speaker Name.

Re: Compromise between Prepend Name and Add Speaker Name

Posted: Thu Apr 13, 2023 5:18 pm
by BWLGeorge
Awesome, worked like a charm, thanks so much!

Re: Compromise between Prepend Name and Add Speaker Name

Posted: Thu Apr 13, 2023 7:46 pm
by Tony Li
Glad to help!