Page 1 of 1

Make translated languages appear in the main chat box + another suggestion

Posted: Wed Jun 03, 2020 10:29 am
by Xorena
If you play a racist elf like I do, you know that your translated text goes into the combat window instead of the main chat bar.

(For reference, I place all NPC dialogue into the combat window too, due to people spamming different dialogues.)

Could we get the translated text into the main chat bar and have an option to change the color on either the text that is translated into real-world language, or change the color on text that is the gibberish it spits out?

Drow: Gibberish goes here
Translated text: Normal color

Thanks for considering this.

Re: Make translated languages appear in the main chat box + another suggestion

Posted: Wed Jun 03, 2020 11:34 am
by Valefort
I can't see how that would be possible as combat log is a personal, per player, space while the chat bar is common. If we put the translated text in the chat bar everyone will see the translation, wether they know the language or not.

As for setting a particular colour on the raw language in the main chat bar that is possible, any preference ?

Re: Make translated languages appear in the main chat box + another suggestion

Posted: Wed Jun 03, 2020 11:42 am
by Xorena
For a color, how about a maroon or something similarly dark and not eye-catching? It's easy to ignore but you can look closer if you know some of the Drommon words.

Re: Make translated languages appear in the main chat box + another suggestion

Posted: Wed Jun 03, 2020 11:46 am
by zhazz
I've found that disabling Dialogue entirely helps a lot. It will still get logged into the Combat Log File for the character, but it won't show up in-game.

Thus far I haven't found a single time when the Dialogue was needed in-game. Neither IC, OOC, or for RP.

Re: Make translated languages appear in the main chat box + another suggestion

Posted: Wed Jun 03, 2020 11:55 am
by Xorena
My husband used to do dev work for a couple of other servers, and one of those included the options that I'm talking about. See the header below:
// MAP 3/15/2009
// This function is used to send a chat message, as if spoken by a PC or by the server.
// Except for 'CHAT_MODE_SERVER', oSender must be a PC or nothing will occur.
// oSpeaker - the PC who will speak, OBJECT_INVALID if channel is CHAT_MODE_SERVER. This must be a valid PC object for CHAT_MODE_PARTY to work.'
// oReceiver - if nChannel is CHAT_MODE_TELL or CHAT_MODE_SERVER, then this must be the PC who will be receiving the message.
// nMode - CHAT_MODE const indicating the type of message to be sent. Only the CHAT_MODE_* values provided are accepted.
// sMessage - actual message text
// bInvokeCallback = the module's OnChat script will be invoked to filter this message, if this is TRUE.
// WARNING: use extreme caution if setting bInvokeCallback to TRUE from within the OnChat handler itself --
// this could lead to an infinite loop and hang your module!
void SendChatMessage(object oSender, object oReceiver, int nChannel, string sMessage, int bInvokeCallback = FALSE);
Instead of send message to PC, use send chat message. If you need more info lmk.

Re: Make translated languages appear in the main chat box + another suggestion

Posted: Wed Jun 03, 2020 2:16 pm
by Valefort
A good idea ! Thank you khaevil.