Documentation
Quick InfoVersion: Beta
Made for RPG Maker MZ 1.10.0
REQUIRED: All [CGMZ] Plugins require [CGMZ] Core placed above them in the Plugin Manager.
Battle TestThis plugin supports battle test through the database. You first need to enable it to work in the battle test through the plugin parameter (enabled by default), and then the plugin will ignore switch conditions in battle test. Note that map themes will still not play in battle test.
Plugin CommandsThis plugin includes the following plugin commands:
Get Statistic
This will get a statistic tracked by the plugin and store the result in a game variable. Note that some statistics return a string, which you will need to use js to deal with in your events. The following stat types are supported:
Total - Gets the total battle bgm plays across all bgms
Most Played File - Gets the most played bgm filename (string)
Most Played Count - Gets the most played bgm play count
Least Played File - Gets the least played bgm filename (string)
Least Played Count - Gets the least played bgm play count
Play Count - Gets the play count for the given bgm
Saved GamesThis plugin is fully compatible with saved games. This means you can:
✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.
Filename
The filename for this plugin MUST remain CGMZ_BattleBGMControl.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.
Known Issues
This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.
Compatibility
This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.
Version HistoryVersion AlphaR2
- Added class themes
- Fixed a bug where certain themes were more likely to play than others
- Optimized battle theme loading
- This plugin now warns instead of crashes when invalid json detected
- Added theme weights
- Added game switch to control plugin functionality
- Removed Set Control plugin command
- Map parameter converted to map type
- Added switch condition to themes
- Added option to prevent repeating same theme twice in a row
- Enable Switch behavior changed
- This plugin now skips switches in battle test
- Added Battle BGM statistics