Add ambient music (#16829)
This commit is contained in:
@@ -33,10 +33,6 @@ namespace Content.Shared.CCVar
|
||||
/*
|
||||
* Ambience
|
||||
*/
|
||||
//TODO: This is so that this compiles, yell at me if this is still in
|
||||
public static readonly CVarDef<bool> AmbienceBasicEnabled =
|
||||
CVarDef.Create("ambiance.basic_enabled", true, CVar.CLIENTONLY | CVar.ARCHIVE);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// How long we'll wait until re-sampling nearby objects for ambience. Should be pretty fast, but doesn't have to match the tick rate.
|
||||
@@ -74,24 +70,25 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<float> AmbienceVolume =
|
||||
CVarDef.Create("ambience.volume", 0.0f, CVar.ARCHIVE | CVar.CLIENTONLY);
|
||||
|
||||
// Midi is on engine so deal
|
||||
public const float MidiMultiplier = 3f;
|
||||
|
||||
public const float AmbienceMultiplier = 2f;
|
||||
|
||||
/// <summary>
|
||||
/// Ambience music volume.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float> AmbientMusicVolume =
|
||||
CVarDef.Create("ambience.music_volume", 0.0f, CVar.ARCHIVE | CVar.CLIENTONLY);
|
||||
|
||||
public const float AmbientMusicMultiplier = 2f;
|
||||
|
||||
/// <summary>
|
||||
/// Lobby / round end music volume.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float> LobbyMusicVolume =
|
||||
CVarDef.Create("ambience.lobby_music_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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user