Announcement
Announcement
| 2nd Quarter Contest Announcement posted! See the Community Announcements section. |
Ace questions are not permitted to be posted. VX questions only, thanks in advance!
![]() ![]() |
May 14 2010, 05:33 AM
Post
#1
|
|
![]() ![]() Type: Designer Alignment: Neutral Good |
I have a scene where my characters have dialog with a boss while using the show picture eventing. When I have the conversation before entering battle the music that I enabled during the conversation does not carry over into the battle. So I tried inserting the conversation into the eventing after the battle is initiated. That, however, brings the battle screen up with normal battle music and then it switches to my BGM when it engages the event. This makes the scene very disjointed. Are there any ways you've come up with to smooth this transition or is there a way to set battle music for a specific troop?
Thanks a lot! |
|
|
|
May 14 2010, 05:49 AM
Post
#2
|
|
![]() Waiting for life to pass him by. ![]() Type: Writer Alignment: Neutral Good |
I have a simple way I do that, I'll basically just copy and paste what I said in another topic where someone wanted the exact same thing (third time I've pasted this xD)
There are scripts for that, since that is what you'd need, but I don't like downloading extra components that have to be placed in the folder like the audio engine and whatnot, so there is a simple way I do this by editing some stuff in the main script called Scene_Map: Basically starting around line 193 replace the current with this: CODE #-------------------------------------------------------------------------- # * 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 if $game_switches[53] == true $game_system.battle_bgm.play end $game_temp.next_scene = nil $scene = Scene_Battle.new end #----------------- if $game_switches[53] == true is the switch you have to put on for the map music to stop playing throughout the battle, or whatever music you make play before the battle. If you want it normal again (map bgm interrupted by battle bgm again) then you turn the switch on. 53 is mine, your switch can be any unused switch in your game. Also you have to change this as well in Scene_Battle around line 581 CODE #-------------------------------------------------------------------------- # * Victory Processing #-------------------------------------------------------------------------- def process_victory @info_viewport.visible = false @message_window.visible = true #RPG::BGM.stop $game_system.battle_end_me.play unless $BTEST $game_temp.map_bgm.play $game_temp.map_bgs.play end display_exp_and_gold display_drop_items display_level_up battle_end(0) end You won't have to make the victory music none since you just want the song leading into battle, but yeah that's basically how you'd do it without having to install any major scripts. If you need it explained more thoroughly let me know -------------------- The words that sprout of lies to our souls; if they bear fruit the lies disappear.
Games: Spoiler: |
|
|
|
May 14 2010, 06:40 AM
Post
#3
|
|
![]() ![]() Type: Designer Alignment: Neutral Good |
Thanks a lot for the quick reply! I searched for a while to find it, but the key words "Battle music", continue music, etc bring up around 20 pages of topics!
Thanks again, that is perfect. |
|
|
|
May 14 2010, 06:48 AM
Post
#4
|
|
![]() Waiting for life to pass him by. ![]() Type: Writer Alignment: Neutral Good |
No problem, and yeah it's a nice little edit that can add a lot to a game, I just love music leading into a battle
-------------------- The words that sprout of lies to our souls; if they bear fruit the lies disappear.
Games: Spoiler: |
|
|
|
Feb 20 2012, 02:00 AM
Post
#5
|
|
![]() Type: Musician |
I have a simple way I do that, I'll basically just copy and paste what I said in another topic where someone wanted the exact same thing (third time I've pasted this xD) There are scripts for that, since that is what you'd need, but I don't like downloading extra components that have to be placed in the folder like the audio engine and whatnot, so there is a simple way I do this by editing some stuff in the main script called Scene_Map: Basically starting around line 193 replace the current with this: CODE #-------------------------------------------------------------------------- # * 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 if $game_switches[53] == true $game_system.battle_bgm.play end $game_temp.next_scene = nil $scene = Scene_Battle.new end #----------------- if $game_switches[53] == true is the switch you have to put on for the map music to stop playing throughout the battle, or whatever music you make play before the battle. If you want it normal again (map bgm interrupted by battle bgm again) then you turn the switch on. 53 is mine, your switch can be any unused switch in your game. Also you have to change this as well in Scene_Battle around line 581 CODE #-------------------------------------------------------------------------- # * Victory Processing #-------------------------------------------------------------------------- def process_victory @info_viewport.visible = false @message_window.visible = true #RPG::BGM.stop $game_system.battle_end_me.play unless $BTEST $game_temp.map_bgm.play $game_temp.map_bgs.play end display_exp_and_gold display_drop_items display_level_up battle_end(0) end You won't have to make the victory music none since you just want the song leading into battle, but yeah that's basically how you'd do it without having to install any major scripts. If you need it explained more thoroughly let me know Hey man I know this is old but I would really appreciate your help. Basically I want a scene were I have one song playing throughout the whole event (Cutting through the battle and victory music) and I was wondering how do I make it just for this event (then the music stuff goes back to normal) and how do you carry it on past the victory music? |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 21st May 2013 - 09:31 PM |
|
|