じ☆ve冰风 发表于 2026-7-26 18:53:35

Random Battle BGM

Random Battle BGM ​
by Karberus​
 ​
 ​
 ​
Versions:
Current Version: 1.2

Spoilerv1.0        25 Oct 2015-  Initial Release.v1.1        25 Oct 2015-  Added Plugin Commands to override random battle bgm and be able to set it through an event.v1.11       25 Oct 2015-Cleaned up a tiny bit of the code.v1.2      26 Oct 2015-Fixed a bug that caused other scripts plugin commands to affect this script's plugin commands. (lol) v2.0      07 Dec 2015-Almost completely rewritten. Fixed issues with Yanfly's Party System.



  ​
Introduction:
Whenever battle starts, this plugin will randomly play one of the BGM's that you choose.
 
 
Features:


[*]You may declare up to 30 BGM's 
[*]One of those BGM's will be chosen at random before each battle 
[*]You may turn this plugin on or off at any time through plugin commands.

How to use:


[*]Add the plugin to your game and set up what battle BGM's you wish to use by typing the filename in the parameter settings.

Plugin Commands:


[*]RandomBGM on/off             //Turns this plugin on or off 
Plugin:
RandomBattleBGM
 
 
Dependencies:
None
 
 
Known Bugs:
Changing the battle's bgm through an event doesn't work.

Yanfly's Party System would cause the bgm to change in the middle of battle 
 
 
Credit/Terms of use:
No need to credit me or anything, and it may be used however you wish; commercial or non-commercial.
 
 
Author's Notes
This is my first plugin ever, I've never coded before. I'm still learning and I am quite sure I made tons of mistakes so any help is appreciated lol. Hopefully it works as intended at least
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7


本贴来自国际rpgmaker官方论坛作者:Karberus处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/random-battle-bgm.47188/
页: [1]
查看完整版本: Random Battle BGM