じ☆ve冰风 发表于 2026-7-24 21:40:05

KC_TextSounds - Face-based dialogue blips with control codes [MZ / MV]

KC_TextSounds 1.1.2
by Kelly Chavez​

Introduction
This is a simple plugin that allows you to set and control sound effects played when a character is printed in the message box.

Features

[*]Automatically change text blip SE, pitch, volume, and more based on character faces
[*]Set a general text sound that plays when no face is used in a message box
[*]Disable all text sounds with the simple flip of a switch
[*]Temporarily change text sound parameters via text codes in the box

Example Media

https://www.youtube.com/embed/T7d86VHPhJU

How to Use
To use, download this plugin, place it into your game's plugins folder, and enable it in the plugin manager. From there, follow the information in the help section. See the demo for a working setup.

Plugin Commands / Script Calls
None

Text Codes
Spoiler: Text CodesUse these in your message boxes to change the text sound's parameters on the fly

[*]\SEN

[*]Use the SE with the name x for the rest of this text box.

[*]\SEF

[*]Change the frequency of the text sound to x for the rest of the text box.

[*]\SEV

[*]Change the volume of the text sound to x for the rest of the text box.

[*]\SEPA

[*]Change the pan of the text sound to x for the rest of the text box.

[*]\SEPI

[*]Change the minimum pitch to x and the maximum pitch to y for the rest of the text box.

[*]\SEPIMIN

[*]Change the min pitch of the text sound to x for the rest of the text box.

[*]\SEPIMAX

[*]Change the max pitch of the text sound to x for the rest of the text box.

[*]\SEPRE

[*]Load the parameters of the preset with the name x for the rest of the text box.

[*]\SEPLAY

[*]Immediately play the text sound with preset name x or the current sound if x is blank or not a valid preset name


Downloads & Demos
GitHub Releases

Changelog
Spoiler: Changelog

[*]2022/8/22 - v1.0.0

[*]Initial release

[*]2022/10/14 - v1.0.1

[*]Fixed frequency being off by one

[*]2022/12/15 - v1.1.0

[*]Added new text code to play either the currently loaded text sound or a preset at any point in the message
[*]Internally restructured code to be in-line with more recent plugins
[*]An SE is now played on the first non-whitespace character of the message rather than waiting until the frequency parameter is met for the first time, and a toggle has been added to enable the old behavior

[*]2025/02/19 - v1.1.1

[*]Fixed incompatibility with RPG Maker MZ corescript 1.9.0
[*]Updated help section to remove changelog

[*]2025/03/12 - v1.1.2

[*]Fix preset configurations failing to load in certain circumstances


Known Compatibility Issues
Spoiler: Compatibility Issues

[*]Message Log VisuStella MZ

[*]Issue: KC_TextSounds text code parameters remain in the message log.
[*]Known Fixes: None
[*]Workaround(s):

[*]Use the Message Letter Sounds VisuStellaMZ plugin instead



Terms and Credits
I've released this plugin under the MIT license. So, you can include this plugin in any project as long as you include the license with your distribution. For most projects, this requirement is fulfilled as long as you keep the license text that is at the top of the plugin's js file intact.

Also, though not strictly required, I would appreciate being credited as K. Chavez or Kelly Chavez in your games' credits.


本贴来自国际rpgmaker官方论坛作者:Kelly-inactive处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/kc_textsounds-face-based-dialogue-blips-with-control-codes-mz-mv.150709/
页: [1]
查看完整版本: KC_TextSounds - Face-based dialogue blips with control codes [MZ / MV]