Trb - EquipSound

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
608
Reaction score
1,010
First Language
English
Primarily Uses
N/A
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-



<equipText:%1 \ngot Cursed!>

When you typed this down, it'll display:

「Harold
got Cursed!」



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
 

Attachments

Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Hi, there.
I'm Creta Park, as Software engineer and Indie game developer.

Profile : creft.me/cretapark
GitHub : github.com/creta5164
Blog : creta5164.tumblr.com


My stuff

Who shares/sells their scripts/plugins on itch.io? Can I pick your brain?
If you ever need fantasy names and you're bored, make a fictional alphabet. Switch around the letters and see what you get :p
I JUST GOT PROMOTED TO 9TH GRADE BOIS!

Forum statistics

Threads
98,168
Messages
949,923
Members
129,455
Latest member
DeathByPiercing
Top