Jump to content
Sign in to follow this  
casper667

CSCA Menu Theme

Recommended Posts

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 by casper667
Update link URLs

Share this post


Link to post
Share on other sites

I tried using this, but the bgm when entering the menu continues to play even after exiting the menu..am I doing anything wrong? :o

Share this post


Link to post
Share on other sites

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

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 by Steven R.

Share this post


Link to post
Share on other sites

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

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 by Steven R.

Share this post


Link to post
Share on other sites

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×