Skip to main content

Enable recorded audio for NPCs and other items

Comments

8 comments

  • I am working right now in adapting a world for a blind child and this feature is absolutely necessary.

    0
  • Phil N

    Cool idea. Adding in various audio recording and playback capabilities could unlock some neat scenarios as well as improving accessibility.

    0
  • Great! I vote

    0
  • fanglin yuan

    must support, this function very cool, please support this feature officially

    0
  • I found a workaround by uploading the sound file to Soundcloud and using the URL in the NPC's URL section. I made the button say "Listen to This"

    0
  • Penny Support
    Bug Zapper Super Star Beacon of Knowledge Support

    Great tip, thanks Vivian Chandra!

    0
  • Aleece Landis
    Bug Zapper Beacon of Knowledge Super Star

    Yes it would be very nice to have the ability to for instance, have the npc play the audio for spelling words that the students will then have to type to trigger the commands to send them to the next word on the quiz.

    0
  • Aleece Landis
    Bug Zapper Beacon of Knowledge Super Star

    While it is not an within game editing method.  I did figure out how to set up the spelling worlds audio to be played.  I had to first record all the spelling worlds in .ogg format.

    Then those audio files need to go into a resource pack and then get cataloged in the sound_definitions.json

    then it is possible to play them with a /playsound command.  Which can be triggered via npc open, button or exit command.

    I also used the npc dialogues file in a behavior pack to fill in all the NPC content so that I did not have to do all that from within game.

    I suppose it would be possible to set up commands blocks to detect when player are within certain spaces to cause audio to play but that is not something I have worked at figuring out lately.

    1

Please sign in to leave a comment.