Battle End Looping

I need a script that makes Battle End use BGM, not ME, so that I can make a looping victory theme for my game. I tried using this (http://www.rpgmakervxace.net/topic/15738-victory-music/), but for some reason it wouldn't work for me.

If someone could helps, I would be grateful. 😛
In BattleManager, change line 71:

Code:
$game_system.battle_end_me.play
to this:
Code:
Audio.bgm_play('Audio/BGM/filename', 100, 100)
where filename does not include the extension, the first 100 is the volume, and the second 100 is the pitch.
If you're using Yanfly's script and it's not working, make sure you have the music name enclosed in quotation marks and that the name is the same as it appears in the resources (or music list).  So, if the music is named Battle-1_First, then it should be entered the same way and even if it has spaces in it, you should include the spaces.  No need to worry about adding .ogg to the end of the name either, again, if you are using Yanfly's Victory Aftermath script.

Also, if you want to music to fade out after battle so it's not so jarring, add this in Yanfly's script between gain_drop_items and close_windows under overwrite method: self.process_victory in the BattleManager class: RPG::BGM.fade(1000) [change the 1000 to any number of milliseconds for the desired fade speed; not in frames!]

Hope this helps!
Oh, I assumed the script you referenced was something you only attempted to get this working, not that you were actually USING scripts previously to change battles.


Yes, if you're using a script that modifies behaviour, you should look for something within the script itself, rather than following my suggestion.
Alright, update:

I did what Shaz said in his first post, and instead of playing the BGM, it just immediately went to the maps BGM, skipping over the Battle End song altogether. I'm using Battle Engine Symphony (http://forums.rpgmakerweb.com/index.php?/topic/6037-battle-engine-symphony/?hl=%20side%20%20view), and I'm pretty sure that there's no problem in it, seeing as the battle end, more or less, did change. The song that I wanted to use has spaces in it, so I guess I might wanna shorten it to something simple or something then try again. Anything else you guys might know would be helpful. I'll update this in a few mins or so too tell you guys if shortening the name worked (Which I doubt it will, but whatever)...
Sorry for double posting, just wanted to say that I managed to fix the problem. This can be taken down now 🙂
sponge7325, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Edit your last post if you have more to add and it's been less than 72 hours.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/battle-end-looping.18925/