Remove voices
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Content.IntegrationTests.Tests.Preferences
|
|||||||
"Silicon",
|
"Silicon",
|
||||||
"The biggest boy around.",
|
"The biggest boy around.",
|
||||||
"Human",
|
"Human",
|
||||||
"Eugene",
|
"Mykyta",
|
||||||
21,
|
21,
|
||||||
Sex.Male,
|
Sex.Male,
|
||||||
Gender.Epicene,
|
Gender.Epicene,
|
||||||
|
|||||||
@@ -33,13 +33,13 @@ public abstract class SharedHumanoidAppearanceSystem : EntitySystem
|
|||||||
public const string DefaultBodyType = "HumanNormal";
|
public const string DefaultBodyType = "HumanNormal";
|
||||||
|
|
||||||
[ValidatePrototypeId<TTSVoicePrototype>]
|
[ValidatePrototypeId<TTSVoicePrototype>]
|
||||||
public const string DefaultVoice = "Eugene";
|
public const string DefaultVoice = "Mykyta";
|
||||||
|
|
||||||
public static readonly Dictionary<Sex, ProtoId<TTSVoicePrototype>> DefaultSexVoice = new()
|
public static readonly Dictionary<Sex, ProtoId<TTSVoicePrototype>> DefaultSexVoice = new()
|
||||||
{
|
{
|
||||||
{ Sex.Male, "Eugene" },
|
{ Sex.Male, "Mykyta" },
|
||||||
{ Sex.Female, "Kseniya" },
|
{ Sex.Female, "Charlotte" },
|
||||||
{ Sex.Unsexed, "Xenia" },
|
{ Sex.Unsexed, "Glados" },
|
||||||
};
|
};
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ public sealed partial class SharedTTSComponent : Component
|
|||||||
/// Prototype of used voice for TTS.
|
/// Prototype of used voice for TTS.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
|
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
|
||||||
public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Eugene";
|
public ProtoId<TTSVoicePrototype> VoicePrototypeId { get; set; } = "Mykyta";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,33 +1,3 @@
|
|||||||
- type: ttsVoice
|
|
||||||
id: Aidar
|
|
||||||
name: tts-voice-name-aidar
|
|
||||||
sex: Male
|
|
||||||
speaker: aidar
|
|
||||||
|
|
||||||
- type: ttsVoice
|
|
||||||
id: Eugene
|
|
||||||
name: tts-voice-name-eugene
|
|
||||||
sex: Male
|
|
||||||
speaker: eugene
|
|
||||||
|
|
||||||
- type: ttsVoice
|
|
||||||
id: Baya
|
|
||||||
name: tts-voice-name-baya
|
|
||||||
sex: Female
|
|
||||||
speaker: baya
|
|
||||||
|
|
||||||
- type: ttsVoice
|
|
||||||
id: Kseniya
|
|
||||||
name: tts-voice-name-kseniya
|
|
||||||
sex: Female
|
|
||||||
speaker: kseniya
|
|
||||||
|
|
||||||
- type: ttsVoice
|
|
||||||
id: Xenia
|
|
||||||
name: tts-voice-name-xenia
|
|
||||||
sex: Female
|
|
||||||
speaker: xenia
|
|
||||||
|
|
||||||
- type: ttsVoice
|
- type: ttsVoice
|
||||||
id: Charlotte
|
id: Charlotte
|
||||||
name: tts-voice-name-charlotte
|
name: tts-voice-name-charlotte
|
||||||
|
|||||||
Reference in New Issue
Block a user