Addons that removes synergy sound? (and maybe Blade of Woe)
It's really annoying to me the constant ding-ding-ding-ding-ding-ding you hear sometimes when 2 or more synergies are available and the game keeps switching indicator between them, I wasn't able to find an option or addon to do that.
I don't know anything about making addons but it seems simple to make :) |
The sounds are stored in a global array ingame, called SOUNDS.
The synergy ready sound is stored in this filename SOUNDS["ABILITY_SYNERGY_READY"]. You can exchange this sound or set it to ["NONE"] if you don't want any sound. Try this script in your chat after you logged in: Code:
/script SOUNDS["ABILITY_SYNERGY_READY"] = SOUNDS["NONE"] |
Quote:
|
Quote:
|
It exists already: FCO ChangeStuff.
It provides a list of all sounds and you can move them to the right side to mute them. If you want your own small addon: Just add that 1 line Code:
SOUNDS["ABILITY_SYNERGY_READY"] = SOUNDS["NONE"] EVENT_ADD_ON_LOADED callback function Means: Search for EVENT_ADD_ON_LOADED in the lua file of a sample addon. You can even download a sample addon like this here for that purpose: https://www.esoui.com/downloads/info...nTemplate.html Or read here and build your own very small sample (you only need the basci skeleton code, no XML, no saved variables etc.!) https://wiki.esoui.com/Writing_your_..._skeleton_code Then at the line where you find something like EVENT_MANAGER:RegisterForEvent("MyAddonName", EVENT_ADD_ON_LOADED , <here is either a function name or a new anonymous function created via function() .... end ) Either in that anonymous function() ... end where the ... relate to the exising code lines, just add after the exisitng code lines the 1 line from above. Or if there is a function name specified like doOnAddonLoad Search for that "function doOnAddonLoad" or just "doOnAddonLoad" and find where teh function is defined via doOnAddonLoad = function( or function doOnAddonLoad( and there will be code in that function. Before the closing end of the function add the 1 line. It should then apply at each load of the addon for you and make it shut up ;) Based on the skelleton code of the exampple/turial addon above: Lua Code:
|
Quote:
|
All times are GMT -6. The time now is 03:15 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI