CTFAlive |
This mutator for CTF games takes away 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 hime 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 gone, 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 strength.
Perhaps he could knock a player off an edge with rockets,
it's up to how crafty he is.
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, but
while holding the Flag he will have FlagStrength, even if
the 'reset' timer is up.
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 is a timer that can be set from 10 to 100
seconds (the ResetTime).
A list is checked everytime a player gets
killed.
If the player is not on that list he is added and the ResetTimer
starts from 0,
even if it was already running!.
So sometimes players will have to wait even longer than
the ResetTime before they are restored,
but that's the price they pay for getting killed early!
When the ResetTimer is up all players
are immediately restored to normal strength and fatness,
except for players carrying the Flag, who remain at
FlagStrength.
Flag Capture -
immediately restores all players to normal
strength and fatness, even if the ResetTimer is still
running.
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 can be
configured in the CTFAlive Config window.
which comes up when you click the UT "Mods" menu and
choose "CTFAlive".
The settings are saved to the file
"mentals_mutators.ini" in your UT system folder.
That file is used for all my mutators, with each mutator's
settings in their own section.
This mutator has been tested for both network and standalone games (with bots).
Any comments, bug reports, etc.
email me at - patrickf@oz.net
Version History:
================
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 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.