Jump to content


Photo

CSCA Menu Theme

csca menu theme

  • Please log in to reply
10 replies to this topic

#1 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 27 April 2012 - 08:34 PM

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)

Listen before you download? Both themes are on the same soundcloud page, the first 1 is Menu Theme 1, the second is Menu Theme 2.

FAQ
None yet.

Credit
Casper Gaming

Terms
http://www.caspergam...rms_of_use.html
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, 07 September 2012 - 01:51 PM.


#2 Steven R.

Steven R.

    Member

  • Member
  • 11 posts
  • RM Skill - Jack of All Trades

Posted 28 April 2012 - 04:09 PM

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

#3 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 28 April 2012 - 06:41 PM

Not sure what could really go wrong...I tested it and it seems to work for me. Are you using any other custom scripts?

#4 Steven R.

Steven R.

    Member

  • Member
  • 11 posts
  • RM Skill - Jack of All Trades

Posted 28 April 2012 - 08:31 PM

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., 28 April 2012 - 08:32 PM.


#5 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 28 April 2012 - 09:11 PM

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?

#6 Steven R.

Steven R.

    Member

  • Member
  • 11 posts
  • RM Skill - Jack of All Trades

Posted 28 April 2012 - 09:48 PM

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., 28 April 2012 - 09:50 PM.


#7 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 28 April 2012 - 10:09 PM

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. :)

#8 Steven R.

Steven R.

    Member

  • Member
  • 11 posts
  • RM Skill - Jack of All Trades

Posted 28 April 2012 - 10:18 PM

Haha..Wonder why I didn't try that before~ It works perfectly now, thanks! ^o^

#9 Paradox

Paradox

    Advanced Member

  • Member
  • 115 posts
  • RM Skill - Designer

Posted 29 April 2012 - 12:28 AM

Does it replay the BGM from the moment you entered the menu or restart from the beginning of the audio file?

#10 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 29 April 2012 - 12:50 AM

It will resume the map BGM and BGS where it left off when you entered the menu when you exit the menu.

#11 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 24 July 2012 - 02:12 PM

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!





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users