Disable_MV_Function
Deaktiviert F1 F2 etc.
Wie installiert / fügt man es ein?
Erstellt eine Textdatei mit den Namen "Disable_MV_Function.js" oder ladet die Datei unten runter.
Was genau macht das Plugin?
Falls es eucht nervt, mit F1 - F5 diverse Maker Funktionen zu benutzen, könnt ihr sie hiermit deaktivieren.
Auch könnt ihr einstellen, das bei nicht vorhandenen Speicherstand, der Titelbildschirm übersprungen wird.
Code
- //=============================================================================
- // Disable MV Function
- //=============================================================================
- /*:
- * ==============================================================================
- * Database Related
- * ------------------------------------------------------------------------------
- * [MISC][1.40][19/06/2016][Devidra]
- * []
- * ==============================================================================
- * Plugin Related
- * ------------------------------------------------------------------------------
- * @plugindesc (v1.40) Disable some MV function
- * @author Devidra
- * ==============================================================================
- * Plugin Parameter
- * ------------------------------------------------------------------------------
- * @param Touch / Mouse
- * @desc Disable "Touch/Mouse" movement and interaction
- ( "disabled" to disable )
- * @default enabled
- *
- * @param Destination
- * @desc Disable movement destination animation
- ( "disabled" to disable )
- * @default enabled
- *
- * @param Titlescreen
- * @desc Disable Titlescreen
- ( "disabled" to disable )
- * @default enabled
- *
- * @param Savefile
- * @desc Show Titlescreen only if Savefile exist
- ( "enabled" to enable )
- * @default disabled
- *
- * @param F2 - FPS viewer
- * @desc Disable FPS Viewer (F2)
- ( "disabled" to disable )
- * @default enabled
- *
- * @param F3 - Stretchmode
- * @desc Disable Stretchmode (F3)
- ( "disabled" to disable )
- * @default enabled
- *
- * @param F4 - Window/Fullscreen
- * @desc Disable Window/Fullscreen (F4)
- ( "disabled" to disable )
- * @default enabled
- *
- * @param F5 - Reload
- * @desc Disable Reload (F5)
- ( "disabled" to disable )
- * @default enabled
- * ==============================================================================
- * @help
- * ==============================================================================
- * ~~~~~ Disable MV-Function ~~~~~
- * By Devidra
- * ==============================================================================
- * Touch / Mouse
- * - Disable every Touch action
- *
- * Touch / Mouse - Destination
- * - Disable the animation after touch the ground
- *
- * Titlescreen
- * - Disable the Titlescreen
- *
- * Savefile
- * - If Titlescreen is disabled and Savefile enabled, the Titlescreen will
- * - still appear, unless there is no Savefile
- *
- * FPS Viewer (F2)
- * - Disable the FPS Viewer by clicking F2
- *
- * Stretchmode (F3)
- * - Disable Stretchmode by clicking F3
- *
- * Window/Fullscreen (F4)
- * - Disable Window/Fullscreen switching by clicking F4
- *
- * !!! Attention !!!
- * Light Reload (F5)
- * - Disable reloading by clicking F5
- * - Disable also the console (F8)
- * - HIGHLY NOT RECOMMENDED
- * ==============================================================================
- * Version History
- * ------------------------------------------------------------------------------
- * v1.00 - 17/6/2016
- * - Initial Release
- * v1.10 - 17/6/2016
- * - Added F-Number Key disable function possibility
- * v1.15 - 17/6/2016
- * - Fixed compatibility issues
- * v1.30 - 18/6/2016
- * - Changed Code for more compatibility
- * - Console output every function and state
- * v1.40 - 18/6/2016
- * - Added F5 disable function !!! NOT RECOMMENDED !!!
- * - Added "Help" manual
- * ==============================================================================
- */
- (function() {
- /*
- * ==============================================================================
- * Get and Set Plugin Parameter into specific variable
- * ==============================================================================
- */
- var Devscript_name = "Disable_MV_Function";
- var Devscript_parameter = "Devscript_parameter";
- var Devscript_alias = "Devscript_alias";
- // Get Plugin Parameter
- var Devscript = Devscript || {};
- Devscript.parameters = PluginManager.parameters(Devscript_name);
- // Set Plugin Parameter into specific array-variable
- Devscript_parameter = {
- "Touch Interaction": (Devscript.parameters['Touch / Mouse'] === "disabled") ? Devscript.parameters['Touch / Mouse'] : "enabled",
- "Touch Destination": (Devscript.parameters['Destination'] === "disabled") ? Devscript.parameters['Destination'] : "enabled",
- "Title": (Devscript.parameters['Titlescreen'] === "disabled") ? Devscript.parameters['Titlescreen'] : "enabled",
- "Savefile": (Devscript.parameters['Savefile'] === "disabled") ? Devscript.parameters['Savefile'] : "enabled",
- "F2": (Devscript.parameters['F2 - FPS viewer'] === "disabled") ? Devscript.parameters['F2 - FPS viewer'] : "enabled",
- "F3": (Devscript.parameters['F3 - Stretchmode'] === "disabled") ? Devscript.parameters['F3 - Stretchmode'] : "enabled",
- "F4": (Devscript.parameters['F4 - Window/Fullscreen'] === "disabled") ? Devscript.parameters['F4 - Window/Fullscreen'] : "enabled",
- "F5": (Devscript.parameters['F5 - Reload'] === "disabled") ? Devscript.parameters['F5 - Reload'] : "enabled",
- };
- // Set and get alias function
- Devscript_alias = {
- "Touch Interaction": TouchInput._setupEventHandlers,
- "Touch Destination": Sprite_Destination.prototype.createBitmap,
- "Title": Scene_Boot.prototype.start,
- "F2": Graphics._switchFPSMeter,
- "F3": Graphics._switchStretchMode,
- "F4": Graphics._switchFullScreen,
- "F5": SceneManager.setupErrorHandlers,
- };
- // Console to get information
- console.log("==========================");
- console.log(Devscript_name);
- console.log("Following function and their states");
- console.log( JSON.stringify(Devscript_parameter, null, 2) );
- console.log("==========================");
- /*
- * ==============================================================================
- * Mouse and Touch Function
- * ==============================================================================
- */
- TouchInput._setupEventHandlers = function() {
- if (Devscript_parameter["Touch Interaction"] !== "disabled") {
- Devscript_alias["Touch Interaction"].call(this);
- }
- };
- /*
- * ==============================================================================
- * Destination Function
- * ==============================================================================
- */
- Sprite_Destination.prototype.createBitmap = function() {
- if (Devscript_parameter["Touch Destination"] !== "disabled") {
- Devscript_alias["Touch Destination"].call(this);
- }
- };
- /*
- * ==============================================================================
- * Titlescreen Function
- * ==============================================================================
- */
- Scene_Boot.prototype.start = function() {
- Devscript_alias["Title"].call(this);
- if ((Devscript_parameter["Title"] == "disabled" && Devscript_parameter["Savefile"] == "enabled" && DataManager.isAnySavefileExists() == false) || (Devscript_parameter["Title"] == "disabled" && Devscript_parameter["Savefile"] !== "enabled")) {
- DataManager.setupNewGame();
- SceneManager.goto(Scene_Map);
- }
- };
- /*
- * ==============================================================================
- * F-Number Key Function
- * ==============================================================================
- */
- // F2 Key
- Graphics._switchFPSMeter = function() {
- if (Devscript_parameter["F2"] !== "disabled") {
- Devscript_alias["F2"].call(this);
- }
- };
- // F3 Key
- Graphics._switchStretchMode = function() {
- if (Devscript_parameter["F3"] !== "disabled") {
- Devscript_alias["F3"].call(this);
- }
- };
- // F4 Key
- Graphics._switchFullScreen = function() {
- if (Devscript_parameter["F4"] !== "disabled") {
- Devscript_alias["F4"].call(this);
- }
- };
- /*
- * ==============================================================================
- */
- SceneManager.setupErrorHandlers = function() {
- if (Devscript_parameter["F5"] !== "disabled") {
- Devscript_alias["F5"].call(this);
- }
- };
- })();
oder ladet es hier runter
PS: Ich mache schon länger nichtsmehr mit dem Maker, Support hierfür kann ich nichtmehr übernehmen...