Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Difference between revisions of "UE3:UTGame (UDK)"
(Talk) |
m (1 revision: class descriptions for UDK January update (part 7)) |
(No difference)
|
Latest revision as of 05:52, 17 January 2010
- Package:
- UTGame
- Direct subclass:
- UTDeathmatch
- This class in other games:
- UT3
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. |
Properties[edit]
Property group 'UTGame'[edit]
ResetCountDown[edit]
Type: int
ResetTimeDelay[edit]
Type: int
Modifiers: config
time (seconds) before restarting teams
Internal variables[edit]
See UTGame internal variables.
Default values[edit]
Enums[edit]
EVoiceChannel[edit]
Voice channels used by these game types
- VC_Spectators
- VC_Team1
- VC_Team2
Structs[edit]
ActiveBotInfo[edit]
Modifiers: native
Array of active bot names.
GameMapCycle[edit]
Modifiers: native
Game Map Cycles, there is a map cycle per game mode
GameTypePrefix[edit]
Modifiers: native
- string Prefix
- map prefix, e.g. "DM"
- string GameType
- gametype used if none specified on the URL
- array<string> AdditionalGameTypes
- additional gametypes supported by this map prefix via the URL (used for cooking)
Functions[edit]
Static events[edit]
SetGameType[edit]
Overrides: GameInfo.SetGameType
Allows overriding of which gameinfo class to use. Called on the DefaultGameType from the ini, or the one specified on the command line (?game=xxx)
Other static functions[edit]
AllowMutator[edit]
Overrides: GameInfo.AllowMutator
GetEndOfMatchRules[edit]
Returns:
- a string that describes how to win the match
OrderToIndex[edit]
RemoveOption[edit]
Exec functions[edit]
AddBots[edit]
AddNamedBot[edit]
KillBots[edit]
Overrides: GameInfo.KillBots
KillOthers[edit]
KillThis[edit]
Events[edit]
AddDefaultInventory[edit]
Overrides: GameInfo.AddDefaultInventory
GetSeamlessTravelActorList[edit]
Overrides: GameInfo.GetSeamlessTravelActorList
(Description copied from GameInfo.GetSeamlessTravelActorList)
called on server during seamless level transitions to get the list of Actors that should be moved into the new level PlayerControllers, Role < ROLE_Authority Actors, and any non-Actors that are inside an Actor that is in the list (i.e. Object.Outer == Actor in the list) are all autmoatically moved regardless of whether they're included here only dynamic (!bStatic and !bNoDelete) actors in the PersistentLevel may be moved (this includes all actors spawned during gameplay) this is called for both parts of the transition because actors might change while in the middle (e.g. players might join or leave the game)
Parameters:
- bToEntry - true if we are going from old level -> entry, false if we are going from entry -> new level
- ActorList - out) list of actors to maintain
See: also PlayerController::GetSeamlessTravelActorList() (the function that's called on clients)
HandleSeamlessTravelPlayer[edit]
Overrides: GameInfo.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: GameInfo.InitGame
Login[edit]
Overrides: GameInfo.Login
PostBeginPlay[edit]
Overrides: GameInfo.PostBeginPlay
PostLogin[edit]
Overrides: GameInfo.PostLogin
PostSeamlessTravel[edit]
Overrides: GameInfo.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
Reset[edit]
Overrides: GameInfo.Reset
Reset() - reset actor to initial state - used when restarting level without reloading.
Other instance functions[edit]
See UTGame instance functions.
States[edit]
MatchInProgress[edit]
MatchInProgress.BeginState[edit]
Overrides: Object.BeginState (global)
Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).
MatchInProgress.Timer[edit]
Overrides: GameInfo.Timer (global)
MatchInProgress.ChangeTeam[edit]
Overrides: GameInfo.ChangeTeam (global)
MatchInProgress.MatchIsInProgress[edit]
Overrides: MatchIsInProgress (global)
MatchOver[edit]
MatchOver.BeginState[edit]
Overrides: Object.BeginState (global)
Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).
MatchOver.PostLogin[edit]
Overrides: PostLogin (global)
MatchOver.Timer[edit]
Overrides: GameInfo.Timer (global)
MatchOver.ChangeTeam[edit]
Overrides: GameInfo.ChangeTeam (global)
MatchOver.NeedPlayers[edit]
Overrides: NeedPlayers (global)
MatchOver.ReduceDamage[edit]
Overrides: ReduceDamage (global)
MatchOver.ResetLevel[edit]
Overrides: GameInfo.ResetLevel (global)
Resets level by calling Reset() on all actors
MatchOver.RestartPlayer[edit]
Overrides: RestartPlayer (global)
MatchOver.ScoreKill[edit]
Overrides: ScoreKill (global)
PendingMatch[edit]
This state is used to change the flow of start/end match to handle arbitration
Basic flow of events: Server prepares to start the match and tells all clients to register arbitration Clients register with arbitration and tell the server when they are done Server checks for all clients to be registered and kicks any clients if they don't register in time. Server registers with arbitration and the match begins
Match ends and the server tells connected clients to write arbitrated stats Clients write stats and notifies server of completion Server writes stats and ends the match
Inherits from: GameInfo.PendingMatch
Modifiers: auto
PendingMatch.BeginState[edit]
Overrides: Object.BeginState (global)
Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).
PendingMatch.EndState[edit]
Overrides: GameInfo.PendingMatch.EndState
Called immediately before going out of the current state, while within the GotoState() call that caused the state change, and before BeginState() is called within the new state.
PendingMatch.Timer[edit]
Overrides: GameInfo.Timer (global)
PendingMatch.CheckLives[edit]
PendingMatch.CheckScore[edit]
Overrides: CheckScore (global)
PendingMatch.RestartPlayer[edit]
Overrides: RestartPlayer (global)
PendingMatch.ScoreFlag[edit]
PendingMatch.ScoreKill[edit]
Overrides: ScoreKill (global)
RoundOver[edit]
Extends: MatchOver
RoundOver.BeginState[edit]
Overrides: MatchOver.BeginState
Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).
RoundOver.Timer[edit]
Overrides: MatchOver.Timer
RoundOver.ChangeTeam[edit]
Overrides: MatchOver.ChangeTeam
RoundOver.ResetLevel[edit]
Overrides: MatchOver.ResetLevel
Resets level by calling Reset() on all actors