Page 1 of 1

Both Character dialogue names active

Posted: Sun Apr 17, 2022 3:49 pm
by soniclinkerman
Hey,

I'm running into an issue where if you press the "Continue" button(In my case, pressing Z) fast enough, both character portrait names will be active. I'm not sure why this is.

Re: Both Character dialogue names active

Posted: Sun Apr 17, 2022 8:53 pm
by Tony Li
Hi,

It really depends on how your dialogue UI is set up. Try ticking the subtitle panels' Wait For Close checkboxes.

If that doesn't address the issue, you could always configure each subtitle panel's OnFocus() event to deactivate the other panels' portrait names.

If that doesn't do it, feel free to send a reproduction project to tony (at) pixelcrushers.com. I'd be happy to take a look.

Re: Both Character dialogue names active

Posted: Mon Apr 18, 2022 9:48 am
by soniclinkerman
Hey!

I tried both options you suggested and it doesn't seem to do it. I'll send a copy of the project to the email you provided.

Re: Both Character dialogue names active

Posted: Mon Apr 18, 2022 4:23 pm
by Tony Li
Hi,

Thanks for sending the repro project. It was very helpful. I replied to your email.

Re: Both Character dialogue names active

Posted: Mon Apr 18, 2022 5:11 pm
by soniclinkerman
Thanks for your reply Tony,

I looked through what you mentioned.

I'm using Cinemachine in this project, but I seem to get some compile errors.
Sequence Errors.png
Sequence Errors.png (94.2 KiB) Viewed 545 times

Re: Both Character dialogue names active

Posted: Mon Apr 18, 2022 5:49 pm
by Tony Li
Hi,

Since you're using the Dialogue System's assembly definition files, you need to add Cinemachine's asmdef to the DialogueSystem asmdef:

cinemachineAsmdef.png
cinemachineAsmdef.png (13.68 KiB) Viewed 544 times

Re: Both Character dialogue names active

Posted: Mon Apr 18, 2022 6:08 pm
by soniclinkerman
Awesome! Ok one more thing. The dialogue system I saved as a variant seems to look like this
Dialogue System Right.png
Dialogue System Right.png (307.04 KiB) Viewed 543 times
But when I play the game, it looks like this
Dialogue System Wrong.png
Dialogue System Wrong.png (233.84 KiB) Viewed 543 times
I remember you mentioned to save this as a variant before the update, but I'm unsure why this is occurring

Re: Both Character dialogue names active

Posted: Mon Apr 18, 2022 9:06 pm
by Tony Li
Hi,

You may need to pull your original customized version from your backup or version control. First, try using the VN Template Standard Dialogue UI included with the Dialogue System. You may need to set your Dialogue Manager's Subtitle Settings > Continue Button mode to Always and add a UI Button Key Trigger to the continue button to map the 'Z' key to it. Once you've confirmed that it works correctly (both portrait names don't become active at the same time), you can either customize a copy of it to look like your UI, or you can retrieve a copy of your old UI and make sure it's set up like the VN Template Standard Dialogue UI prefab.