The RPG Maker Resource Kit

RMRK RPG Maker Creation => MV => MV Scripts Database => Topic started by: Glasses on January 18, 2016, 07:19:44 PM

Title: Hurt Sounds
Post by: Glasses on January 18, 2016, 07:19:44 PM
Name: Hurt Sounds
Version: 1.2
Author: Mr. Trivel
Created: 2015-11-26


What does it do?
Makes actors and enemies play a sound when they get hit.


Screenshots:
Nothing to show.


How to use?
Use following note tag in Actors or Enemies note fields:
<Hurt: [SFX], [VOL], [PITCH]>
[VOL] - Volume, by default 90
[PITCH] - Pitch, by default 100
E.g.: <Hurt:Siren, 90, 100>

In case of multiple tags on same Enemy or Actor - random sound from them will be picked to play.


Plugin: <Link: Github> (https://github.com/Trivel/RMMV/blob/master/MrTS_HurtSounds.js)
How to download the Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.


Terms of Use:
Don't remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for non-commercial projects.
For commercial use contact Mr. Trivel.
Title: Re: Hurt Sounds
Post by: Acolyte on January 18, 2016, 10:52:57 PM
Cool stuff.  ;8
Title: Re: Hurt Sounds
Post by: Glasses on January 18, 2016, 11:02:45 PM
Update v1.2
- Crash fix when attacking enemies/actors without hurt notes
Title: Re: Hurt Sounds
Post by: Wiimeiser on January 20, 2016, 01:25:58 AM
For this and Death Sounds, make it so that one with no death/hurt sound notetag just plays the default sound. Unless that's what you already did...