UE2:TeamGame (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (talk | contribs) (Auto-generated page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch >> TeamGame
Package:
UnrealGame
Direct subclasses:
XBombingRun, CTFGame, XDoubleDom, XTeamGame
This class in other games:

TeamGame.

Constants

TGPROPNUM

Value: 5


Properties

Property group 'LoadingHints'

TGHints

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'

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

bAllowNonTeamChat

Type: bool

Modifiers: config


BareHanded

Type: string

Modifiers: localized


Default value: "Bare Handed"

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

CaptureSoundName

Type: name

Array size: 2


Default value, index 0: 'Red_Team_Scores'

Default value, index 1: 'Blue_Team_Scores'

EndGameCommented

Type: byte

Array size: 10


EndGameComments

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

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

Type: byte

Array size: 10


EndGameResponses

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

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

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

Type: float

Modifiers: config

scale friendly fire damage by this value

IncreaseLeadName

Type: name

Array size: 2


Default value, index 0: 'Red_Team_increases_their_lead'

Default value, index 1: 'Blue_Team_increases_their_lead'

LastEndGameComment

Type: int


LastEndGameRemark

Type: int


LastEndGameResponse

Type: int


LastEndGameTauntTime

Type: float


MaxTeamSize

Type: int

OBSOLETE - no longer used

Default value: 32

NearString

Type: string

Modifiers: localized


Default value: "Near the"

PathWhisps

Type: string

Array size: 2


Default value, index 0: "XEffects.RedWhisp"

Default value, index 1: "XEffects.BlueWhisp"

RedTeamName

Type: string

when specific pre-designed teams are specified on the URL

TakeLeadName

Type: name

Array size: 2


Default value, index 0: 'Red_Team_takes_the_lead'

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

TeammateBoost

Type: float


Default value: 0.3

Teams

Type: UnrealTeamInfo

Array size: 2


TempSymbols

Type: Texture

Array size: 2


TGPropDescText

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

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

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

Static events

AcceptPlayInfoProperty

static event bool AcceptPlayInfoProperty (string PropertyName)

Overrides: DeathMatch.AcceptPlayInfoProperty


GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: DeathMatch.GetDescriptionText


Other static functions

FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: DeathMatch.FillPlayInfo


FindTeamDesignation

static function string FindTeamDesignation (GameReplicationInfo GRI, Actor A)

Overrides: GameInfo.FindTeamDesignation


GetAllLoadHints

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: DeathMatch.GetAllLoadHints


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


PrecacheGameAnnouncements

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: DeathMatch.PrecacheGameAnnouncements


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


SetGrammar

event SetGrammar ()

Overrides: DeathMatch.SetGrammar


Other instance functions

See TeamGame instance functions.