Help to Change Menu Background Opacity within a script

● ARCHIVED · READ-ONLY
Started by HumanNinjaToo 3 posts View original ↗
  1. I'm using the Columns menu script along with the BM Base script.

    I would like to change the opacity of the menu background to be NOT transparent at all. As it is, you can see the map behind the menus when you open up your main menu. It makes the background image I use look very strange and I would like it to be more solid.

    This first screenshot is how it looks now.

    menu_ex1_by_humanninja-d7zvmlc.png

    This next screen shot is how I want it to look. It looks this way now probably because the Formation script by Vlue uses it's own scenes to display the menu images.

    menu_ex2_by_humanninja-d7zvn5m.png

    I've looked through both of the scripts to try and find the part that would control the opacity but either I'm not seeing it or it's not there, in which case I need help determining where to add that part.

    Any help is appreciated.
  2. There's a few ways this can be handled ;) I'm just asking questions so I can get a better idea of what you want.

    Do you want to not be able to see the map at all and would like the background to your menu based scenes to have a black background? If so then you can do something like this:

    class Scene_MenuBase < Scene_Base def create_background; end def dispose_background; endendThat just gets rid of the map image in the menu windows. This is a quick and dirty fix and might cause issues since I didn't really read the scripts you're using and it might cause issues with other scripts you may or may not be using.

    However, if you'd like to make all the windows more solid, this can be a little bit more complex. Do you only want the menu windows to be more solid or all of the windows (battle windows, message windows, etc). If you want all of them to be more solid you could do something like this (be warned it effects ALL windows and might throw some things off):

    class Window_Base < Window #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- alias :back_opacity_ini :initialize def initialize(x, y, width, height) back_opacity_ini(x, y, width, height) self.back_opacity = 255 endendIf neither of these fixes are what you are looking for.. then there's another code snippet I could write into your scenes that scans the scenes for the windows and sets their opacity that way, but it'd mean I'd have to read the other scripts.
  3. Hey thanks. That first one is exactly what I was looking for. I just wanted the menu background to be more solid. Although, I'll hang on to the other one as well just in case. I'm redoing my battle system so I'm not sure how I want it to look exactly just yet.

    Again though, thanks a bunch.

    This topic is solved and can be closed.