XInterface.Tab_InstantActionMain
- Extends
- UT2K3TabPanel
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K3TabPanel
|
+-- XInterface.Tab_InstantActionMain
var localized string DifficultyLevels[8];
var config int LastBotCount;
var config int LastBotSkill;
var config string LastGameType;
var config string LastMap;
var config bool LastUseCustomBots;
var config bool LastUseMapBots;
var localized string MessageNoInfo;
delegate OnChangeCustomBots ( )
delegate OnChangeGameType ( )
function string GetGameClass ( ) )
function bool GetIsTeamGame ( ) )
function string GetMapListClass ( ) )
function string GetMapPrefix ( ) )
function string GetRulesClass ( ) )
function string ParseDescStr ( string DescStr, int index) )
function string Play ( ) )
function ReadMapInfo ( string MapName) )
function ReadMapList ( string MapPreFix) )
function SelectGameType ( string GameType) )
defaultproperties
{
DifficultyLevels(0)="Novice"
DifficultyLevels(1)="Average"
DifficultyLevels(2)="Experienced"
DifficultyLevels(3)="Skilled"
DifficultyLevels(4)="Adept"
DifficultyLevels(5)="Masterful"
DifficultyLevels(6)="Inhuman"
DifficultyLevels(7)="Godlike"
MessageNoInfo="No information available!"
Begin Object Class=GUIImage Name=IAMainBK1
Image=Texture'InterfaceContent.Menu.BorderBoxD'
ImageColor=(A=160)
ImageStyle=ISTY_Stretched
ImageRenderStyle=MSTY_Normal
WinTop=0.024687
WinLeft=0.021641
WinWidth=0.957500
WinHeight=0.107188
End Object
Controls(0)=GUIImage'XInterface.Tab_InstantActionMain.IAMainBK1'
Begin Object Class=moNumericEdit Name=IAMain_BotCount
MinValue=0
MaxValue=16
Caption="Number of Bots"
OnCreateComponent=IAMain_BotCount.InternalOnCreateComponent
Hint="Choose the number of bots you wish to play with."
WinTop=0.919531
WinLeft=0.038476
WinWidth=0.450000
WinHeight=0.060000
End Object
Controls(1)=moNumericEdit'XInterface.Tab_InstantActionMain.IAMain_BotCount'
Begin Object Class=moComboBox Name=IAMain_GameType
ComponentJustification=TXTA_Left
CaptionWidth=0.300000
Caption="Game Type:"
OnCreateComponent=IAMain_GameType.InternalOnCreateComponent
Hint="Select the type of game you wish to play."
WinTop=0.047917
WinLeft=0.250000
WinHeight=0.060000
OnChange=Tab_InstantActionMain.GameTypeChanged
End Object
Controls(2)=moComboBox'XInterface.Tab_InstantActionMain.IAMain_GameType'
Begin Object Class=GUIListBox Name=IAMain_MapList
bVisibleWhenEmpty=True
OnCreateComponent=IAMain_MapList.InternalOnCreateComponent
StyleName="SquareButton"
Hint="Select the map to play"
WinTop=0.161406
WinLeft=0.021641
WinWidth=0.478984
WinHeight=0.463633
End Object
Controls(3)=GUIListBox'XInterface.Tab_InstantActionMain.IAMain_MapList'
Begin Object Class=GUIImage Name=IAMain_MapImage
Image=Texture'InterfaceContent.Menu.NoLevelPreview'
ImageStyle=ISTY_Scaled
ImageRenderStyle=MSTY_Normal
WinTop=0.163489
WinLeft=0.531796
WinWidth=0.443750
WinHeight=0.405312
End Object
Controls(4)=GUIImage'XInterface.Tab_InstantActionMain.IAMain_MapImage'
Begin Object Class=GUIScrollTextBox Name=IAMain_MapScroll
CharDelay=0.002500
EOLDelay=0.500000
OnCreateComponent=IAMain_MapScroll.InternalOnCreateComponent
WinTop=0.689325
WinLeft=0.534569
WinWidth=0.435000
WinHeight=0.300000
bNeverFocus=True
End Object
Controls(5)=GUIScrollTextBox'XInterface.Tab_InstantActionMain.IAMain_MapScroll'
Begin Object Class=GUIImage Name=IAMainBK3
Image=Texture'InterfaceContent.Menu.BorderBoxD'
ImageColor=(A=160)
ImageStyle=ISTY_Stretched
WinTop=0.650469
WinLeft=0.020742
WinWidth=0.480469
WinHeight=0.348633
End Object
Controls(6)=GUIImage'XInterface.Tab_InstantActionMain.IAMainBK3'
Begin Object Class=moComboBox Name=IAMain_BotSkill
Caption="Bot Skill"
OnCreateComponent=IAMain_BotSkill.InternalOnCreateComponent
Hint="Choose the skill of the bots you wish to play with."
WinTop=0.689531
WinLeft=0.038476
WinWidth=0.450000
WinHeight=0.060000
OnChange=Tab_InstantActionMain.BotSkillChanged
End Object
Controls(7)=moComboBox'XInterface.Tab_InstantActionMain.IAMain_BotSkill'
Begin Object Class=moCheckBox Name=IAMain_UseMapBots
ComponentJustification=TXTA_Left
CaptionWidth=0.900000
Caption="Use Map Bot Count"
OnCreateComponent=IAMain_UseMapBots.InternalOnCreateComponent
Hint="When enabled, an appropriate number of bots for the map will be used."
WinTop=0.769531
WinLeft=0.038476
WinWidth=0.450000
WinHeight=0.060000
OnChange=Tab_InstantActionMain.ChangeMapBots
End Object
Controls(8)=moCheckBox'XInterface.Tab_InstantActionMain.IAMain_UseMapBots'
Begin Object Class=moCheckBox Name=IAMain_UseCustomBots
ComponentJustification=TXTA_Left
CaptionWidth=0.900000
Caption="Use Custom Bots"
OnCreateComponent=IAMain_UseCustomBots.InternalOnCreateComponent
Hint="When enabled, you may use the Bot tab to choose bots to play with."
WinTop=0.849531
WinLeft=0.038476
WinWidth=0.450000
WinHeight=0.060000
OnChange=Tab_InstantActionMain.ChangeCustomBots
End Object
Controls(9)=moCheckBox'XInterface.Tab_InstantActionMain.IAMain_UseCustomBots'
Begin Object Class=GUIImage Name=IAMainBK2
Image=Texture'InterfaceContent.Menu.BorderBoxA1'
ImageColor=(A=160)
ImageStyle=ISTY_Stretched
ImageRenderStyle=MSTY_Normal
WinTop=0.161406
WinLeft=0.527891
WinWidth=0.450000
WinHeight=0.410000
End Object
Controls(10)=GUIImage'XInterface.Tab_InstantActionMain.IAMainBK2'
Begin Object Class=GUIImage Name=IAMain_DescBack
Image=Texture'InterfaceContent.Menu.BorderBoxD'
ImageColor=(A=160)
ImageStyle=ISTY_Stretched
ImageRenderStyle=MSTY_Normal
WinTop=0.591354
WinLeft=0.527891
WinWidth=0.450000
WinHeight=0.410000
End Object
Controls(11)=GUIImage'XInterface.Tab_InstantActionMain.IAMain_DescBack'
Begin Object Class=GUILabel Name=IAMain_MapName
Caption="Testing"
TextAlign=TXTA_Center
TextColor=(B=0,G=180,R=220)
TextFont="UT2HeaderFont"
WinTop=0.596822
WinLeft=0.562304
WinWidth=0.382813
WinHeight=32.000000
End Object
Controls(12)=GUILabel'XInterface.Tab_InstantActionMain.IAMain_MapName'
Begin Object Class=GUILabel Name=IAMain_MapAuthor
Caption="Testing"
TextAlign=TXTA_Center
TextColor=(B=255,G=255,R=255)
TextFont="UT2SmallHeaderFont"
WinTop=0.471822
WinLeft=0.531054
WinWidth=0.445313
WinHeight=17.000000
End Object
Controls(13)=GUILabel'XInterface.Tab_InstantActionMain.IAMain_MapAuthor'
Begin Object Class=GUILabel Name=IAMain_MapPlayers
Caption="Best for 4 to 8 players"
TextAlign=TXTA_Center
TextColor=(B=255,G=255,R=255)
TextFont="UT2SmallHeaderFont"
WinTop=0.513489
WinLeft=0.531054
WinWidth=0.445313
WinHeight=17.000000
End Object
Controls(14)=GUILabel'XInterface.Tab_InstantActionMain.IAMain_MapPlayers'
WinTop=0.150000
WinHeight=0.770000
}
|
Creation time: sk 18-3-2018 09:49:53.454 - Created with
UnCodeX