Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

ProUI.Pro_InstantActionMain

Extends
GUITabPanel
Modifiers
config ( ProUI )

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- ProUI.Pro_InstantActionMain

Variables Summary
stringDifficultyLevels[8]
stringGameType
intLastBotCount
intLastBotSkill
stringLastMap
boolLastUseCustomBots
boolLastUseMapBots
stringMessageNoInfo
moNumericEditMyBotCount
moComboBoxMyBotSkill
moComboBoxMyGameCombo
GUIImageMyMapImage
GUIListBoxMyMapList
GUILabelMyMapName
GUIScrollTextBoxMyMapScroll
moCheckBoxMyUseMapBots
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption
Inherited Variables from XInterface.GUIPanel
Background

Functions Summary
function BotSkillChanged (GUIComponent Sender))
function ChangeMapBots (GUIComponent Sender))
functionstring GetGameClass ()))
functionbool GetIsTeamGame ()))
functionstring GetMapListClass ()))
functionstring GetMapPrefix ()))
functionstring GetRulesClass ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function MapListChange (GUIComponent Sender))
functionbool MapListDblClick (GUIComponent Sender))
functionstring ParseDescStr (string DescStr, int index))
functionstring Play ()))
function ReadMapInfo (string MapName))
function ReadMapList (string MapPreFix))
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel
Inherited Functions from XInterface.GUIPanel
InitComponent


Variables Detail

DifficultyLevels[8] Source code

var localized string DifficultyLevels[8];

GameType Source code

var config string GameType;

LastBotCount Source code

var config int LastBotCount;

LastBotSkill Source code

var config int LastBotSkill;

LastMap Source code

var config string LastMap;

LastUseCustomBots Source code

var config bool LastUseCustomBots;

LastUseMapBots Source code

var config bool LastUseMapBots;

MessageNoInfo Source code

var localized string MessageNoInfo;

MyBotCount Source code

var moNumericEdit MyBotCount;

MyBotSkill Source code

var moComboBox MyBotSkill;

MyGameCombo Source code

var moComboBox MyGameCombo;

MyMapImage Source code

var GUIImage MyMapImage;

MyMapList Source code

var GUIListBox MyMapList;

MyMapName Source code

var GUILabel MyMapName;

MyMapScroll Source code

var GUIScrollTextBox MyMapScroll;

MyUseMapBots Source code

var moCheckBox MyUseMapBots;


Functions Detail

BotSkillChanged Source code

function BotSkillChanged ( GUIComponent Sender) )

ChangeMapBots Source code

function ChangeMapBots ( GUIComponent Sender) )

GetGameClass Source code

function string GetGameClass ( ) )

GetIsTeamGame Source code

function bool GetIsTeamGame ( ) )

GetMapListClass Source code

function string GetMapListClass ( ) )

GetMapPrefix Source code

function string GetMapPrefix ( ) )

GetRulesClass Source code

function string GetRulesClass ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

MapListChange Source code

function MapListChange ( GUIComponent Sender) )

MapListDblClick Source code

function bool MapListDblClick ( GUIComponent Sender) )

ParseDescStr Source code

function string ParseDescStr ( string DescStr, int index) )

Play Source code

function string Play ( ) )

ReadMapInfo Source code

function ReadMapInfo ( string MapName) )

ReadMapList Source code

function ReadMapList ( string MapPreFix) )


Defaultproperties

defaultproperties
{


	Begin Object class=GUIImage Name=ProIAMainBK1
		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
        bVisible=false
	End Object
	Controls(0)=GUIImage'ProIAMainBK1'


	Begin Object class=moNumericEdit Name=ProIAMain_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'ProIAMain_BotCount'


	Begin Object class=moComboBox Name=ProIAMain_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
		ComponentJustification=TXTA_Left
        bVisible=false
	End Object
	Controls(2)=GUIMenuOption'ProIAMain_GameType'


	Begin Object Class=GUIListBox Name=ProIAMain_MapList
		WinWidth=0.478984
		WinHeight=0.565196
		WinLeft=0.021641
		WinTop=0.057239
		bVisibleWhenEmpty=true
		StyleName="SquareButton"
		Hint="Select the map to play"
	End Object
	Controls(3)=GUIListBox'ProIAMain_MapList'


	Begin Object Class=GUIImage Name=ProIAMain_MapImage
		WinWidth=0.443750
		WinHeight=0.506875
		WinLeft=0.531796
		WinTop=0.059322
		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'ProIAMain_MapImage'


	Begin Object Class=GUIScrollTextBox Name=ProIAMain_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'ProIAMain_MapScroll'


	Begin Object class=GUIImage Name=ProIAMainBK3
		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'ProIAMainBK3'


	Begin Object class=moComboBox Name=ProIAMain_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'ProIAMain_BotSkill'


	Begin Object class=moCheckBox Name=ProIAMain_UseMapBots
		WinWidth=0.450000
		WinHeight=0.040000
		WinLeft=0.038476
		WinTop=0.811198
		Caption="Use Map Bot Count"
		Hint="When enabled, the default number of bots for the map is used."
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		OnChange=ChangeMapBots
	End Object
	Controls(8)=moCheckBox'ProIAMain_UseMapBots'


	Begin Object class=moCheckBox Name=ProIAMain_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
        bVisible=false
	End Object
	Controls(9)=moCheckBox'ProIAMain_UseCustomBots'


	Begin Object class=GUIImage Name=ProIAMainBK2




		WinWidth=0.443750
		WinHeight=0.506875
		WinLeft=0.531796
		WinTop=0.059322



		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'ProIAMainBK2'


	Begin Object class=GUIImage Name=ProIAMain_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'ProIAMain_DescBack'


	Begin Object class=GUILabel Name=ProIAMain_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'ProIAMain_MapName'


	Begin Object class=GUILabel Name=ProIAMain_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'ProIAMain_MapAuthor'


	Begin Object class=GUILabel Name=ProIAMain_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'ProIAMain_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!"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mon 5/5/2025 20:56:05.483 - Created with UnCodeX