This plugin allows you to call messages from external JSON files.
In doing so, it makes it much easier to collaborate on a project, or change text for different localizations.
It is compatible with Yanfly's Message Core. It is also recommended to use Yanfly's Message Core for word wrap and text codes, at minimum. That way, it makes it very easy to write external files and just have them called into your project.
Options include the ability to choose faceset for the message, make the background dim or transparent, or window location - all the default options for the Show Text command.
Use Script call - $gameMessage.showExternalMessage($file,id) to call messages.
The file and id can both be internal variables, allowing increased flexibility for incrementing messages, randomizing messages with NPCs, localization options, or doing if/else branching, based on variable change instead of using 10,000 nested if statements.
Examples of JSON file format and of various uses of the script call flexibility are included in the Demo Project.
Terms of Use: Okay to use in commercial or non-commercial projects. No credit is required. Editing is okay for personal use. Reposting, using parts of code, or redistributing with intent to sell can't be done without permission.
https://tome571.itch.io/external-text-files
Spoiler: Screenshots
本贴来自国际rpgmaker官方论坛作者:Tome571处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/external-text-files.118053/