Dialogue System + TopDown Engine

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Pendergast
Posts: 38
Joined: Sun Oct 18, 2020 1:48 pm

Dialogue System + TopDown Engine

Post by Pendergast »

Hello,

So, these days, i had a lot of trouble trying to use the bubble UI for my project. I want to make all the dialogues and the choices of the player showing inside a bubble, above their head. I'm using TopDown Engine as the main asset of the project.

After a lot of attempts and reading on the forum, i still can't make it work.

I followed the dialogue system manual and then that post, but it "works" only for the NPC... At first, the bubble wasn't showing up, then i tried to change the sorting layers and i finally got that:

Image

So it's too small and i don't understand why (sorry, i am still new to unity).

I tried many things then, like using all the bubble extra and nothing worked (it even makes the NPC bubble desepear).

I was wondering if it was because of something from TopDown Engine, or just me who's doing nonsense (i am still new to unity, and french, so it's a lot of pain for me right now :lol:)

Also, i wanted to know how to make TextAnimator works with the asset ? I think i requiere TextMeshPro.

Thank you in advance for your help !
PENDERGAST / NyxNikita
Artist & Writer
Caroline I. Letuppe
🌿 Instagram: https://instagram.com/nyxnikita
🌿 Site officiel: https://nyxnikita.com
🌿 Boutique: https://shop.nyxnikita.com
🌿 Tous mes liens: https://nyxnikita.carrd.co/
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System + TopDown Engine

Post by Tony Li »

Hello,

Make sure to follow the TopDown Engine Integration instructions. Also play the "DS TopDown Example" scene to get an idea of what the integration can do.

To make the bubble show up for the player, add a bubble subtitle panel using the same steps as that post:

1. Add this prefab as a child GameObject of your player prefab:

Plugins / Pixel Crushers / Dialogue System / Prefabs / Standard UI Prefabs / Template / Bubble / Bubble Template Standard UI Subtitle Panel

2. Add a Dialogue Actor component to your player prefab.
  • Set the Actor dropdown to the Player actor.
  • Change Dialogue UI Settings > Subtitle Panel Number to Custom.
  • Assign the Player's child Bubble Template Standard UI Subtitle Panel to the Custom Subtitle Panel field.
To make the bubble bigger, inspect the prefab. Change the Rect Transform component's Scale > X and Y values. For example, change the X and Y values from 0.005 to 0.05 to make it 10x bigger.
User avatar
Pendergast
Posts: 38
Joined: Sun Oct 18, 2020 1:48 pm

Re: Dialogue System + TopDown Engine

Post by Pendergast »

Thanks for the quick answer !

I can't use the TopDown Engine demo, there's a lot of errors and i don't know how to fix them :

Image

As for scalling the bubble and showing the player bubble, it worked, thanks !
Last edited by Pendergast on Mon Oct 19, 2020 1:00 pm, edited 1 time in total.
PENDERGAST / NyxNikita
Artist & Writer
Caroline I. Letuppe
🌿 Instagram: https://instagram.com/nyxnikita
🌿 Site officiel: https://nyxnikita.com
🌿 Boutique: https://shop.nyxnikita.com
🌿 Tous mes liens: https://nyxnikita.carrd.co/
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System + TopDown Engine

Post by Tony Li »

Hi,

What versions of Unity, TopDownEngine, and the Dialogue System are you using?
User avatar
Pendergast
Posts: 38
Joined: Sun Oct 18, 2020 1:48 pm

Re: Dialogue System + TopDown Engine

Post by Pendergast »

I'm using all the latest versions of Unity (2020.1.9f1), TopDown Engine (1.9) and Dialogue System (2.2.12). : )
PENDERGAST / NyxNikita
Artist & Writer
Caroline I. Letuppe
🌿 Instagram: https://instagram.com/nyxnikita
🌿 Site officiel: https://nyxnikita.com
🌿 Boutique: https://shop.nyxnikita.com
🌿 Tous mes liens: https://nyxnikita.carrd.co/
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System + TopDown Engine

Post by Tony Li »

Hi,

Please import the updated "TopDown Engine Support" package located in Assets / Plugins / Pixel Crushers / Dialogue System / Third Party Support.
User avatar
Pendergast
Posts: 38
Joined: Sun Oct 18, 2020 1:48 pm

Re: Dialogue System + TopDown Engine

Post by Pendergast »

I didn't see that it was directly included, thank you very much ! And sorry for the dumb questions i asked, haha !
PENDERGAST / NyxNikita
Artist & Writer
Caroline I. Letuppe
🌿 Instagram: https://instagram.com/nyxnikita
🌿 Site officiel: https://nyxnikita.com
🌿 Boutique: https://shop.nyxnikita.com
🌿 Tous mes liens: https://nyxnikita.carrd.co/
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue System + TopDown Engine

Post by Tony Li »

No problem. If any other questions come up, please feel free to ask any time.
Post Reply