Bip when message received in chat box

Everything about mods can be found here.

Moderator: Morax

Bip when message received in chat box

Postby Okpuck » 25 Jun 2018, 23:08

Hello,

I wondered if a mod existed on the BIP emit when a message received from chat box during game?
Often i'm so concentrated on the game that i don't pay any attention on my chatbox.
Is it possible to have a bip/sound that we can configure according to the message sent by the team, opponent team or private?

Thanks in advance.
Okpuck
Avatar-of-War
 
Posts: 50
Joined: 15 Nov 2014, 12:14
Has liked: 1 time
Been liked: 1 time
FAF User Name: Okpuck

Re: Bip when message received in chat box

Postby JJ173 » 25 Jun 2018, 23:31

Could be done easily, just some small adjustments and some cheeky copying and pasting from the observer chat box code, since if you watch replays, you'll hear a nice noise when messages are typed.
Check out the Nomads Campaign Project: viewtopic.php?f=2&t=15534
Check out my first Coop Mission: viewtopic.php?f=78&t=15605
User avatar
JJ173
Avatar-of-War
 
Posts: 148
Joined: 23 Oct 2015, 16:57
Location: Underground
Has liked: 19 times
Been liked: 50 times
FAF User Name: TheAdDad

Re: Bip when message received in chat box

Postby Okpuck » 26 Jun 2018, 00:01

You plan to make this kind of enhancement :)
I'm old and the sound will help me a lot :p
Okpuck
Avatar-of-War
 
Posts: 50
Joined: 15 Nov 2014, 12:14
Has liked: 1 time
Been liked: 1 time
FAF User Name: Okpuck

Re: Bip when message received in chat box

Postby JaggedAppliance » 26 Jun 2018, 00:11

A UI mod for this would be nice
"and remember, u are a noob, u don’t have any rights to disagree" - Destructor

My Youtube channel with casts > https://www.youtube.com/c/jaggedappliance
My Twitch > https://www.twitch.tv/jaggedappliance
JaggedAppliance
Councillor - Balance
 
Posts: 641
Joined: 08 Apr 2015, 14:45
Has liked: 734 times
Been liked: 313 times
FAF User Name: JaggedAppliance

Re: Bip when message received in chat box

Postby Uveso » 26 Jun 2018, 02:08

JaggedAppliance wrote:A UI mod for this would be nice


ChatBeepV1.zip
(17.32 KiB) Downloaded 79 times


Anything else ? :mrgreen:
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Bip when message received in chat box

Postby JaggedAppliance » 26 Jun 2018, 02:47

Uveso you're the best :D
"and remember, u are a noob, u don’t have any rights to disagree" - Destructor

My Youtube channel with casts > https://www.youtube.com/c/jaggedappliance
My Twitch > https://www.twitch.tv/jaggedappliance
JaggedAppliance
Councillor - Balance
 
Posts: 641
Joined: 08 Apr 2015, 14:45
Has liked: 734 times
Been liked: 313 times
FAF User Name: JaggedAppliance

Re: Bip when message received in chat box

Postby Okpuck » 26 Jun 2018, 07:15

Already done!!! Wow... Thx a lot :)
Okpuck
Avatar-of-War
 
Posts: 50
Joined: 15 Nov 2014, 12:14
Has liked: 1 time
Been liked: 1 time
FAF User Name: Okpuck

Re: Bip when message received in chat box

Postby Okpuck » 26 Jun 2018, 09:06

I tried it and it's almost perfect :) Can I challenge you?

It would be nice to improve this mod:
- different sound according to message coming from my team, opponent team, private message or notification messages.
- possibility to adapt volume sound.
- possibility to choose the kind of bip/sound for each kind of message.

The menu configuration in the chat box can mange that only for color or text size. With the sound configuration it would be nice to have.

Again many thanks for this mod.
Okpuck
Avatar-of-War
 
Posts: 50
Joined: 15 Nov 2014, 12:14
Has liked: 1 time
Been liked: 1 time
FAF User Name: Okpuck

Re: Bip when message received in chat box

Postby Uveso » 26 Jun 2018, 19:30

Hallo Okpuck :)

I am sorry but i don't have the time to rebuild the chatmenu at the moment.

It's also not possible to change the sound volume for a single sound.
(only options are "Global", "World", "Interface" and "VO" (voice) )

BUT...

I changed the mod so it can play different sound for different message types.

If you like to cusomize the sounds go to the moddirectory and search for the file:
Code: Select all
\Mods\ChatBeep\hook\lua\ui\game\chat.lua


There you can change the sounds if you like.
I added a list of all 116 possible sound from the "interface" sound bank.
Ready for simply copy & paste.

Just play around with it.
I added some comments, so it should be easy to understand even with no coding skills.

Viel Spaß damit :)
(Have fun with it)


ChatBeepV2.zip
(18.34 KiB) Downloaded 90 times
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Bip when message received in chat box

Postby Wesmania » 26 Jun 2018, 19:35

A distinct sound for a message that mentions the current player (like the one in client chat) would be really nice.
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest