iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!
 
Reply to this topicStart new topic
> Battle Theme Changer Menu (v 1.0), Adds battle theme selection to your menu.
Rating 5 V
Mithran
post Feb 22 2009, 11:01 AM
Post #1


Scripter
Group Icon


Type: Coder
Alignment: True Neutral




Battle Theme Changer Menu Scene v 1.0
by Mithran


Introduction
I saw this request on the boards a while back. I didn't see anything posted, and I've never done a full scene before, so I thought I would give it a shot. Here is the result.

Features
- a menu scene allowing you to play or change the battle themes
- enable or disable selection during play, allowing you to still play your own theme for evented battles while perserving the selection in the menu

How to Use
Install on its own script page in the materials section of the script editor above main and below any custom menus.

Script
» Click to show Spoiler - click again to hide... «


FAQ
Q: How do I add more songs?
A: First, you need to import them in to the BGM folder using the import manager. Somewhere after line in the "THEMES = [ # DO NOT CHANGE" and before the ] "# DO NOT CHANGE" lines, either copy paste an existing line or edit one of the avaiable ones. Simply change the names inside the first quote section to the display name of the song, and the second quoted section to the exact name of the imported file. Set the remaining options in the brackets according to the instructions in the module.

Credit and Thanks
- by Mithran
- requested by Goldensun9753

Author's Notes
Let me know what you think. Please do not redistribute without asking.


--------------------
Go to the top of the page
 
+Quote Post
   
acrox999
post Feb 22 2009, 01:56 PM
Post #2



Group Icon


Type: Writer
Alignment: Chaotic Evil




Oh man! Sweet! There is a script kinda same but for XP.


--------------------
=======================
Scripts I'm using on VX
=======================
- BigEd's Kingdom Hearts style HUD
- Yanfly's Scene ReDux Scripts(Except Scene Status ReDux)
- woratana's Simple Mouse System
- Yanfly's Bestiary + Display Scanned Enemy
- Yanfly's Display Victory Aftermath
Go to the top of the page
 
+Quote Post
   
Garkago
post Jun 3 2009, 04:51 PM
Post #3



Group Icon






I'll be glad to give my first post to this script, it's awesome thanks a bunch
Go to the top of the page
 
+Quote Post
   
Takami Daisuke
post Dec 1 2009, 09:40 PM
Post #4



Group Icon


Type: Artist




With this script is it possible change battele theme with script command?
Go to the top of the page
 
+Quote Post
   
piejamas
post Dec 1 2009, 10:12 PM
Post #5


Pump up the pie, yo!
Group Icon


Type: Coder
Alignment: Neutral Good




QUOTE (Takami Daisuke @ Dec 1 2009, 09:40 PM) *
With this script is it possible change battele theme with script command?

You can do it with an event command lol

Change Battle BGM, page 3 wink.gif
Go to the top of the page
 
+Quote Post
   
Timmah
post Dec 2 2009, 01:22 AM
Post #6


LexusX/Timmah, The Morning Mod
Group Icon


Type: Artist
Alignment: Lawful Good




Very nice job as always Mithran, your scripting skills have proven once again to be outstanding. smile.gif

There's one problem I'd like to ask about though. When using this with Yanfly's Menu Redux, I noticed that the menu appears twice, once in the assigned position and again under the last item in the menu. Just wondering if you would happen to know if there's any way to fix this.

Thanks once again for sharing this lovely script with us and have a nice day. wink.gif
Go to the top of the page
 
+Quote Post
   
Mithran
post Dec 2 2009, 02:45 AM
Post #7


Scripter
Group Icon


Type: Coder
Alignment: True Neutral




QUOTE (Timmah @ Dec 1 2009, 05:22 PM) *
Very nice job as always Mithran, your scripting skills have proven once again to be outstanding. smile.gif

There's one problem I'd like to ask about though. When using this with Yanfly's Menu Redux, I noticed that the menu appears twice, once in the assigned position and again under the last item in the menu. Just wondering if you would happen to know if there's any way to fix this.

Thanks once again for sharing this lovely script with us and have a nice day. wink.gif


Comment out this part of the script to prevent it from autoadding to the menu (select the text in the script, press Ctrl +Q). Its toward the end:

Spoiler:
CODE
class Scene_Menu < Scene_Base
  alias create_command_window_battle_theme_menu create_command_window
  def create_command_window
    create_command_window_battle_theme_menu
    if @battle_themes_index == nil
      @command_window.make_extra_command(Mithran::BattleMusic::MENU_NAME)
      @battle_themes_index = @command_window.item_max - 1
      @command_window.index = @menu_index
      if $game_system.bgm_select_disabled
        @command_window.draw_item(@battle_themes_index, false)
      end
    end
  end
  
  alias update_command_selection_battle_theme_menu update_command_selection
  def update_command_selection
    if Input.trigger?(Input::C)
      case @command_window.index
      when @battle_themes_index
        if $game_system.bgm_select_disabled then Sound.play_buzzer; return; end
        Sound.play_decision
        $scene = Scene_BattleMusic.new(@command_window.index)
        return
      end
    end
    update_command_selection_battle_theme_menu
  end
  
end


--------------------
Go to the top of the page
 
+Quote Post
   
Takami Daisuke
post Dec 2 2009, 10:41 AM
Post #8



Group Icon


Type: Artist




QUOTE (piejamas @ Dec 1 2009, 11:12 PM) *
You can do it with an event command lol

Change Battle BGM, page 3 wink.gif


With event command pag 3 only can change event battle music.
I'd like to change music for normal battle but without opening this music change window.
For example, in forest duneon sound battle BGM1, in mine dungeon sound battle BGM2, etc.
I'd like control battle bgm depending on the dungeon.
Is it possible with this script??
Go to the top of the page
 
+Quote Post
   
Mithran
post Dec 2 2009, 12:29 PM
Post #9


Scripter
Group Icon


Type: Coder
Alignment: True Neutral




QUOTE (Takami Daisuke @ Dec 2 2009, 02:41 AM) *
With event command pag 3 only can change event battle music.
I'd like to change music for normal battle but without opening this music change window.
For example, in forest duneon sound battle BGM1, in mine dungeon sound battle BGM2, etc.
I'd like control battle bgm depending on the dungeon.
Is it possible with this script??


The event command "Change Battle BGM" changes the BGM for all battles initiated after this point to the selected BGM, evented or otherwise. Simply place the event as an autorun + erase event at the entrances to your dungeons. This should not be confused with "Change BGM", which changes the currently playing BGM.

This point of this script is that it allows the player to decide which theme to play (in most situations).


--------------------
Go to the top of the page
 
+Quote Post
   
Takami Daisuke
post Dec 2 2009, 03:12 PM
Post #10



Group Icon


Type: Artist




QUOTE (Mithran @ Dec 2 2009, 01:29 PM) *
The event command "Change Battle BGM" changes the BGM for all battles initiated after this point to the selected BGM, evented or otherwise. Simply place the event as an autorun + erase event at the entrances to your dungeons. This should not be confused with "Change BGM", which changes the currently playing BGM.

This point of this script is that it allows the player to decide which theme to play (in most situations).


Thank you to replay me.
I didn't know change bgm of event command is to change all normal battle bgm beacuse I never use it (because I have other bgm change script, and with that script bgm change command hasn't effect)Thank you to expalin.
Go to the top of the page
 
+Quote Post
   
SweetyGirly
post Feb 3 2010, 06:37 PM
Post #11



Group Icon


Type: Designer




I have here problem.. the Quest log do not appear in my status ... and if i run it with scrip scene the game crushes down.. and a message appears...

please help .. thanks


--------------------

Spoiler:
Fix F12
WORA_MissFilePrevent
KGC_DrawFormatText (copy)
YEM Core Fixes and Upgrades
YEM Restored Functions
YEM Custom Message Melody
YEM Status Menu Melody
YEM Equipment Overhaul
YEM Item Overhaul

YEM Battle Engine Melody I
YEM Battle Engine Melody II
YEM Battle Engine Melody III
YEM Battle Engine Melody IV
YEM Battle Engine Melody V
YEM New Battle Stats

YEM System Game Options
YEM Debug Menu Extension
YEM Keyboard Input
YEM Iconview Melody
YEM Party Influenced Music
YEM Snapshot Battle Back
YEM Swap Random Monster
YEM Icon Module Library
Afterimage
Fix Yami

YEM Skill Equip System
YEM Skill Fusion System
YEM Skill Level System

GBP Equip Engine
GBP scene break down
GBP scene items fusion

Enemy Gauge Add-on

Thomas Edison VX (Author: BulletXt)
gold Icon next to money
KGC_MapLightening

Get off vehicle speed keeps same

Ultimate Luck System v4.6
KGC_LimitBreak
KGC_LargeParty

5 Scripts by mizzl
State Icon Animation Ver2.00
SephirothSpawn's Slanted bars in VX

Constant DefinitionAIRSHIp
TileBitmap AIRSHIp
TileSprite AIRSHIp
ParalexAirship
MainAutotileAIRSHIp
Splash Logo - KGC_TitleDirection VX
Database Limit Breaker II by Woratana

Slot Machine By Jet10985 (Jet)
PPT System By: Master I

Chest_Item_Pop-Up 2

KGC_InterfaceForWin32API
KGC_ScreenCapture
KGC_BitmapExtension
KGC_OldEventCommands
KGC_ContinueBGM

YERD_MonsterReappearFix
YERD_BitmapFix
YERD_UseItemFix
YERD_ShowSkillFix
YERD_TurnOrderFix

WORA_GradientBugFix

MALG_ATSExtractionFix
MALG_ATSSkipFix
MALG_FlashSelectEnemy
MALG_YerdAftermathFix

MITH_EncounterChance

CCOA_Weather

KGC_HiddenSkill

YERD_BattleBarehand
YERD_DmgFormula
YERD_TargetEffects
YERD_TurnOrderDelay
YERD_VictoryAftermath
YERD_VictoryExtend
YERD_CommonEventShop
YERD_CommonEventMenu
YERD_EventChase
YERD_Shopdiscount
YERD_EncounterRate

KGC_DistributeParameter

Random Battle-BGM 1.02 (by ERZENGEL)

Gradient Bug Fix by Woratana
Fix_Interface
Fix_StateResist
Fix_UsingItems

Skill Functions v 2.3 by Mithran

Titles for VX, by Blackmorning
Craze's Script Asylum - Gold & EXP Boost

KGC_AddEquipmentOptions

Neo Save System III
Shanghai Simple Script - Wereforms

Yanfly Engine RD - Display Item Query
State Parameters PLUS
Shanghai Simple Script - Vampiric Weapons
Custom Shop Sound Effects V 2.0 Written by: Q

STEAL ehm this is by me but i dont know if its correct

EVA/HIT/CRI States Author : puppeto4
RGSS2
Map Marker Created by : hellMinor

Enemy Stat Variance
SOV - Jump Input V 1.0
Encounter Gauge by Deriru
Simple Footstep script Creator: Miget man12
[VX Snippet] ◦ Ballon SE by Woratana
KGC_GuardRecover
Scene Shop ReDux
Yanfly Engine RD - Actor Item Synthesis

[VX] ◦ Map Credit by Woratana
KGC_DayNight
KGC_RateDamage
Item Price Changer

KGC_CategorizeItem

STR39_SpeedLineVX v0.8 08/07/28
STR11l_EnemyAttackAnimation v0.8 09/07/20
STR19_SwitchParallax 08/01/18
STR18_BattleSpeedup v1.2 09/07/25
STR15_EnemyHPGauge v1.1

Save confirmation popup By Mithran
Improved Damage By Lecode or Lecode234

Script: Deity's Random Fadein

VX_SP1
Ver.4.20 □ authors extend wall tile Mon gentleman
WallTile 4.20 atm not used

Extended guide wall tiles Ver.4.20 authors extend wall tile Mon gentleman
Advance Text Reader by Woratana

MOG VX - Terrain Effects v1.0
MOG - Picture Gallery
MOG VX - Picture Gallery
SwapXT Version: 1.0

Game Achievements Author: Omegas7 one of the best scripts ever xD

Recover HP/MP/States when Level Up by Woratana

Yanfly Engine RD - Scene Menu ReDux + KGC Custom Menu Command
megas7's Ultimate Quest System Script

Yanfly Engine RD - Bestiary + Display Scanned Enemy
Go to the top of the page
 
+Quote Post
   
Mithran
post Feb 3 2010, 11:23 PM
Post #12


Scripter
Group Icon


Type: Coder
Alignment: True Neutral




QUOTE (SweetyGirly @ Feb 3 2010, 10:37 AM) *
I have here problem.. the Quest log do not appear in my status ... and if i run it with scrip scene the game crushes down.. and a message appears...
please help .. thanks


This script does not overwrite, it simply appends another option onto the end of the menu. As for the script crashing down, this is an issue with trying to create a bitmap that is too big (most commonly when you have a Window with over 670 or so selections), too small (0 pixels is not a valid size), or for an invalid file type (empty bitmap, etc.). My script does not mess with any of this in any quest scripts, so please seek help on the script support forum or in the author's thread.


--------------------
Go to the top of the page
 
+Quote Post
   
SweetyGirly
post Feb 4 2010, 01:38 PM
Post #13



Group Icon


Type: Designer




thanks for the tipp mithran^^


--------------------

Spoiler:
Fix F12
WORA_MissFilePrevent
KGC_DrawFormatText (copy)
YEM Core Fixes and Upgrades
YEM Restored Functions
YEM Custom Message Melody
YEM Status Menu Melody
YEM Equipment Overhaul
YEM Item Overhaul

YEM Battle Engine Melody I
YEM Battle Engine Melody II
YEM Battle Engine Melody III
YEM Battle Engine Melody IV
YEM Battle Engine Melody V
YEM New Battle Stats

YEM System Game Options
YEM Debug Menu Extension
YEM Keyboard Input
YEM Iconview Melody
YEM Party Influenced Music
YEM Snapshot Battle Back
YEM Swap Random Monster
YEM Icon Module Library
Afterimage
Fix Yami

YEM Skill Equip System
YEM Skill Fusion System
YEM Skill Level System

GBP Equip Engine
GBP scene break down
GBP scene items fusion

Enemy Gauge Add-on

Thomas Edison VX (Author: BulletXt)
gold Icon next to money
KGC_MapLightening

Get off vehicle speed keeps same

Ultimate Luck System v4.6
KGC_LimitBreak
KGC_LargeParty

5 Scripts by mizzl
State Icon Animation Ver2.00
SephirothSpawn's Slanted bars in VX

Constant DefinitionAIRSHIp
TileBitmap AIRSHIp
TileSprite AIRSHIp
ParalexAirship
MainAutotileAIRSHIp
Splash Logo - KGC_TitleDirection VX
Database Limit Breaker II by Woratana

Slot Machine By Jet10985 (Jet)
PPT System By: Master I

Chest_Item_Pop-Up 2

KGC_InterfaceForWin32API
KGC_ScreenCapture
KGC_BitmapExtension
KGC_OldEventCommands
KGC_ContinueBGM

YERD_MonsterReappearFix
YERD_BitmapFix
YERD_UseItemFix
YERD_ShowSkillFix
YERD_TurnOrderFix

WORA_GradientBugFix

MALG_ATSExtractionFix
MALG_ATSSkipFix
MALG_FlashSelectEnemy
MALG_YerdAftermathFix

MITH_EncounterChance

CCOA_Weather

KGC_HiddenSkill

YERD_BattleBarehand
YERD_DmgFormula
YERD_TargetEffects
YERD_TurnOrderDelay
YERD_VictoryAftermath
YERD_VictoryExtend
YERD_CommonEventShop
YERD_CommonEventMenu
YERD_EventChase
YERD_Shopdiscount
YERD_EncounterRate

KGC_DistributeParameter

Random Battle-BGM 1.02 (by ERZENGEL)

Gradient Bug Fix by Woratana
Fix_Interface
Fix_StateResist
Fix_UsingItems

Skill Functions v 2.3 by Mithran

Titles for VX, by Blackmorning
Craze's Script Asylum - Gold & EXP Boost

KGC_AddEquipmentOptions

Neo Save System III
Shanghai Simple Script - Wereforms

Yanfly Engine RD - Display Item Query
State Parameters PLUS
Shanghai Simple Script - Vampiric Weapons
Custom Shop Sound Effects V 2.0 Written by: Q

STEAL ehm this is by me but i dont know if its correct

EVA/HIT/CRI States Author : puppeto4
RGSS2
Map Marker Created by : hellMinor

Enemy Stat Variance
SOV - Jump Input V 1.0
Encounter Gauge by Deriru
Simple Footstep script Creator: Miget man12
[VX Snippet] ◦ Ballon SE by Woratana
KGC_GuardRecover
Scene Shop ReDux
Yanfly Engine RD - Actor Item Synthesis

[VX] ◦ Map Credit by Woratana
KGC_DayNight
KGC_RateDamage
Item Price Changer

KGC_CategorizeItem

STR39_SpeedLineVX v0.8 08/07/28
STR11l_EnemyAttackAnimation v0.8 09/07/20
STR19_SwitchParallax 08/01/18
STR18_BattleSpeedup v1.2 09/07/25
STR15_EnemyHPGauge v1.1

Save confirmation popup By Mithran
Improved Damage By Lecode or Lecode234

Script: Deity's Random Fadein

VX_SP1
Ver.4.20 □ authors extend wall tile Mon gentleman
WallTile 4.20 atm not used

Extended guide wall tiles Ver.4.20 authors extend wall tile Mon gentleman
Advance Text Reader by Woratana

MOG VX - Terrain Effects v1.0
MOG - Picture Gallery
MOG VX - Picture Gallery
SwapXT Version: 1.0

Game Achievements Author: Omegas7 one of the best scripts ever xD

Recover HP/MP/States when Level Up by Woratana

Yanfly Engine RD - Scene Menu ReDux + KGC Custom Menu Command
megas7's Ultimate Quest System Script

Yanfly Engine RD - Bestiary + Display Scanned Enemy
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 16th April 2014 - 06:05 PM

RPGMakerVX.net is an Privacy Policy, Legal.