じ☆ve冰风 发表于 2026-7-26 16:24:01

Trb - EquipSound

EquipSound - Version 1.00

Creator name: Trb

Overview
Allows you to add a Sound Effect/ Music Effect when equipping items.

Features
- You can add a message text window while the sound plays.
- Can be used by using following tags in the Note field for Equipment.

Play SE for equipment
<equipSE: Filename, volume, pitch, pan> or
<equipmentSE: Filename, volume, pitch, pan>

Use the filename of SE that you're using.
Enter any numerical value for volume, pitch, pan.
You can leave the SE filename by itself without adjusting- volume, pitch, pan.
By default: volume becomes 90, pitch 100, pan 0.

Play ME for equipment
<equipME: Filename, volume, pitch, pan> or
<equipmentME: Filename, volume, pitch, pan>

Filename should be the same name as ME file that you're using.

For Wait
<equipWait: number of frames> or
<equipmentWait: number of frames>

Processing can be stopped by setting wait on equipment.
Use it when you want to wait until ME stops playing.
Enter numerical value in the number of frames.

Display Text
<equipText:text> or
<equipmentText:text>

Equipment can display texts through show text window.
Line breaks are \n.
If you want to write "%1" it will display actor's name with equipment.

Example-


https://s10.postimg.org/e6esjnf7t/eqs.png


<equipText:%1 \ngot Cursed!>

When you typed this down, it'll display:

「Harold
got Cursed!」


https://s10.postimg.org/qxsypw9hl/2018-03-21_T17-42-36-015_Z.png


Tip:
If you want to prevent an equipment from being removed, Edit "Traits" > Equip > and set Lock Equip to whichever type of equipment.
When using Lock Equip feature- it can't be removed from the equipment screen but it can be remove through "Change Equipment" from Event Commands.

Credit and Thanks: Trb

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/l7f4q1aj1zqkf25/Trb_EquipSound.js?dl=1


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