GUI2K4.UT2K4Tab_MainSP
- Extends
- UT2K4Tab_MainBase
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K4TabPanel
|
+-- GUI2K4.UT2K4GameTabBase
|
+-- GUI2K4.UT2K4Tab_MainBase
|
+-- GUI2K4.UT2K4Tab_MainSP
Inherited Variables from GUI2K4.UT2K4Tab_MainBase |
AuthorText, AutoSelectText, bOnlyShowCustom, bOnlyShowOfficial, b_Primary, b_Secondary, CacheMaps, ch_OfficialMapsOnly, ClearText, CurrentGameType, DefaultText, FilterText, LinkText, MapHandler, MaplistEditorMenu, Maps, MessageNoInfo, PlayerText, TutorialMaps |
Inherited Functions from GUI2K4.UT2K4Tab_MainBase |
ChangeMapFilter, GetGameClass, GetIsTeamGame, GetMapListClass, GetMapName, GetMapPrefix, GetMapURL, GetRulesClass, HandleContextOpen, InitComponent, InitGameType, InitMapHandler, InitMaps |
var config string LastSelectedMap;
UT2K4Tab_MainSP
function CheckGameTutorial ( )
function int FindCacheRecordIndex ( string MapName )
function string GetMapURL (
GUITreeList List,
int Index )
function bool HandleContextSelect (
GUIContextMenu Sender,
int Index )
function InitGameType ( )
function InitMaps ( optional string MapPrefix )
InternalOnCreateComponent Source code
function bool OrigONSMap ( string MapName )
function string Play ( )
function ReadMapInfo ( string MapName )
function SetGameTypeCaption ( )
event SetVisibility ( bool bIsVisible )
function UpdateScreenshot ( int Index )
defaultproperties
{
Begin Object Class=GUISectionBackground Name=SelectionGroup
bFillClient=Wahr
Caption="Map Selection"
WinTop=0.018125
WinLeft=0.016993
WinWidth=0.482149
WinHeight=0.603330
OnPreDraw=SelectionGroup.InternalPreDraw
End Object
sb_Selection=GUISectionBackground'GUI2K4.UT2K4Tab_MainSP.SelectionGroup'
Begin Object Class=GUISectionBackground Name=PreviewGroup
bFillClient=Wahr
Caption="Preview"
WinTop=0.018125
WinLeft=0.515743
WinWidth=0.470899
WinHeight=0.974305
OnPreDraw=PreviewGroup.InternalPreDraw
End Object
sb_Preview=GUISectionBackground'GUI2K4.UT2K4Tab_MainSP.PreviewGroup'
Begin Object Class=GUISectionBackground Name=OptionsGroup
Caption="Options"
BottomPadding=0.070000
WinTop=0.642580
WinLeft=0.018008
WinWidth=0.482149
WinHeight=0.351772
OnPreDraw=OptionsGroup.InternalPreDraw
End Object
sb_Options=GUISectionBackground'GUI2K4.UT2K4Tab_MainSP.OptionsGroup'
Begin Object Class=AltSectionBackground Name=ScrollSection
bFillClient=Wahr
Caption="Map Desc"
WinTop=0.525219
WinLeft=0.546118
WinWidth=0.409888
WinHeight=0.437814
OnPreDraw=ScrollSection.InternalPreDraw
End Object
asb_Scroll=AltSectionBackground'GUI2K4.UT2K4Tab_MainSP.ScrollSection'
Begin Object Class=GUIScrollTextBox Name=MapDescription
CharDelay=0.002500
EOLDelay=0.500000
OnCreateComponent=MapDescription.InternalOnCreateComponent
WinTop=0.628421
WinLeft=0.561065
WinWidth=0.379993
WinHeight=0.268410
bTabStop=Falsch
bNeverFocus=Wahr
End Object
lb_MapDesc=GUIScrollTextBox'GUI2K4.UT2K4Tab_MainSP.MapDescription'
Begin Object Class=GUITreeListBox Name=AvailableMaps
bVisibleWhenEmpty=Wahr
OnCreateComponent=AvailableMaps.InternalOnCreateComponent
Hint="Click a mapname to see a preview and description. Double-click to play a match on the map."
WinTop=0.169272
WinLeft=0.045671
WinWidth=0.422481
WinHeight=0.449870
TabOrder=0
OnChange=UT2K4Tab_MainSP.MapListChange
End Object
lb_Maps=GUITreeListBox'GUI2K4.UT2K4Tab_MainSP.AvailableMaps'
Begin Object Class=moButton Name=MaplistButton
ButtonCaption="Maplist Configuration"
ComponentWidth=1.000000
OnCreateComponent=MaplistButton.InternalOnCreateComponent
Hint="Modify the maps that should be used in gameplay"
WinTop=0.888587
WinLeft=0.039258
WinWidth=0.341797
WinHeight=0.050000
TabOrder=2
OnChange=UT2K4Tab_MainSP.MaplistConfigClick
End Object
b_Maplist=moButton'GUI2K4.UT2K4Tab_MainSP.MaplistButton'
Begin Object Class=moButton Name=TutorialButton
ButtonCaption="Watch Game Tutorial"
ComponentWidth=1.000000
OnCreateComponent=TutorialButton.InternalOnCreateComponent
Hint="Watch the tutorial for this gametype."
WinTop=0.913326
WinLeft=0.556953
WinWidth=0.348633
WinHeight=0.050000
TabOrder=3
OnChange=UT2K4Tab_MainSP.TutorialClicked
End Object
b_Tutorial=moButton'GUI2K4.UT2K4Tab_MainSP.TutorialButton'
Begin Object Class=GUIImage Name=MapPreviewImage
ImageStyle=ISTY_Scaled
ImageRenderStyle=MSTY_Normal
WinTop=0.107691
WinLeft=0.562668
WinWidth=0.372002
WinHeight=0.357480
RenderWeight=0.200000
End Object
i_MapPreview=GUIImage'GUI2K4.UT2K4Tab_MainSP.MapPreviewImage'
Begin Object Class=GUILabel Name=MapAuthorLabel
Caption="Testing"
TextAlign=TXTA_Center
StyleName="TextLabel"
WinTop=0.405278
WinLeft=0.522265
WinWidth=0.453285
WinHeight=0.032552
RenderWeight=0.300000
End Object
l_MapAuthor=GUILabel'GUI2K4.UT2K4Tab_MainSP.MapAuthorLabel'
Begin Object Class=GUILabel Name=RecommendedPlayers
Caption="Best for 4 to 8 players"
TextAlign=TXTA_Center
StyleName="TextLabel"
WinTop=0.474166
WinLeft=0.521288
WinWidth=0.445313
WinHeight=0.032552
RenderWeight=0.300000
End Object
l_MapPlayers=GUILabel'GUI2K4.UT2K4Tab_MainSP.RecommendedPlayers'
Begin Object Class=GUILabel Name=NoPreview
Caption="No Preview Available"
TextAlign=TXTA_Center
TextColor=(B=0,G=255,R=247)
TextFont="UT2HeaderFont"
bTransparent=Falsch
bMultiLine=Wahr
VertAlign=TXTA_Center
WinTop=0.107691
WinLeft=0.562668
WinWidth=0.372002
WinHeight=0.357480
End Object
l_NoPreview=GUILabel'GUI2K4.UT2K4Tab_MainSP.NoPreview'
MapCaption="Maps"
BonusVehicles=" (Bonus Vehicles)"
BonusVehiclesMsg="(Includes Bonus Vehicles)|"
Begin Object Class=moCheckBox Name=FilterCheck
CaptionWidth=0.100000
ComponentWidth=0.900000
Caption="Only Official Maps"
OnCreateComponent=FilterCheck.InternalOnCreateComponent
Hint="Hides all maps not created by Epic or Digital Extremes."
WinTop=0.772865
WinLeft=0.051758
WinWidth=0.341797
WinHeight=0.030035
TabOrder=1
OnChange=UT2K4Tab_MainSP.ChangeMapFilter
End Object
ch_OfficialMapsOnly=moCheckBox'GUI2K4.UT2K4Tab_MainSP.FilterCheck'
}
|
Creation time: Mo 16.4.2007 11:20:35.671 - Created with
UnCodeX