The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:UTMapListManager (UT3)
Contents
- 1 Properties
- 1.1 ActiveGameProfile
- 1.2 ActiveGameProfileName
- 1.3 ActiveMapList
- 1.4 AddedMutators
- 1.5 AutoEmptyOptions
- 1.6 AutoStripOptions
- 1.7 AvailableGameProfiles
- 1.8 bGotMapListSections
- 1.9 bOverrideNextMap
- 1.10 bPendingMapChange
- 1.11 GameProfiles
- 1.12 LoadedMapLists
- 1.13 MapReplayLimit
- 1.14 PlayIndex
- 1.15 StartupGameProfile
- 1.16 UnloadedMapLists
- 1.17 Default values
- 1.18 Subobjects
- 2 Structs
- 3 Functions
- 3.1 Static functions
- 3.2 Instance functions
- 3.2.1 AddDefaultOptions
- 3.2.2 bMapEnabled
- 3.2.3 FindGameProfileIndex
- 3.2.4 GetCurrentGameProfileIndex
- 3.2.5 GetCurrentMapList
- 3.2.6 GetDefaultMutators
- 3.2.7 GetDisabledDefaultMutators
- 3.2.8 GetMapLastPlayDiff
- 3.2.9 GetMapListByName
- 3.2.10 GetNextMap
- 3.2.11 Initialize
- 3.2.12 ModifyOptions
- 3.2.13 NotifyMapChange
- 3.2.14 NotifyTravelFailed
- 3.2.15 SetCurrentGameProfileIndex
- 3.2.16 UpdateMapHistory
- 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
ActiveGameProfile
Type: int
The currently active game profile; used to determine the current map cycle
Default value: -1
ActiveGameProfileName
Type: string
Modifiers: globalconfig
The currently active game profile; used to help determine the current map cycle
ActiveMapList
Type: UTMapList
The currently active maplist for this gametype
AddedMutators
Mutators added to the URL in 'AddDefaultOptions'; used by 'ModifyOptions' when switching between game profiles
AutoEmptyOptions
Type: string
Modifiers: globalconfig
The same as 'AutoStripOptions', except these options are given an empty value on the URL
Default value: "GoalScore"
AutoStripOptions
Type: string
Modifiers: globalconfig
A list of URL options which are automatically removed from the URL upon map change
Default value: "LinkSetup"
AvailableGameProfiles
Type: array<GameProfile>
Runtime copy of the 'GameProfiles' list, so that editing through webadmin doesn't break the code
bGotMapListSections
Type: bool
If true, 'UnLoadedMapLists' has been filled from UTMapLists.ini
bOverrideNextMap
Type: bool
Forces the current GameInfo to use the map supplies by this object, instead of e.g. that supplied by the vote collector
bPendingMapChange
Type: bool
Used to help detect bad maps
GameProfiles
Type: array<GameProfile>
Modifiers: globalconfig
The list of available game profiles
Default value, index 0:
Member | Value |
---|---|
GameClass | "UTGame.UTDeathmatch" |
GameName | "DeathMatch" |
MapListName | 'DMMapList' |
Default value, index 1:
Member | Value |
---|---|
bIsTeamGame | True |
GameClass | "UTGame.UTTeamGame" |
GameName | "Team DeathMatch" |
MapListName | 'TDMMapList' |
Default value, index 2:
Member | Value |
---|---|
bIsTeamGame | True |
GameClass | "UTGameContent.UTCTFGame_Content" |
GameName | "Capture The Flag" |
MapListName | 'CTFMapList' |
Default value, index 3:
Member | Value |
---|---|
bIsTeamGame | True |
GameClass | "UTGameContent.UTVehicleCTFGame_Content" |
GameName | "Vehicle Capture The Flag" |
MapListName | 'VCTFMapList' |
Default value, index 4:
Member | Value |
---|---|
bIsTeamGame | True |
GameClass | "UTGameContent.UTOnslaughtGame_Content" |
GameName | "Warfare" |
MapListName | 'WARMapList' |
Default value, index 5:
Member | Value |
---|---|
GameClass | "UTGame.UTDuelGame" |
GameName | "Duel" |
MapListName | 'DuelMapList' |
Default value, index 6:
Member | Value |
---|---|
GameClass | "UTGame.UTBetrayalGame" |
GameName | "Betrayal" |
MapListName | 'BetrayalMapList' |
Default value, index 7:
Member | Value |
---|---|
bIsTeamGame | True |
GameClass | "UT3GoldGame.UTGreedGame_Content" |
GameName | "Greed" |
MapListName | 'GreedMapList' |
LoadedMapLists
Cache of loaded maplists
MapReplayLimit
Type: int
Modifiers: globalconfig
After a map has been played, this many matches must pass before the map can be played again
PlayIndex
Type: int
Modifiers: globalconfig
The index of the current game session, incremented upon map switch (used to keep track of when maps have been played)
StartupGameProfile
Type: int
The game profile that was active when the maplist manager was initialized
Default value: -1
UnloadedMapLists
List of maplist names from UTMapLists.ini which have not been loaded into 'MapListCache'
Default values
Property | Value |
---|---|
CollisionType | COLLIDE_CustomDefault |
Subobjects
Sprite
Class: Engine.SpriteComponent
Inherits from: Info.Sprite
No new values.
Structs
GameProfile
A struct for describing a gametype and it's corresponding settings
- string GameClass
- The game class this profile uses, must be in the format: 'Package.Class'
- string GameName
- The displayed gametype name (e.g "Warfare", "Capture The Flag")
- name MapListName
- The name of the maplist this gametype uses (maplists are defined in UTMapLists.ini)
- string Options
- Added URL options used with this game profile
- string Mutators
- A list of default mutators which are used with this game profile, format: 'Pkg.Class,Pkg2.Class2'
- string ExcludedMuts
- A list of mutators which are disallowed when playing under this game profile
- bool bIsTeamGame
- Whether this gametype is a team game (saves loading gametype to find out)
Default values:
Property | Value |
---|---|
bIsTeamGame | False |