The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:U2TeamGame (U2XMP)
Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo >> U2DeathMatch >> U2TeamGame |
Contents
- 1 Properties
- 2 Functions
- 2.1 Events
- 2.2 Other instance functions
- 2.2.1 BalanceTeams
- 2.2.2 CanSpectate
- 2.2.3 ChangeTeam
- 2.2.4 GameEvent
- 2.2.5 GetBestTeam
- 2.2.6 GetRules
- 2.2.7 GetTeam
- 2.2.8 GetTeamNumber
- 2.2.9 GetWinnder
- 2.2.10 GoalLimitMet
- 2.2.11 InitBot
- 2.2.12 IsTied
- 2.2.13 IsWinner
- 2.2.14 LogGameParameters
- 2.2.15 Logout
- 2.2.16 PlayStartupMessage
- 2.2.17 RatePlayerStart
- 2.2.18 ReduceFriendlyDamage
- 2.2.19 ScoreKill
- 2.2.20 SetEndGameCameras
- 2.2.21 ValidTeam
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
U2TeamGame.uc $Author: Mfox $ $Date: 9/13/02 11:02a $ $Revision: 12 $
Properties[edit]
Property group 'U2TeamGame'[edit]
bNoTeamChanges[edit]
Type: bool
Modifiers: config
MaxTeamSize[edit]
Type: int
Modifiers: config
max number of playes per team for gamet pe
Default value: 16
NumTeams[edit]
Type: int
Modifiers: config
number of teams used by game type
Default value: 2
Score_TeamKill[edit]
Type: float
Default value: -1.0
Internal variables[edit]
bBalanceTeams[edit]
Type: bool
Modifiers: globalconfig
bots should move to balance teams when players are added in AddToTeam()
Default value: True
bBalancing[edit]
Type: bool
BestTeam[edit]
Type: U2TeamInfo
used in EndGame logic to determine the camera information
bPlayersBalanceTeams[edit]
Type: bool
Modifiers: globalconfig
force players to join the smallest team when changing teams
bScoreTeamKills[edit]
Type: bool
Modifiers: config
Default value: True
bSpawnInTeamArea[edit]
Type: bool
Default value: True
MaxAllowedTeams[edit]
Type: int
maximum number of teams for this game type (limited to 2 in CTF)
Default value: 4
NextBotTeam[edit]
Type: int
StartupMessage[edit]
Type: string
Modifiers: localized
Default value: "Work with your teammates against the other teams."
StartupTeamMessage[edit]
Type: string
Modifiers: localized
Default value: "You are on"
StartupTeamTralier[edit]
Type: string
Modifiers: localized
terminator for StartupTeamMessage
Default value: "."
TeamChangeMessage[edit]
Type: string
Modifiers: localized
Default value: "Use Options->Player Setup to change teams."
TeamColor[edit]
Type: string
Array size: 4 (MaxTeams
)
Modifiers: localized
Red, Blue, Green, Gold
Default value, index 0: "Red"
Default value, index 1: "Blue"
Default value, index 2: "Green"
Default value, index 3: "Gold"
Teams[edit]
Type: U2TeamInfo
Array size: 4 (MaxTeams
)
Modifiers: protected
Default values[edit]
Property | Value |
---|---|
bCanChangeSkin | False |
BeaconName | "TDM" |
bTeamGame | True |
GameName | "Team Deathmatch Game" |
MultiplayerPlayerWait | 17 |
Functions[edit]
Events[edit]
InitGame[edit]
Overrides: U2DeathMatch.InitGame
PreBeginPlay[edit]
Overrides: U2GameInfo.PreBeginPlay
Other instance functions[edit]
BalanceTeams[edit]
CanSpectate[edit]
Overrides: U2DeathMatch.CanSpectate
ChangeTeam[edit]
Overrides: GameInfo.ChangeTeam
GameEvent[edit]
Overrides: U2GameInfo.GameEvent
GetBestTeam[edit]
GetRules[edit]
Overrides: U2DeathMatch.GetRules
GetTeam[edit]
Overrides: U2GameInfo.GetTeam
GetTeamNumber[edit]
Overrides: U2DeathMatch.GetTeamNumber
GetWinnder[edit]
GoalLimitMet[edit]
Overrides: U2DeathMatch.GoalLimitMet
InitBot[edit]
Overrides: U2DeathMatch.InitBot
IsTied[edit]
Overrides: U2DeathMatch.IsTied
IsWinner[edit]
Overrides: U2DeathMatch.IsWinner
LogGameParameters[edit]
Overrides: U2DeathMatch.LogGameParameters
Logout[edit]
Overrides: U2DeathMatch.Logout
PlayStartupMessage[edit]
Overrides: U2DeathMatch.PlayStartupMessage
RatePlayerStart[edit]
Overrides: U2DeathMatch.RatePlayerStart
ReduceFriendlyDamage[edit]
Overrides: U2GameInfo.ReduceFriendlyDamage
ScoreKill[edit]
Overrides: U2DeathMatch.ScoreKill
SetEndGameCameras[edit]
Overrides: U2DeathMatch.SetEndGameCameras