Different Region Battlebacks

I would love to know if there was a script that:

Allowed different regions to have different battlebacks/BGM playing when you walk on them. I want this so my World Map can have you fight in the Snow and actually have a Snow Background.

I know Hime has a script that does this, sadly if messes with the Map Name Pop-up so if you change maps it still keeps the name of the Region you were in before on the map-name, and if you try to save (using Yanflys) It also appears as the location instead of what map your on.
they are already premade in the map_spriteset script but who only work with the field type tileset
Is that not like, a default feature? Regions being able to have a different battleback? 
The default game already does that.
Is that not like, a default feature? Regions being able to have a different battleback? 

The default game already does that.
 Different MAPS yes. But I think the OP is talking about the regions, as in the region tiles (the little numbers).
That is also what I thought ~ again, is that not already possible - being able to assign troops a specific battleback when encountered within a specific region upon a map ?
That is also what I thought ~ again, is that not already possible - being able to assign troops a specific battleback when encountered within a specific region upon a map ?
I dont think so. I thought the Troop page - change battle back was for testing? I have never had it effect any in-game stuff.
Hmm.. Just had a look into it and it seems your right ~ I always thought that was a feature already lol.

Guess its my own fault for never scripting battle related crap 😀
Hmm.. Just had a look into it and it seems your right ~ I always thought that was a feature already lol.

Guess its my own fault for never scripting battle related crap 😀
Haha no worries. I had to double check as well, thought I might have missed something 😛

To the OP - So you are effectively looking for some sort of Tile-related system i.e stepping on this tile (region) start battle draw this process?

This could be done with common events, I think.
Idk why but I always forget to check to see if this could be done with events... And as a matter of fact it can very easily. I swear I like don't read half the stuff in those 3pages of Event Commands.
The only thing I use from events is Comment, Show Text, Control Variables and script calls. Maybe the odd choice command 😀
ARGGG I promised myself to stay away from the forum while I will be sick....but no can't stop myself xD

okai for show a way and this will be a cake for dekita to do this via a script 

module REGIONmodule BATTLE_BACK_BETA # regions_id =>["floor_name","Wall_name"] BATTLE_BACK_REG ={ 1 =>["floor", "wall"] }endendclass Spriteset_Battle# then you edit the battleback method for take in consideration the Region ID simple like thatendthen I show you the path.....that's how you can make easy region id battleback ~
There are even easier ways of doing it using

$game_map.change_battleback(battleback1_name, battleback2_name) 😉
There are even easier ways of doing it using

$game_map.change_battleback(battleback1_name, battleback2_name) 😉
but that's mean he will have to doing a lots of even and blehhhhhh I am not a fan of doing event I am lazy so~
Events? arent those only for performing script calls and having a little graphic thing?

Code:
class Game_Map  alias :update_region_plaxalias :update_parallax  def update_parallax    update_region_plaxalias    update_region_battleback  end    def update_region_battleback    case region_id($game_player.x, $game_player.y)    when 1 then change_battleback("Region 1 - 1", "Region 1 - 2")    when 2 then change_battleback("Region 2 - 1", "Region 2 - 2")    when 3 then change_battleback("Region 3 - 1", "Region 3 - 2")      # An so on...    else ; setup_battleback # revert to map's default settings    end  end  end
lol is way is even better~ ! 
It could probably use some optimization methods for not altering the battleback when its not required, but alas, I am also lazy 😛
Or manually put it this way:

Code:
class Scene_Map < Scene_Base  alias :scene_map_update :update  def update    scene_map_update    case $game_player.region_id     # continue, when 2, when 3.. do your own stuff      when 1        $game_map.change_battleback("Castle", "Brick")    end  endend
There's this


mapRegions1.jpg



http://himeworks.com/2014/02/map-regions/
There's this

mapRegions1.jpg


http://himeworks.com/2014/02/map-regions/

Funfact, this is the script I was using and why replying to this message I figured out the Solution to my problem, BUT a new one has randomly arisen, because my Music has numbers a space away from the text (ex: Thunder 1000005th BC the coming of Lightning) i guess it misread the Number as the Volume, so I have to fix that now.

Original thread: https://forums.rpgmakerweb.com/threads/different-region-battlebacks.38213/