UE3:UTDuelGame (UT3): Difference between revisions
Auto-generated page |
m added missing members |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
}} | }} | ||
{{autogenerated}} | {{autogenerated}} | ||
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. | |||
==Properties== | ==Properties== | ||
Line 57: | Line 57: | ||
|- | |- | ||
| {{tl|GameName||GameInfo properties}} | | {{tl|GameName||GameInfo properties}} | ||
| " | | "Duel" | ||
|- | |- | ||
| {{tl|GoalScore||GameInfo properties}} | | {{tl|GoalScore||GameInfo properties}} | ||
Line 92: | Line 92: | ||
<!-- enter function description --> | <!-- enter function description --> | ||
====GetEndOfMatchRules==== | |||
{{code|static function [[string]] '''GetEndOfMatchRules''' ([[int]] '''InGoalScore''', [[int]] '''InTimeLimit''')}} | |||
'''Overrides:''' {{tl|GetEndOfMatchRules|UTGame}} | |||
'''Returns:''' | |||
:a string that describes how to win the match | |||
===Events=== | ===Events=== | ||
Line 123: | Line 131: | ||
{{code|event '''PostSeamlessTravel''' ()}} | {{code|event '''PostSeamlessTravel''' ()}} | ||
'''Overrides:''' {{tl|PostSeamlessTravel| | '''Overrides:''' {{tl|PostSeamlessTravel|UTTeamGame}} | ||
called after a seamless level transition has been completed on the *new* GameInfo | called after a seamless level transition has been completed on the *new* GameInfo | ||
Line 187: | Line 195: | ||
'''Overrides:''' {{tl|Logout|UTTeamGame|instance functions}} | '''Overrides:''' {{tl|Logout|UTTeamGame|instance functions}} | ||
<!-- enter function description --> | |||
====PickFriendTeam==== | |||
{{code|function [[byte]] '''PickFriendTeam''' ([[byte]] '''Current''', {{cl|Controller}} '''C''', {{tl|UniqueNetId|OnlineSubsystem}} '''FriendNetId''')}} | |||
'''Overrides:''' {{tl|PickFriendTeam|UTTeamGame|instance functions}} | |||
<!-- enter function description --> | <!-- enter function description --> | ||
Line 203: | Line 218: | ||
Resets level by calling Reset() on all actors | Resets level by calling Reset() on all actors | ||
====RestartGame==== | |||
{{code|function '''RestartGame''' ()}} | |||
'''Overrides:''' {{tl|RestartGame|UTTeamGame|instance functions}} | |||
Skip UTTeamGame team rebalancing | |||
====RestartPlayer==== | ====RestartPlayer==== | ||
Line 252: | Line 274: | ||
{{code|function '''WriteOnlineStats''' ()}} | {{code|function '''WriteOnlineStats''' ()}} | ||
'''Overrides:''' {{tl|WriteOnlineStats| | '''Overrides:''' {{tl|WriteOnlineStats|UTTeamGame|instance functions}} | ||
Writes out the stats for the DUEL game type - specatators don't report/survival mode mutator check | Writes out the stats for the DUEL game type - specatators don't report/survival mode mutator check |
Latest revision as of 03:43, 16 August 2009
Object >> Actor >> Info >> GameInfo >> UTGame >> UTDeathmatch >> UTTeamGame >> UTDuelGame |
- 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