Team Damage Mutator for Unreal Tournament

version 1.2
February 18, 2000

Download .umod NOW!

Author: Jeff McClain (Jhondra)
Email: jmcclain@micron.net
URL: http://www.planetunreal.com/tooreal
Created Date: 02/10/2000
Where to get it: http://www.planetunreal.com/tooreal/mutators/teamdamage/teamdamage_umod.zip or http://www.planetunreal.com/tooreal/mutators/teamdamage/teamdamage.zip

Installation Instructions:

Simply double click on the .umod file (which you may save pretty much anywhere you like) and Unreal Tournament should launch an installer and place all files in the proper place. PLEASE: be sure to click on the new MODS menu that shows up in your Unreal Tournament menu bar and configure your preferred settings. Also, this mutator only works if friendly fire is turned on!!!

Mutator Description (What it does):

Basically, I wanted to have a way to slow down some of the highly exciteable people out there that get trigger happy. Friendly fire, while realistic, and cool, sometimes proves to be very counter productive when playing with some of the people out there. So, I thought that it would be cool if servers could turn friendly fire back on, but have a way to penalize players who shoot everyone and everything.

So, what you have is a mutator that allows you to MIRROR the damage done to the "victim" team-mate back on the careless idiot spraying ammo. So when Team mate A shoots Team mate B, you can set it so that B gets 0 damage, and A gets all of the damage that he is dishing out (limited by the friendly fire percentage), or you can set it so that A only gets 75% of the damage, and B gets the other 25% (that way the whole team suffers). Basically if you set Damage Scaling to 100%, you would have your normal old play where the victim gets all the damage. If you set it at 0%, then you have the other extreme where the team fragger gets the whole enchilada.

The other side of this, is that I thought maybe it would be cool to actually play the savior if you could give some of your health to a needy team mate (say, the one carring the flag...grin). So you can enable "transferance" mode if you want. Basically this enables you to shoot your team mate, and take his damage upon yourself and give him the same amount of health back. Now, I also made this "transferance" ratio scalable too. Meaning that you can scale the amount of health that the victim gets for every point of damage that you take. A ratio of 1 would make your team mate victim get exactly the same amount of health that you take in damage when you shoot him. A ratio of 2 would make him only get 1 point of health for every 2 points of damage that you take from shooting him. Make sense? You can only boost a team mate to a max of 199 health, and if you only have 3 points of health left, then that is all that you could give your team mate after transferance ratios (no mater how much damage you hit him with, so forget about the redeemer).

The final portion of this, just added on some constructive coments by a friend, is a Conservation of Health modification. Basical, it says if the team mate is at 199 and you have transferance on, it will not impart any damage to you (as well as if you impart too much healing to push the team mate over 199, you will only impart the damage with the transferance ratio that is required to attain 199). That way, you can possibly heal a whole team with a redeemer shot, for example (if you have enough health and the transferance ratio is low enough). Additionally, I only let you impart as much health after transferance ratio as you have. In otherwords, you can't heal someone completely with a rocket shot if you only have 1 health left. Without Conservation of Health, there is no clamping done (you still take damage even after you've healed someone to 199 and you only transfer health that you have). Conservation of Health also limits the amount of Mirror damage you take if the target is almost dead anyway. Without this checked, you will take as much damage as you impart, regardless of the victim's health.

Making it work:

All you have to do is pick "mutators" from the Start Practice Match menu, and double click or drag the "Team Damage" mutator over to the right screen. A new menu should also appear on your Unreal Tournament main menu bar, called "MODS". Under this, you can fully customize the Team Damage for transferance ratio, transferance selection, and damage scaling. Note, you MUST have friendly fire on for this mutator to work

Notes:

This mutator works in all modes of Unreal Tournament, and I've tested it out on a server. Be aware that very large transferance ratios can kill you VERY quickly.

Credits/Thanks:

Many thanks to Tim Sweeny, Brandon Reinhart a.k.a. GreenMarine (brandon@epicgames.com), Jpb (jpb@planetunreal.com), Squidi (howard@mailer.fsu.edu), Bane (bane@unrealized.com) and planet Unreal (http://www.planetunreal.com) for all of the community development support. This is my first mutator, and it was a bit confusing, simply due to the lack of any real compiled source with good documentation. I also spent god knows how much time trying to learn how to use ucc and fix some STUPID warnings in a default properties area simply because UCC didn't like SPACES or TABS between the variable and the equal signs, as well as it didn't like SEMICOLONS in the default prop area...stupid...

Disclaimer/Legal stuff:

Copyrite Jeff McClain, 2000. Don't use this for commercial/profit purposes without the author's express written consent. You are free to look at the code and use for learning purposes.

Send all comments, questions, etc. to jmcclain@micron.net

Release History:

v1.00 - Just coded it up in a day and released it (the menus take the longest for me).

v1.10 - Added option for Conservation of Health clamping.

v1.20 - Config settings will be saved to .ini file.

Improvements/Next version:

Possibly add new play modes. Would like to make the bots learn how to heal. Fix bugs if anyone reports them to jmcclain@micron.net

(C) Jeff McClain 2000


Page maintained by Jeff McClain, jmcclain@micron.net. Copyright(c) . Created: Monday, January 17, 2000 at 2:28:52 PM Updated: 2/18/00 at 6:52:12 AM