Space Engineers

Space Engineers

Ocen: 60
Isy's Sound Randomizer
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
1.797 KB
7 maja 2018 o 8:48
14 maja 2018 o 6:02
Listy zmian: 7 ( zobacz )

Zasubskrybuj, aby pobrać
Isy's Sound Randomizer

W 1 kolekcji stworzonej przez Isy
Isy's Mini Script Series
Przedmioty: 7
Opis
This script lets you randomly play sounds of a soundblock. Great for ambient soundpacks.

Current Version:
Version: 1.0.5
Date: 2018-05-14

Main features:
  • Play sounds in a fixed interval or adjustable random interval
  • Play sounds in order or random order
  • Use search filter to find sounds

Setup:
  • set up a programmable block with the script
  • change the settings in the PB to your likings
  • no timer required
  • Note: Game has to be in experimental mode and ingame scripts have to enabled in world options!

Join my discord:

You need additional help, want to make suggestions or just want be up to date about my scripts? Join my discord server:
https://discord.gg/gY9aUUy

Wanna buy me a beer?

If you like my work, you can buy me a beer via PayPal:
http://paypal.me/derisy/1

Thanks to all my donators so far!
Komentarzy: 32
Deapri 24 stycznia 2024 o 15:32 
Isy, would it be too much trouble to add an argument to skip a sound if ddesired?


void Main(string argument)
{
if(argument == "next")

{

firstRun = true;
}
Deapri 24 stycznia 2024 o 4:21 
Thanks for this Isy, was looking for a was to play a mix track while salvaging via a sound block.
MacMooey 31 maja 2022 o 15:32 
Okay, I was unaware. Still new to the modding scene of SE, thank you so much!
Isy  [autor] 31 maja 2022 o 1:55 
That's because you put it in the MOD list... Scripts are not mods! They have to be subscribed by every user and then loaded into programmable blocks.. Watch this video for more informations about how to do it:

https://youtu.be/NkhZ7BbYgvc
MacMooey 30 maja 2022 o 19:23 
Hey Isy, every time I attempt to load your script in a world, I get a fatal error and the script fails to load.
Sindobaddo 14 kwietnia 2022 o 4:55 
oh... damn, well thank you anyway
Isy  [autor] 14 kwietnia 2022 o 1:19 
No, it's more likely meant to play some ambient background noises now and then.. For your case, you'd need two sound blocks that are triggered by the sensors directly..
Sindobaddo 13 kwietnia 2022 o 9:36 
can this script use a sensor to trigger a specified sound? and another sensor to trigger a different specified sound on the same sound block? or is it only meant for random?
Isy  [autor] 24 lutego 2022 o 1:21 
It's definitely possible but would require some work on this script, which I'm honestly not willing to do.. Neither I nor many other people found a good use for it, so you have to take it as-is unfortunately..
waverider6000 23 lutego 2022 o 8:00 
Hi Isy.... thanks for your prompt reply

I think I miss understood your description and was trying to achieve a result that the script isn't designed to do which is a shame.

"Main features: Play sounds in order or random order"

I believe that it will play all sounds in list once before restarting the list, but placing sounds in script one after the other doesn't ensure it will play them in the exact order in script.

wish you could enter a number command before sound in the script so that it knows the order to play. I am not sure if thats possible, I am jealous of those who can code thanks for your time.