Adds space ambience (#8096)

* Adds space ambience

* handle that better

* Update Content.Client/Audio/BackgroundAudioSystem.cs

Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>

* Update Content.Client/Audio/BackgroundAudioSystem.cs

Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>

Co-authored-by: ike709 <ike709@github.com>
Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>
This commit is contained in:
ike709
2022-05-17 23:21:16 -05:00
committed by GitHub
parent ebfe5e888f
commit 53deaaf6ec
9 changed files with 134 additions and 6 deletions

View File

@@ -56,6 +56,19 @@ namespace Content.Shared.CCVar
/// </summary>
public static readonly CVarDef<float> AmbienceVolume =
CVarDef.Create("ambience.volume", 0.0f, CVar.ARCHIVE | CVar.CLIENTONLY);
/// <summary>
/// Whether to play the station ambience (humming) sound
/// </summary>
public static readonly CVarDef<bool> StationAmbienceEnabled =
CVarDef.Create("ambience.station_ambience", true, CVar.ARCHIVE | CVar.CLIENTONLY);
/// <summary>
/// Whether to play the space ambience
/// </summary>
public static readonly CVarDef<bool> SpaceAmbienceEnabled =
CVarDef.Create("ambience.space_ambience", true, CVar.ARCHIVE | CVar.CLIENTONLY);
/*
* Status
*/