Download
(6 Kb)
Download
Updated: 03/27/23 09:49 AM
Pictures
File Info
Compatibility:
Scribes of Fate (8.3.5)
Updated:03/27/23 09:49 AM
Created:07/25/22 12:49 PM
Monthly downloads:116
Total downloads:6,925
Favorites:25
MD5:
Shut Yer Trap - Mute NPCs  Popular! (More than 5000 hits)
Version: 37.1
by: remosito [More]
Some of the NPC say/yells started to annoy me. So I tried a couple addons. But they shut up most NPCs and the game started to feel empty to me.

So instead this Addon keeps track of the last 20 NPC yell/say (Struga,...) and allows you to mute selected dialogues by an NPC. Or all their Voice Overs.

This only works for NPC yell/say. Not for Quest Giver Interface Voice Over.

Requires Lib-AddonMenu-2.0


Disclaimers:
- I have not tested this with 100s of muted dialogues/NPCs so no guarantee about performance in this case. Would be suprised though if it were an issue.
- In the background this works by setting the volume of the VoiceOver audio channel to 0 for a calculated duration based on dialogue length. If another NPC dialogue starts or is ongoing during this period. It will be muted too. If my formula calculation gives to short a duration. The end of the muted conversation would be heard again.
37.1
- minor fix
- switch to better event for vo volume reset

37.0
- API bump
- VO Audio level sometimes staying at 0 hopefully fixed for good

36.0
- multiple fixes

35.9
- found and fixed rare-ish nil error

35.7
- New Feature: Unmute previously muted NPC/Dialogue

35.5
- should now be compatible with pchat, rchat

35.4
- left debug printout in 35.3..sorry guys and gals

35.3
- require min version for libaddonmenu (thanks baertram)
- muted chatter is now suppressed in chat too

35.2
- Hint to edit saved vars file to unmute or see list of muted dialogues
- Now supresses subtitles in addition to audio

35.1
- fixed bug where muting two NPCs in close succession resulted in VO volume being set to 0 permanently

35.0
- Initial Version for U35
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Uploader
Date
37.0
6kB
remosito
03/19/23 10:30 AM
37.0
6kB
remosito
12/20/22 07:50 AM
35.9
6kB
remosito
08/08/22 10:41 AM


Post A Reply Comment Options
Unread 07/26/22, 01:43 AM  
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 683
Uploads: 20
Hi, thanks for this addon!
I apologise in advance that I ask these questions without installing and testing the addon first (I hate when users do that), I only read a bit the code.
It apparently uses the chat NPC yell/say to trigger:
Does it work when we have NPC yell/say off in the chat options? (maybe it can have the data)
Maybe it is possible to mute the NPC by name because chat NPC yell/say displays the NPC name so is the Holy Grail of PERMANENTLY MUTE BASTIAN'S MOUTH possible? edit: Ah I read too fast haha, the answer is yes!
Last edited by Masteroshi430 : 07/26/22 at 01:49 AM.
Report comment to moderator  
Reply With Quote
Unread 07/26/22, 04:54 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Originally Posted by Masteroshi430
Hi, thanks for this addon!
Does it work when we have NPC yell/say off in the chat options? (maybe it can have the data)
Not sure I understand what you mean by "off in the chat options"...

might be because I use debuglogviewer addon. So a lot of what ends up in other peoples chat. For me it ends up in a different window alltogether...
Report comment to moderator  
Reply With Quote
Unread 07/26/22, 05:01 AM  
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 683
Uploads: 20
Originally Posted by remosito
Originally Posted by Masteroshi430
Hi, thanks for this addon!
Does it work when we have NPC yell/say off in the chat options? (maybe it can have the data)
Not sure I understand what you mean by "off in the chat options"...

might be because I use debuglogviewer addon. So a lot of what ends up in other peoples chat. For me it ends up in a different window alltogether...
To answer to my own question, I have the NPC dialogues off in chat (they are not showing) and your addon works perfectly!
2 things you can improve:
- If you click on mute NPC or mute dialogue and there is nothing in the "chatterings" choices it throws an error because of nil value.
- Maybe displaying a list of the already muted NPCs can be informative.

Thank you for this addon, you had a really good idea!
Last edited by Masteroshi430 : 07/26/22 at 05:02 AM.
Report comment to moderator  
Reply With Quote
Unread 07/26/22, 12:16 PM  
Jammet
 
Jammet's Avatar

Forum posts: 13
File comments: 68
Uploads: 0
So, can I essentially mute (audio!) all the "Hear ye Card sharks!" NPCs?
Or the same dialogs that I hear over and over again when I come too close to some NPC? I'll test this.
How do you unmute someone, then?

PS: Wow, I love this! As a permanent citizen of Rimmen, it is a godsend to never have to hear Naraku and Elazura ramble on and on and on about necromancers or the Queen.
Last edited by Jammet : 07/26/22 at 12:33 PM.
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 04:43 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4963
File comments: 6032
Uploads: 78
I think he meant:
Right click a chat tab, choose "Options", configure the chat channels there to be disabled for NPC yell/say.

Originally Posted by remosito
Originally Posted by Masteroshi430
Hi, thanks for this addon!
Does it work when we have NPC yell/say off in the chat options? (maybe it can have the data)
Not sure I understand what you mean by "off in the chat options"...

might be because I use debuglogviewer addon. So a lot of what ends up in other peoples chat. For me it ends up in a different window alltogether...
Last edited by Baertram : 07/27/22 at 04:44 AM.
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 08:57 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
very happy to hear it is working as desired..

and great feedback about improvements..

I think I will just add text to check saved vars file for list plus unmuting. until I have time to implement unmute functionality that scales with potentially 100s of muted dialogues.. 😳

already fixed the error case when dropdown is still empty in an internal build. still have to fix case where selected entry is empty after muting a dialogue..


Originally Posted by Masteroshi430

To answer to my own question, I have the NPC dialogues off in chat (they are not showing) and your addon works perfectly!
2 things you can improve:
- If you click on mute NPC or mute dialogue and there is nothing in the "chatterings" choices it throws an error because of nil value.
- Maybe displaying a list of the already muted NPCs can be informative.

Thank you for this addon, you had a really good idea!
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 09:03 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
thanks for the praise 🙏

and awesome to hear others are as happy with being able to mute specific stuff as I am.

as for how to unmute. for the moment you have to edit the saved variables file.. 😳

need to figure a way that scales selecting right one to potentially 100s of muted dialogues..

pretty busy these days.. and another addon of mine requires update for u35.. so might take a while :-/

cheers


Originally Posted by Jammet
So, can I essentially mute (audio!) all the "Hear ye Card sharks!" NPCs?
Or the same dialogs that I hear over and over again when I come too close to some NPC? I'll test this.
How do you unmute someone, then?

PS: Wow, I love this! As a permanent citizen of Rimmen, it is a godsend to never have to hear Naraku and Elazura ramble on and on and on about necromancers or the Queen.
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 09:05 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
thanks baertram!

pretty sure you are right!

didnt even know one could right click chat tabs.. lol

Originally Posted by Baertram
I think he meant:
Right click a chat tab, choose "Options", configure the chat channels there to be disabled for NPC yell/say.
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 11:55 AM  
kueqvzzv

Forum posts: 2
File comments: 29
Uploads: 0
Hello,

Thank you very much for this add-on. I so welcomed it that I spoke about it in my guild and people rushed to download it .. And then a demand appeared and I dare to say it should be considered a priority that could require not only your help but the one of the add-on community of ESOUI:

Could we have the same for the subtitles and chat NPC dialogues for deaf people that have enough of Struga or the Card Game announces text in their chat or in the middle of their screen?
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 01:13 PM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Originally Posted by kueqvzzv
Hello,

Thank you very much for this add-on. I so welcomed it that I spoke about it in my guild and people rushed to download it .. And then a demand appeared and I dare to say it should be considered a priority that could require not only your help but the one of the add-on community of ESOUI:

Could we have the same for the subtitles and chat NPC dialogues for deaf people that have enough of Struga or the Card Game announces text in their chat or in the middle of their screen?
thanks for the praise and advertising it in your guild :-)

I had a quick look at the API ZOS exposes and I didnt find anything for subtitles. Might not be possible but I will look into it a bit.

For the audio I actually trick the game by temporarily set VoiceOver volume to 0. As suppressing specific audio isnt possible. Maybe..maybe...what could work is temporarily disabling the subtitles settings?

Never had subtitles enabled. So dont even know what it does and where what is displayed. Never tried Tales of tribute yet either. So not familiar with the card game announces you are describing.

Will definitely enable subtitles and try tales of tribute to see if sth can be done....

Btw.. I initially tried to hook into quest giver dialogues too. The work via different events. But those didnt seem very reliable. Not all the new options pages triggered the events...so I dropped that part. Partly because I have very few cases of such voiceover audio annoying me....

Just mentioning this to clarify that my addon doesnt work with all NPC Voice Over.. just the out in the wild ones that say thing without you interacting with them... and not even all of those... "wanna prove yourself" "like crawling around creepy caves" by leyawin daily quest givers never fire my event..so cant mute those either...

cheers
Last edited by remosito : 07/27/22 at 01:21 PM.
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 01:21 PM  
kueqvzzv

Forum posts: 2
File comments: 29
Uploads: 0
Originally Posted by remosito
Will definitely enable subtitles and try tales of tribute to see if sth can be done....
thank you so much for your quick answer and concern! about the card game, it's not while playing the game but about the quest giver I muted already as you can see below (from saved variables):

Lua Code:
  1. ["Sorinne Gaerard^F"] =
  2.                     {
  3.                         ["Hear ye, cardsharps and collectors! Test your wits and courage in a brand new card game—Tales of Tribute!"] = true,
  4.                     },
Report comment to moderator  
Reply With Quote
Unread 07/27/22, 02:08 PM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
thanks for the clarification :-)


So I tried the temporarily disabling the subtitles idea.

And while it actually disables the subtitles in the settings menu. It does so too late. The subtitle for the dialogue has already fired and it is still displayed....

so that is a nogo...

was a derp before though and searched the API for "subtitles" plural...

with "subtitle" singular I got

EVENT_SHOW_SUBTITLE (*[ChannelType|#ChannelType]* _channelType_, *string* _speakerName_, *string* _text_)

but this might have the same problem. Event fires and subtitles is already in queue to be displayed and anything I do is to late...

definitely wont happen tonite anymore though....


Originally Posted by kueqvzzv
Originally Posted by remosito
Will definitely enable subtitles and try tales of tribute to see if sth can be done....
thank you so much for your quick answer and concern! about the card game, it's not while playing the game but about the quest giver I muted already as you can see below (from saved variables):

Lua Code:
  1. ["Sorinne Gaerard^F"] =
  2.                     {
  3.                         ["Hear ye, cardsharps and collectors! Test your wits and courage in a brand new card game—Tales of Tribute!"] = true,
  4.                     },
Report comment to moderator  
Reply With Quote
Unread 07/28/22, 12:12 AM  
remosito
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 295
Uploads: 6
Originally Posted by kueqvzzv
Could we have the same for the subtitles and chat NPC dialogues for deaf people that have enough of Struga or the Card Game announces text in their chat or in the middle of their screen?
Woohoo!
Report comment to moderator  
Reply With Quote
Unread 07/28/22, 02:55 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4963
File comments: 6032
Uploads: 78
Hi remosito,

for new addons please do not ONLY include the dependency name but inlcude the version via >=<unsignedIntegerVersion> TOO!

Code:
## DependsOn: LibAddonMenu-2.0
This will make your addon work once ANY version of LibAddonMenu was found, but even very old versions will make the addon load and then break all addons as the old LAM version was outdated ad broken!

Please include the most recent version of the dependencies at the time you release the addon as you have tested it with these versions to load properly!

Code:
## DependsOn: LibAddonMenu-2.0>=34
34 is the version you find in that dependency's manifest txt file, at the tag
## AddOnVersion: <unsignedIntegerVersion>

Thank you for considering this with your next update/future addons.



didnt even know one could right click chat tabs.. lol
I know there are many players who do not know and it always troubles chat addons if ppl do not know and handle it correctly
Last edited by Baertram : 07/28/22 at 02:58 AM.
Report comment to moderator  
Reply With Quote
Unread 07/28/22, 04:11 AM  
kueqvzzv

Forum posts: 2
File comments: 29
Uploads: 0
Originally Posted by remosito
Woohoo!
Fantastic job! It works!



This is a huge step forward not only for deaf people but also for all people that are learning English and not yet able to fully comprehend what is said in audio due to accents, rhythm, whatever.

There is still the spam in the chat and earring impaired people often comes to be elders too and they are not so quick anymore at reading as well and so as the subtitles pass too fast they resort to reading the NPC chat if they missed something.
So I've tried the chat spam blockers/ chat filters but in vain, they allow to block certain words but not full sentences. I'll let you know if I find something.

edit: 1 missing word
Last edited by kueqvzzv : 07/28/22 at 04:35 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: