violentpurge09 0 Report post Posted April 27, 2011 I need a Script for VX that makes the background music not change when battle starts or you enter a vehicle. Also a question... does the game play timer stop when you enter battle? and If so i need a script to make this not happen either. Violentpurge09 PS. Im feeling a demo is coming in near future :) Share this post Link to post Share on other sites
kellessdee 48 Report post Posted April 27, 2011 Try commenting out lines 46 & 112 in Game_Vehicle line 46 # @bgm = sys_vehicle.bgm line 112 # @bgm.play # Start BGM Not 100% if this will work correctly(I do not have a working version of vx, my trial ran out)...Try it out and lemme know, or if there is a VX user who could verify if this is all you need to do. Share this post Link to post Share on other sites
violentpurge09 0 Report post Posted April 27, 2011 Try commenting out lines 46 & 112 in Game_Vehicle line 46 # @bgm = sys_vehicle.bgm line 112 # @bgm.play # Start BGM Not 100% if this will work correctly(I do not have a working version of vx, my trial ran out)...Try it out and lemme know, or if there is a VX user who could verify if this is all you need to do. Its mostly battle thing thats the issue. ATM i dont have any Vehicles in the game. Thanks tho and i will test it out later tho becuz its prolly something that others wonder too. Share this post Link to post Share on other sites
kellessdee 48 Report post Posted April 27, 2011 Also, I looked into the scripts and it appears that the game timer doesn't stop while in battle, and it should also be displayed on the screen. Share this post Link to post Share on other sites
violentpurge09 0 Report post Posted April 27, 2011 Also, I looked into the scripts and it appears that the game timer doesn't stop while in battle, and it should also be displayed on the screen. Can you look into the Battlescreen Music for me? Share this post Link to post Share on other sites
kellessdee 48 Report post Posted April 27, 2011 What do you need to know about battle screen music? Share this post Link to post Share on other sites
violentpurge09 0 Report post Posted April 27, 2011 What do you need to know about battle screen music? can we make it so the start of battle doesn't stop the music... Share this post Link to post Share on other sites
kellessdee 48 Report post Posted April 27, 2011 so music just plays right through as in no change? #-------------------------------------------------------------------------- # * Switch to Battle Screen #-------------------------------------------------------------------------- def call_battle @spriteset.update Graphics.update $game_player.make_encounter_count $game_player.straighten $game_temp.map_bgm = RPG::BGM.last $game_temp.map_bgs = RPG::BGS.last RPG::BGM.stop RPG::BGS.stop Sound.play_battle_start $game_system.battle_bgm.play $game_temp.next_scene = nil $scene = Scene_Battle.new end That is in the Scene_Map Script. first comments out these two lines # RPG::BGM.stop # RPG::BGS.stop if you want the same bgm to continue to play and no battle bgm, comment out this line # $game_system.battle_bgm.play There will still be more things you need to change IF you do not want to play victory ME, etc... or is this what you need? I am unsure if you do not want the pause between map bgm / battle bgm or you just do not want the battle bgm to play at all. Share this post Link to post Share on other sites
violentpurge09 0 Report post Posted April 27, 2011 so music just plays right through as in no change? #-------------------------------------------------------------------------- # * Switch to Battle Screen #-------------------------------------------------------------------------- def call_battle @spriteset.update Graphics.update $game_player.make_encounter_count $game_player.straighten $game_temp.map_bgm = RPG::BGM.last $game_temp.map_bgs = RPG::BGS.last RPG::BGM.stop RPG::BGS.stop Sound.play_battle_start $game_system.battle_bgm.play $game_temp.next_scene = nil $scene = Scene_Battle.new end That is in the Scene_Map Script. first comments out these two lines # RPG::BGM.stop # RPG::BGS.stop if you want the same bgm to continue to play and no battle bgm, comment out this line # $game_system.battle_bgm.play There will still be more things you need to change IF you do not want to play victory ME, etc... or is this what you need? I am unsure if you do not want the pause between map bgm / battle bgm or you just do not want the battle bgm to play at all. I will be starting all the background music by common event, this music has to play straight through. Share this post Link to post Share on other sites
kellessdee 48 Report post Posted April 28, 2011 Then go into the script "Scene_Map" and comment out lines 203, 204 & 206 # RPG::BGM.stop # RPG::BGS.stop # $game_system.battle_bgm.play Those lines stop the bgm and start the battle music Then go into the script "Scene_Battle" and comment out line 587 # RPG::BGM.stop if you DO NOT want the victory fanfare to play, comment out line 588 # $game_system.battle_end_me.play and lastly...Will you be restarting the game music through common events? Or is there no separate battle music? IF you will be either manually changing the music back, OR if there is no separate battle music comment out lines 590 & 591 # $game_temp.map_bgm.play # $game_temp.map_bgs.play as well as lines 208 & 209 # $game_temp.map_bgm.play # $game_temp.map_bgs.play lemme know if it works the way you want Share this post Link to post Share on other sites