Audio System Rejig (#9635)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Content.Shared.Shuttles.Systems;
|
||||
using Content.Shared.Sound;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Map;
|
||||
|
||||
@@ -41,11 +40,7 @@ public sealed class FTLComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("soundTravel")]
|
||||
public SoundSpecifier? TravelSound = new SoundPathSpecifier("/Audio/Effects/Shuttle/hyperspace_progress.ogg")
|
||||
{
|
||||
Params =
|
||||
{
|
||||
Volume = -10,
|
||||
Loop = true,
|
||||
}
|
||||
Params = AudioParams.Default.WithVolume(-3f).WithLoop(true)
|
||||
};
|
||||
|
||||
public IPlayingAudioStream? TravelStream;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Content.Server.Buckle.Components;
|
||||
using Content.Server.Doors.Components;
|
||||
using Content.Server.Doors.Systems;
|
||||
@@ -7,13 +6,13 @@ using Content.Server.Station.Systems;
|
||||
using Content.Server.Stunnable;
|
||||
using Content.Shared.Parallax;
|
||||
using Content.Shared.Shuttles.Systems;
|
||||
using Content.Shared.Sound;
|
||||
using Content.Shared.StatusEffect;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Collections;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Shared.Utility;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Content.Server.Shuttles.Systems;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user