-
Member
TTS Ancient and Primal
Hello everybody,
can someone explain me as an non programmer how to enable TTS for Ancient and Primal drops?
Searched the forum but only get more confused as i am always.
Last time I done this there were only a line to enable but i dont find it any more.
Thanks
Micha
-
Legendary
You have that possibility without adding plugins, but it is not enabled by default
Insert these lines in the file Plugins\User\PluginEnablerOrDisablerPlugin.cs (Customize method)
Code:
Hud.RunOnPlugin<ItemsPlugin>(plugin => {
plugin.EnableSpeakLegendary = false;
plugin.EnableSpeakAncient = true;
plugin.EnableSpeakPrimal = true;
plugin.EnableSpeakSet = false;
plugin.EnableSpeakAncientSet = true;
plugin.EnableSpeakPrimalSet = true;
} );
-
Post Thanks / Like - 1 Thanks
Razorfish (1 members gave Thanks to RNN for this useful post)
-
Active Member
The same would be true for Goblins. If you could post the code for that plugin, please, it would be appreciated.
-
Member
Ahh now i understand. seen this code different times but dont understand what to do with it.
-
Legendary
Goblins:
Code:
Hud.RunOnPlugin<GoblinPlugin>(plugin => {
plugin.EnableSpeak = true;
} );
Last edited by RNN; 05-23-2019 at 09:06 AM.
-
Legendary
Originally Posted by
dermicha1978
Ahh now i understand. seen this code different times but dont understand what to do with it.
Rename Plugins\User\PluginEnablerOrDisablerPlugin.txt to Plugins\User\PluginEnablerOrDisablerPlugin.cs ,and add the code
Last edited by RNN; 05-23-2019 at 09:11 AM.
-
Active Member
-
Member
Did something change here? Works last Season for me, but now it don`t work any more in actual non-season tests. No Sounds for Goblin or Ancient Drops.
-
Member
I've tried to enable the TTS for ancients and primals by adding the code in the .txt file but i dont hear the sounds when a ancient or primal drops.
this is how i placed the code in the txt file
Screenshot - b804e35db843462a9b886775acaf4425 - Gyazo
-
Contributor
You missed the part where you need to change file extension from .txt to .cs.
-
Member
Originally Posted by
Stormreaver
You missed the part where you need to change file extension from .txt to .cs.
Yeah i did change it later on to .cs file but still than didnt work. while the grey out bad items did work so still confused twhat i did wrong
-
Contributor
I am not sure if this is affecting you but try it out.
Basically, at some point TH volume became independent of the game.
It now comes in 3 Volume Modes: AutoMaster, AutoMasterAndEffects, Constant.
1. AutoMaster volume: (IngameMasterVolume / 100) * VolumeMultiplier
2. AutoMasterAndEffects volume: (IngameMasterVolume / 100) * (IngameEffectsVolume / 100) * VolumeMultiplier
3. Constant volume: 0 = no sound; 100 = max sound.
Which means you can try increasing your in-game master and/or effects volume and see if that helps.
If that does not help, you can try the below codes in your PluginEnablerOrDisablerPlugin.cs.
For 1 and 2, try the following to control the volume in the "override" section:
Code:
public override void Load(IController hud)
{
base.Load(hud);
//used when Mode is AutoMaster or AutoMasterAndEffects:
Hud.Sound.VolumeMultiplier = 25.0; // default 1.0
}
For 3, you can use this to control the volume in the "override" section:
Code:
public override void Load(IController hud)
{
base.Load(hud);
// used when Mode is Constant:
Hud.Sound.VolumeMode = VolumeMode.Constant; // windows volume
Hud.Sound.ConstantVolume = 100; // 0-100, default is 100 (max).
}
Last edited by Stormreaver; 11-25-2020 at 11:01 AM.
-
Member
Originally Posted by
Stormreaver
I am not sure if this is affecting you but try it out.
Basically, at some point TH volume became independent of the game.
It now comes in 3 Volume Modes: AutoMaster, AutoMasterAndEffects, Constant.
1. AutoMaster volume: (IngameMasterVolume / 100) * VolumeMultiplier
2. AutoMasterAndEffects volume: (IngameMasterVolume / 100) * (IngameEffectsVolume / 100) * VolumeMultiplier
3. Constant volume: 0 = no sound; 100 = max sound.
Which means you can try increasing your in-game
master and/or
effects volume and see if that helps.
If that does not help, you can try the below codes in your
PluginEnablerOrDisablerPlugin.cs.
For 1 and 2, try the following to control the volume in the "override" section:
Code:
public override void Load(IController hud)
{
base.Load(hud);
//used when Mode is AutoMaster or AutoMasterAndEffects:
Hud.Sound.VolumeMultiplier = 25.0; // default 1.0
}
For 3, you can use this to control the volume in the "override" section:
Code:
public override void Load(IController hud)
{
base.Load(hud);
// used when Mode is Constant:
Hud.Sound.VolumeMode = VolumeMode.Constant; // windows volume
Hud.Sound.ConstantVolume = 100; // 0-100, default is 100 (max).
}
Sorry for the late reaction/question.
But i tried both options i copied the whole code inc. the "{ }" but both options dont work
This is how its in the file
Screenshot - c79a05977baf737e9ec31e0d144db99d - Gyazo
Last edited by deathgambit93; 11-27-2020 at 06:07 PM.
-
Contributor
Try these:
- "Hud.Sound.ConstantVolume = 100;" instead of "Hud.Sound.ConstantVolume = 35;"
- In game Options > Sound > Volume, enabled sound and max all your sounds.
- In game Options > Sound > Hardware, change to these values:
Sound Channels: "Lowest (16)"
Sound Output: Default
Speaker Setup: Stereo
If the above do not work, try playing around with them to see if a settings works for you.
-
Member
Ill just give up i guess tried every setting every possible setting and no single setting would make a sound when a ancient dropped