Speech Noises 2: Quality of Life, New Sounds (#8044)
* Vending machine jingle much less intense * SpeechSoundsPrototype has a built in variation parameter * Sounds in your face are louder but roll off more aggressively so that distant talking sounds are less distracting * Redo that * Speech noise system now supports variation of pitch * license stuff * PAIs have speech sounds now. Made by altering the pAI sounds. * Monkeys have sounds from goon now * New Speech Sounds * Oops
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Content.Shared.Speech
|
||||
public string? SpeechSounds;
|
||||
|
||||
[DataField("audioParams")]
|
||||
public AudioParams AudioParams = AudioParams.Default.WithVolume(5f);
|
||||
public AudioParams AudioParams = AudioParams.Default.WithVolume(6f).WithRolloffFactor(4.5f);
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("soundCooldownTime")]
|
||||
|
||||
@@ -15,6 +15,11 @@ namespace Content.Shared.Speech
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
//Variation is here instead of in SharedSpeechComponent since some sets of
|
||||
//sounds may require more fine tuned pitch variation than others.
|
||||
[DataField("variation")]
|
||||
public float Variation { get; set; } = 0.1f;
|
||||
|
||||
[DataField("saySound")]
|
||||
public SoundSpecifier SaySound { get; set; } = new SoundPathSpecifier("/Audio/Voice/Talk/speak_2.ogg");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user