Space Engineers

Space Engineers

评价数不足
VOX Announcer PB Script
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
80.561 KB
2020 年 1 月 17 日 上午 11:47
2020 年 1 月 20 日 上午 10:44
3 项改动说明 ( 查看 )

订阅以下载
VOX Announcer PB Script

描述
This script allows you to make use of the VOX Announcer text-to-speech sounds.

Required mod: VOX Announcer text-to-speech system

Don't add to modlist on a dedicated server.

Usage

Place a Sound Block and a Programmable block on the same grid.

Load this script into the PB, set the output field to the name of your sound block, check code and hit ok.

Enter the text you want to hear in argument and run the script.

Commands

@output <name> - Sets output to a single sound block with this exact name. Example: @output Sound Block 2
@outputs <name> - Sets all sound blocks matching this substring as outputs. Example: @outputs [VOX]

Inline commands

These can be used anywhere in the text and will take effect immediately.

@vox_fem - Use feminine voice.
@vox_mas - Use masculine voice.
@trim:<number> - Adjusts the end time of the sample in milliseconds, try @trim:-150 to speed up speech.

LCDs

If an LCD exists with a name matching the the output sound blocks name appending with " LCD" then the current spoken word will be written as text to the display.

For example:

Sound block named "My Sound Block"
LCD named "My Sound Block LCD"
Set output in PB to "My Sound Block"
7 条留言
Middle_Sand 1 月 15 日 下午 3:02 
script seems to be broken, the only thing working is errors. the mod is installed. the LCD doesn't seem to be reporting anything either.
Ghost of Mildred Monday 2021 年 4 月 25 日 下午 8:36 
This also doesn't show up in my modlist :(
CockyComrade 2021 年 2 月 2 日 上午 6:32 
this mod doesnt show up in my se modlist and i dont know how to fix it
Sworddog 2020 年 11 月 18 日 下午 3:27 
Is there a way to add more words?
Xo  [作者] 2020 年 4 月 16 日 上午 6:01 
Done. I thought I'd fixed it so it wouldn't error on dedicated servers but I didn't test torch.
Invalid 2020 年 4 月 15 日 下午 8:20 
Can you remove the VOX TTS script from the requirements list and instead link it in the description? Apparently torch hates it and refuses to add the mod, probably because it's a script and not a mod that's being listed as a dependency.
Leif Erik Ronnback 2020 年 2 月 29 日 下午 10:48 
Thanks man this is awesome!