Skip to content

Commit

Permalink
Adjust alert level volumes (#9145)
Browse files Browse the repository at this point in the history
* Finally

* Requested adjustments
  • Loading branch information
Mirino97 authored Jun 27, 2022
1 parent 21b07b7 commit bda1999
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Content.Server/AlertLevel/AlertLevelSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public void SetLevel(EntityUid station, string level, bool playSound, bool annou
{
if (detail.Sound != null)
{
SoundSystem.Play(detail.Sound.GetSound(), Filter.Broadcast());
SoundSystem.Play(detail.Sound.GetSound(), Filter.Broadcast(), detail.Sound.Params);
}
else
{
Expand Down
15 changes: 12 additions & 3 deletions Resources/Prototypes/AlertLevels/alert_levels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,29 @@
gamma:
announcement: alert-level-gamma-announcement
selectable: false
sound: /Audio/Misc/siren.ogg
sound:
path: /Audio/Misc/siren.ogg
params:
volume: -2
disableSelection: true
color: PaleVioletRed
delta:
announcement: alert-level-delta-announcement
selectable: false
sound: /Audio/Misc/delta.ogg
sound:
path: /Audio/Misc/delta.ogg
params:
volume: -5
disableSelection: true
color: DarkRed
shuttleTime: 1200
epsilon:
announcement: alert-level-epsilon-announcement
selectable: false
sound: /Audio/Misc/epsilon.ogg
sound:
path: /Audio/Misc/epsilon.ogg
params:
volume: -2
disableSelection: true
color: DarkViolet
shuttleTime: 1200

0 comments on commit bda1999

Please sign in to comment.