Go to file
2020-09-17 04:15:43 +02:00
sounds init project 2020-09-16 03:17:02 +02:00
textures init project 2020-09-16 03:17:02 +02:00
depends.txt init project 2020-09-16 03:17:02 +02:00
init.lua remove ephemeral option 2020-09-17 04:15:43 +02:00
mod.conf init project 2020-09-16 03:17:02 +02:00
README.md init project 2020-09-16 03:17:02 +02:00

MineTest - Sound block

This is mod for game: MineTest.

Allows to play OGG file.

It easy to set up.

  1. Copy OGG file to mesecons_soundblock\sounds folder.
  2. Take soundblock (type /give mesecons_soundblock:block on the chat or search block in the inventory).
  3. Place soundblock on the ground.
  4. Click right button of mouse on soundblock - it opens configuration window.
  • Channel - (string) channel's name,
  • Hearing distance - (int) max. distance between block and player. If is greater than declared, player don't hear anything from block,
  • Volume
  1. Next connect soundblock using digilines with e.g. microcontroller.
  2. If you want play sound, type in e.g. controller:

digiline_send("channel", "oggfilename")

where: channel - name of earlier declared channel oggfilename - name of ogg file in "mesecons_soundblock\sounds folder" without file extension

If is correct you should listen sound file.

Depends:

  • digilines
  • mesecons

License: CC BY 4.0