I am making a story game with Defaultio’s Rich text module script. I tested it and it works quite well but I want to know how to add sound for dialogue.
I searched inside the module script but nothing much about adding sound was there.
what???
I searched inside the module script but nothing much about adding sound was there.
Yes because it’s not designed for that and I doubt there is any open source modulescript that does that.
Place the typing sound in the richtext module and play it from there.
He is asking for sounded dialogue like an audio book though, not typing sound.
But I played Cruise Story, and that game used Rich text module script. So why can’t I?
There’s your answer.
He was asking how to do “sounds for each text step” which is on the todo list on the module.
But it only saids the creator of rich text will do it soon. Cruise Story was made by the time rich text’s sound wasn’t a thing.
You’ll just have to modify the module script’s contents, you can press ctrl + f and search for components that relate to the typing part. From there, you can setup your own function to detect if a text/word finishes then play a sound.
But if you’re talking about the typing-writer type sound then you can just do the same thing, and instead slap in a :Play() where its making a text or setup your own function again if you want to.
I will try to do that. Problem is that I can’t find the lines where the a new text or frame is added.