Page 1 of 1

Empty actor and colon formatting

Posted: Mon Jul 15, 2019 12:14 pm
by Maltakreuz
I would like to add some system messages to dialogues, like *party gained 100 gold*. The simplest solution would be using empty Actor. Unfortunately even with empty actor such messages will start with colon sign. So it looks like:

Code: Select all

Trader: Take this as a sign of my gratitude.
: *party gained 100 gold*
The colon at the beginning breaks formatting in this case. Can i somehow hide it? Or maybe theres is a better way to add such messages to dialogues? (I am using "Accummulate text" mode like in runic template.)

upd: I have found Ass Speaker Format Property, with "<color=#ECBE30>{0}:</color> {1}" value. But it is global. Is it possible to have different Speaker Formats for different Speakers?

Re: Empty actor and colon formatting

Posted: Mon Jul 15, 2019 1:14 pm
by Tony Li
Hi,

The Dialogue System has a script named ActorSubtitleColor.

You can turn off other functionality that prepends the actor name, such as the subtitle panel's Add Speaker Name checkbox. Then make a copy of ActorSubtitleColor that prepends the actor's name only in certain cases.

Re: Empty actor and colon formatting

Posted: Mon Jul 15, 2019 1:32 pm
by Maltakreuz
Thank you, this should work. I can color actors differently using this class too.

Re: Empty actor and colon formatting

Posted: Mon Jul 15, 2019 1:56 pm
by Tony Li
Glad to help!