Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:TeamGame (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch >> TeamGame
Package: 
UnrealGame
Direct subclasses:
XBombingRun, XDoubleDom, CTFGame, XTeamGame
This class in other games:
RTNP, U1, UT, UT2004

TeamGame.

Properties[edit]

Property group 'TeamGame'[edit]

ADR_Control[edit]

Type: float


Default value: 2.0

ADR_Goal[edit]

Type: float


Default value: 25.0

ADR_Return[edit]

Type: float


Default value: 5.0

Internal variables[edit]

bBalanceTeams[edit]

Type: bool

Modifiers: globalconfig

bots balance teams

Default value: True

BlueTeamName[edit]

Type: string


bPlayersBalanceTeams[edit]

Type: bool

Modifiers: globalconfig

players balance teams

Default value: True

bScoreTeamKills[edit]

Type: bool


Default value: True

bScoreVictimsTarget[edit]

Type: bool

Should we check a victims target for bonuses

bSpawnInTeamArea[edit]

Type: bool

players spawn in marked team playerstarts

CaptureSound[edit]

Type: Sound

Array size: 2


Default value, index 0: Sound'AnnouncerMain.Red_Team_Scores'

Default value, index 1: Sound'AnnouncerMain.Blue_Team_Scores'

FriendlyFireScale[edit]

Type: float

Modifiers: config

scale friendly fire damage by this value

HatTrickSound[edit]

Type: Sound


Default value: Sound'AnnouncerMain.HatTrick'

IncreaseLead[edit]

Type: Sound

Array size: 2


Default value, index 0: Sound'AnnouncerMain.Red_Team_increases_their_lead'

Default value, index 1: Sound'AnnouncerMain.Blue_Team_increases_their_lead'

MaxTeamSize[edit]

Type: int

Modifiers: config


Default value: 16

NearString[edit]

Type: string

Modifiers: localized


Default value: "Near the"

RedTeamName[edit]

Type: string

when specific pre-designed teams are specified on the URL

TakeLead[edit]

Type: Sound

Array size: 2


Default value, index 0: Sound'AnnouncerMain.Red_Team_takes_the_lead'

Default value, index 1: Sound'AnnouncerMain.Blue_Team_takes_the_lead'

TeamAIType[edit]

Type: class<TeamAI>

Array size: 2


Default value, index 0: Class'UnrealGame.TeamAI'

Default value, index 1: Class'UnrealGame.TeamAI'

Teams[edit]

Type: UnrealTeamInfo

Array size: 2


TempSymbols[edit]

Type: Texture

Array size: 2


TGPropsDisplayText[edit]

Type: string

Array size: 4

Modifiers: private, localized


Default value, index 0: "Bots Balance Teams"

Default value, index 1: "Players Balance Teams"

Default value, index 2: "Max Team Size"

Default value, index 3: "Friendly Fire Scale"

Default values[edit]

Property Value
bCanChangeSkin False
BeaconName "Team"
bTeamGame True
bWeaponStay True
EndGameSound[0] Sound'AnnouncerMain.red_team_is_the_winner'
EndGameSound[1] Sound'AnnouncerMain.blue_team_is_the_winner'
EndMessageWait 3
GameName "Team Deathmatch"
GoalScore 60
NumRounds 5
ScoreBoardType "XInterface.ScoreBoardTeamDeathMatch"
SinglePlayerWait 2

Functions[edit]

Static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: DeathMatch.FillPlayInfo


FindTeamDesignation[edit]

static function string FindTeamDesignation (GameReplicationInfo GRI, Actor A)

Overrides: GameInfo.FindTeamDesignation


ParseChatPercVar[edit]

static function string ParseChatPercVar (Mutator BaseMutator, Controller Who, string Cmd)

Overrides: GameInfo.ParseChatPercVar


ParseMessageString[edit]

static function string ParseMessageString (Mutator BaseMutator, Controller Who, string Message)

Overrides: GameInfo.ParseMessageString


Events[edit]

InitGame[edit]

event InitGame (string Options, out string Error)

Overrides: DeathMatch.InitGame


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: DeathMatch.PostBeginPlay


PostLogin[edit]

event PostLogin (PlayerController NewPlayer)

Overrides: DeathMatch.PostLogin


Other instance functions[edit]

AnnounceScore[edit]

function AnnounceScore (int ScoringTeam)


CanShowPathTo[edit]

function bool CanShowPathTo (PlayerController P, int TeamNum)


CanSpectate[edit]

function bool CanSpectate (PlayerController Viewer, bool bOnlySpectator, Actor ViewTarget)

Overrides: DeathMatch.CanSpectate


ChangeTeam[edit]

function bool ChangeTeam (Controller Other, int num, bool bNewTeam)

Overrides: GameInfo.ChangeTeam


CheckEndGame[edit]

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)

Overrides: DeathMatch.CheckEndGame


CheckMaxLives[edit]

function bool CheckMaxLives (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckMaxLives


CheckScore[edit]

function CheckScore (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckScore


CriticalPlayer[edit]

function bool CriticalPlayer (Controller Other)


FindNewObjectives[edit]

function FindNewObjectives (GameObjective DisabledObjective)


FindTeamFor[edit]

function UnrealTeamInfo FindTeamFor (Controller C)

Overrides: DeathMatch.FindTeamFor


FindVictimsTarget[edit]

function Pawn FindVictimsTarget (Controller Other)


GetBlueTeam[edit]

function UnrealTeamInfo GetBlueTeam (int TeamBots)


GetBotTeam[edit]

function UnrealTeamInfo GetBotTeam (optional int TeamBots)

Overrides: DeathMatch.GetBotTeam


GetRedTeam[edit]

function UnrealTeamInfo GetRedTeam (int TeamBots)


GetServerDetails[edit]

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)

Overrides: DeathMatch.GetServerDetails


IncrementGoalsScored[edit]

function IncrementGoalsScored (PlayerReplicationInfo PRI)


InitTeamSymbols[edit]

function InitTeamSymbols ()

Overrides: DeathMatch.InitTeamSymbols


NotifyKilled[edit]

function NotifyKilled (Controller Killer, Controller Killed, Pawn KilledPawn)

Overrides: GameInfo.NotifyKilled


OtherTeam[edit]

function TeamInfo OtherTeam (TeamInfo Requester)

Overrides: GameInfo.OtherTeam


OverrideInitialBots[edit]

function OverrideInitialBots ()

Overrides: DeathMatch.OverrideInitialBots


PickTeam[edit]

function byte PickTeam (byte num, Controller C)

Overrides: GameInfo.PickTeam


PlayEndOfMatchMessage[edit]

function PlayEndOfMatchMessage ()

Overrides: DeathMatch.PlayEndOfMatchMessage


PreLoadBot[edit]

function PreLoadBot ()

Overrides: DeathMatch.PreLoadBot


PreLoadNamedBot[edit]

function PreLoadNamedBot (string BotName)

Overrides: DeathMatch.PreLoadNamedBot


RatePlayerStart[edit]

function float RatePlayerStart (NavigationPoint N, byte Team, Controller Player)

Overrides: DeathMatch.RatePlayerStart


ReduceDamage[edit]

function int ReduceDamage (int Damage, Pawn injured, Pawn instigatedBy, Object.Vector HitLocation, out Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: DeathMatch.ReduceDamage


RestartPlayer[edit]

function RestartPlayer (Controller aPlayer)

Overrides: DeathMatch.RestartPlayer


SameTeam[edit]

function bool SameTeam (Controller a, Controller b)


ScoreKill[edit]

function ScoreKill (Controller Killer, Controller Other)

Overrides: DeathMatch.ScoreKill


TooManyBots[edit]

function bool TooManyBots (Controller botToRemove)

Overrides: UnrealMPGameInfo.TooManyBots