Hi all! I'm currently trying to use Mog hunter's cg gallery plugin, but unfortunately there's no option for the picture gallery to be accessible from the main menu. is there any other plugin that does so?
CG gallery with option to show on main menu?
JS Plugin Requestsit is possible throug the params, if not, you can use YEP_MainMenuManager for it.
there is a scriptcall to call it, so you can create an common event, and attached
the ID in the ext (in YEP_MainMenuManager) to call the common event.
if you dont have that plugin, there are other plugins to change the menu commands.
I know 2 other ones in case you need a link to it if you dont have MainMenuManager.
there is a scriptcall to call it, so you can create an common event, and attached
the ID in the ext (in YEP_MainMenuManager) to call the common event.
if you dont have that plugin, there are other plugins to change the menu commands.
I know 2 other ones in case you need a link to it if you dont have MainMenuManager.
Alright! I'll try the yanfly plugin out, thanks! ^^
MOG Gallery has the param to show it on the menu if true, if you use YEP_MainMenuManager
before hand, the param doesn't work, so it should be added manually.
if you didn't use YEP_MMM than it should directly though if you dont have a plugin that
alter the menu command at least (at least on my end)
before hand, the param doesn't work, so it should be added manually.
if you didn't use YEP_MMM than it should directly though if you dont have a plugin that
alter the menu command at least (at least on my end)
Hmm I'm currently not using YEP main menu manager... 'command menu' is already set to true, is this the param you're referring to?
yes, that's the one.
the command word is how you want to show up on the menu.
the command word is how you want to show up on the menu.
To confirm: the command for MOG_PictureGallery is on the pause menu, not the title menu. Just thought I'd mention it since "main menu" can be a bit ambiguous. 🙏
Ohhh I see! I'm sorry for the vagueness, I meant to refer to the title screen😩
OK, in that case I think you'll either need:
As-is, this causes an error if you try to open the gallery before starting a new game or continuing from a previous save. I experimented a little with trying to load the most recent save when the game boots up, but didn't get anywhere with that. 😴
- An extension plugin for Mog's Picture Gallery, or
- A different gallery plugin (I don't know of one off the top of my head).
JavaScript:
// Check for required plugin (MOG_PictureGallery) first
if (!Imported.MOG_PictureGallery) {
throw new Error('This plugin must be loaded before MOG_PictureGallery!');
};
// Add command to title window, so it's there to select
(function(alias) {
Window_TitleCommand.prototype.makeCommandList = function() {
alias.apply(this, arguments);
this.addCommand(String(Moghunter.picturegallery_command_name), 'gallery');
};
})(Window_TitleCommand.prototype.makeCommandList);
// Add command handler, so it does something when selected!
(function(alias) {
Scene_Title.prototype.createCommandWindow = function() {
alias.apply(this, arguments);
this._commandWindow.setHandler('gallery', $gameSystem.picturegallery.bind($gameSystem));
};
})(Scene_Title.prototype.createCommandWindow);
THANK YOU SO MUCH
Thanks to your comment I was able to get throught Yep_MainMenuManager to use MogHunter Gallery. Thank you so much!
Thanks to your comment I was able to get throught Yep_MainMenuManager to use MogHunter Gallery. Thank you so much!
@Papergami, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.
Good to hear it helped, though!
The thread starter was last seen back in Feb 2021, so I'll close this.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Happy RPG Making~ 👋Original thread: https://forums.rpgmakerweb.com/threads/cg-gallery-with-option-to-show-on-main-menu.124744/