LocoChat
Written by Christopher "CPanoplyd" Doyle

This program is free software; you can redistribute and/or modify
it under the terms of the Open Unreal Mod License version 1.1.

Support at email: cpanoplyd@comcast.net

LocoChat is a chat enhancement mutator that allows for the playing of sounds when
specific words or character strings are typed into the chat area. See the rest of
the readme for further explaination.

[=====------Installation Steps------=====]

1. Regular Installation
2. Edit Unrealtournament.ini or Server.INI
3. Restart Server

[=====------Regular  Installation------=====]

1. Copy Files:
copy .u files into the System Folder
copy .int file into the System Folder
copy .ini file into System Folder

::::If your server uses a redirect server::::
copy .uz file into the redirect folder

[=====------Edit UnrealTournament/Server.ini------=====]

3a. Edit UnrealTournament.ini or Server.ini:

Find the [Engine.GameEngine] section 

ServerPackages=LocoChat
ServerPackages=<Sound Packages>		//Replace <Sound Packages> with the name of 
					the sound package(s) being sampled from. Add
					one line per package if using multiple.

[=====------SETUP/Configuration------=====]

bAllowStatic	==>>	Allows the playing of sounds for words found in strings.
			Example, "bye" in "goodbye"
bShowCommands	==>>	Shows the commands on the HUD at the beginning of each map
bUseASC		==>>	Needs to be set to true when using ASC

String Arrays:
Chat*[#]=	==>	These will only play when you type the word exactly.
			Example, "lol" **Not case sensitive
Static*[#]=	==>>	These will play WHENEVER they are typed.
			Example, "lol" will play when "dfadfloladfasdf", "lololol", etc.
			is typed.

Type in the words/Sounds/Durations you want to use in (Variable[Number in array]
ChatWords[0-254]
ChatSounds[0-254]
ChatDuration[0-254]
StaticWords[0-24]
StaticSounds[0-24]
StaticDuration[0-24]

Example:
Chatwords[0]=LOL
ChatWords[1]=LMAO
ChatSound[0]=SoundPackage.LOLSound
ChatSound[1]=VoicePack.LMAOSound
ChatDuration[0]=2.123
ChatDuration[1]=4.0
StaticWords[0]=bye
StaticSounds[0]=Sound.byesound
StaticDuration[0]=1.233

[=====------Player/Admin Commands------=====]
!permamute	mutate permamute	==>>	Mutes/Unmutes all sounds indefinitely
!mapmute	mutate mapmute		==>>	Mutes all sound for current map.
						Will UnMute sounds as well. Also resets
						each mapstart.

Admin Commands:
!mutename	mutate muteplayer 1<playername>		==>>	Mutes the Player by Playername
!unmutename	mutate unmuteplayer 1<playername>	==>>	UnMutes the Player by Playername
!muteid		mutate muteplayer 0<playerid>		==>>	Mutes the Player by PlayerID
!unmuteid	mutate unmuteplayer 0<playerid>		==>>	UnMutes the Player by PlayerID
!mutelist				

[=====------Restart  Server------=====]

4. Restart Server:

- Upload updated Server ini file

- use Admin Quit or other preferred method of server restart.

[=====------Notes------=====]

The MapMute does not override the PermaMute setting.
Make sure you use Float Values ( 2.32 or 4.0 ) otherwise there could be errors.
Make sure you have the Sound Packages in the ServerPackages= lines otherwise the clients will
get errors in their UnrealTournament.log file.
