★ UTChat 16f ★ [updated 04/04/2021]

Search, find and discuss about Mutators!
User avatar
Que
Adept
Posts: 372
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

★ UTChat 16f ★ [updated 04/04/2021]

Post by Que » Wed Jan 20, 2021 11:02 pm

Image
Nexgen (like) Chat Hud minus the Controller.
Image

Code: Select all

UTChat by ProAsm and no0ne - 2021
Compatible with 436, 451 and 469.

Installation
------------

Add UTChat<version>.u to your UTServer/System folder.
Open your Server.ini file and add under:

[Engine.GameEngine]
ServerPackages=UTChat<version>

Add to the command line:
?Mutators=UTChat<version>.UTChat
NB: This needs to be the last mutator in the command line.

Configurations
--------------

bShowChatMessages (Default True) Also in Menu.
Setting this to False will disable the Mutator.

bBotsInServerChat (Default False) Also in Menu.
When set to True, the Chatbox on a server game will also show Bot messages.

ChatsTextColor=(R=200,G=180,B=2,A=0)
This the admin can configure and is the color of the text in the top chat box.

OtherTextColor=(R=50,G=250,B=250,A=0)
This the all the text below the chatbox.

The configuration .ini file also holds the last 200 chat lines by the players.
This can be viewed in a window by typing in the console:

Mutate UTChat ShowChatLog
or !Chat as a chat message.

If logged in as an Admin, a Clear Chat Log option will be available to clear all chats.

If the last 2 characters in a chat line are for instance :) then an emoji will appear in it's place.
Current emoji's
[

:) = smile
:( = grin
:^ = eyes
:+ = thumb up
:- = thumb down
:o = lol
:f = fist
:k = ok hand
:t = thinking
:b = bomb
:c = cool
:u = point up
:p = tongue out
:s = poop
:w = wave
:q = question mark
:z = zZz

If :? is in the Say then a list of abbreviations will be shown.

If you wish to use UTChat instead of Nexgen's chat:
In Nexgen.ini set useNexgenHUD=False.

To Open Chat Window in game;
Console: Mutate UTChat ShowChatLog
you may bind to a key ie;

Code: Select all

set input <key> Mutate UTChat ShowChatLog
or type !Chat as a chat message.

Known Bugs:
ChangeLog
Show
UTChat Changelog
----------------
v16f
Fixed black text color at startup.

v16e
Added * prefix to player in menu if muted.

v16
[UTChat16.UTChatSvrAdds]
ServerAddsSymbol="-"
ServerAddsColor=(R=255,G=255,B=0,A=0)

The ServerAddsSymbol= is the first 1, 2 or 3 symbol characters you need to add infront of your serveradds.
For instance all lines need to be something like -=< This is the line >=-
Now you would have ServerAddsSymbol="-="
This is so the code can recognize a ServerAdds message & Change the Color of the ServerAdds to your Custom Color.

v15
Added private messaging window.
Private message 100 save option.
Removed configs from chat windows.
Added Config Tab for all configs.
Fixed !Cmds not being passed.
Added 8 new banner emojis.
Adjust emoji position to size.
Added Admin options to disable emojis.
Added Admin options to disable private messages.
Fixed other lines text length.
Added help labels in Configs.
Added banner names to display.
Re-aligned logon logo.
Removed banners and emojis if bNoEmoticons.

v14
Emojis no longer case sensitive.
Add DM/LMS Player single color option.
Reduced Smallfont vertical emoji size.
Spaced lines for better emoji display.
Added option for number of chat lines.
Added option for number of other lines.
Added logo image with option.
Added Transparent option.
Added Chatlog Keybind.
Added UTBots compatibility option.
Fixed Spectator using !chat.

v13
Small improvements on utchats disable.
Added several new emojis.
Set SmallFonts as default.
Fixed Spectator message double names.
Added Spectator message text always silver.
Added logon intro.

v12
Fixed original hud for newnet and nexgen.
Reduced chatbox border thickness.
Added enable client emojis in menu.
Added use client smaller fonts in menu.
Added client chatlog save in menu.
Added enable client chat in menu.
Added spectator mutate for menu.
You do not have the required permissions to view the files attached to this post.
Last edited by Que on Sun Apr 04, 2021 2:28 am, edited 35 times in total.
Image Image Image
*Join our Discord Here.*

User avatar
asosed
Experienced
Posts: 95
Joined: Fri May 15, 2020 2:36 pm
Location: Russia

Re: ★ UTChat 11 ★

Post by asosed » Wed Jan 20, 2021 11:24 pm

The first thing I noticed after testing.
1. Chat kills HUD NewNet (timer and anti-gravity boots)
2. Can you make it so that can highlight and copy (Ctrl-C) messages from the chat window?
3. Can you make the emoji's always appear, regardless of the end of the sentence and so that they can be turned off (bemoji=True/False)?
4. Can you make links clickable in the chat window?
Image
Image

ProAsm
Skilled
Posts: 177
Joined: Sun Sep 29, 2013 7:12 am

Re: ★ UTChat 11 ★

Post by ProAsm » Fri Jan 22, 2021 7:33 pm

Hi asosed, well in answer to your questions.
1. Has been fixed.
2. A HUD does not recognize keystrokes etc so I added a save option in the menu so you can save the whole of the chatlog on your pc.
4. I will look into this but I doubt it.
3. This can be done but would be very time consuming as the code would have to check every character in a message instead of just the last 2.
Also the placing of the image midstream would be difficult because when the lines scroll up, it would be difficult to see where these inline images need to go.
Currently we'll skip this but I will fiddle with it and see if I can find a shortcut somewhere :)

User avatar
Que
Adept
Posts: 372
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: ★ UTChat 15 ★ [updated 26/02/2021]

Post by Que » Fri Feb 26, 2021 9:54 am

//UPDATED 16F//

Code: Select all

v16f
Fixed black text color at startup.

v16e
Added * prefix to player  in menu if muted.

v16
[UTChat16.UTChatSvrAdds]
ServerAddsSymbol="-"
ServerAddsColor=(R=255,G=255,B=0,A=0)

The ServerAddsSymbol= is the first 1, 2 or 3 symbol characters you need to add infront of your serveradds.
For instance all lines need to be something like -=< This is the line >=-
Now you would have ServerAddsSymbol="-="
This is so the code can recognize a ServerAdds message  & Change the Color of the ServerAdds to your Custom Color.
Image Image Image
*Join our Discord Here.*