Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTCTFGame

Extends
UTTeamGame
Modifiers
abstract

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.GameInfo
         |   
         +-- UTGame.UTGame
            |   
            +-- UTGame.UTDeathmatch
               |   
               +-- UTGame.UTTeamGame
                  |   
                  +-- UTGame.UTCTFGame

Direct Known Subclasses:

UTCTFGame_Content, UTVehicleCTFGame

Variables Summary
class<UTLocalMessage>AnnouncerMessageClass
UTCTFFlagFlags[2]
Inherited Variables from UTGame.UTTeamGame
bAllowNonTeamChat, bForceAllRed, bNoTeamChangePenalty, bPlayersBalanceTeams, bRebalanceAfterTravel, bRebalanceOnceAfterTravel, bScoreTeamKills, bScoreVictimsTarget, bSpawnInTeamArea, CustomTeamName[2], FlagKillMessageName, FriendlyFireScale, PendingTeamSwap, SwapRequestTime, TeamAIType[2], TeamFactions[2], TeammateBoost, TeamScoreMessageClass, Teams[2]

Functions Summary
function AnnounceScore (int ScoringTeam))
MatchOver
functionbool CheckEndGame (PlayerReplicationInfo Winner, string Reason))
functionstring DecodeEvent (name EventType, int TeamNo, string InstigatorName, string AdditionalName, class<object> AdditionalObj))
functionActor GetAutoObjectiveFor (UTPlayerController PC))
functionint GetHandicapNeed (Pawn Other))
functionbool GetLocationFor (Pawn StatusPawn, out Actor LocationObject, out int MessageIndex, int LocationSpeechOffset))
functionbool NearGoal (Controller C))
function PostBeginPlay ()))
function RegisterFlag (UTCTFFlag F, int TeamIndex))
function ScoreFlag (Controller Scorer, UTCTFFlag theFlag))
function ScoreFlag (Controller Scorer, UTCTFFlag theFlag))
MatchOver
function SetEndGameFocus (PlayerReplicationInfo Winner))
functionstring TeamColorText (int TeamNum))
function ViewObjective (PlayerController PC))
functionbool WantFastSpawnFor (AIController B))
Inherited Functions from UTGame.UTTeamGame
AddBlueBots, AddRedBots, AdjustSkill, AllowClientToTeleport, AnnounceScore, BalanceTeams, CampaignSkillAdjust, CanSpectate, ChangeTeam, CheckEndGame, CheckMaxLives, CheckScore, CheckTeamBasedAchievements, CreateTeam, DominatingVictory, FindNewObjectives, FindVictimsTarget, ForceRespawn, GetBotTeam, GetFriendTeam, GetHandicapNeed, GetSeamlessTravelActorList, HandleSeamlessTravelPlayer, InitGame, InitializeBot, IsAWinner, IsWinningTeam, LevelRecommendedPlayers, Logout, NearGoal, NotifyKilled, OverridePRI, ParseSpeechRecipients, PickFriendTeam, PickTeam, PlayRegularEndOfMatchMessage, PostLogin, PostSeamlessTravel, PreBeginPlay, ProcessSpeechOrders, ProcessSpeechRecognition, RatePlayerStart, ReduceDamage, RestartGame, ScoreKill, SendFlagKillMessage, SetEndGameFocus, SetTeam, ShowPathTo, TooManyBots, WriteOnlineStats
Inherited Functions from UTGame.UTDeathmatch
CheckAchievements, CheckCampaignAchievements, CheckLikeTheBackOfMyHandAchievement, CheckMissionAchievements, CheckSpiceOfLifeAchievement, GetHandicapNeed, IsValidMutatorsForLikeTheBackOfMyHand, UpdateOnlineAchievements, WantsPickups, WriteOnlineStats

States Summary
MatchOver Source code
state MatchOver
AnnounceScore, ScoreFlag


Variables Detail

AnnouncerMessageClass Source code

var class<UTLocalMessage> AnnouncerMessageClass;

Flags[2] Source code

var UTCTFFlag Flags[2];


Functions Detail

AnnounceScore MatchOver Source code

function AnnounceScore ( int ScoringTeam) )

CheckEndGame Source code

function bool CheckEndGame ( PlayerReplicationInfo Winner, string Reason) )

DecodeEvent Source code

function string DecodeEvent ( name EventType, int TeamNo, string InstigatorName, string AdditionalName, class<object> AdditionalObj) )

GetAutoObjectiveFor Source code

function Actor GetAutoObjectiveFor ( UTPlayerController PC) )

GetHandicapNeed Source code

function int GetHandicapNeed ( Pawn Other) )
return a value based on how much this pawn needs help

GetLocationFor Source code

function bool GetLocationFor ( Pawn StatusPawn, out Actor LocationObject, out int MessageIndex, int LocationSpeechOffset) )
Returns through outparameters what location message to play Returns true if it returned message information

NearGoal Source code

function bool NearGoal ( Controller C) )

PostBeginPlay Source code

function PostBeginPlay ( ) )

RegisterFlag Source code

function RegisterFlag ( UTCTFFlag F, int TeamIndex) )

ScoreFlag Source code

function ScoreFlag ( Controller Scorer, UTCTFFlag theFlag) )

ScoreFlag MatchOver Source code

function ScoreFlag ( Controller Scorer, UTCTFFlag theFlag) )

SetEndGameFocus Source code

function SetEndGameFocus ( PlayerReplicationInfo Winner) )

TeamColorText Source code

function string TeamColorText ( int TeamNum) )

ViewObjective Source code

function ViewObjective ( PlayerController PC) )

WantFastSpawnFor Source code

function bool WantFastSpawnFor ( AIController B) )


Defaultproperties

defaultproperties
{
   bScoreTeamKills=False
   bSpawnInTeamArea=True
   bScoreVictimsTarget=True
   TeamAIType(0)=Class'UTGame.UTCTFTeamAI'
   TeamAIType(1)=Class'UTGame.UTCTFTeamAI'
   FlagKillMessageName="FLAGKILL"
   bUndrivenVehicleDamage=True
   bAllowTranslocator=True
   bScoreDeaths=False
   Acronym="CTF"
   Description="Your team must capture the enemy flag by taking it from the enemy base and returning it to their own.  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."
   MapPrefixes(0)="CTF"
   EndOfMatchRulesTemplateStr_Scoring="First team to score `g times wins"
   EndOfMatchRulesTemplateStr_ScoringSingle="First team to score wins"
   EndOfMatchRulesTemplateStr_Time="Team with most scores in `t mins. wins"
   MidgameScorePanelTag="CTFPanel"
   GameName="Capture the Flag"
   GoalScore=3
   DeathMessageClass=Class'UTGame.UTTeamDeathMessage'
   OnlineStatsWriteClass=Class'UTGame.UTLeaderboardWriteCTF'
   OnlineGameSettingsClass=Class'UTGame.UTGameSettingsCTF'
   Name="Default__UTCTFGame"
   ObjectArchetype=UTTeamGame'UTGame.Default__UTTeamGame'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:49.372 - Created with UnCodeX