Compare commits

11 Commits
v22e ... master

Author SHA1 Message Date
chacha
d573a65fe9 update to 32 2026-01-26 20:30:30 +00:00
cclecle
7aa6c04590 update to 31 2024-10-11 20:49:57 +01:00
cclecle
bd2d41a73a update to version 30 2024-07-04 18:51:55 +01:00
cclecle
6f4664ecd4 update v26 -> v28 2023-08-30 23:36:42 +01:00
b78fc9af07 update to version 26 2023-04-15 23:01:13 +02:00
148c309339 Update 'Run.sh' 2023-04-15 20:03:52 +02:00
cclecle
28eaa113d3 update to 23k 2022-11-08 22:25:03 +00:00
cclecle
7b5f28a6dc update to 23b 2022-09-22 22:55:51 +02:00
0cb30a1a20 Mise à jour de 'Run.sh' 2022-07-23 11:41:49 +00:00
a1ac908408 Mise à jour de 'Run.sh' 2022-07-23 10:05:57 +00:00
b8bd8ef9df Mise à jour de 'Run.sh'
fix config file name
2022-07-20 23:47:26 +00:00
7 changed files with 415 additions and 72 deletions

View File

@@ -1,65 +0,0 @@
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.

303
Help/UTChat_ChangeLog.txt Normal file
View File

@@ -0,0 +1,303 @@
UTChat - by ProAsm and No0ne - 2021/24/25
-----------------------------------------
UTChat Changelog
----------------
v32
Fixed DM Standard colors.
Fixed several accessed nones.
Removed crosshair control.
Fixed lower score in MH2.
Added bAddLevelChat.
v31
Fixed Crosshair out of bounds.
UTChatLog now static for server and client.
Stopped all possible Bots in chatlog.
Added current level map to chatlog.
Fixed missing characters at mesg start.
Added check for pipe character.
Fixed chatlog clearing.
Added !pl and !chat for specs.
Fixed chatbox messages before gamestart.
Added Gamename to mapname display.
Replaced purple color with yellow.
v30
Removed Newfaceless option.
Added AltFaceless with menu option.
Fixed message leaks in chat.
Added bTestBadNicks.
Added :- for new Smiley.
Added faces now totally transparent if set.
Fixed single character nick colors.
v29
Added bUseBlankFace.
Replace Noface with Engine.s_actor.
Added allow single char spec names.
Added disable spec change nickbame.
Fixed ServerAdds symbol left behind.
Added bHideCommands - hides all ! cmds.
Added Hidden Admin also in menu.
v28
Fixed no flag icon.
Added Dim Border option.
Added Ip detection in chat.
Added AllowExtended for extended characters.
Re-Added the chat window size saving.
Improved banner coloring.
Fixed admin security in windowconfigs.
Updated Auto font sizes to 4k.
Updated flag scale to 4k.
Added disable font sizing.
Added IGPlus xhair detection.
Fixed several accessed nones.
v27
Fixed white player text in chatlog.
Fixed bAddServerToFavs.
v26
Added bAddServerToFavs option at game end.
Added bUseSiegeHUD for Siege Stats.
Added small chatlog spacing option.
Fixed null player mute displays.
Added LanCountryFlag.
Fixed clientside Player Mute.
Added serverside Admin Player Mute.
Fixed flag displays in 436 and 451.
Added name[+Player] trap when login.
Increased UTChatFlagCfg to 50.
Trapped many accessed nones.
v25
Fixed bug with kill messages.
Added check for SSB player reflag.
Fixed no flag X position in chat.
Added client variables with no version dependencies.
Changed emoji thumbs down from :- to :<
Added fixed clientside variables.
Added NewFaceless texture option.
Added flag options for chat, chatlog and players.
Added RemoveAllEmojis in ini file only.
Reverted back to 23k
Added game end antispam option.
Added game end level change detection.
Added emoji vertical adjustment.
Added message sound for spectators.
Fixed admin message in admin window.
Added player list in chatlog.
Added flags to player list.
Added [spec] to log list.
Added emojis to chatlog.
Added country flags to chatlog.
Added select emoji to editbox.
Removed bShowChatMessages;
v24
Added bCheckExtendedNick.
Admin string now in WRI.
Fixed GPF in 436/451 D3D rendering.
Reduced all 512 textures to 256.
Added additional entered game traps.
Improved start control fire detection.
Removed UTChatHud as HudMutator.
Removed v23g log stuff.
Added [+Bot] and [-Bot]
Added [+Spectator] and [-Spectator]
Added temp UTChatClientLog for [+Player] traps.
Redirected server [+Player] to chatlog.
Fixed and locked emoji option window.
Fixed other messages color issue.
Capitalized Ready and Starting messages.
Fixed spectator player colors.
Fixed idle frag counter when spectator.
Fixed team game colors.
Added Emoji menu window.
Removed strip emojis and banner.
Added back client ChatDuration.
Added back client OtherDuration.
Fixed several Accessed Nones in UTChatHud
Removed check ssb and gri bBeacons.
Removed bMyBeacons from DM.
Added admin options for bDisableChatLog
Added admin options for bNoChatBorders.
Added admin options for bNoChatShading.
Fixed ssb player beacon delay in hud.
v23
Spawned Logo earlier.
Fixed emojis for spec to player.
Added Player + and - for join and leave if no nexgen.
Added Spectator join + if no nexgen.
Added bPlayerJoinLeave option.
Fixed Chat and Other option colors.
Added bDisableAntiSpam, in admin menu.
Added bFontOverRide option in Admin menu,
Added ChatFontSize option in Admin Menu.
Fixed Other messages spacing.
Fixed and improved StartupControl.
Fixed ServerAdds colors.
Added back a tiny delay at game end.
Fixed scull brightness display.
Added bEnableStartControl and will disable Nexgen's.
Added ready signal if bEnableStartControl=True.
Added temp ChatDelayTime in Admin menu.
Removed manual config emoji sizing.
Added auto emoji sizing to font size.
Added Emoji Trim to menu.
Removed any delay at game end.
Fixed multi spectator messages in console.
Made further adjustments for end game messages.
Removed all anti-spam except for message repeat.
Chat timing now same as utchat18
Worked on spamming issues.
Removed all private messages.
Fixed Other Line setting.
Fixed saving admin options.
Fixed chatlog duplicate messages.
Added a Disable Spam Control option.
Slight adjustment to chat box shading.
Fixed Skeleton icon appearing.
Lower chat text by 2 pixels.
Scaled Chat text in chatbox.
Added Admin Spam Control.
Moved ChatDuration to server admin.
Moved OtherDuration to server admin.
Added NoRepeatrMesg option.
Added Menu resizing etc (tnx buggie)
Added option to shorten chatbox.
Added player name in team color in chat and private log.
Replace bNoRepeatMesg with variable ChatRepeatDelay.
Fixed other mods shading in postRenderHUD.
Re-aligned all chat box shading.
Added UTChatReplacement for swearing.
Removed :? help if emojis disabled.
Fixed !char when emojis disabled.
Added hide Emoji Sizing if emojis disabled.
Fixed frag count displaying at start.
Remove NextHUDMutator from Team Hud.
Added more Admin options in Menu.
Added serverside std dm player color.
Added serverside use chat emojis.
Added serverside use chat emojis face.
Added serverside use private msgs.
Added client options not visible if admin disable.
Set emoji default size to 7, was 6.
Increased Menu height from 300 to 360 pixels.
Reduced Main chat area to possible 2 lines.
Reduced Other chat to possible 0 lines.
Added ChatDuration to client.
Added OtherDuration to client.
Added variable FontSize for client.
Fixed Chat and other text colors.
Fixed frag counter not flashing.
Added optional LogonMessageLine1 and 2.
LogonMessageLine1=">>> UTChat Installed <<<"
LogonMessageLine2=">>> Type !Chat for Chat Window <<<"
v22 Experimental
v21
Reduced Main chat to possible 2 lines.
Reduced Other chat to possible 0 lines.
Increased Chat menu height.
Set emoji default size to 10.
Added bEnableSpecsInLog default False.
Adjusted emoji detection in messages.
v20
Fixed menu not displaying.
v19
Spectator chats now also get logged.
v18
Adjust logo to switch off at game start.
Fixed several clientside accessed nones.
Added UTChatActor as server actor.
Set bSmallFonts as True by default.
v17c
Fixed several access nones.
Added Admin message to Players.
v17b
Removed GUI scaling.
v17
Added auto scaling to menus.
Fixed 436/451 client crash.
v16h
Added auto scaling to menus.
Fixed 436/451 GPF crashes.
v16g
Fixed possible local GPF crashes.
v16f
Fixed black text color at startup.
v16e
Added * prefix to player in menu if muted.
v16d
Changed ^?^ to optional symbols
Changed to 1 serveradds color.
Added Player and Bot message mute.
v16a - v16c
Added 10 sec timers to :? and ?!
Removed many access nones in 469.
Added ^?^whatever color for serveradds
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.

101
Help/UTChat_Readme.txt Normal file
View File

@@ -0,0 +1,101 @@
UTChat by ProAsm and no0ne - 2021/22/23/24
Compatible with 436, 451 and 469.
Installation
============
Add UTChat31.u to your UTServer/System folder.
Open your Server.ini file and add under:
[Engine.GameEngine]
ServerPackages=UTChat31
Add to the command line:
?Mutators=UTChat31.UTChat
If you wish to start UTChat as a ServerActor use the following:
[Engine.GameEngine]
ServerActors=UTChat31.UTChatActor
Configurations
==============
Clientside
----------
bUseUTChat (Default True) Also in Menu.
Enables/Disables UTChats on the client.
bUseEmojis (Default True) Also in Menu.
Enables/Disables Emojis on the client.
bSwapFaces
Will swap your face texture with the emoji in your messgae.
bSmallFont (Default False) Also in Menu.
Enables a smaller font for the chats.
bStdColor (Default False) Also in Menu.
If set to True, all players in DM and LMS names will be Silver.
bTransparent (Default False) Also in Menu.
If set to True, the ChatBox will be invisible.
bBotsInChat (Default False) Also in Menu.
This will allow Bot chats in the Chatbox on a Server.
From UTChat14 all UTBots will now be in the Chatbox.
bChatBorder
When bTransparent=True this will show a border line.
EmojiSize
Sizing from 1 to 12 will change the size of your emojis.
ChatLines (Default 4) Also in Menu.
This sets the number of text lines in the ChatBox.
OtherLines (Default 6) Also in Menu.
This sets the number of text lines outside the ChatBox.
ComboPos
This is used internally only but needs to be saved.
Serverside
----------
bShowChatMessages (Default True) Also in Menu.
Setting this to False will disable the Mutator.
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.
[UTChat31.UTChatSvrAdds]
ServerAddsSymbol="-"
ServerAddsColor=(R=255,G=255,B=0,A=0)
The colors for the ServerAdds mod by El Muerte has been reduced to one only.
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 ServerAdd line >=-
Now you would have ServerAddsSymbol="-="
This is so the code can recognize a ServerAdds message.
Mute Player
In the Configs Menu is an option to Mute a Player so you do not receive any messages from the player.
Next time a star will appear next to the players name showing the player is muted.
Selecting the player again, will un-mute the player.
Should you have bBotsInChat enabled, then you will be able to mute a Bot as well.

13
Run.sh
View File

@@ -1,8 +1,9 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
OUTPUT_DIR="$2"
CFG_FILE="$3"
DEFAULT_CFG_FILE=NIUT.ini
DEFAULT_CFG_FILE=UnrealTournament.ini
CFG_FILE="${3:-$DEFAULT_CFG_FILE}"
function add_iniKeyEx() {
crudini --set $OUTPUT_DIR/System/$1 $2 __$3 $4
# Warning: ugly hack with sed to allow multiple key instances + to remove space around '='
@@ -54,13 +55,15 @@ function install() {
}
function enable() {
BaseName="$(getmodprefix)"
add_ServerPackage $BaseName
add_ServerPackage $BaseName
add_ServerActors $BaseName.UTChatActor
echo enable ok
}
function disable() {
BaseName="$(getmodprefix)"
del_ServerPackage $BaseName
del_ServerPackage $BaseName
del_ServerActors $BaseName.UTChatActor
echo disable ok
}

View File

@@ -1,2 +0,0 @@
[Public]
Object=(Name=UTChat22e.UTChat,Class=Class,MetaClass=Engine.Mutator,Description="UTChat v22e")

3
System/UTChat32.int Normal file
View File

@@ -0,0 +1,3 @@
[Public]
Object=(Name=UTChat32.UTChat,Class=Class,MetaClass=Engine.Mutator,Description="UTChat v32")
Object=(Name=UTChat32.UTChatActor,Class=Class,MetaClass=Engine.Actor,Description="")