RoSpeak | A customizable NPC chat and dialogue system. (Version 1)

RoSpeak (V1)

Hello DevForum members! Today, I made my first actual community resource. It’s called:


RoSpeak

RoSpeak is a easy-to-setup dialogue system (for NPC’s) with special customization features. One of the best things about this resource is, IT’S FREE. You can place this in your own game and instantly create dialog with effects, color and meaning!

There’s a lot in store with this resource. Let me show you!


Showcase


You can be really creative with it!

This system includes speaking sounds, but my music covered it up.

Please join the demo if you would like to see it in action!


Setup

The set-up is included in this YouTube video, as well the “Instructions” script inside the model.


Special Features

Inside RoSpeak, you can customize what color each word can be.

		HighlightedWords = {
			["test"] = { ColorHex = "#FF0000" },
			["DevForum"] = { ColorHex = "#FFA500" },
			["Cya"] = { ColorHex = "#00FF00" },

Locate this in the DialogueConfig module. Here you can use hex codes to change the color of some of the words.

You change the text here:

		Lines = {
			"This is a <b>test</b>.",
			"Hello DevForum!",
			"Cya!"
		},

This is how you can change the sound of the NPC speaking, text color and typing speed.

		Name = "NPC",
		TypingSpeed = 0.04,
		TalkSoundId = "rbxassetid://123456789", -- placeholder
		DefaultColor = Color3.fromRGB(255, 255, 255),

Most customization takes place in the module, but some things can be changed about the client as well.

You can also change the font of the text inside the DialogueGui (BillboardGui) inside the “Parts” folder.


Closing

I hope this resource is helpful or interesting to you! I’m always open to suggestions, comments, and code review.


Get The Resource

Credit

It is recommended, but not required or enforced. Using other peoples resources and systems usually means you should give credit, because you didn’t make it. But, that’s not the same for my system. You do not have to credit me in your game if you use this system. However, I will heavily appreciate it if you do.

Rights

Please do not claim this as your own in your game. I already gave you a free pass on giving credit, so don’t take this as a chance to claim you own this or made this yourself in your game, because you didn’t.

Copyright

DO NOT re-upload this asset or claim it as your own. Have integrity with someone else’s work. Changing the name of the resource or modifying the things inside of it, doesn’t hide the fact that you stole this. Breaking this will result in a filed DMCA takedown request. This means you stole it from me, so give it back.

More updates soon!

This system took me a while to create and setup, including writing this topic. If you could like and leave a review on the resource’s creator hub page, it would mean a lot.

12 Likes

UPDATE 0.5 (RESOURCE UPDATE)

  • Added ProximityPoint spam prevention, as it was causing text to overlap and eventually break.
  • Renamed several assets in the model.
  • Improved client performance.
  • Updated the “GUIDE” script with these changes.

More coming soon!

UPDATE 0.5 (TOPIC UPDATE)

  • New download section and images.
  • Improved image quality.
  • Topic order slightly changed.

More coming soon!

UPDATE 1 (RESOURCE UPDATE)

  • Added an NPC that comes with the model.
  • Improved the “GUIDE” script.
  • Changed how the sound plays during dialog.

More coming soon!

NOTIFICATION

I have noticed some people having issues setting up this resource. I will be updating the model with a clearer guide today. But, here are some things to remember:

  • Don’t change the names of the model’s children without changing the variables in the MainClient. I know this is a no-brainer, but some newer developers have been doing this.

  • DialogueGui goes inside your NPC’s Head. SpeakPrompt goes inside his Torso. It is recommended that these are mainly parts.

  • First, please use the provided NPC before creating a new custom one (to test).

  • If your sure there is an issue with the code, reply to this post, or DM me. I don’t mind DMs.

  • Make sure you change the npc’s name in the config module if your using a custom one you’ve made.

Reply to this post for questions please.

1 Like

You do not. It’s completely your choice. I would like it if you would.

But it’s not a requirement.

2 Likes

The model is now back on the creator store! Sorry for the inconvenience.

V2 is soon!

1 Like

Hello everyone!

I know it has been a while since this resource has been updated. This is my very first resource from a while back and I would like some suggestions for what to add to this resource. If you have any ideas, please reply to this post.

Thank you!

2 Likes

One question, why is the fontsize of your scripts so small :sob:

1 Like