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
bRotateQueueEachKill
Type: bool
whether to rotate the queue each kill instead of each round (Survival mode)
CurrentRound
Type: int
current round number
Default value: 1
NumRounds
Type: int
Modifiers: config
how many rounds before we switch maps
Default value: 1
Queue
queue of players that will take on the winner
Default values
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
Static functions
AllowMutator
Overrides: UTGame.AllowMutator
GetEndOfMatchRules
Overrides: UTGame.GetEndOfMatchRules
Returns:
- a string that describes how to win the match
Events
HandleSeamlessTravelPlayer
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
Overrides: UTTeamGame.InitGame
PostLogin
Overrides: UTTeamGame.PostLogin
PostSeamlessTravel
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
AddBot
Overrides: UTGame.AddBot
AddToQueue
AllowBecomeActivePlayer
Overrides: UTGame.AllowBecomeActivePlayer
CanSpectate
Overrides: UTTeamGame.CanSpectate
returns true if Viewer is allowed to spectate ViewTarget
ChangeTeam
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
Overrides: UTTeamGame.CheckEndGame
GetPlayerFromQueue
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
Overrides: UTTeamGame.Logout
PickFriendTeam
Overrides: UTTeamGame.PickFriendTeam
ProcessServerTravel
Overrides: UTGame.ProcessServerTravel
ResetLevel
Overrides: GameInfo.ResetLevel
Resets level by calling Reset() on all actors
RestartGame
Overrides: UTTeamGame.RestartGame
Skip UTTeamGame team rebalancing
RestartPlayer
Overrides: UTGame.RestartPlayer
ScoreKill
Overrides: UTTeamGame.ScoreKill
StartBots
Overrides: GameInfo.StartBots
StartHumans
Overrides: GameInfo.StartHumans
UpdateCombatants
figures out the new combatants for the next round
UpdateQueuePositions
updates QueuePosition for all players in the queue
WriteOnlinePlayerScores
Overrides: UTGame.WriteOnlinePlayerScores
Write player scores used in skill calculations
WriteOnlineStats
Overrides: UTTeamGame.WriteOnlineStats
Writes out the stats for the DUEL game type - specatators don't report/survival mode mutator check
States
RoundOver
RoundOver.ResetLevel
Overrides: UTGame.RoundOver.ResetLevel
Resets level by calling Reset() on all actors