Gah - a solution with more questions. – EntropicLqd

UE2:CTFGame (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch >> TeamGame >> CTFGame

Contents

Package: 
UnrealGame
Direct subclass:
XCTFGame
This class in other games:
UT, UT2003

CTFGame.

[edit] Properties

[edit] Property group 'LoadingHints'

[edit] 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."

[edit] 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'

[edit] Functions

[edit] Static functions

[edit] GetAllLoadHints

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: TeamGame.GetAllLoadHints


[edit] OrderToIndex

static function int OrderToIndex (int Order)

Overrides: GameInfo.OrderToIndex


[edit] PrecacheGameAnnouncements

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: TeamGame.PrecacheGameAnnouncements


[edit] Events

[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: TeamGame.PostBeginPlay


[edit] Other instance functions

[edit] CheckEndGame

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)

Overrides: TeamGame.CheckEndGame


[edit] DiscardInventory

function DiscardInventory (Pawn Other)

Overrides: GameInfo.DiscardInventory


[edit] GetGameObject

function GameObject GetGameObject (name GameObjectName)

Overrides: UnrealMPGameInfo.GetGameObject


[edit] Logout

function Logout (Controller Exiting)

Overrides: DeathMatch.Logout


[edit] NearGoal

function bool NearGoal (Controller C)

Overrides: TeamGame.NearGoal


[edit] RegisterVehicle

function RegisterVehicle (Vehicle V)

Overrides: GameInfo.RegisterVehicle


[edit] ScoreFlag

function ScoreFlag (Controller Scorer, CTFFlag theFlag)


[edit] ScoreGameObject

function ScoreGameObject (Controller C, GameObject GO)

Overrides: UnrealMPGameInfo.ScoreGameObject


[edit] SetTeamFlags

function SetTeamFlags ()


[edit] SpawnWait

function float SpawnWait (AIController B)

Overrides: UnrealMPGameInfo.SpawnWait


[edit] UpdateAnnouncements

simulated function UpdateAnnouncements ()

Overrides: TeamGame.UpdateAnnouncements


[edit] States

[edit] MatchOver

[edit] MatchOver.ScoreFlag

function ScoreFlag (Controller Scorer, CTFFlag theFlag)

Overrides: ScoreFlag (global)