2025-06-05 19:45:55 -04:00
|
|
|
using Robust.Shared.Audio;
|
|
|
|
|
|
2025-01-14 19:10:39 -05:00
|
|
|
namespace Content.Server.Speech.Components;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
public sealed partial class MumbleAccentComponent : Component
|
|
|
|
|
{
|
2025-06-05 19:45:55 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// This modifies the audio parameters of emote sounds, screaming, laughing, etc.
|
|
|
|
|
/// By default, it reduces the volume and distance of emote sounds.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public AudioParams EmoteAudioParams = AudioParams.Default.WithVolume(-8f).WithMaxDistance(5);
|
2025-01-14 19:10:39 -05:00
|
|
|
}
|