Remember the SimpleMsgSideView plugin that programmed the Battle Log Window for RPG Maker MV to display the battle log/message as a single line message but only for the side-view battle? The OneLineBattleMessage plugin is similar to that plugin, but unlike the other plugin, the OneLineBattleMessage will work with the front-view battle and the side-view battle. Here are the screenshots of the plugin in action during the front-view battle:
Now, here are the screenshots of the plugin in action during the side-view battle:
The plugin will also let you change the message speed (from 0 to 30) as well as change the window skin image (which should be in the same graphic format as the Window image file unless you choose to have no window displayed behind the text). For the load window skin function, I created that type of function that's exclusive to the plugin. I personally don't think that there's any risk of having a complete override to the loadWindowskin function for this plugin, but just to be on the safe as you never know if someone will create a plugin that may rely on the window properties from the Battle Log Window, I decided to create a function that's not a complete override to the loadWindowskin function as a precaution against any potential conflict with other plugins. Here's the screenshot of the plugin:
The plugin is copyleft and open-source, so there's no need for you to give me credit for the plugin and you are free to modify the plugin if you wish to do so. Here's the code for the plugin:
Spoiler: ONE LINE BATTLE MESSAGE PLUGIN CODE
In addition to the code, I'll be attaching the OneLineBattleMessage plugin to this post. If I notice that there's any mistake or error in the plugin that I may have overlooked, then I'll update the code and upload the plugin attachment with the fix(es).
UPDATE: I have added more parameters/features to the plugin, and as a result, I uploaded the updated plugin as well as copy/pasted the updated code for the plugin under the spoiler tag above and replaced an earlier screenshot of the plugin with a new screenshot of the plugin. The Message Speed parameter is still a standalone parameter, but Window is now part of the BL (Battle Log) Window Properties structure with three other parameters on that structure.
In addition to the BL Window Properties structure, there is also the BL Font Properties structure, which handles the font properties.
Finally, there are two new standalone parameters: Text Alignment and Constant Window Openness. The Text Alignment allows you to choose between Center alignment and Left alignment for the text, while Constant Window Openness is for the ones that prefer for the Battle Message Window to stay constantly open during the battle turn instead of it opening when there's text and closing when there's no text.
Let me know if you have any question about one of the parameters, please! For now, here's a screenshot that shows the plugin making use of couple of its new parameters/features.
本贴来自国际rpgmaker官方论坛作者:Lion Blade Soler处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/one-line-battle-message-plugin-updated-with-new-parameters.128178/