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
{
Begin Object class=GUIImage Name=IAMainBK1
WinWidth=0.957500
WinHeight=0.107188
WinLeft=0.021641
WinTop=0.024687
Image=Material'InterfaceContent.Menu.BorderBoxD'
ImageColor=(R=255,G=255,B=255,A=160);
ImageRenderStyle=MSTY_Normal
ImageStyle=ISTY_Stretched
End Object
Controls(0)=GUIImage'IAMainBK1'
Begin Object class=moNumericEdit Name=IAMain_BotCount
WinWidth=0.450000
WinHeight=0.060000
WinLeft=0.038476
WinTop=0.919531
Caption="Number of Bots"
Hint="Choose the number of bots you wish to play with."
CaptionWidth=0.5
MinValue=0
MaxValue=16
End Object
Controls(1)=moNumericEdit'IAMain_BotCount'
Begin Object class=moComboBox Name=IAMain_GameType
WinWidth=0.500000
WinHeight=0.060000
WinLeft=0.25
WinTop=0.047917
Caption="Game Type:"
Hint="Select the type of game you wish to play."
CaptionWidth=0.3
OnChange=GameTypeChanged
ComponentJustification=TXTA_Left
End Object
Controls(2)=GUIMenuOption'IAMain_GameType'
Begin Object Class=GUIListBox Name=IAMain_MapList
WinWidth=0.478984
WinHeight=0.463633
WinLeft=0.021641
WinTop=0.161406
bVisibleWhenEmpty=true
StyleName="SquareButton"
Hint="Select the map to play"
End Object
Controls(3)=GUIListBox'IAMain_MapList'
Begin Object Class=GUIImage Name=IAMain_MapImage
WinWidth=0.443750
WinHeight=0.405312
WinLeft=0.531796
WinTop=0.163489
Image=material'InterfaceContent.Menu.NoLevelPreview'
ImageColor=(R=255,G=255,B=255,A=255);
ImageStyle=ISTY_Scaled
ImageRenderStyle=MSTY_Normal
End Object
Controls(4)=GUIImage'IAMain_MapImage'
Begin Object Class=GUIScrollTextBox Name=IAMain_MapScroll
WinWidth=0.435000
WinHeight=0.300000
WinLeft=0.534569
WinTop=0.689325
CharDelay=0.0025
EOLDelay=0.5
bNeverFocus=true
StyleName="NoBackground"
End Object
Controls(5)=GUIScrollTextBox'IAMain_MapScroll'
Begin Object class=GUIImage Name=IAMainBK3
WinWidth=0.480469
WinHeight=0.348633
WinLeft=0.020742
WinTop=0.650469
Image=Material'InterfaceContent.Menu.BorderBoxD'
ImageColor=(R=255,G=255,B=255,A=160);
ImageRenderStyle=MSTY_Alpha
ImageStyle=ISTY_Stretched
End Object
Controls(6)=GUIImage'IAMainBK3'
Begin Object class=moComboBox Name=IAMain_BotSkill
WinWidth=0.450000
WinHeight=0.060000
WinLeft=0.038476
WinTop=0.689531
Caption="Bot Skill"
Hint="Choose the skill of the bots you wish to play with."
OnChange=BotSkillChanged
CaptionWidth=0.5
End Object
Controls(7)=moComboBox'IAMain_BotSkill'
Begin Object class=moCheckBox Name=IAMain_UseMapBots
WinWidth=0.450000
WinHeight=0.060000
WinLeft=0.038476
WinTop=0.769531
Caption="Use Map Bot Count"
Hint="When enabled, an appropriate number of bots for the map will be used."
CaptionWidth=0.9
bSquare=true
ComponentJustification=TXTA_Left
OnChange=ChangeMapBots
End Object
Controls(8)=moCheckBox'IAMain_UseMapBots'
Begin Object class=moCheckBox Name=IAMain_UseCustomBots
WinWidth=0.450000
WinHeight=0.060000
WinLeft=0.038476
WinTop=0.849531
Caption="Use Custom Bots"
Hint="When enabled, you may use the Bot tab to choose bots to play with."
CaptionWidth=0.9
bSquare=true
ComponentJustification=TXTA_Left
OnChange=ChangeCustomBots
End Object
Controls(9)=moCheckBox'IAMain_UseCustomBots'
Begin Object class=GUIImage Name=IAMainBK2
WinWidth=0.45
WinHeight=0.41
WinLeft=0.527891
WinTop=0.161406
Image=Material'InterfaceContent.Menu.BorderBoxA1'
ImageColor=(R=255,G=255,B=255,A=160);
ImageRenderStyle=MSTY_Normal
ImageStyle=ISTY_Stretched
End Object
Controls(10)=GUIImage'IAMainBK2'
Begin Object class=GUIImage Name=IAMain_DescBack
WinWidth=0.450000
WinHeight=0.410000
WinLeft=0.527891
WinTop=0.591354
Image=Material'InterfaceContent.Menu.BorderBoxD'
ImageColor=(R=255,G=255,B=255,A=160);
ImageRenderStyle=MSTY_Normal
ImageStyle=ISTY_Stretched
End Object
Controls(11)=GUIImage'IAMain_DescBack'
Begin Object class=GUILabel Name=IAMain_MapName
Caption="Testing"
TextALign=TXTA_Center
TextFont="UT2HeaderFont"
TextColor=(R=220,G=180,B=0,A=255)
WinWidth=0.382813
WinHeight=32.000000
WinLeft=0.562304
WinTop=0.596822
End Object
Controls(12)=GUILabel'IAMain_MapName'
Begin Object class=GUILabel Name=IAMain_MapAuthor
Caption="Testing"
TextALign=TXTA_Center
TextFont="UT2SmallHeaderFont"
TextColor=(R=255,G=255,B=255,A=255)
WinWidth=0.445313
WinHeight=17.000000
WinLeft=0.531054
WinTop=0.471822
End Object
Controls(13)=GUILabel'IAMain_MapAuthor'
Begin Object class=GUILabel Name=IAMain_MapPlayers
Caption="Best for 4 to 8 players"
TextALign=TXTA_Center
TextFont="UT2SmallHeaderFont"
TextColor=(R=255,G=255,B=255,A=255)
WinWidth=0.445313
WinHeight=17.000000
WinLeft=0.531054
WinTop=0.513489
End Object
Controls(14)=GUILabel'IAMain_MapPlayers'
WinTop=0.15
WinLeft=0
WinWidth=1
WinHeight=0.77
bAcceptsInput=false
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!"
}
|
Creation time: Do 14.8.2014 09:58:24.142 - Created with
UnCodeX