Not sure why I got exceptions for plugin unless I made the change but if I didn't change the line Hud.RunOnPlugin<GRVoice>(plugin => in the PluginEnablerOrDisablerPlugin.cs file to Hud.RunOnPlugin<One.GRVoice>(plugin => then I would get exception error.
It's all good now. I do appreciate the change and help on getting it to work. I do try to figure out most stuff by trial and error but programing is not my strong suit by any means. I am just a nube trying to learn what I can from time to time.
Thanks Again.
Real life hitted me, so i did not have the chan ce to test that Mr One, will do asap
Hey man, the sound for the plugin is always low in the windows mixer, any way to make it default stronger?
Last edited by sofaa; 11-19-2019 at 01:17 AM.
Hud.Sound.VolumeMode = VolumeMode.Constant;
Hud.Sound.ConstantVolume = X; 0-100
instead of only one gr progression %, I would like to speak out for certain prgression %
say each 20% (customizable )
Then the plugin will speak out at 20%, 40%, 80%
I couldn't hear anything.
plugins\User\PluginEnablerOrDisablerPlugin.cs
Code:using Turbo.Plugins.Default; namespace Turbo.Plugins.User { public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer { public PluginEnablerOrDisablerPlugin() { Enabled = true; } public override void Load(IController hud) { base.Load(hud); } public void Customize() { Hud.Sound.VolumeMode = VolumeMode.Constant; // The volume will depend on the central voumen of windows, not on the volume of the game Hud.Sound.ConstantVolume = 50; // Between 0 and 100, 0 is without sound, 100 is equal to the central volume } } }
works, thx alot