Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:TeamGame (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2003 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch >> TeamGame

Contents

Package: 
UnrealGame
Direct subclasses:
CTFGame, XBombingRun, XDoubleDom, XTeamGame
This class in other games:
RTNP, U1, UT, UT2004

TeamGame.

[edit] Properties

[edit] Property group 'TeamGame'

[edit] ADR_Control

Type: float


Default value: 2.0

[edit] ADR_Goal

Type: float


Default value: 25.0

[edit] ADR_Return

Type: float


Default value: 5.0

[edit] Internal variables

[edit] bBalanceTeams

Type: bool

Modifiers: globalconfig

bots balance teams

Default value: True

[edit] BlueTeamName

Type: string


[edit] bPlayersBalanceTeams

Type: bool

Modifiers: globalconfig

players balance teams

Default value: True

[edit] bScoreTeamKills

Type: bool


Default value: True

[edit] bScoreVictimsTarget

Type: bool

Should we check a victims target for bonuses

[edit] bSpawnInTeamArea

Type: bool

players spawn in marked team playerstarts

[edit] CaptureSound

Type: Sound

Array size: 2


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

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

[edit] FriendlyFireScale

Type: float

Modifiers: config

scale friendly fire damage by this value

[edit] HatTrickSound

Type: Sound


Default value: Sound'AnnouncerMain.HatTrick'

[edit] 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'

[edit] MaxTeamSize

Type: int

Modifiers: config


Default value: 16

[edit] NearString

Type: string

Modifiers: localized


Default value: "Near the"

[edit] RedTeamName

Type: string

when specific pre-designed teams are specified on the URL

[edit] 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'

[edit] TeamAIType

Type: class<TeamAI>

Array size: 2


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

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

[edit] Teams

Type: UnrealTeamInfo

Array size: 2


[edit] TempSymbols

Type: Texture

Array size: 2


[edit] 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"

[edit] 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

[edit] Functions

[edit] Static functions

[edit] FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: DeathMatch.FillPlayInfo


[edit] FindTeamDesignation

static function string FindTeamDesignation (GameReplicationInfo GRI, Actor A)

Overrides: GameInfo.FindTeamDesignation


[edit] ParseChatPercVar

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

Overrides: GameInfo.ParseChatPercVar


[edit] ParseMessageString

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

Overrides: GameInfo.ParseMessageString


[edit] Events

[edit] InitGame

event InitGame (string Options, out string Error)

Overrides: DeathMatch.InitGame


[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: DeathMatch.PostBeginPlay


[edit] PostLogin

event PostLogin (PlayerController NewPlayer)

Overrides: DeathMatch.PostLogin


[edit] Other instance functions

[edit] AnnounceScore

function AnnounceScore (int ScoringTeam)


[edit] CanShowPathTo

function bool CanShowPathTo (PlayerController P, int TeamNum)


[edit] CanSpectate

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

Overrides: DeathMatch.CanSpectate


[edit] ChangeTeam

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

Overrides: GameInfo.ChangeTeam


[edit] CheckEndGame

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)

Overrides: DeathMatch.CheckEndGame


[edit] CheckMaxLives

function bool CheckMaxLives (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckMaxLives


[edit] CheckScore

function CheckScore (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckScore


[edit] CriticalPlayer

function bool CriticalPlayer (Controller Other)


[edit] FindNewObjectives

function FindNewObjectives (GameObjective DisabledObjective)


[edit] FindTeamFor

function UnrealTeamInfo FindTeamFor (Controller C)

Overrides: DeathMatch.FindTeamFor


[edit] FindVictimsTarget

function Pawn FindVictimsTarget (Controller Other)


[edit] GetBlueTeam

function UnrealTeamInfo GetBlueTeam (int TeamBots)


[edit] GetBotTeam

function UnrealTeamInfo GetBotTeam (optional int TeamBots)

Overrides: DeathMatch.GetBotTeam


[edit] GetRedTeam

function UnrealTeamInfo GetRedTeam (int TeamBots)


[edit] GetServerDetails

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)

Overrides: DeathMatch.GetServerDetails


[edit] IncrementGoalsScored

function IncrementGoalsScored (PlayerReplicationInfo PRI)


[edit] InitTeamSymbols

function InitTeamSymbols ()

Overrides: DeathMatch.InitTeamSymbols


[edit] NotifyKilled

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

Overrides: GameInfo.NotifyKilled


[edit] OtherTeam

function TeamInfo OtherTeam (TeamInfo Requester)

Overrides: GameInfo.OtherTeam


[edit] OverrideInitialBots

function OverrideInitialBots ()

Overrides: DeathMatch.OverrideInitialBots


[edit] PickTeam

function byte PickTeam (byte num, Controller C)

Overrides: GameInfo.PickTeam


[edit] PlayEndOfMatchMessage

function PlayEndOfMatchMessage ()

Overrides: DeathMatch.PlayEndOfMatchMessage


[edit] PreLoadBot

function PreLoadBot ()

Overrides: DeathMatch.PreLoadBot


[edit] PreLoadNamedBot

function PreLoadNamedBot (string BotName)

Overrides: DeathMatch.PreLoadNamedBot


[edit] RatePlayerStart

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

Overrides: DeathMatch.RatePlayerStart


[edit] ReduceDamage

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

Overrides: DeathMatch.ReduceDamage


[edit] RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: DeathMatch.RestartPlayer


[edit] SameTeam

function bool SameTeam (Controller a, Controller b)


[edit] ScoreKill

function ScoreKill (Controller Killer, Controller Other)

Overrides: DeathMatch.ScoreKill


[edit] TooManyBots

function bool TooManyBots (Controller botToRemove)

Overrides: UnrealMPGameInfo.TooManyBots