Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Plugin for voiceover etc.?

Yesterday at 10:04 AM
I was wondering if there's a plugin out there for this:

A text command, for example \me or something, that when followed by a filename will play that sound effect (ideally an ME).
So that voiceover can be more easily implemented in a text-heavy game.

For example, if you had an ME file with the name "rs1", you'd use the text command \me<rs1> somewhere in the text message, and it would play from the start of that message, automatically stopping it when the player skips the message or it ends (including if you use \^ to automatically end a text message).

Every search result I found had the same advice: "Play a sound effect before the message and then use Stop SE etc. after".
This is fine for the average game with less text - however, there's a problem:

In a long, text-heavy game (such as a visual novel) this creates a massively long & messy script that would be a huge pain to edit later in development, if only because of having to look for each voice line and change multiple functions each time.
Even worse when you're colourblind.

If this doesn't currently exist, I'd be happy to pay someone to make it.

(If you're wondering why I'm using RPG Maker instead of, say, VN Maker or Ren'py, it's because I didn't know the former existed until a few minutes ago, and because there are a series of minigames I've already made in RPG Maker from events etc., that I want to incorporate into my VN, but I know nothing about coding to make them doable in another program, hence why I'm sticking to RPG Maker for this)
 

CT_Bolt

Global Moderator
Staff member
Resource Team
Xy$
0.02
If this doesn't currently exist, I'd be happy to pay someone to make it.
Couldn't find one... Soooo..... I made one... How much? lol jk
Just kidding, this one's free. (cool)(icecream)

CTB_EscapeCodes Plugin: Click Here to Download/View
(Aka. Add Sounds to Messages via Escape Codes)

To use:
Place the following Escape Code in a message box
Escape Code: \se[n]

Replace n with the filename of the sound without the extention. (located in SE)

Updates/Extra Features might cost ya though if you'd really like to commission me. (cute)(wink)

Let me know how it works. This is my first attempt working with message windows. (cool)

Edit:
Shoot just remembered you need it to also stop when the message ends.
Let me know how this version works for you and I can work on added that feature also.
 
Last edited:
Couldn't find one... Soooo..... I made one... How much? lol jk
Just kidding, this one's free. (cool)(icecream)

CTB_EscapeCodes Plugin: Click Here to Download/View
(Aka. Add Sounds to Messages via Escape Codes)

To use:
Place the following Escape Code in a message box
Escape Code: \se[n]

Replace n with the filename of the sound without the extention. (located in SE)

Updates/Extra Features might cost ya though if you'd really like to commission me. (cute)(wink)

Let me know how it works. This is my first attempt working with message windows. (cool)

Edit:
Shoot just remembered you need it to also stop when the message ends.
Let me know how this version works for you and I can work on added that feature also.
Oh, thank you! I tried it out.
Without meaning to sound ungrateful, currently the only issue is that the sound doesn't stop when switching between messages. So with voiceover, characters would probably interrupt each other or themselves. ^^; This was why I was looking into using ME sounds, as someone told me these automatically interrupt between messages. I'm not sure if that's true or not.
EDIT: Tested that, they don't. Not sure what that person meant then.
But it's great to know that it can be done, thank you so much for putting in the time~
 

CT_Bolt

Global Moderator
Staff member
Resource Team
Xy$
0.02
Oh, thank you! I tried it out.
Without meaning to sound ungrateful, currently the only issue is that the sound doesn't stop when switching between messages. So with voiceover, characters would probably interrupt each other or themselves. ^^; This was why I was looking into using ME sounds, as someone told me these automatically interrupt between messages. I'm not sure if that's true or not.
EDIT: Tested that, they don't. Not sure what that person meant then.
But it's great to know that it can be done, thank you so much for putting in the time~
lol yeah... it's a pretty quickly written little plugin. (cute)

I'm sure I could do much better and add all the features.
However my time is limited with my full time job and my own projects on the side.

What type of commission did you have in mind for all the features you had mentioned above?
I could be commissioned to further develop this plugin if you'd like. (cool)

Full Version would likely contain at least the following features:

Features/Options:

  • Make audio stop when another voice over text escape command is played (done)
  • Ability to use SE (done).
  • Ability to use ME, BGM, BGS.
  • Make message wait until the audio stops before moving on.
  • Make audio stop when other audio is played.
  • Skip audio when message stops, either with escape code or user.
  • Master Control Switch (For Toggling the Plugin On/Off).
  • Set the pitch, volume, pan of the sound effects played.
  • Anything else we think of.

Edit:
Ok ok it was too easy... tada I've done that now too. (hella)(thumbsup)
...but I'm still willing to be commissioned on anything you need me to.

Update to version v1.01, auto stop audio when messages play with the escape code.
Version 1.01: Click Here to View/Download

Is that how you need it?

I would love to play a copy of your game too and see the plugin in action. (wink)
 
Last edited:
lol yeah... it's a pretty quickly written little plugin. (cute)

I'm sure I could do much better and add all the features.
However my time is limited with my full time job and my own projects on the side.

What type of commission did you have in mind for all the features you had mentioned above?
I could be commissioned to further develop this plugin if you'd like. (cool)

Full Version would likely contain at least the following features:

Features/Options:

  • Make audio stop when another voice over text escape command is played (done)
  • Ability to use SE (done).
  • Ability to use ME, BGM, BGS.
  • Make message wait until the audio stops before moving on.
  • Make audio stop when other audio is played.
  • Skip audio when message stops, either with escape code or user.
  • Master Control Switch (For Toggling the Plugin On/Off).
  • Set the pitch, volume, pan of the sound effects played.
  • Anything else we think of.

Edit:
Ok ok it was too easy... tada I've done that now too. (hella)(thumbsup)
...but I'm still willing to be commissioned on anything you need me to.

Update to version v1.01, auto stop audio when messages play with the escape code.
Version 1.01: Click Here to View/Download

Is that how you need it?

I would love to play a copy of your game too and see the plugin in action. (wink)
That would be fantastic! Do you have an e-mail address so we don't keep bumping the thread?
I couldn't figure out if this site has private messaging. ^^;
EDIT: I just noticed - Thanks so much for the auto-stop feature! I don't really believe in free labour though; I'll be happy to commission you for working on this~
 
Last edited:
Top