Battle backgrounds?

I want to know about how battle backgrounds work. When I run an event to start a battle processing, the background seems dependent on the tileset used. When I start a battle processing on my own custom tileset, the background is instead a faded out still image of the area moments before the battle starts. How do I control what the battle backgrounds are in a battle processing, and/or how do I force them to be what they are set to be in the BG setting for the Troops page, and in the battle test of that?
First, there is no "BG Setting" in the troop page. You can display different backgrounds there to help with positioning the enemies (drag'n drop), but that picture is not stored as a setting anywhere.

If you are using evented battles only, the easiest way to do what you want is to use the change battle background event command BEFORE using battle processing. That command changes the setting on the map where the default background for that map is set.

If you're using random battles, this is not directly possible - in that case you need to do a two setup process. First is using the event command as in the first case, this time just in a troop event conditioned for turn 0.
Then you need a script command to force the engine to update the battleback, because the battleback had already been set by the battlescreen.
I don't know that command at the moment, but if you search around the forum you'll find that your question has been asked many times before, and a lot of the other answers contain that script function.
to my knowledge, the battle background changing on its own is only a function of the Overworld RTP tileset. Otherwise, you can set a battle Background for each map when you make it, it's not a function of the troop, it's part of the map creation, called "specify Battleback"
Yanfly does a plugin that might or might not be of interest. I haven't tried it, but it lets you use specific battlebacks for regions. The information about the plugin on his site refers to the overworld, but I imagine that it would work for all maps.

http://www.yanfly.moe/wiki/Region_Battlebacks_(YEP)

Have a feeling that it might be one that you have to pay for. Don't be put off if there is an error "429 Too Many Requests" under downloads, it just means that the site is busy, so try a little bit later.
see Dynamic Battlebacks 1.0 by ATT_Turan

This one is MV/MZ. It claims to allow setting battleback type according to Tile ID or Tile Set ID.
First, there is no "BG Setting" in the troop page. You can display different backgrounds there to help with positioning the enemies (drag'n drop), but that picture is not stored as a setting anywhere.

If you are using evented battles only, the easiest way to do what you want is to use the change battle background event command BEFORE using battle processing. That command changes the setting on the map where the default background for that map is set.

If you're using random battles, this is not directly possible - in that case you need to do a two setup process. First is using the event command as in the first case, this time just in a troop event conditioned for turn 0.
Then you need a script command to force the engine to update the battleback, because the battleback had already been set by the battlescreen.
I don't know that command at the moment, but if you search around the forum you'll find that your question has been asked many times before, and a lot of the other answers contain that script function.
Ah, thank you.

Original thread: https://forums.rpgmakerweb.com/threads/battle-backgrounds.177231/