Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NUUN Battle Background EX - NUUN_BattleBackgroundEX.js
Plugin desc : Battle background change
License : MIT License
Author : NUUN
Website : https://github.com/nuun888/MZ/blob/master/NUUN_BattleBackgroundEX.js
Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_BattleBackgroundEX.js
File name : NUUN_BattleBackgroundEX.js
Help of plugin :
* @target MZ * @plugindesc Battle background change * @author NUUN * @version 1.2.2 * @base NUUN_Base * @orderAfter NUUN_Base * * @help * You can change the battle background by region and terrain tag, and set it for each enemy group. * You can change the battle background set in the field map to an arbitrary image. () is the name of the default auto tile. * If no file is specified, the original battle background will be displayed. * * * Enter "Comment" on the first page of the enemy group's battle event. * <battleBack:[id]> * The battle background of this enemy group will be the battle background number [id] set in the list. * * map Notes * <regionBattleBack:[regionId],[id]> * At the time of encounter, when the region ID of the current location is [regionId], the battle background will be the battle background number [id] set in the list. * <tagBattleBack:[tagId],[id]> * At the time of encounter, when the terrain tag ID of the current location is [tagId], the battle background will be the battle background number [id] set in the list. * * The priority is normal battle background → terrain tag → region ID → enemy group. * * If the battle background is changed using the <battleBack><regionBattleBack><tagBattleBack> tag after changing the battle background with the event command, it will be displayed with priority over the battle background changed with the event command. * * Terms of Use * This plugin is distributed under the MIT license. * * Log * 9/17/2024 Ver.1.2.2 * Fixed an issue where battle backgrounds were not being applied for regions and tags. * 7/22/2023 Ver.1.2.1 * Added a function to synchronize the Y coordinate of the background and the Y coordinate of the monster. * 12/11/2022 Ver.1.2.0 * Changed the specification of the background setting. * Changed the display in languages other than Japanese to English. * 11/5/2021 Ver.1.1.1 * Changed the specification of battle background size adjustment. * 6/27/2021 Ver.1.1.0 * Added a function to adjust the position of the background image. * Added a function that allows you to change the battle background during battle. * 12/2/2020 Ver.1.0.1 * Fixed a bug that caused an error in test battles. * 12/2/2020 Ver.1.0.0 * First edition. * * @command ChangeBattleBackground * @desc Change the battle background image. It changes even in battle. * @text Battle background change * * @arg ChangeBackground * @text Battle background change * @desc Set the battle background to change. * @default * @type struct<SetBattleBackgroundImg> * * * @param Setting * @text Basic setting * @default ------------------------------ * * @param BackgroundFit * @desc Set the battle background display mode. * @text Battle background size adjustment * @type select * @option Normal * @value 'Normal' * @option Fit * @value 'Fit' * @option NoResize * @value 'NoResize' * @default 'Normal' * @parent Setting * * @param BackgroundRatio * @desc Correction magnification of the battle background when "NoResize" is selected. No enlargement at 100 * @text Correction magnification (only when "NoResize" is selected) * @type number * @default 100 * @min 0 * @parent Setting * * @param BackgroundPosition * @desc Move the Y coordinate of the battle background. * @text Battle background Y position * @type number * @default 0 * @min -999 * @parent Setting * * @param BackgroundEnemySynchronization * @desc Move the Y coordinate of the battle background and the Y coordinate of the monster together. * @text Background and monster Y coordinate synchronization * @type boolean * @default false * @parent Setting * * @param TagBattleBackground * @text Battle backgrounds for regions, terrain tags, and enemy groups * @default ------------------------------ * * @param BattleBackground * @text Battle background setting * @desc Set battle backgrounds to use for regions, terrain tags, and enemy groups. * @default [] * @type struct<BattleBackgroundList>[] * @parent TagBattleBackground * * @param DefaultBattlebackSetting * @text Default battle background * @default ------------------------------ * * @param DefaultBattleback * @text Default battle background * @desc Set default battle background. * @default * @type struct<SetBattleBackgroundImg> * @parent DefaultBattlebackSetting * * @param VehicleBattleback * @text vehicle combat background * @default ------------------------------ * * @param BoatBattleback * @text Boat battle background * @desc Set boat battle background. * @default * @type struct<SetBattleBackgroundImg> * @parent VehicleBattleback * * @param ShipBattleback * @text Ship battle background * @desc Set ship battle background. * @default * @type struct<SetBattleBackgroundImg> * @parent VehicleBattleback * * @param AirshipBattleback * @text Flying boat battle background * @desc Set the flying boat battle background. * @default * @type struct<SetBattleBackgroundImg> * @parent VehicleBattleback * * @param AutotileBattlebacksSetting * @text Autotile battle background setting * @default ------------------------------ * * @param AutotileBattlebacks * @text Autotile battle background * @desc Set the autotile battle background. * @default [] * @type struct<AutotileBattlebacksList>[] * @parent AutotileBattlebacksSetting *