I know i'm kinda inaccurate by posting not in a "official release topic", but soon when we get a website running we'll structure and tidy away all the information about releases.
This mutator is called MMAntiTK. It's currently the biggest mutator/script I have ever coded using UnrealScript. What does it do? Not really much, but, as you can guess from its name, it fights against team killers on a server. How? There are 2 directions.
1. You shoot your teammate, it hurts him or her, but you also get your damage back (amount of it can vary, depends on server admin). So, for example, if you shoot your team mate's legs off, you will also lose your legs.
+ if your teammate shoot you with darts, he or she will also get vision poisoned
2. You shoot your teammate and you kill him. Mutator gives you a warning and writes information about teamkill to a log. After a certain amount of team kills (still, the amount is changeable by admin) you get banned, but not forever of course. You get unbanned only after a certain amount of matches (by default it's 2).
It was inspired by Counter Strike: Source which I used to play a couple of months ago.
Installation is simple as usually (note, your server and Deus Ex should not be running while installing):
1. Place contents of .zip to DeusEx/System
2. Open DeusEx.ini file
3. Find the block called [DeusEx.DeusExGameEngine] and place the following line somewhere in that block
- Code: Select all
ServerActors=MMAntiTK100.AntiTKMutator
4. Open Mutators.ini file (if there is no, create an empty text file and rename it to Mutators.ini.
5. Scroll till the end of the file, find an empty line or make one and add the following code:
- Code: Select all
[MMAntiTK100.AntiTKMutator]
TeamDamageReflection=0.700000
bTeamKillPenalty=True
bTeamDamagePenalty=True
MaxTeamKills=3
NoticeColor=2
BanLength=2
MissedGames[0]=0
MissedGames[1]=0
MissedGames[2]=0
MissedGames[3]=0
MissedGames[4]=0
MissedGames[5]=0
MissedGames[6]=0
MissedGames[7]=0
MissedGames[8]=0
MissedGames[9]=0
MissedGames[10]=0
MissedGames[11]=0
MissedGames[12]=0
MissedGames[13]=0
MissedGames[14]=0
MissedGames[15]=0
MissedGames[16]=0
MissedGames[17]=0
MissedGames[18]=0
MissedGames[19]=0
MissedGames[20]=0
MissedGames[21]=0
MissedGames[22]=0
MissedGames[23]=0
MissedGames[24]=0
MissedGames[25]=0
MissedGames[26]=0
MissedGames[27]=0
MissedGames[28]=0
MissedGames[29]=0
MissedGames[30]=0
MissedGames[31]=0
MissedGames[32]=0
MissedGames[33]=0
MissedGames[34]=0
MissedGames[35]=0
MissedGames[36]=0
MissedGames[37]=0
MissedGames[38]=0
MissedGames[39]=0
MissedGames[40]=0
MissedGames[41]=0
MissedGames[42]=0
MissedGames[43]=0
MissedGames[44]=0
MissedGames[45]=0
MissedGames[46]=0
MissedGames[47]=0
PosInBanList[0]=0
PosInBanList[1]=0
PosInBanList[2]=0
PosInBanList[3]=0
PosInBanList[4]=0
PosInBanList[5]=0
PosInBanList[6]=0
PosInBanList[7]=0
PosInBanList[8]=0
PosInBanList[9]=0
PosInBanList[10]=0
PosInBanList[11]=0
PosInBanList[12]=0
PosInBanList[13]=0
PosInBanList[14]=0
PosInBanList[15]=0
PosInBanList[16]=0
PosInBanList[17]=0
PosInBanList[18]=0
PosInBanList[19]=0
PosInBanList[20]=0
PosInBanList[21]=0
PosInBanList[22]=0
PosInBanList[23]=0
PosInBanList[24]=0
PosInBanList[25]=0
PosInBanList[26]=0
PosInBanList[27]=0
PosInBanList[28]=0
PosInBanList[29]=0
PosInBanList[30]=0
PosInBanList[31]=0
PosInBanList[32]=0
PosInBanList[33]=0
PosInBanList[34]=0
PosInBanList[35]=0
PosInBanList[36]=0
PosInBanList[37]=0
PosInBanList[38]=0
PosInBanList[39]=0
PosInBanList[40]=0
PosInBanList[41]=0
PosInBanList[42]=0
PosInBanList[43]=0
PosInBanList[44]=0
PosInBanList[45]=0
PosInBanList[46]=0
PosInBanList[47]=0
6. Save/close all the files. Enjoy.
After installation you may configure it to your needs. Type "preferences" in console (or go to Advanced Options), go to Mutators > MM AntiTK.
![Image](http://dxalpha.com/users/daedalus/antitksettings.gif)
OR! You can just open Mutators.ini and change needed variables from there (note that you cannot change the file if your server is on). Let's see what we have:
TeamDamageReflection - factor of team damage, which will be sent back to a player, who have injured his team mate. By default it is set to 0.7, so, basicly, team killer will get 70% of damage he or she gave to team mate. You may set it for fun to 2, which means double damage (200%). For normal games 0.7 (70%) is enough.
bTeamKillPenalty - when set to False, disables the function, which punishes players with ban for team killing (direction 2).
bTeamDamagePenalty - when set to False, disables the function, which sends a player a damage he has given to his team mate (direction 1).
When both bTeamKillPenalty and bTeamDamagePenalty are disabled, the mutator does not do anything. It's useful for clanwars, when you don't need to punish players for doing team damage or team killing and in same time you don't want to uninstall the mutator completely.
MaxTeamKills - here you can set an amount of team kills for a player to get a ban. By default it is set 3. So, for example, if you killed your team mate 2 times (after both kills you will get a warning), you will be banned immediately after 3-d team kill.
Please, be wise with these settings. The should vary with conditions of the game. In 0aug like on Ferdy's and Reef's server MaxTeamKills set to 3 is more than enough, but in another condition, like on Nobody's SG server with all these super weapons as Neutron bomb or SCLAW MaxTeamKills should be at least 5.
NoticeColor - it's a color of a warning for team killing. By default it is 2 (red). You may change it to:
1 - white
2 - red
3 - green
4 - yellow
5 - pink
6 - blue
7 - cyan
BanLength - a length of ban, counting in maps (matches). By default it is 2 - in this case, the player will miss the end of the current map and the next map. After that he will get unbanned.
- The system will work even after the reboot of the server.
- Arrays MissedGames[x] and PosInBanList[x] are for technical purposes
- If you want to change any of these settings IN GAME or if you don't have an access to console or mutators.ini, just type a command using the template (you should be logged in):
- Code: Select all
admin set mmantitk100.antitkmutator variable_name new_value
So, if you want to make a color of warning (variable named NoticeColor) blue, you should type:- Code: Select all
admin set mmantitk100.antitkmutator noticecolor 6
- Each event (team kill, banning etc) is recorded to log file.
- Admin can unban all the team killers manually. Log in as administrator and type:
- Code: Select all
mutate antitk.unban
- You may check if the mutator is installed + it's version by typing
- Code: Select all
mutate antitk.version
- This mutator works only on a server side. Visitors of your server don't have to download it.
- The mutator was protected by Nobody's mod protection tool. But I may give a source code of it if you want.
- I'm planning to make a few updates soon. Currently the mutator has a few problems + I'd like to add a new feature (thx to Derek).
- If you have any troubles with installation or using it, tell us in this topic and me or my mates from [A] will help you ASAP.
- I'm glad to hear any comments/suggestions
Credits:
- authors: Dae, Nobody, Alex
- testing: [B2S]Jesus, Marije, Alex, CreatorDx and a couple of nubs which used to come to my server and cry "cheeter" after shooting me, getting their damage back and dieing.
- ideas: Valve, Derek (aka cataclyzm or chococataclyzm).
- inspired by playing against JohnStark.ru, a known teamkiller "for fun".
SEE THE LATEST VERSION OF THE MOD IN THE MESSAGE BELOW!