Dialogue Tree Editor Plugin & Dialogue System [OLD]

I’ve never been the best with UI and I’m still learning new things about it each time I make something new. The UI the plugin provides can also be considered a placeholder of sorts. If the user wants to improve the general look or adjust it to fit their own theme they have the full freedom to do so. But nonetheless this is a good suggestion and I will definitely have a look at that right now.

Thank you!

3 Likes

How do I add it to an NPC in my game?

3 Likes

If you are wondering how to trigger a dialogue, just fire the DialogueRemote event located in the place’s StarterGui. :grin:

1 Like

Will you add the option of executing a script after a dialog node has been triggered?

1 Like

I’m glad you got the hang of it. Looks like I forgot to explain it clearly in the post itself. I’ll do that right away!

1 Like

That can already be done with RemoteEvents and BindableEvents. Simply insert them into a workspace value representing a dialogue node and it will fire itself when the dialogue reaches that node. Afterwards you can have a script detect the fired signal of the event.

Here is an example:
image
image

5 Likes

I’ve began updating the plugin since the initial release after noticing some rather annoying bugs and missing features. With the last two updates I’ve mainly been focusing on polishing some of the rough edges it had and just to try to get the experience of using this plugin to feel better. The built in dialogue system could use some UI improvements. Not only that, the usage of remote- and bindable events is a bit wonky with the built in system so I think I’ll get to that next.

If you feel like something’s missing or something’s a bit off then please let me know.

1 Like

Maybe a bit more of a way to easily customize the Gui.

1 Like

The UI itself is really simple in its structure so editing it manually with studio’s UI tools shouldn’t be too hard. That being said, perhaps some more options would be nice. I’ll look into it.

Thanks for the suggestion! : )

Great plugin,
Does anyone know if the Speaker value is a string value? I’m trying to change it using a server script, but it always says I’m trying to index string with “Value” (Speaker.Value = “whatever”) Thanks!

1 Like

I’ll give an answer here as well then. You can use Instance:SetAttribute(“Speaker”,“NameGoesHere”) to set a new speaker via scripting. If you want further details then be sure to check the API for custom attributes.

while this works, it does not change the visual representation of the speaker on the prompt (Title). Should I work around this by just overwriting the Text property of title?

The name doesn’t change in real time. Aka: if the name it changed during dialogue the name won’t change. I can of course add support for that if you’d like.

That would be great, I’ve almost got it to work on my own (surprising right?) however, it’s slow, and I still need to figure a way to set the title text back using remote events. Support for this would be appreicated.

2 Likes

There, I added it. Just update the plugin and reinstall the UI and it should work. : )

Oh and let me know if you run into any issues, thanks.

What should I be looking for? (unless the update hasn’t been pushed by roblox yet, I don’t see any changes)

You should see the available update in the plugin management menu. image

Open that and click update on the plugin. If it hasn’t shown up yet then Roblox is taking a while to update it.

Alright I’ll try that, I think something is wrong with my studio or I have too many plugins. I have to manually install the plugin using the rbxm file. When I try to install it, roblox opens studio and never gives me a confirmation on if the plugin installed correctly.

1 Like

is there an easy way to customize the gui?

You can customize it as much as you like with what Roblox provides you. Other than that, not at the moment.