Page 1 of 1

[Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 2:27 am
by nitros.han
Hi i'm very helped with Dialoug System thank you.

but having trouble with small problem i think
but can't find any post about this.

I'm trying to make 2d game with 'bark' system.



Watching the above video
most of things were well applied.

But in play mode
only the first cycle of Dialogue Entry is randomly executed,
and after that only the first Dialogue Entry is executed repeatedly
like (3-1-2 -> 0-0-0 -> 0-0-0)

I want it to loop repeated like (3-1-2 -> 1-3-2 -> 2-3-1 ...)
How can it be done?
bark_random.png
bark_random.png (308.37 KiB) Viewed 381 times

Re: Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 9:14 am
by Tony Li
Hi,

This has been fixed for version 2.2.34. Here's a patch in the meantime:

DS_BarkRandomPatch_2022-12-21.unitypackage

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 7:46 pm
by nitros.han
Thank you for your prompt response.
When I applied the package file, it was solved right away.

There is an another question.

I know [em#] tags can be set as a way to emphasize specific text,
But they are not being applied properly.

My project uses 'Text Animator Plugin' integrated, which uses TextMeshPro.

I thought that was the problem at first.
But same result using the existing Template UI.

how can solve it?

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 8:04 pm
by Tony Li
Hi,

Make sure the Dialogue Manager's Display Settings > Subtitle Settings > Use Rich Text for [em#] Tags checkbox is ticked.

Are you using the latest version of the Dialogue System? (version 2.2.33)

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 8:19 pm
by nitros.han
Ah! you are there. nice to meet you.

I tested [em] tag in conversation i've created, it works well.
But in use at bark(Basic Standard Bark UI, Bubble Template Standard Bark UI)
has problem.

I guess there are no component to need to emphasis.

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 8:38 pm
by Tony Li
I just verified that it works correctly in version 2.2.33.

Are there any errors or warnings in the Console window when you play your scene?

Is the correct dialogue database assigned to the Dialogue Manager GameObject?

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 9:01 pm
by nitros.han
i got a hint from your answer
created it in a new scene,
and I confirmed that it works well.

after additional testing,
i found reason the markup was not applied.

that was the 'Cache Bark Line' tick in the 'Bark On Idle' script.
markup was applied when untick that value.

i set these for optimization after i saw another post in forum.

i think it's important because my project will have many barking texts.

do you have any recommendations in this situation?

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 9:31 pm
by Tony Li
Hi,

This patch will fix the issue:

DS_CachedBarkPatch_2023-01-11.unitypackage

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Wed Jan 11, 2023 11:34 pm
by nitros.han
everything works good!

thank you for your ongoing support.

It is great helpful. :)

Re: [Solved]Bark On Idle Random Bark order - Random doesn't loop

Posted: Thu Jan 12, 2023 8:26 am
by Tony Li
Glad to help again!