-
|
DCS.dcs_serverrelease: How do I set up in-game notifications and sounds? I want a unique sound for each message—e.g., 30min.ogg, 15min.ogg, etc. What do I need to do? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 7 replies
-
|
I am working on a TTS integration. For the time being, you can add warn sounds to your scheduler.yaml (the messages will already pop up for players on the top right). scheduler.yaml DEFAULT: # the DEFAULT block is valid for ALL your servers
startup_delay: 10 # delay in seconds between the startup of each DCS instance (default: 10)
warn: # warn times before a restart / shutdown (see an alternative format below)
message: '!!! {item} will {what} in {when} !!!' # Message to be displayed as a popup in DCS. These variables can be used in your own message.
sound: alarm.ogg # a warning sound (see ./sounds/alarm.ogg)
times: # List of times when a message will be displayed
- 600
- 300
- 60
- 10The sound can be manually added to your mission or by using a MizEdit preset like so: add_warn_sound:
files:
- sounds/alarm.oggnodes.yaml MyNode:
MyInstance:
extensions:
MizEdit:
settings:
- add_warn_sounds # the name of the preset (if you have more than one preset, the syntax in here might differ) |
Beta Was this translation helpful? Give feedback.
-
|
Okay, your suggestion works, but I’d really like to have a unique sound for each message—e.g., 30min (like 30min.ogg) and 15min (like 15min.ogg). Thanks for the great work, though! |
Beta Was this translation helpful? Give feedback.
-
|
I will look into adding that |
Beta Was this translation helpful? Give feedback.
-
|
I will do it like so: warn:
times:
600:
message: "The server is going to be restarted in 10 minutes, you should RTB!"
sound: beep.ogg
300:
message: "5 minutes left until the server restarts!"
sound: beep.ogg
60:
message: "Server restarts in 1 minute!"
sound: notify.ogg
10:
message: "Server is going to restart in 10 seconds!"
sound: alarm.oggWill be in the next release. All old formats also still work. |
Beta Was this translation helpful? Give feedback.
-
|
warn: This is how it works for text and sound—just one sound. warn: "This won't work"—text and sound issues. |
Beta Was this translation helpful? Give feedback.
-
|
DCSServerBot Release 3.0.4.25: I'm getting an error in the scheduler log. Can you help me? Thanks. DCS.dcs_serverrelease: Error in log |
Beta Was this translation helpful? Give feedback.
-
|
Or do I need to create a new database? |
Beta Was this translation helpful? Give feedback.
-
|
But I do have Discord: Calwpower#547001009847926814 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
There is an issue in the schema validator, not in your yaml I fear. validation: "none" Are you on the git cloned variant of the bot or the ZIP version? |
Beta Was this translation helpful? Give feedback.
-
|
I sent you a friend request on Discord. That will be faster. |
Beta Was this translation helpful? Give feedback.
I will do it like so:
Will be in the next release. All old formats also still work.