Change Battleback

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

Battle backgrounds can be used to provide some sense of atmosphere. For example, if you’re walking through a forest and you encounter an enemy, seeing some cute bunnies and trees in the background makes it feel like a forest.

However, if you see dead bunnies and dying trees in the background, it feels much different. What happens if an enemy can cast a spell that will cause all of those bunnies and trees to die during battle?

RPG Maker MV comes with an event command that allows you to change battlebacks. However, if you try to change battlebacks during battle, you’ll notice that nothing happens. Instead, the change will only appear in the next battle.

This plugin allows you to change battle backgrounds during battle.

Download

Plugin: download here (right-click, save as)

Installation

Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_ChangeBattleback plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

During battle, use the “Change Battleback” event command located on the third page of the event commands.

changeBattlebacks2

This will change the battleback immediately. The changes will only last for the current battle, and will revert after the battle finishes.

You can choose to include other animation effects such as screen tinting, screen shaking, and so on to make the transition more interesting.

Saving and Restoring Battlebacks

There may be situations where you want to change the battleback, and you want to restore it to what it was before you changed it, but you didn’t know what the battlebacks were because they could have been anything at that point.

This plugin provides functionality for saving the current battlebacks and then restoring them.

To save battlebacks, use the script call

BattleManager.saveBattlebacks()

To restore battlebacks, use the script call

BattleManager.restoreBattlebacks()
Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

14 Responses

  1. Grunwave says:

    I might have the same issue that mrcopra had. Both my bottom and top backs are cut-in-half and juxtaposed.

    I think I can manually fix this by editing all of my BGs. Not sure if its an issue on my end or the plugin.

  2. mrcopra says:

    There is problem with background, it like mirrored

  3. cekobico says:

    This doesn’t seem to work if I call the common event with Yanfly Action Sequence.
    I have Yanfly Action Sequence calls a common event, which will call your plugin command to change battleback. It changes the battleback after the skill ends.
    Are you are aware of this incompatibility and plan to make it work in the future? Thanks 😀

  4. MinisterJay says:

    What is the proper procedure to change the battleback immediately after defeating the last/only troop member?

    • Hime says:

      It’s about the same as any other event that should run when all enemies have been defeated. You might choose to have an event run after the last enemy is dead. How you might go about checking for that would be up to you. You might use something like custom page conditions to directly set that as the condition for the page.

  5. Yonyon says:

    Hi. I am wondering you do I go about and set this up? I want to change the battle background during a skill usage and revert it back to normal after. Is this possible? if so, how to set that up? thanks!

  6. Kloe says:

    Is there a way to make the background scroll or is that another plugin?

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax