Hurt Sounds

Discussion in 'JS Plugin Releases (RMMV)' started by Mr. Trivel, Nov 30, 2015.

  1. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    458
    First Language:
    Lithuanian
    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>


    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.
     
    Last edited by a moderator: Feb 15, 2016
    #1
    Frogboy, Queen, burntable and 2 others like this.
  2. Shaz

    Shaz Veteran Veteran

    Messages:
    37,303
    Likes Received:
    11,118
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    What are your terms for commercial games? Could you please edit all your plugins and add that as well? Whether it's not for commercial use, payment required for commercial use, whatever.
     
    Last edited by a moderator: Nov 30, 2015
    #2
  3. Hexiiso

    Hexiiso Warper Member

    Messages:
    2
    Likes Received:
    2
    First Language:
    English
    This is great! I was waiting for this script for quite a while! It works fantastically.  :guffaw:

    Just as a suggestion, do you think it would be possible to have a sound play from a pool of sounds? Like, if we could put multiple tags and have one chosen at random when damaged? Just so there is a bit more variety in what a character can say or yelp.

    If not, this is still a great script and surprised it hasn't gained some attention. Thanks.
     
    #3
    PTS and burntable like this.
  4. PTS

    PTS Member Title? :D Veteran

    Messages:
    35
    Likes Received:
    3
    First Language:
    ru
    Hexiiso, +1

     

    And what about the individual sound of death for the enemies?
     
    #4
  5. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    458
    First Language:
    Lithuanian
    Update v1.1
    - Picking a random sound if multiple tags are on the same enemy or actor.


    @PTS, custom collapse sounds? I'll see.
     
    Last edited by a moderator: Jan 19, 2016
    #5
    burntable and PTS like this.
  6. PTS

    PTS Member Title? :D Veteran

    Messages:
    35
    Likes Received:
    3
    First Language:
    ru


    it sooooo wonderful! tnx!!!


    PS: yes, collapse sound, bcs at the moment of sounds of "death" more like a collapse of the galactic black hole
     
    Last edited by a moderator: Jan 19, 2016
    #6
  7. PTS

    PTS Member Title? :D Veteran

    Messages:
    35
    Likes Received:
    3
    First Language:
    ru


    Strange, but i have problem.


    Add tag (enemy note)


    <Hurt: Bandithit1, 80, 100>


    and after start battle i see TypeError (see file attach)

    error.png
     
    #7
  8. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    458
    First Language:
    Lithuanian
    Update v1.2- Crash fix when attacking enemies/actors without hurt notes
     
    #8
    PTS likes this.
  9. Aidensmercy

    Aidensmercy Veteran Veteran

    Messages:
    121
    Likes Received:
    24
    First Language:
    english
    Very nice plugin!


    Works for me, and with no issues.
     
    #9
    PTS likes this.
  10. PTS

    PTS Member Title? :D Veteran

    Messages:
    35
    Likes Received:
    3
    First Language:
    ru


    Tnx Mr. Trivel! Now the plugin works well!


    If you have the desire and time, I ask you to consider the possibility of extending the functionality of the plugin. For example:
    - random collapse sound (with multiple tags) for characters & enemys


    - random attack sound (with multiple tags) for characters & enemys
     
    #10
  11. Mr. Trivel

    Mr. Trivel Glasses Veteran

    Messages:
    284
    Likes Received:
    458
    First Language:
    Lithuanian


    You mean this?
     
    #11
    PTS likes this.
  12. Hexiiso

    Hexiiso Warper Member

    Messages:
    2
    Likes Received:
    2
    First Language:
    English
    This works fantastic. Thanks again for the script, great job.
     
    #12
  13. Hetti

    Hetti Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    english
    Primarily Uses:
    RMMV
    I downloaded this plugin and it works. Kinda. Whenever I have this plugin on, and an enemy attacks the player mid-battle, it will instantly give me an error screen that says:

    "TypeError
    Cannot read properly 'length' of undefined."

    Why is this happening and how do I fix it? Capture.JPG
     
    #13
  14. jessee_p

    jessee_p Villager Member

    Messages:
    9
    Likes Received:
    5
    Location:
    Brisbane, Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    I get this error as well. Particularly when I use Yanfly's party system plug in. Something to do with using 5 battlers, doesn't seem to like it.
     
    #14

Share This Page