An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

NUUN Region Map BGM - NUUN_RegionMapBGM.js

Plugin desc : Region Map BGM

License : MIT License

Author : NUUN

Website : https://github.com/nuun888/MZ/blob/master/NUUN_RegionMapBGM.js

Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_RegionMapBGM.js

File name : NUUN_RegionMapBGM.js

Help of plugin :

* @target MZ
 * @plugindesc Region Map BGM
 * @author NUUN
 * @base NUUN_Base
 * @orderAfter NUUN_Base
 * @version 1.0.0
 * 
 * @help
 * Change map BGM by region.
 * 
 * Map nots
 * <RegionMapBgm[regionId]:[BGMFailName],[Volume],[Pitch],[Pan]> Sets the regional BGM within the specified region ID.
 * [regionId]:region id
 * [BGMFailName]:BGM file name (no extension)
 * [Volume]:volume
 * [Pitch]:pitch
 * [Pan]:pan(-100~100)
 * <RegionMapBgm6:Field2,90,100,0> Field2's BGM will be played when the player enters the location with region ID 6.
 * 
 * Log
 * 1/9/2023 Ver.1.0.0
 * First edition.
 * 
 * Terms of Use
 * This plugin is distributed under the MIT license.
 * 
 * @command EnabledRegionMapBgm
 * @desc Specify whether to prohibit changing the area map BGM.
 * @text Prohibition of area map BGM change enabled
 * 
 * @arg SetRegionMapBgmEnabled
 * @text Change
 * @desc Prohibited with ON. OFF allows it.
 * @type boolean
 * @default true
 * 
 * @param RegionMapBgm
 * @text Regional BGM settings
 * @desc Set the regional BGM.
 * @type struct<RegionMapBgmsList>[]
 * @default []
 *

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.