acre2 icon indicating copy to clipboard operation
acre2 copied to clipboard

Babel Notifications

Open BrettMayson opened this issue 6 years ago • 12 comments

When merged this pull request will:

  • Close #657

There are going to be some limitation due to where the processing is done and not having enough info in SQF. This seems to be a pretty good setup. https://youtu.be/sIlVnOP0fpI Short demo but I've since switched the player name and language name.

BrettMayson avatar Jun 04 '19 01:06 BrettMayson

I still want to do a little bit more testing, but this is basically final.

BrettMayson avatar Jun 05 '19 05:06 BrettMayson

NGL I'm not in love with how this looks.

How will it work when there are multiple people talking, or if you are also talking on the radio at the same time as listening to someone else?

I'd prefer if it showed the language above the players head, similar to how the name/rank/speech indicator are.

Also, correct me if I'm blind, but I don't see a setting to enable/disable it.

Drofseh avatar Jun 05 '19 06:06 Drofseh

This will only appear when they speak a different language than when you last heard them, or if you are speaking a different language than them on the first encounter. Not every time they talk.

BrettMayson avatar Jun 05 '19 06:06 BrettMayson

This works well for close players. However, you get notifications as well when the player is also far away. Additionally, I am not sure if this is going to be good for TvT. You will get constant notifications each time a different player speaks.

What Drofseh proposes would address both issues.

TheMagnetar avatar Jun 16 '19 08:06 TheMagnetar

I would rather fix the distance issue than switch to the language above their head.

You may not always be able to see the person talking to you. It will only pop up when someone switches languages so you will not get notifications each time someone talks

BrettMayson avatar Jul 22 '19 22:07 BrettMayson

This will still show a hint when a person is whispering but is still within MAX_DIRECT_RANGE. I am mostly concerned of breaking TvT in here.

TheMagnetar avatar Jul 23 '19 05:07 TheMagnetar

I'd still like to look at this, it's something my community would still like.

As for TvT concerns, I have some ideas.

Options for when to notify:

  • Always
  • If the player speaks the language being heard (Default)
  • Never

Who to notify for:

  • Everyone
  • Same Side (Default)
  • Same Group

Range slider from 1m to MAX_DIRECT_RANGE that is default to 10m, could even scale with volume, whisper would be range / 2, yelling would be range * 2

I think that would make it configurable enough that groups could get a setting they are happy with, or disable it outright.

BrettMayson avatar Apr 21 '20 16:04 BrettMayson

Your ideas make sense on TvT. @jonpas any other suggestions?

TheMagnetar avatar Apr 25 '20 14:04 TheMagnetar

Yeah that sounds perfect to me really.

jonpas avatar Apr 25 '20 16:04 jonpas

Progress? :D

jonpas avatar Feb 24 '21 15:02 jonpas

I do want to finish this, it's just been low on the todo list, after HEMTT...

BrettMayson avatar Feb 24 '21 15:02 BrettMayson

:+1: HEMTT first, absolutely. :P

jonpas avatar Feb 24 '21 15:02 jonpas

No further activity and interest, feel free to re-open though.

jonpas avatar Sep 14 '23 00:09 jonpas

Another way to make spoken languages easily recognizable could be a voice pitcher.

Since I guess that in the vast majority of missions a translator wouldn't speak more than 3 languages, his "native" language (the first langID in his spokenLanguages Array) would nave normal pitch, the second higher and third lower.

When cycling spoken languages via AltGr, the info text in the bottom right could indicate "normal/higher/lower pitch" below the language name, to allow the player to always look up how each of his spoken languages should sound like.

I'm interested in implementing this but don't possess the TS3 scripting notions that are most likely required for it, yet.

mrschick avatar Sep 21 '23 13:09 mrschick