Page 1 of 1

[NotABug] Dialogue Actor component subtitle color reset during show/hide

Posted: Fri Aug 06, 2021 7:07 am
by Abelius
Hi there,

I'm having an aesthetic issue with custom subtitle colors.

They are shown in white, instead of their custom color assigned from their Dialogue Actor components, for about 0.2 seconds.

This only happens during the NPC subtitle panel show/hide transition, I think. So my guess is that the subtitle color gets "reset" at the start of those two.

Am I correct and this could be considered undesired behavior, or am I doing something wrong?

Thanks.

Edit: I'm using a TMP Text, btw.

Re: Dialogue Actor component subtitle color reset during show/hide

Posted: Fri Aug 06, 2021 7:39 am
by Tony Li
Hi,

That is quite strange. Can you send a reproduction scene or reproduction steps to tony (at) pixelcrushers.com?

Re: Dialogue Actor component subtitle color reset during show/hide

Posted: Fri Aug 06, 2021 11:01 am
by Abelius
Ah, not supposed to happen...? Then I'm sure I broke something, lol.

In that case I'll take this to the secondary To-Do list. Most likely, I'll realize what I've done wrong when I take the time to make an isolated repro scene.

Thanks!

Re: Dialogue Actor component subtitle color reset during show/hide

Posted: Sat Aug 07, 2021 5:50 am
by Abelius
False alarm.

I've realized it is the NPC Panel *name* what it's not tinting/maintaining the tint, not the subtitle text. I had the impression it was both, but the human eye plays tricks on us easily.

The thing is, I added an FSM to synchronize the character name with the current subtitle color because, to my knowledge, it wasn't supported natively and I guess there's some faulty logic. So I'll try to see if I can make it work better.

Thanks!

Re: [NotABug] Dialogue Actor component subtitle color reset during show/hide

Posted: Sat Aug 07, 2021 8:16 am
by Tony Li
Hi,

Understood. If you set the portrait name color in OnConversationLine, it should set the color before the panel becomes visible.