Space Engineers

Space Engineers

63 个评价
Isy's Sound Randomizer
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.797 KB
2018 年 5 月 7 日 上午 8:48
2018 年 5 月 14 日 上午 6:02
7 项改动说明 ( 查看 )

订阅以下载
Isy's Sound Randomizer

在 Isy 的 1 个合集中
Isy's Mini Script Series
7 件物品
描述
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
32 条留言
Deapri 2024 年 1 月 24 日 下午 3: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 2024 年 1 月 24 日 上午 4:21 
Thanks for this Isy, was looking for a was to play a mix track while salvaging via a sound block.
MacMooey 2022 年 5 月 31 日 下午 3:32 
Okay, I was unaware. Still new to the modding scene of SE, thank you so much!
Isy  [作者] 2022 年 5 月 31 日 上午 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 2022 年 5 月 30 日 下午 7: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.
MonsterCock69 2022 年 4 月 14 日 上午 4:55 
oh... damn, well thank you anyway
Isy  [作者] 2022 年 4 月 14 日 上午 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..
MonsterCock69 2022 年 4 月 13 日 上午 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  [作者] 2022 年 2 月 24 日 上午 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 2022 年 2 月 23 日 上午 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.