Title Screen uses different SE than game

I'd like to use different sound effects say for New Game and Continue then the default Ok SE. I found a post here, but I can't really make any sense of you. Any idea how to achieve this? Is there another plugin or one I can attempt to build on my own?


Thanks!
I found a post here, but I can't really make any sense of you.



It would help if you included a link.


You will need a plugin.
I've moved this thread to JS Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Sorry, I had the link copied, just forgot to paste, it's been a long night.


And I would have posted this in the js scripts if I knew I was looking for a script. I only started using MV and wasn't sure if this was something that was script based or maybe they built it in. Or if this could even be done. Fairly new to the RPG Maker world.


Anyway heres the link the to post talking about it.






Thanks.
Most things that you want to change, that can't be done with an event command or in the database, require a plugin.  This includes the majority of changes to any menu screen.


The script above is for VX Ace and has been reformatted so as to be unusable by the forum upgrade.  Here is a version that should work in MV.  Save this to TitleAudio.js in your plugins folder and set up the parameters.  Do not include file extensions in the audio names.


//=============================================================================
// TitleAudio.js
// by Shaz
// last updated 2016.11.27
//=============================================================================

/*:
* @plugindesc Changes the audio played for each Title entry
* <TitleAudio>
* @author Shaz
*
* @param New Game Sound
* @desc File name for New Game SE (omit extension)
* @default Decision1
* @require 1
* @dir audio/se
* @type file
*
* @param New Game Pan
* @desc Pan for New Game SE
* @default 0
*
* @param New Game Pitch
* @desc Pitch for New Game SE
* @default 100
*
* @param New Game Volume
* @desc Volume for New Game SE
* @default 90
*
* @param -----------------
*
* @param Continue Sound
* @desc File name for Continue SE (omit extension)
* @default Decision1
* @require 1
* @dir audio/se
* @type file
*
* @param Continue Pan
* @desc Pan for Continue SE
* @default 0
*
* @param Continue Pitch
* @desc Pitch for Continue SE
* @default 100
*
* @param Continue Volume
* @desc Volume for Continue SE
* @default 90
*
* @param -----------------
*
* @param Options Sound
* @desc File name for Options SE (omit extension)
* @default Decision1
* @require 1
* @dir audio/se
* @type file
*
* @param Options Pan
* @desc Pan for Options SE
* @default 0
*
* @param Options Pitch
* @desc Pitch for Options SE
* @default 100
*
* @param Options Volume
* @desc Volume for Options SE
* @default 90
*
* @help This plugin does not provide plugin commands.
*/

(function() {

var parameters = $plugins.filter(function(p) { return p.description.contains('<TitleAudio>'); })[0].parameters;

var titleSounds = [];
titleSounds.newGame = {};
titleSounds.newGame.name = String(parameters['New Game Sound'] || 'Decision1');
titleSounds.newGame.pan = Number(parameters['New Game Pan'] || 0);
titleSounds.newGame.pitch = Number(parameters['New Game Pitch'] || 100);
titleSounds.newGame.volume = Number(parameters['New Game Volume'] || 90);

titleSounds.continue = {};
titleSounds.continue.name = String(parameters['Continue Sound'] || 'Decision1');
titleSounds.continue.pan = Number(parameters['Continue Pan'] || 0);
titleSounds.continue.pitch = Number(parameters['Continue Pitch'] || 100);
titleSounds.continue.volume = Number(parameters['Continue Volume'] || 90);

titleSounds.options = {};
titleSounds.options.name = String(parameters['Options Sound'] || 'Decision1');
titleSounds.options.pan = Number(parameters['Options Pan'] || 0);
titleSounds.options.pitch = Number(parameters['Options Pitch'] || 100);
titleSounds.options.volume = Number(parameters['Options Volume'] || 90);

Window_TitleCommand.prototype.playOkSound = function() {
AudioManager.playStaticSe(titleSounds[this.currentSymbol()]);
};

})();




If you have other plugins that change the title menu (like adding a 'quit' option, for example), you will need to modify this plugin to cater for the changed/added options.
Thanks Shaz, took me a minute to figure out, but I got it working.
 


Didn't realize there's a difference between the js folder and than the plugin folder.
The js folder is where the default scripts go that come with the engine.  The plugins folder is where you add the plugin scripts.

Original thread: https://forums.rpgmakerweb.com/threads/title-screen-uses-different-se-than-game.71496/