Guns sounds / Custom sounds

Discussion in 'Plugin Development' started by Shinxs, May 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Shinxs

    Is there a way to add custom sounds to a bukkit server?
    And how to make gun sounds i've tried a lot but only Sounds.HURT_FLESH looks like one but i need many more.

    thanks in advance!
     
  2. Offline

    kreashenz

    I don't think this is possible without Spout/SpoutCraft.
     
  3. Offline

    Shinxs

    but a plugin like wasted has really cool guns sounds
     
  4. Offline

    kreashenz

    What's the plugin? Wasted? I've never heard of it. They probably mashup some sounds.
     
  5. Offline

    Shinxs

    yea i thought so too but i cant seem to figure out which sounds and such and the sound volume and pitch doesn't seem to work. you can check out the plugin at the shotbow network
     
  6. Offline

    kreashenz

    You could just try setting a bunch of random sounds together. Lol, I got no idea, honestly.
     
  7. Offline

    LucasEmanuel

    I haven't heard the sound you are referring too but it's probably the explosion sound at high pitch.

    EDIT:

    I did some tests, and this is probably what you are looking for:
    Code:
    player.getWorld().playSound(player.getLocation(), Sound.EXPLODE, 1, 2.5f);
     
  8. Offline

    Shinxs

    oke ill try that

    thanks it worked and i can change the pitch for different weapons but can you maybe explain how to pitch works and what it does?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
Thread Status:
Not open for further replies.

Share This Page