I don't need to test my programs. I have an error-correcting modem.

UE1:CTFGame (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Package: 
BotPack
Direct subclass:
TrainingCTF
This class in other games:
UT2003, UT2004

CTFGame.

Properties

Property group 'CTFGame'

CaptureSound

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

Type: Sound


Default value: Sound'Botpack.CTF.ReturnSound'

Internal variables

LastGotFlag

Type: float


LastSeeFlagCarrier

Type: float


Default values

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

Events

InitGame

event InitGame (string Options, out string Error)

Overrides: TeamGamePlus.InitGame


Other instance functions

AllowTranslocation

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

Overrides: DeathMatchPlus.AllowTranslocation


AssessBotAttitude

function byte AssessBotAttitude (Bot aBot, Pawn Other)

Overrides: TeamGamePlus.AssessBotAttitude


CalcEndStats

function CalcEndStats ()

Overrides: TournamentGameInfo.CalcEndStats


CanTranslocate

function bool CanTranslocate (Bot aBot)

Overrides: DeathMatchPlus.CanTranslocate


CheckForTranslocators

function bool CheckForTranslocators (Bot aBot)


CheckThisTranslocator

function bool CheckThisTranslocator (Bot aBot, TranslocatorTarget T)

Overrides: DeathMatchPlus.CheckThisTranslocator


FindPathToBase

function bool FindPathToBase (Bot aBot, FlagBase aBase)


FindSpecialAttractionFor

function bool FindSpecialAttractionFor (Bot aBot)

Overrides: TeamGamePlus.FindSpecialAttractionFor


GameThreatAdd

function float GameThreatAdd (Bot aBot, Pawn Other)

Overrides: DeathMatchPlus.GameThreatAdd


Killed

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

Overrides: DeathMatchPlus.Killed


Logout

function Logout (Pawn Exiting)

Overrides: TeamGamePlus.Logout


PickAmbushSpotFor

function PickAmbushSpotFor (Bot aBot)

Overrides: TeamGamePlus.PickAmbushSpotFor


PriorityObjective

function byte PriorityObjective (Bot aBot)

Overrides: TeamGamePlus.PriorityObjective


ReduceDamage

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

Overrides: TeamGamePlus.ReduceDamage


RestartPlayer

function bool RestartPlayer (Pawn aPlayer)

Overrides: DeathMatchPlus.RestartPlayer


ScoreFlag

function ScoreFlag (Pawn Scorer, CTFFlag theFlag)


ScoreKill

function ScoreKill (Pawn Killer, Pawn Other)

Overrides: TeamGamePlus.ScoreKill


SetBotOrders

function SetBotOrders (Bot NewBot)

Overrides: TeamGamePlus.SetBotOrders


SetDefenseFor

function Actor SetDefenseFor (Bot aBot)

Overrides: TeamGamePlus.SetDefenseFor


SetEndCams

function bool SetEndCams (string Reason)

Overrides: TeamGamePlus.SetEndCams