Empty actor and colon formatting

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Maltakreuz
Posts: 40
Joined: Sat Jul 25, 2015 2:36 pm

Empty actor and colon formatting

Post 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?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Empty actor and colon formatting

Post 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.
Maltakreuz
Posts: 40
Joined: Sat Jul 25, 2015 2:36 pm

Re: Empty actor and colon formatting

Post by Maltakreuz »

Thank you, this should work. I can color actors differently using this class too.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Empty actor and colon formatting

Post by Tony Li »

Glad to help!
Post Reply