MV How to sound text when show picture

I'm looking for a plugin that plays sound text when a picture is shown. It shouldn't require manually entering each sound text.
I've searched but haven't found anything, does anyone know of a plugin like this?
This thread was moved from JS Plugin Releases (RMMV) to JS Plugin Requests.
Is it always the same sound?
if not, how should the engine determine which sound goes with which picture?
The problem is, no one knows what you're going to do. I would help if you could explain better whether it's 1 image 1 sound or all images 1 sound.
The problem is, no one knows what you're going to do. I would help if you could explain better whether it's 1 image 1 sound or all images 1 sound.
I mean a character with multiple images and a sound.
I mean a character with multiple images and a sound.
What on Earth does that mean, now? Where did "a character" come from? And multiple images? And what does "a sound text" mean?

Your profile says your first language is English, but if that's not accurate I'd suggest you correct it so the people helping can accommodate you.

Your original request is pretty trivial to do. Paste the below into a text editor, then edit the appropriate line in the code, save it as a *.js file, and include as a plugin.
Code:
Game_Screen.prototype.showPicture = function(pictureId, name, origin, x, y,
                                             scaleX, scaleY, opacity, blendMode) {
    var realPictureId = this.realPictureId(pictureId);
    var picture = new Game_Picture();
// Edit the settings on the next line
    AudioManager.playSe({name: "Sound1", pan: 0, pitch: 100, volume: 90});
    picture.show(name, origin, x, y, scaleX, scaleY, opacity, blendMode);
    this._pictures[realPictureId] = picture;
};

But with that most recent post you left, I have no idea if that's actually what you want.
What on Earth does that mean, now? Where did "a character" come from? And multiple images? And what does "a sound text" mean?

Your profile says your first language is English, but if that's not accurate I'd suggest you correct it so the people helping can accommodate you.

Your original request is pretty trivial to do. Paste the below into a text editor, then edit the appropriate line in the code, save it as a *.js file, and include as a plugin.
Code:
Game_Screen.prototype.showPicture = function(pictureId, name, origin, x, y,
                                             scaleX, scaleY, opacity, blendMode) {
    var realPictureId = this.realPictureId(pictureId);
    var picture = new Game_Picture();
// Edit the settings on the next line
    AudioManager.playSe({name: "Sound1", pan: 0, pitch: 100, volume: 90});
    picture.show(name, origin, x, y, scaleX, scaleY, opacity, blendMode);
    this._pictures[realPictureId] = picture;
};

But with that most recent post you left, I have no idea if that's actually what you want.
I mean it's like this plugin, but instead of using character faces, I want to use show picture.

I mean it's like this plugin, but instead of using character faces, I want to use show picture.
That...is nothing that I would have guessed from either of your prior posts.

It would probably be simplest to just combine that plugin with a bust plugin.
I mean it's like this plugin, but instead of using character faces, I want to use show picture.

Does this mean that you want to specify a picture ID for all sounds? When the specified picture ID is played, the SE1 sound will be played in the order of the picture ID?
Does this mean that you want to specify a picture ID for all sounds? When the specified picture ID is played, the SE1 sound will be played in the order of the picture ID?
Yes, when a picture is shown, the sound assigned to that image will play. A character can have many pictures, but only have a sound.

That...is nothing that I would have guessed from either of your prior posts.

It would probably be simplest to just combine that plugin with a bust plugin.
Do you know of any plugin that can combine? But I'm afraid it might not work because it would show both face and picture, while I only need the picture.
Do you know of any plugin that can combine?
Combine what?

If you're asking whether I know of any bust plugins, yes, there are several for MV if you search for it: Galv's is a popular one.

But I'm afraid it might not work because it would show both face and picture, while I only need the picture.
I think you're confused. The TextSounds plugin you're asking about does not show a picture. RPG Maker MV shows a picture of a face if you select it in the Show Text message.

The bust plugin replaces that face with a larger picture.
Yes, when a picture is shown, the sound assigned to that image will play. A character can have many pictures, but only have a sound.


Do you know of any plugin that can combine? But I'm afraid it might not work because it would show both face and picture, while I only need the picture.
Not sure but I tried it.
This might help.
Download
Not sure but I tried it.
This might help.
Download
It doesn't have a download link.
It doesn't have a download link.
As far as I can see, it also doesn't appear to do what you're asking for - it looks to be a fancier version of the code I gave you in #6, which would be completely unrelated to playing sounds as characters print in the Show Text window.

But I could be mistaken.
It doesn't have a download link.
ok i forgot to publish
Thanks, everyone, for the help! I ended up using Galv's bust plugin along with the other one, and it works great. Apologies for any confusion!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-sound-text-when-show-picture.173326/