-
Active Member
CooldownSoundPlayerPlugin.cs Customization
I can add skills with:
Code:
plugin.AddRule(Hud.Sno.SnoPowers.Barbarian_IgnorePain, "tick.wav");
But how can I remove the default sound for Wizard_ArchonTeleport? plugin.RemoveRule doesn't work. I don't want to touch the default files.
Thx
-
Savvy ? 🐒
PHP Code:
Hud.RunOnPlugin<CooldownSoundPlayerPlugin>(plugin => plugin.CoolDownRules.Clear());
Not tested but it should work. (and I don't see a reason for RemoveRule to not work)
-
Post Thanks / Like - 1 Thanks
bm206 (1 members gave Thanks to JackCeparou for this useful post)
-
Active Member
plugin.RemoveRule(Hud.Sno.SnoPowers.Wizard_ArchonTeleport, "notification_1.wav");
doesn't work.
But your solution works, thx.
-
Savvy ? 🐒
PHP Code:
Hud.RunOnPlugin<CooldownSoundPlayerPlugin>(plugin => plugin.RemoveRule(Hud.Sno.SnoPowers.Wizard_ArchonTeleport));
No need to pass the filename ; )
-
Post Thanks / Like - 1 Thanks
bm206 (1 members gave Thanks to JackCeparou for this useful post)
-
Member
help with archon sounds
Originally Posted by
JackCeparou
PHP Code:
Hud.RunOnPlugin<CooldownSoundPlayerPlugin>(plugin => plugin.RemoveRule(Hud.Sno.SnoPowers.Wizard_ArchonTeleport));
No need to pass the filename ; )
Hey, i see im not the only one who had this problem. Sadly i dont know where to change that file and what i have to put in there. Which file in the TH folder needs to be opened to find that?
greetings ownya
-
Member
awww... think i just solved the problem on my own. Only deleted the sound in the sounds folder and it worked out for me! thanks anyway
-
Contributor
Originally Posted by
Ownya
awww... think i just solved the problem on my own. Only deleted the sound in the sounds folder and it worked out for me!
thanks anyway
and with the next release you will have to delete them again. and again....
if you properly customize thud, you only have to do it once and youre done:
Default theme customization 101