Simple Extra Menu Option

Hi guys I have a very simple question, but when I am searching for this topic everyone just points to Yanfly's Engine. I don't want to bash all sorts of scripts in my game. I already got Victors Engine in there.

So basically all I want is an extra option in the pause menu opens a new small window. In this window there should be the options Turn on & Turn Off, nothing more. These two options should just set a variable on 1 or 0. That is all I need. Nothing more. I tried to alter the scripts of the RPG Maker itself, but that seems to be a big Nono, so I tried to find alternatives, but as I said... Yanfly's Engine.

Any ohter simple way to get this small extra option?

Thanks in advance 🙂

Lyrahel
I've moved this thread to Script Request. Please be sure to post your threads in the correct forum next time. Thank you.


This needs either a script or a script edit, so it goes here.


Yes, you can edit the default scripts to add this option - you just need to know what you're doing, because a mistake in the default scripts can cause problems...
Thank you Andar. Will think about that in the future.

I have a good programming knowledge, but I don't know Ruby itself that much. I managed to alter some things to my advantage without errors, but I am not getting the result I want with the extra menu option. At first I made my own Scene_NewOption and a Window_NewOption, added commands in the Window_MenuCommand and in the Scene_Menu I added a command that used the SceneManager.call(Scene_Option).

I added this line in the Vocab Module...

 def self.Option;      command(23);  end   # New Option <-- Comment i know xD

But in the end all I managed to get was another option point in my menu that had no text and did nothing by pressing it. I felt so close to the final result, but meh.

For the Scene_NewOption i took a look at Scene_End & Window_GameEnd, because I wanted it to be a smal window with just 2 other option points to edit. "Turn on" and "Turn Off". I added 2 additional Command Lines in the Vocab module for these commands too.. And later on I saw that you could add "Original Commands" in the MenuCommand, so I changed stuff into there and.. Yeah. Wasn't able to get what I want working. Maybe someone can summerize in general what needs to be altered? It's not like I didn't try.. >_< I think I am just missing some basic knowledge of ruby's grammar.

So now I just edited everything back to the normal state.

🙂

Original thread: https://forums.rpgmakerweb.com/threads/simple-extra-menu-option.38689/