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

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
nitros.han
Posts: 5
Joined: Wed Jan 11, 2023 2:05 am

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

Post 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 370 times
Last edited by nitros.han on Wed Jan 11, 2023 7:42 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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
nitros.han
Posts: 5
Joined: Wed Jan 11, 2023 2:05 am

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

Post 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?
Attachments
barkEmphasis1.png
barkEmphasis1.png (94.27 KiB) Viewed 344 times
barkEmphasis.png
barkEmphasis.png (268.32 KiB) Viewed 344 times
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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)
nitros.han
Posts: 5
Joined: Wed Jan 11, 2023 2:05 am

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

Post 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.
Attachments
barkEmphasis2.png
barkEmphasis2.png (435.96 KiB) Viewed 340 times
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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?
nitros.han
Posts: 5
Joined: Wed Jan 11, 2023 2:05 am

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

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

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

Post by Tony Li »

Hi,

This patch will fix the issue:

DS_CachedBarkPatch_2023-01-11.unitypackage
nitros.han
Posts: 5
Joined: Wed Jan 11, 2023 2:05 am

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

Post by nitros.han »

everything works good!

thank you for your ongoing support.

It is great helpful. :)
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Glad to help again!
Post Reply