Gah - a solution with more questions. – EntropicLqd

UE1:CTFGame (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
BotPack
Direct subclass:
TrainingCTF
This class in other games:
UT2003, UT2004

CTFGame.

Properties[edit]

Property group 'CTFGame'[edit]

CaptureSound[edit]

Type: Sound

Array size: 4


Default value, index 0: Sound'Botpack.CTF.CaptureSound2'

Default value, index 1: Sound'Botpack.CTF.CaptureSound3'

Default value, index 2: Sound'Botpack.CTF.CaptureSound2'

Default value, index 3: Sound'Botpack.CTF.CaptureSound3'

ReturnSound[edit]

Type: Sound


Default value: Sound'Botpack.CTF.ReturnSound'

Internal variables[edit]

LastGotFlag[edit]

Type: float


LastSeeFlagCarrier[edit]

Type: float


Default values[edit]

Property Value
bCoopWeaponMode True
BeaconName "CTF"
bHumansOnly True
bRatedTranslocator True
bScoreTeamKills False
bSpawnInTeamArea True
bUseTranslocator True
CurrentOrders[0] 'Freelance'
CurrentOrders[1] 'Freelance'
CurrentOrders[2] 'Freelance'
CurrentOrders[3] 'Freelance'
gamegoal "captures wins the match!"
GameName "Capture the Flag"
GameReplicationInfoClass Class'BotPack.CTFReplicationInfo'
GoalTeamScore 3.0
HUDType Class'BotPack.ChallengeCTFHUD'
LadderTypeIndex 2
MapListType Class'BotPack.CTFmaplist'
MapPrefix "CTF"
MaxAllowedTeams 2
ScoreBoardType Class'BotPack.UnrealCTFScoreBoard'
StartUpMessage ""

Functions[edit]

Events[edit]

InitGame[edit]

event InitGame (string Options, out string Error)

Overrides: TeamGamePlus.InitGame


Other instance functions[edit]

AllowTranslocation[edit]

function bool AllowTranslocation (Pawn Other, Object.Vector Dest)

Overrides: DeathMatchPlus.AllowTranslocation


AssessBotAttitude[edit]

function byte AssessBotAttitude (Bot aBot, Pawn Other)

Overrides: TeamGamePlus.AssessBotAttitude


CalcEndStats[edit]

function CalcEndStats ()

Overrides: TournamentGameInfo.CalcEndStats


CanTranslocate[edit]

function bool CanTranslocate (Bot aBot)

Overrides: DeathMatchPlus.CanTranslocate


CheckForTranslocators[edit]

function bool CheckForTranslocators (Bot aBot)


CheckThisTranslocator[edit]

function bool CheckThisTranslocator (Bot aBot, TranslocatorTarget T)

Overrides: DeathMatchPlus.CheckThisTranslocator


FindPathToBase[edit]

function bool FindPathToBase (Bot aBot, FlagBase aBase)


FindSpecialAttractionFor[edit]

function bool FindSpecialAttractionFor (Bot aBot)

Overrides: TeamGamePlus.FindSpecialAttractionFor


GameThreatAdd[edit]

function float GameThreatAdd (Bot aBot, Pawn Other)

Overrides: DeathMatchPlus.GameThreatAdd


Killed[edit]

function Killed (Pawn Killer, Pawn Other, name damageType)

Overrides: DeathMatchPlus.Killed


Logout[edit]

function Logout (Pawn Exiting)

Overrides: TeamGamePlus.Logout


PickAmbushSpotFor[edit]

function PickAmbushSpotFor (Bot aBot)

Overrides: TeamGamePlus.PickAmbushSpotFor


PriorityObjective[edit]

function byte PriorityObjective (Bot aBot)

Overrides: TeamGamePlus.PriorityObjective


ReduceDamage[edit]

function int ReduceDamage (int Damage, name DamageType, Pawn injured, Pawn instigatedBy)

Overrides: TeamGamePlus.ReduceDamage


RestartPlayer[edit]

function bool RestartPlayer (Pawn aPlayer)

Overrides: DeathMatchPlus.RestartPlayer


ScoreFlag[edit]

function ScoreFlag (Pawn Scorer, CTFFlag theFlag)


ScoreKill[edit]

function ScoreKill (Pawn Killer, Pawn Other)

Overrides: TeamGamePlus.ScoreKill


SetBotOrders[edit]

function SetBotOrders (Bot NewBot)

Overrides: TeamGamePlus.SetBotOrders


SetDefenseFor[edit]

function Actor SetDefenseFor (Bot aBot)

Overrides: TeamGamePlus.SetDefenseFor


SetEndCams[edit]

function bool SetEndCams (string Reason)

Overrides: TeamGamePlus.SetEndCams