I love the smell of UnrealEd crashing in the morning. – tarquin
UE3:UTDuelGame (UT3)
Object >> Actor >> Info >> GameInfo >> UTGame >> UTDeathmatch >> UTTeamGame >> UTDuelGame |
Contents
- 1 Properties
- 2 Functions
- 2.1 Static functions
- 2.2 Events
- 2.3 Other instance functions
- 2.3.1 AddBot
- 2.3.2 AddToQueue
- 2.3.3 AllowBecomeActivePlayer
- 2.3.4 CanSpectate
- 2.3.5 ChangeTeam
- 2.3.6 CheckEndGame
- 2.3.7 GetPlayerFromQueue
- 2.3.8 Logout
- 2.3.9 PickFriendTeam
- 2.3.10 ProcessServerTravel
- 2.3.11 ResetLevel
- 2.3.12 RestartGame
- 2.3.13 RestartPlayer
- 2.3.14 ScoreKill
- 2.3.15 StartBots
- 2.3.16 StartHumans
- 2.3.17 UpdateCombatants
- 2.3.18 UpdateQueuePositions
- 2.3.19 WriteOnlinePlayerScores
- 2.3.20 WriteOnlineStats
- 3 States
- Package:
- UTGame
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. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties[edit]
bRotateQueueEachKill[edit]
Type: bool
whether to rotate the queue each kill instead of each round (Survival mode)
CurrentRound[edit]
Type: int
current round number
Default value: 1
NumRounds[edit]
Type: int
Modifiers: config
how many rounds before we switch maps
Default value: 1
Queue[edit]
queue of players that will take on the winner
Default values[edit]
Property | Value |
---|---|
Acronym | "Duel" |
bIgnoreTeamForVoiceChat | True |
bWeaponStay | False |
Description | "1v1" |
GameName | "Duel" |
GoalScore | 0 |
HUDType | Class'UTGame.UTDuelHUD' |
MidgameScorePanelTag | 'DuelPanel' |
OnlineGameSettingsClass | Class'UTGame.UTGameSettingsDUEL' |
OnlineStatsWriteClass | Class'UTGame.UTLeaderboardWriteDUEL' |
PlayerReplicationInfoClass | Class'UTGame.UTDuelPRI' |
ResetTimeDelay | 15 |
TimeLimit | 5 |
Functions[edit]
Static functions[edit]
AllowMutator[edit]
Overrides: UTGame.AllowMutator
GetEndOfMatchRules[edit]
Overrides: UTGame.GetEndOfMatchRules
Returns:
- a string that describes how to win the match
Events[edit]
HandleSeamlessTravelPlayer[edit]
Overrides: UTTeamGame.HandleSeamlessTravelPlayer
(Description copied from GameInfo.HandleSeamlessTravelPlayer)
handles reinitializing players that remained through a seamless level transition called from C++ for players that finished loading after the server
Parameters:
- C - the Controller to handle
InitGame[edit]
Overrides: UTTeamGame.InitGame
PostLogin[edit]
Overrides: UTTeamGame.PostLogin
PostSeamlessTravel[edit]
Overrides: UTTeamGame.PostSeamlessTravel
called after a seamless level transition has been completed on the *new* GameInfo used to reinitialize players already in the game as they won't have *Login() called on them
Other instance functions[edit]
AddBot[edit]
Overrides: UTGame.AddBot
AddToQueue[edit]
AllowBecomeActivePlayer[edit]
Overrides: UTGame.AllowBecomeActivePlayer
CanSpectate[edit]
Overrides: UTTeamGame.CanSpectate
returns true if Viewer is allowed to spectate ViewTarget
ChangeTeam[edit]
Overrides: UTTeamGame.ChangeTeam
(Description copied from UTTeamGame.ChangeTeam)
ChangeTeam() verify whether controller Other is allowed to change team, and if so change his team by calling SetTeam().
Parameters:
- Other - the controller which wants to change teams
- num - the teamindex of the desired team. If 255, pick the smallest team.
- bNewTeam - if true, broadcast team change notification
CheckEndGame[edit]
Overrides: UTTeamGame.CheckEndGame
GetPlayerFromQueue[edit]
removes a player from the queue, sets it up to play, and returns the Controller
Note: doesn't spawn the player in (i.e. doesn't call RestartPlayer()), calling code is responsible for that
Logout[edit]
Overrides: UTTeamGame.Logout
PickFriendTeam[edit]
Overrides: UTTeamGame.PickFriendTeam
ProcessServerTravel[edit]
Overrides: UTGame.ProcessServerTravel
ResetLevel[edit]
Overrides: GameInfo.ResetLevel
Resets level by calling Reset() on all actors
RestartGame[edit]
Overrides: UTTeamGame.RestartGame
Skip UTTeamGame team rebalancing
RestartPlayer[edit]
Overrides: UTGame.RestartPlayer
ScoreKill[edit]
Overrides: UTTeamGame.ScoreKill
StartBots[edit]
Overrides: GameInfo.StartBots
StartHumans[edit]
Overrides: GameInfo.StartHumans
UpdateCombatants[edit]
figures out the new combatants for the next round
UpdateQueuePositions[edit]
updates QueuePosition for all players in the queue
WriteOnlinePlayerScores[edit]
Overrides: UTGame.WriteOnlinePlayerScores
Write player scores used in skill calculations
WriteOnlineStats[edit]
Overrides: UTTeamGame.WriteOnlineStats
Writes out the stats for the DUEL game type - specatators don't report/survival mode mutator check
States[edit]
RoundOver[edit]
RoundOver.ResetLevel[edit]
Overrides: UTGame.RoundOver.ResetLevel
Resets level by calling Reset() on all actors