One Flag Capture v1.20 by Crokx
Gametype
for Unreal Tournament 2003
Contents
Description
One Flag Capture is an Unreal® Tournament 2003 TeamGame modification,
is a little an hardcore CTF with one alone flag in middle map.
When you capture
the flag, he respawn few seconds late with a big explosion. Also your goal are
deactivated sometimes.
In Flag Domination Mode, for capture the flag you
team dutty return the flag to your goal, and protect the flag sometimes. The
goals reactivation is ignored in this mode.
If a map contain some FlagBase,
in begin match and after a capture the flag change randomly of flag base.
Top
Options
- Goal reactivation delay : After a capture, the goal are reactivated
after this delay.
- Flag Domination Mode : Toggle gameplay to Flag Domination.
- DominationDelay : In mode Flag Domination, the delay needed for
have dominated the flag on goal.
- Other Options
- Reward capture:
- Give full adrenaline : The scorer gains full adrenaline,
but no during combo.
- Give full ammo : The current weapon of scorer are reloaded.
- Give full health : The scorer gains full health, 100
maximum.
- Give weapon : The scorer gains one weapon, selected just
bottom.
- Flag effects:
- Boom : When the dropped flag return alone, the flag make
a big explosion.
- Damage : The flag carrier are powered by UDamage.
- Poison : The flag take damage to flag carrier.
- Slow : The flag carrier speed are slowdown to 50%
Top
Requirements
One Flag Capture requires Unreal Tournament 2003 v2199 or higher.
You
can download the lastest patch on official game site: http://www.unrealtournament2003.com/.
Visit
gametype homepage http://crokx.unreal-design.com/
for grab one map.
Top
Installation
- Copy OneFlagCapture.u into \UT2003\System\ directory.
- Copy OneFlagCapture.int into \UT2003\System\ directory.
- Copy OneFlagCapture.htm into \UT2003\Help\ directory.
- For play online, add line ServerPackages=OneFlagCapture
in \UT2003\System\UT2003.ini, section [Engine.GameEngine].
Top
Coder's reference
- OFC_GameRules
// called when a new round
start (after the flag have change of flag base)
function
NewRound(OFC_Flag
Flag);
// called when a player take the
flag
function NewHolder(Pawn
Holder);
// called when a player drop the flag
function ResetHolder(Pawn
OldHolder);
// called just before the flag
return alone on current flag base
function FlagAutoReturn(OFC_Flag
Flag);
// called when the flag is captured
function FlagCapture(Pawn
Scorer);
// called when a goal are reactivated
function
GoalReactivation(OFC_Goal
Goal);
// called when the player place the flag on his goal
function StartDomination(Pawn
P, OFC_Goal Goal);
// called when the enemy take the dominated
flag
function StopDomination(Pawn
P, OFC_Goal Goal);
// called when a team have dominated the flag
function
DominationCapture(byte TeamIndex);
// accessor for know
if this goal is the red, return false for the blue
function bool
IsRedGoal(OFC_Goal Goal);
Note:
Call forever in
end function, Super.FunctionName(variables).
See OFC_TestGameRules
for exemple.
- OFC_Mutator
// for register a OFC_GameRules
function
PostBeginPlay()
{
local MyOFC_GameRules
GR;
Super.PostBeginPlay();
if(OFCMutatorIsAllowed())
{
GR
= Spawn(class'MyOFC_GameRules');
if(GR
!= None)
{
if(OFC_Game(Level.Game).OFC_Modifiers
== None)
OFC_Game(Level.Game).OFC_Modifiers
= GR;
else
OFC_Game(Level.Game).OFC_Modifiers.AddOFCGameRules(GR);
}
}
}
Note:
See OFC_TestMutator for exemple.
Top
Mapper's reference
- Needed actors
- OFC_BlueGoal , OFC_RedGoal
- Location: Actor / NavigationPoint / JumpDest / JumpSpot
/ GameObjective / OFC_Goal /
- Description: The team goals are used for capture or dominate
the flag.
- OFC_FlagBase
- Location: Actor / NavigationPoint / JumpDest / JumpSpot
/ GameObjective /
- Description: The base of flag, if you put several OFC_FlagBase,
the flag are spawned and returned after a capture randomly
on one OFC_FlagBase.
- Others specific actors
- OFC_PickupInventory
- Location: Actor / Triggers /
- Description: The bot in contact go pickup the tagged
inventory (Pickup or PickupBase)
- OFC_RespawnInventoryTrigger
- Location: Actor / Triggers /
- Description: Respawn all tagged inventory (Pickup or
PickupBase)
- OFC_ScoreTrigger
- Location: Actor / Triggers /
- Description: Launch a event specific to score of team
capturer.
- OFC_TeamMessageTrigger
- Location: Actor / Triggers /
- Description: Show a message for a specific team.
- Specific decorations
- OFC_DynamicArrow
- Location: Actor / Decorations /
- Description: Special for DynamicArrowTag
of OFC_FlagBase, OFC_RedGoal, OFC_BlueGoal.
- OFC_FlagMonitorA , OFC_FlagMonitorB , OFC_FagMonitorC
- Location: Actor / Decorations / OFC_FlagMonitor /
- Description: This decoration show the flag state;
Top
Version history
- v1.20
- Release date : 14/08/2003
- Add Flag Domination Mode!
- Add Flag Effects options for replace the mutator pack.
- All main codes optimized. (Game, Flag, Goal, SquadAI, HUD)
- Enchance in SquadAI the function who calculate the distance
security when the bot wait a flag explosion.
- When a bot wait alone his goal reactivation
for capture, this bot call help: "Base is undefended!".
- The countdown after a capture begin now by 3, just after a new
round announce.
- Message "The flag is ready!" randomized.
- Add and change somes functions in OFC_GameRules.
- Add spectator messages.
- The spectator can see the flag direction dot on HUD.
- The ScoreBoard show the flag holder with a icon.
- Fix the SquadAI, the bot don't be mistaken of current flag base
sometimes.
- Fix when you wait on your goal reactivation for capture, when your goal
are reactivated you capture the flag.
- v1.11
- Release date : 04/04/2003
- Online support.
- OFC_DynamicArrow replace the OFC_DynamicDeco.
- Instant held flag message.
- v1.10
- Release date : 30/03/2003
- Multi flag base support! if a map have several flag base, in
begin match and after a capture, the flag change randomly of flag
base.
- The bot use the UnrealScriptedSequence for defense the base
when a team mate wait the goal reactivation for capture.
- Add decoration flag monitor, for show the flag state.
- Add dynamic decoration controlled by goals activation or flag
base if have flag.
- Enchance the OFC_PickupInventory, 6 conditions for a bot use.
- The HUD show the goals reactivation delay.
- Add option Goal reactivation delay and Force change flag base.
- v1.00
- Release date : 22/03/2003
Top
Contact info
Top
Copyright
Unreal® Tournament 2003
© 2002 Epic Games, Inc.
One Flag Capture © 2003 Christophe 'Crokx' Cros.
Top