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

UE2:TeamGame (UT2004)

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

TeamGame.

Constants[edit]

TGPROPNUM[edit]

Value: 5


Properties[edit]

Property group 'LoadingHints'[edit]

TGHints[edit]

Type: array<string>

Modifiers: private, localized


Default value, index 0: "If you miss a player's chat message, you can use %INGAMECHAT% to display a box of all chat messages you have received."

Default value, index 1: "Use the link gun alt fire beam to link up with link gun carrying teammates. While linked, the teammate will receive a significant power boost to their link gun."

Default value, index 2: "You can toss your current weapon for a teammate by pressing %THROWWEAPON%."

Default value, index 3: "Teammates who have a link gun equipped will have a green team beacon above their heads instead of the standard yellow beacon."

Default value, index 4: "Press %VOICETALK% to voice chat with your team."

Default value, index 5: "Press %TEAMTALK% and type your message to send text messages to other team members."

Default value, index 6: "The text-to-speech feature that makes the game read text messages aloud can be enabled in the audio settings menu."

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]

bAllowNonTeamChat[edit]

Type: bool

Modifiers: config


BareHanded[edit]

Type: string

Modifiers: localized


Default value: "Bare Handed"

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

CaptureSoundName[edit]

Type: name

Array size: 2


Default value, index 0: 'Red_Team_Scores'

Default value, index 1: 'Blue_Team_Scores'

EndGameCommented[edit]

Type: byte

Array size: 10


EndGameComments[edit]

Type: string

Array size: 10

Modifiers: localized


Default value, index 0: "lllllllamas"

Default value, index 1: "bye"

Default value, index 2: "gg"

Default value, index 3: "gg"

Default value, index 4: "gg everyone"

Default value, index 5: "Teams"

Default value, index 6: "omg"

Default value, index 7: "dammit!"

Default value, index 8: "my team sux0rs"

Default value, index 9: "gg"

EndGameLossRemarks[edit]

Type: string

Array size: 10

Modifiers: localized


Default value, index 0: "was using an aimbot"

Default value, index 1: "Take a screenshot, this won’t happen again."

Default value, index 2: "crappy map"

Default value, index 3: "this server sux"

Default value, index 4: "Campers."

Default value, index 5: "Omg wtf wallhacking mofos"

Default value, index 6: "Where's Malcolm when you need him?"

Default value, index 7: "my team sux"

Default value, index 8: "OMG Epic plz fix kthxbye"

Default value, index 9: "Vwvwvwvwvwvwvwvwvwvwvwvzxcjjj"

EndGameRemark[edit]

Type: byte

Array size: 10


EndGameResponses[edit]

Type: string

Array size: 10

Modifiers: localized


Default value, index 0: ":)"

Default value, index 1: ";)"

Default value, index 2: "haha"

Default value, index 3: "LOL"

Default value, index 4: "lol"

Default value, index 5: "ROFL"

Default value, index 6: "rofl"

Default value, index 7: "werd"

Default value, index 8: "ahaha"

Default value, index 9: "omg"

EndGameTaunts[edit]

Type: string

Array size: 10

Modifiers: localized


Default value, index 0: "woot"

Default value, index 1: "DENIED!"

Default value, index 2: "gg everyone"

Default value, index 3: "gg"

Default value, index 4: "gg"

Default value, index 5: "PANTS!"

Default value, index 6: "owned"

Default value, index 7: "Booyah!"

Default value, index 8: "W00T!"

Default value, index 9: "oh yeah!"

EndGameVictoryRemarks[edit]

Type: string

Array size: 10

Modifiers: localized


Default value, index 0: "Take that to the bank, punks!"

Default value, index 1: "omg, so owned."

Default value, index 2: "Our Victory, Your Defeat"

Default value, index 3: "You know, practice might help"

Default value, index 4: "You suckas got served…"

Default value, index 5: "That was pathetic"

Default value, index 6: "Ya mamma!"

Default value, index 7: "pwned!"

Default value, index 8: "u r teh suk"

Default value, index 9: "Humans need better AI"

FriendlyFireScale[edit]

Type: float

Modifiers: config

scale friendly fire damage by this value

IncreaseLeadName[edit]

Type: name

Array size: 2


Default value, index 0: 'Red_Team_increases_their_lead'

Default value, index 1: 'Blue_Team_increases_their_lead'

LastEndGameComment[edit]

Type: int


LastEndGameRemark[edit]

Type: int


LastEndGameResponse[edit]

Type: int


LastEndGameTauntTime[edit]

Type: float


MaxTeamSize[edit]

Type: int

OBSOLETE - no longer used

Default value: 32

NearString[edit]

Type: string

Modifiers: localized


Default value: "Near the"

PathWhisps[edit]

Type: string

Array size: 2


Default value, index 0: "XEffects.RedWhisp"

Default value, index 1: "XEffects.BlueWhisp"

RedTeamName[edit]

Type: string

when specific pre-designed teams are specified on the URL

TakeLeadName[edit]

Type: name

Array size: 2


Default value, index 0: 'Red_Team_takes_the_lead'

Default value, index 1: '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'

TeammateBoost[edit]

Type: float


Default value: 0.3

Teams[edit]

Type: UnrealTeamInfo

Array size: 2


TempSymbols[edit]

Type: Texture

Array size: 2


TGPropDescText[edit]

Type: string

Array size: 5 (TGPROPNUM)

Modifiers: localized


Default value, index 0: "Bots will join or change teams to make sure they are even."

Default value, index 1: "Players are forced to join the smaller team when they enter."

Default value, index 2: "Specifies how much damage players from the same team can do to each other."

Default value, index 3: "Determines whether members of opposing teams are allowed to join the same private chat room"

Default value, index 4: "Maximum number of players on each team"

TGPropsDisplayText[edit]

Type: string

Array size: 5 (TGPROPNUM)

Modifiers: localized


Default value, index 0: "Bots Balance Teams"

Default value, index 1: "Players Balance Teams"

Default value, index 2: "Friendly Fire Scale"

Default value, index 3: "Cross-Team Priv. Chat"

Default value, index 4: "Max Team Size"

Default values[edit]

Property Value
bCanChangeSkin False
BeaconName "Team"
bMustHaveMultiplePlayers True
bTeamGame True
Description "Two teams duke it out in a quest for battlefield supremacy. The team with the most total frags wins."
EndGameSoundName[0] 'red_team_is_the_winner'
EndGameSoundName[1] 'blue_team_is_the_winner'
EndMessageWait 3
GoalScore 60
NumRounds 5
ScoreBoardType "XInterface.ScoreBoardTeamDeathMatch"
SinglePlayerWait 2
VoiceReplicationInfoClass Class'UnrealGame.TeamVoiceReplicationInfo'

Functions[edit]

Static events[edit]

AcceptPlayInfoProperty[edit]

static event bool AcceptPlayInfoProperty (string PropertyName)

Overrides: DeathMatch.AcceptPlayInfoProperty


GetDescriptionText[edit]

static event string GetDescriptionText (string PropName)

Overrides: DeathMatch.GetDescriptionText


Other 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


GetAllLoadHints[edit]

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: DeathMatch.GetAllLoadHints


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


PrecacheGameAnnouncements[edit]

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: DeathMatch.PrecacheGameAnnouncements


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


SetGrammar[edit]

event SetGrammar ()

Overrides: DeathMatch.SetGrammar


Other instance functions[edit]

See TeamGame instance functions.