-
Savvy ? 🐒
[INTERNATIONAL] [Jack] PlayerSkillCooldownSoundAlertPlugin
Supported TurboHUD version: 7.7
This say out loud when a skill cooldown finish.
No skill configured by default, you need to add the skills you want.
Example for WitchDoctor's Spirit Walk skill :
PHP Code:
Hud.RunOnPlugin<Jack.Players.PlayerSkillCooldownSoundAlertPlugin>(plugin =>
{
plugin.InTown = true;
plugin.Add(Hud.Sno.SnoPowers.WitchDoctor_SpiritWalk);
//plugin.Add(Hud.Sno.SnoPowers.WitchDoctor_SpiritWalk, "Walk"); // custom name
//plugin.Add(106237); // by sno
//plugin.Add(106237, "Walk"); // by sno with custom name
// remove entries
//plugin.Remove(Hud.Sno.SnoPowers.WitchDoctor_SpiritWalk);
//plugin.Remove(106237);
// clear all
//plugin.Clear();
});
Unzip into /plugins/ Zip from GitHub
Notes :
- i find this annoying as hell, just made it because it was requested.
- i have no plan to handle other players
Last edited by JackCeparou; 08-15-2018 at 02:55 PM.
Reason: 7.7
-
Post Thanks / Like - 2 Thanks
agas,
greatscott (2 members gave Thanks to JackCeparou for this useful post)
-
Contributor
I remember the old config.xml has such a function
sound_notification
But it seems that I never used it
Adding TTS is a good idea, better than adding WAV files
-
Active Member
I still use the config.xml method and it works well. Only issue is if 2 or more cooldowns finish within a moment the order is messed up.
-
Savvy ? 🐒
Originally Posted by
itsmylife
Only issue is if 2 or more cooldowns finish within a moment the order is messed up.
Tbh, I have no idea how my code behave in this case ^^
-
Member
I am new to the plugins and configurations.
On which line should add the abilities or do i need to add them as an other file in the same folder.
Thanks
-
Savvy ? 🐒
Originally Posted by
agas
I am new to the plugins and configurations.
On which line should add the abilities or do i need to add them as an other file in the same folder.
First, you rename /plugins/user/PluginEnablerOrDisablerPlugin.txt to /plugins/user/PluginEnablerOrDisablerPlugin.cs
Next, you add your skills in this file like in the OP example. Default theme customization 101
(all powers & their snos can be found in /docs/sno_powers_skills.txt)
-
Post Thanks / Like - 1 Thanks
greatscott (1 members gave Thanks to JackCeparou for this useful post)