The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

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

Property group 'TeamGame'

ADR_Control

Type: float


Default value: 2.0

ADR_Goal

Type: float


Default value: 25.0

ADR_Return

Type: float


Default value: 5.0

Internal variables

bBalanceTeams

Type: bool

Modifiers: globalconfig

bots balance teams

Default value: True

BlueTeamName

Type: string


bPlayersBalanceTeams

Type: bool

Modifiers: globalconfig

players balance teams

Default value: True

bScoreTeamKills

Type: bool


Default value: True

bScoreVictimsTarget

Type: bool

Should we check a victims target for bonuses

bSpawnInTeamArea

Type: bool

players spawn in marked team playerstarts

CaptureSound

Type: Sound

Array size: 2


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

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

FriendlyFireScale

Type: float

Modifiers: config

scale friendly fire damage by this value

HatTrickSound

Type: Sound


Default value: Sound'AnnouncerMain.HatTrick'

IncreaseLead

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

Type: int

Modifiers: config


Default value: 16

NearString

Type: string

Modifiers: localized


Default value: "Near the"

RedTeamName

Type: string

when specific pre-designed teams are specified on the URL

TakeLead

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

Type: class<TeamAI>

Array size: 2


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

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

Teams

Type: UnrealTeamInfo

Array size: 2


TempSymbols

Type: Texture

Array size: 2


TGPropsDisplayText

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

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

Static functions

FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: DeathMatch.FillPlayInfo


FindTeamDesignation

static function string FindTeamDesignation (GameReplicationInfo GRI, Actor A)

Overrides: GameInfo.FindTeamDesignation


ParseChatPercVar

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

Overrides: GameInfo.ParseChatPercVar


ParseMessageString

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

Overrides: GameInfo.ParseMessageString


Events

InitGame

event InitGame (string Options, out string Error)

Overrides: DeathMatch.InitGame


PostBeginPlay

event PostBeginPlay ()

Overrides: DeathMatch.PostBeginPlay


PostLogin

event PostLogin (PlayerController NewPlayer)

Overrides: DeathMatch.PostLogin


Other instance functions

AnnounceScore

function AnnounceScore (int ScoringTeam)


CanShowPathTo

function bool CanShowPathTo (PlayerController P, int TeamNum)


CanSpectate

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

Overrides: DeathMatch.CanSpectate


ChangeTeam

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

Overrides: GameInfo.ChangeTeam


CheckEndGame

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)

Overrides: DeathMatch.CheckEndGame


CheckMaxLives

function bool CheckMaxLives (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckMaxLives


CheckScore

function CheckScore (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckScore


CriticalPlayer

function bool CriticalPlayer (Controller Other)


FindNewObjectives

function FindNewObjectives (GameObjective DisabledObjective)


FindTeamFor

function UnrealTeamInfo FindTeamFor (Controller C)

Overrides: DeathMatch.FindTeamFor


FindVictimsTarget

function Pawn FindVictimsTarget (Controller Other)


GetBlueTeam

function UnrealTeamInfo GetBlueTeam (int TeamBots)


GetBotTeam

function UnrealTeamInfo GetBotTeam (optional int TeamBots)

Overrides: DeathMatch.GetBotTeam


GetRedTeam

function UnrealTeamInfo GetRedTeam (int TeamBots)


GetServerDetails

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)

Overrides: DeathMatch.GetServerDetails


IncrementGoalsScored

function IncrementGoalsScored (PlayerReplicationInfo PRI)


InitTeamSymbols

function InitTeamSymbols ()

Overrides: DeathMatch.InitTeamSymbols


NotifyKilled

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

Overrides: GameInfo.NotifyKilled


OtherTeam

function TeamInfo OtherTeam (TeamInfo Requester)

Overrides: GameInfo.OtherTeam


OverrideInitialBots

function OverrideInitialBots ()

Overrides: DeathMatch.OverrideInitialBots


PickTeam

function byte PickTeam (byte num, Controller C)

Overrides: GameInfo.PickTeam


PlayEndOfMatchMessage

function PlayEndOfMatchMessage ()

Overrides: DeathMatch.PlayEndOfMatchMessage


PreLoadBot

function PreLoadBot ()

Overrides: DeathMatch.PreLoadBot


PreLoadNamedBot

function PreLoadNamedBot (string BotName)

Overrides: DeathMatch.PreLoadNamedBot


RatePlayerStart

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

Overrides: DeathMatch.RatePlayerStart


ReduceDamage

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

Overrides: DeathMatch.ReduceDamage


RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: DeathMatch.RestartPlayer


SameTeam

function bool SameTeam (Controller a, Controller b)


ScoreKill

function ScoreKill (Controller Killer, Controller Other)

Overrides: DeathMatch.ScoreKill


TooManyBots

function bool TooManyBots (Controller botToRemove)

Overrides: UnrealMPGameInfo.TooManyBots