CTFAlive |
This mutator for CTF games lowers a players
strength after they are killed.
Strength is restored after a flag capture, or after a timer runs
out, whichever comes first.
It's purpose is to promote more
teamplay and to have higher scoring games.
Normally, CTF defenders don't need to guard their lives much
because if the attacker kills them while trying to take the flag,
the defender just respawns with full health right there at base
again. So now the attacker has to kill him again, and again,
and..
Very frustrating for the attackers!
With CTFAlive, players had better be more concerned about dying,
because now they'll be at a disadvantage when they repawn.
DeadStrength and FlagStrength
DeadStrength -
This is the strength a player respawns with
after he has been killed.
You can set this strength from 0 to 100 % (of normal).
When a player is using DeadStrength, his weapons won't do
as much damage to other players.
He'll now have to wait for the ResetTimer
to run out before his strength is returned.
While his strength is low, the player will be skinny,
allowing others to identify him as weak.
However, he can still do things to help his team, such as
getting the opponents flag or returning his own,
he'll just have to do it without full strength.
FlagStrength -
this the strength the Flag Carrier has.
You can set this strength from 0 to 300 % (of normal).
If FlagStrength > normal strength, player will be fat,
or if FlagStrength < normal strength, player will be
skinny.
These conditions only last while carrying the Flag, and
override any previous condition (such as DeadStrength).
If he scores the Flag all players strength and fatness
are reset to normal, including him.
If he is killed, his strength is reduced to DeadStrength
and he will be skinny.
Getting your strength back
ResetTimer -
This can be set from 10 to 100 seconds (the ResetTime).
Each player has his own timer, and it is reset
to 0 each time he dies.
It then counts up the specified number of seconds and
alerts the player of his remaining time every 5 seconds.
When the ResetTimer is up the player is
restored to normal strength and fatness.
Note: your timer only counts up while
you are alive, you can't just sit there dead and get your
strength back!
Flag Capture -
This immediately restores all players to normal
strength and fatness.
Killing! -
If you are in DeadStrength mode and kill
someone, your ResetTime is reduced by 5 seconds.
The HUD
There is an indicator at the top
of your HUD that shows what your strength is (% of normal).
Also, a message is sent to the player in his message window when
his strength is altered.
You can always know another players strength by his fatness:
skinny = weak, player has a strength less than
normal
fat = strong, player has a strength more than
normal
Settings
ResetTime,
DeadStrength, and FlagStrength
All these settings can be configured in the "Mental's
Mutators" Configuration Window.
which comes up when you click the UT "Mods" menu and
choose "Mental's Mutators".
The settings are saved to the file "Mentals_configs.ini"
in your UT system folder.
That file is used for all my mutators, with each mutator's
settings having the appropriate name in front of the setting.
This mutator has been tested for
both network and standalone games (with bots).
For servers you need to add the following line to your UT 'ini'
file:
ServerPackages=CTFAlive
in the [Engine.GameEngine] section.
Any comments, bug reports, etc.
email me at - gomental@hotmail.com
Version History:
================
v1.5 - 2/1/2002 - combined all my mutators settings windows into
1 tabbed window which really cleaned up the
"Mod" menu :)
v1.4 - changed many things in response to the ModSquad review:
fixed timer bugs, individual player timers, much improved
performance.
v1.3 - refined network code. mucho thanks to
Richard Osborne & Bruce Bickar
v1.2 - added config window and new settings
v1.1 - added hud display
v1.0 - Initial Release
Ideas for future versions:
==========================
throw in more penalty facors: speed, health, ?
have individualized penalties, the more deaths the weaker you get
have an onscreen indicator of the reset timer
got any more bright ideas?
Credits/Thanks:
===============
Tim Sweeny's docs
Rene-Claude Parent for
the original concept of this mutator
Richard Osborne (FEBA Spirit WAR) & Bruce Bickar for the HUD
& replication help
and all the many other mod authors who's code I've browsed
through and learned from!
Disclaimer/Legal stuff:
=======================
I've tested it but use it at your own risk (although I don't know
of any risks).
This Mutator is Copyright 2000 by Patrick Freeman
Please do not try to make money with this, or distribute it under
a different name, etc.
If you do use my code in someway I would be grateful of some kind
of acknowledgement.