UE2:CTFGame (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch >> TeamGame >> CTFGame
Package:
UnrealGame
Direct subclass:
XCTFGame
This class in other games:

CTFGame.

Properties

Property group 'LoadingHints'

CTFHints

Type: array<string>

Modifiers: private, localized


Default value, index 0: "You can use %BASEPATH 0% to see the path to the Red Team base and %BASEPATH 1% to see the path to the Blue Team base."

Default value, index 1: "Firing the translocator sends out your translocator beacon. Pressing %FIRE% again returns the beacon, while pressing %A:TFIRE% teleports you instantly to the beacon's location (if you fit)."

Default value, index 2: "Using the translocator to teleport while carrying the flag will cause you to drop the flag."

Default value, index 3: "Pressing %SWITCHWEAPON 10% after tossing the Translocator allows you to view from its internal camera."

Default value, index 4: "Pressing %FIRE% while your %ALTFIRE% is still held down after teleporting with the translocator will switch you back to your previous weapon."

Default values

Property Value
ADR_Kill 2.0
bAllowTrans True
bDefaultTranslocator True
BeaconName "CTF"
bMustHaveMultiplePlayers False
bScoreTeamKills False
bScoreVictimsTarget True
bSpawnInTeamArea True
Description "Your team must score flag captures by taking the enemy flag from the enemy base and returning it to their own flag. If the flag carrier is killed, the flag drops to the ground for anyone to pick up. If your team's flag is taken, it must be returned (by touching it after it is dropped) before your team can score a flag capture."
GoalScore 3
MapPrefix "CTF"
TeamAIType[0] Class'UnrealGame.CTFTeamAI'
TeamAIType[1] Class'UnrealGame.CTFTeamAI'

Functions

Static functions

GetAllLoadHints

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: TeamGame.GetAllLoadHints


OrderToIndex

static function int OrderToIndex (int Order)

Overrides: GameInfo.OrderToIndex


PrecacheGameAnnouncements

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: TeamGame.PrecacheGameAnnouncements


Events

PostBeginPlay

event PostBeginPlay ()

Overrides: TeamGame.PostBeginPlay


Other instance functions

CheckEndGame

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)

Overrides: TeamGame.CheckEndGame


DiscardInventory

function DiscardInventory (Pawn Other)

Overrides: GameInfo.DiscardInventory


GetGameObject

function GameObject GetGameObject (name GameObjectName)

Overrides: UnrealMPGameInfo.GetGameObject


Logout

function Logout (Controller Exiting)

Overrides: DeathMatch.Logout


NearGoal

function bool NearGoal (Controller C)

Overrides: TeamGame.NearGoal


RegisterVehicle

function RegisterVehicle (Vehicle V)

Overrides: GameInfo.RegisterVehicle


ScoreFlag

function ScoreFlag (Controller Scorer, CTFFlag theFlag)


ScoreGameObject

function ScoreGameObject (Controller C, GameObject GO)

Overrides: UnrealMPGameInfo.ScoreGameObject


SetTeamFlags

function SetTeamFlags ()


SpawnWait

function float SpawnWait (AIController B)

Overrides: UnrealMPGameInfo.SpawnWait


UpdateAnnouncements

simulated function UpdateAnnouncements ()

Overrides: TeamGame.UpdateAnnouncements


States

MatchOver

MatchOver.ScoreFlag

function ScoreFlag (Controller Scorer, CTFFlag theFlag)

Overrides: ScoreFlag (global)