casper667 133 Posted April 28, 2012 (edited) CSCA Menu Theme v1.2 By: Casper Gaming (Casper667) Last Update: July 24th, 2012 Introduction This script will play a BGM specified by you in the menu scenes, and then automatically replay the previous BGM and BGS on menu exit. Features - Plays a BGM when in the menu. How to Use Place in your materials section. Further setup required, instructions included in script. Script Text file is found here(copy and paste everything into your script editor in the materials section): LINK Additional Materials: Special thanks to Hortator for making these! Remember to credit "Hortator" if you use these menu themes! Menu Theme 1 (Peaceful, Calming, for a more traditional game) Menu Theme 2 (Dark, Tension, for a horror or dark game) FAQ None yet. Credit Casper Gaming Terms http://caspergaming.com/terms-of-use/ Menu Theme 1 and 2 are free to use in commercial or noncommercial projects as long as credit is given to Hortator. Edited July 1, 2020 by casper667 Update link URLs Share this post Link to post Share on other sites
Steven R. 0 Posted April 28, 2012 I tried using this, but the bgm when entering the menu continues to play even after exiting the menu..am I doing anything wrong? Share this post Link to post Share on other sites
casper667 133 Posted April 29, 2012 Not sure what could really go wrong...I tested it and it seems to work for me. Are you using any other custom scripts? Share this post Link to post Share on other sites
Steven R. 0 Posted April 29, 2012 (edited) Quite the large number of 'em I'm afraid..Alot of the scripts are from Yanfly, though I don't really know which ones it could be conflicting with. Edited April 29, 2012 by Steven R. Share this post Link to post Share on other sites
casper667 133 Posted April 29, 2012 Hmm, are you using any non-yanfly or CSCA scripts? I've checked most of yanfly's scripts with this menu script and there doesn't seem to be any incompatibilities with YEA. Does this script work in a clean project with no other scripts for you? Share this post Link to post Share on other sites
Steven R. 0 Posted April 29, 2012 (edited) Yeah, It works in a clean project (I checked just to make sure~ :3) I do have a few of your other scripts, those being the Encyclopedia and Dungeon Tools. I did, however manage to find which script it was that was causing it, which is Dorkfr3sh's Location Window. #============================================================================== # Location Window by Dorkfr3sh - E-mail:shamar.sabree@yahoo.com #------------------------------------------------------------------------------ # Adds a simple location window to the menu. #------------------------------------------------------------------------------ # http://www.rpgrevolution.com/ #============================================================================== ############## # Scene_Menu # ############## class Scene_Menu alias location_show_scn_mnu_start start alias location_show_scn_mnu_terminate terminate def start location_show_scn_mnu_start @mapname_window = Window_Mapname.new(0, 221) end def terminate location_show_scn_mnu_terminate @mapname_window.dispose end end ############### # Window_Time # ############### class Window_Mapname < Window_Base def initialize(x, y) super(x, y, 160, line_height + 62) refresh end def refresh self.contents.clear self.contents.font.color = system_color self.contents.draw_text(4, 0, 120, 32, "Location:") draw_icon(231, 100, 2) self.contents.font.color = normal_color name = $game_map.display_name name = "Unknown" if name.empty? self.contents.draw_text(4, 28, 120, 32, name.to_s, 2) end end Edited April 29, 2012 by Steven R. Share this post Link to post Share on other sites
casper667 133 Posted April 29, 2012 Hmm, I copied it into a test project and it seems to work fine as long as this menu theme script is above Dorkfr3sh's location window in the materials section. Share this post Link to post Share on other sites
Steven R. 0 Posted April 29, 2012 Haha..Wonder why I didn't try that before~ It works perfectly now, thanks! ^o^ Share this post Link to post Share on other sites
Paradox 3 Posted April 29, 2012 Does it replay the BGM from the moment you entered the menu or restart from the beginning of the audio file? Share this post Link to post Share on other sites
casper667 133 Posted April 29, 2012 It will resume the map BGM and BGS where it left off when you entered the menu when you exit the menu. Share this post Link to post Share on other sites
casper667 133 Posted July 24, 2012 Update! I fixed a weird bug that would play the wrong music after exiting the menu, code is also a lot better now. I also added two menu theme BGM's to the script topic, these were created by Hortator so please credit him if you're using these BGM's! Share this post Link to post Share on other sites