Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:UT2K4Tab_GameTypeBase (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> GUITabPanel >> UT2K4TabPanel >> UT2K4GameTabBase >> UT2K4Tab_GameTypeBase
Package: 
GUI2K4
Direct subclasses:
UT2K4Tab_GameTypeMP, UT2K4Tab_GameTypeSP

Created on: 12/11/2003 Base class for GameType tab of the Instant Action & Host Multiplayer pages

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

CustomGameCaption[edit]

Type: string

Modifiers: localized


Default value: "Custom Game Type"

EpicGameCaption[edit]

Type: string

Modifiers: localized


Default value: "Default Game Types"

GamePos[edit]

Type: array<SortHack>


Default value, index 0:

Member Value
GameClass "UT2K4Assault.ASGameInfo"
Weight 0

Default value, index 1:

Member Value
GameClass "Onslaught.ONSOnslaughtGame"
Weight 1

Default value, index 10:

Member Value
GameClass "xGame.xVehicleCTFGame"
Weight 10

Default value, index 11:

Member Value
GameClass "xGame.InstagibCTF"
Weight 11

Default value, index 12:

Member Value
GameClass "xGame.xDeathMatch"
Weight 2

Default value, index 13:

Member Value
GameClass "xGame.xCTFGame"
Weight 3

Default value, index 14:

Member Value
GameClass "xGame.xTeamGame"
Weight 4

Default value, index 15:

Member Value
GameClass "xGame.xDoubleDom"
Weight 5

Default value, index 16:

Member Value
GameClass "xGame.xBombingRun"
Weight 6

Default value, index 17:

Member Value
GameClass "BonusPack.xMutantGame"
Weight 7

Default value, index 18:

Member Value
GameClass "SkaarjPack.Invasion"
Weight 8

Default value, index 19:

Member Value
GameClass "BonusPack.xLastManStandingGame"
Weight 9

GameTypes[edit]

Type: array<CacheManager.GameRecord>


i_Bk[edit]

Type: AltSectionBackground

Modifiers: automated


Default value: AltSectionBackground'Bk1'

i_GamePreview[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'GameTypePreview'

l_NoPreview[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'NoPreview'

lb_GameDesc[edit]

Type: GUIScrollTextBox

Modifiers: automated


Default value: GUIScrollTextBox'GameTypeDescription'

lb_Games[edit]

Type: GUIListBox

Modifiers: automated


Default value: GUIListBox'UT2004Games'

li_Games[edit]

Type: GUIList


sb_Games[edit]

Type: GUISectionBackground

Modifiers: automated


Default value: GUISectionBackground'GameTypeLeftGroup'

sb_Preview[edit]

Type: GUISectionBackground

Modifiers: automated


Default value: GUISectionBackground'GameTypeRightGroup'

tp_Main[edit]

Type: UT2K4Tab_MainBase


Subobjects[edit]

Bk1[edit]

Class: GUI2K4.AltSectionBackground

Property Value
RenderWeight 0.3
WinHeight 0.474455
WinLeft 0.535622
WinTop 0.478553
WinWidth 0.41903

GameTypeDescription[edit]

Class: XInterface.GUIScrollTextBox

Property Value
bNeverFocus True
bNoTeletype True
bTabStop False
CharDelay 0.0025
EOLDelay 0.5
StyleName "NoBackground"
WinHeight 0.325716
WinLeft 0.56527
WinTop 0.556774
WinWidth 0.362056

GameTypeLeftGroup[edit]

Class: XInterface.GUISectionBackground

Property Value
BottomPadding 0.025
Caption "Available Game Types"
TabOrder 0
TopPadding 0.025
WinHeight 0.94149
WinLeft 0.02375
WinTop 0.043125
WinWidth 0.4825

GameTypePreview[edit]

Class: XInterface.GUIImage

Property Value
ImageColor
Member Value
A 255
B 255
G 255
R 255
ImageRenderStyle MSTY_Normal
ImageStyle ISTY_Scaled
RenderWeight 0.2
WinHeight 0.316545
WinLeft 0.539224
WinTop 0.142826
WinWidth 0.411862

GameTypeRightGroup[edit]

Class: XInterface.GUISectionBackground

Property Value
Caption "Preview"
WinHeight 0.94149
WinLeft 0.513243
WinTop 0.043125
WinWidth 0.464649

NoPreview[edit]

Class: XInterface.GUILabel

Property Value
bMultiLine True
bTransparent False
Caption "No Preview Available"
TextAlign TXTA_Center
TextColor
Member Value
A 255
B 0
G 255
R 247
TextFont "UT2HeaderFont"
VertAlign TXTA_Center
WinHeight 0.316545
WinLeft 0.539224
WinTop 0.142826
WinWidth 0.411862

UT2004Games[edit]

Class: XInterface.GUIListBox

Property Value
bBoundToParent True
bScaleToParent True
bSorted True
bVisibleWhenEmpty True
FontScale FNS_Large
OnChange InternalOnChange
SelectedStyleName "ListSelection"
StyleName "NoBackground"
TabOrder 0
WinHeight 0.796982
WinLeft 0.045599
WinTop 0.144225
WinWidth 0.438457

Structs[edit]

SortHack[edit]

string GameClass 
byte Weight 

Delegates[edit]

OnChangeGameType[edit]

delegate OnChangeGameType (bool bIsCustom)


Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2K4GameTabBase.InitComponent


SetVisibility[edit]

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions[edit]

AddEpicGameType[edit]

function AddEpicGameType (string GameName, string MapList)


FindGameClass[edit]

function string FindGameClass (string GameName)


FindRecordIndex[edit]

function int FindRecordIndex (string GameName)


GametypeSort[edit]

function int GametypeSort (GUI.GUIListElem ElemA, GUI.GUIListElem ElemB)


GetWeight[edit]

function byte GetWeight (string GameClass, bool bSection)


HasMaps[edit]

function bool HasMaps (CacheManager.GameRecord TestRec)


InitPreview[edit]

function InitPreview ()


InternalOnChange[edit]

function InternalOnChange (GUIComponent Sender)


InternalOnTrack[edit]

function InternalOnTrack (GUIComponent Sender, int OldIndex)


PopulateGameTypes[edit]

function PopulateGameTypes ()