Introduction to the plugin: VoiceActingControl.js
Hello, RPG Maker MZ users!
"VoiceActingControl.js" allows you to capture lines and files as text in RPG Maker MZ. This plugin is suitable for personal use, and provides a user-customizable user interface. It allows you to easily manage files in your game.
Main features
Number (PlayVoice): Plays a number file that matches the specified character ID and line ID.
Stop (StopVoice): Exits the current game.
Compatibility: Works well with the default audio system of RPG Maker MZ (audio/se/ folder).
How to use
Installation of the plugin
Save this code as VoiceActingControl.js in the js/plugins/ folder.
Activate it in "Plugin Management" of RPG Maker MZ
Preparing the audio file
Prepare the print file in OGG format (sampling 44.1kHz recommended). Place the file in the audio/se/ folder and enter the file name in the format "ActorID_LineID.ogg" (e.g. 1_1.ogg).
Event Settings
Use "Script" in the event editor or call it via "Plugin Division" like this:
Expand: PluginManager.callCommand("VoiceActingControl", "PlayVoice", { ActorID: "1", LineID: "1" });
Pull: Select "PlayVoice" and set the "ActorID" and "LineID" values (depending on whether GUI is supported).
Use "StopVoice" when stopping.
Terms of Use and Cautions
Notice
RPG MAKER MZ íë¬ê·¸ì¸ ì´ì© ìë´
ìëíì¸ì, ë¸ë¡ê·¸ë¥¼ ì°¾ì주ì ì¬ë¬ë¶ê» ê°ì¬ ì¸ì¬ë립ëë¤!ì´ê³³ììë ì ê° ì§ì ì ìí RPG MAKER MZì© íë¬ê·¸ì¸ë¤ì ê³µì íê³ ììµëë¤. ê²ì ì ìì ëìì´ ë ì ìë ë¤ìí 기ë¥ì ë´ì¼ë ¤ ë¸ë ¥íì¼ë, ë§ì ê´ì¬ ë¶íë릴ê²ì. ì´ì© ë°©ë²ê° íë¬ê·¸ì¸ ê²ìê¸ìì ë¤ì´ë¡ë ë§í¬ë¥¼ íì¸í´ì£¼ì¸ì. ì¬ì© ì 첨ë¶ë ì¤ëªì(ëë íì¤í¸ íì¼)를...
otterscribe.tistory.com
Free to Use: This plugin is free to use in reading and electrical projects.
No Modification or Distribution: This code is not allowed to be written, used, redistributed, or incorporated into other content. Welcome to talk to the author ( OtterScribe ) before use.
Responsibility: If you are responsible for this issue, the author is not responsible for anything (game errors, data loss, etc.). Use at your own risk.
Support: If no official support is provided, please share what you like with the RPG Maker community if you encounter any problems.
Code Source
Below is the full code of the knot.
JavaScript
Code:
(You can download some of the code and replace it with a link if you need)
Test Environment
RPG Maker MZ Version: 1.9.0
OS: Windows 11
Contact: Please let me know if you have any bugs or suggestions for improvements in the comments.
本贴来自国际rpgmaker官方论坛作者:Otterscribe处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/rpg-maker-mz-voiceactingcontrol-plug-in.176335/