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

GUI2K4.UT2K4Tab_BotConfigBase

Extends
UT2K4GameTabBase

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.UT2K4GameTabBase
                     |   
                     +-- GUI2K4.UT2K4Tab_BotConfigBase

Direct Known Subclasses:

UT2K4Tab_BotConfigMP, UT2K4Tab_BotConfigSP

Variables Summary
GUIButtonb_AddB
GUIButtonb_AddR
GUIButtonb_Config
GUIButtonb_DoConfig
GUIButtonb_Left
GUIButtonb_RemoveB
GUIButtonb_RemoveR
GUIButtonb_Right
GUIImagei_Portrait
GUIVertImageListBoxlb_Blue
GUIVertImageListBoxlb_Red
GUICharacterListli_Bots
GUISectionBackgroundsb_Blue
GUISectionBackgroundsb_Bots
AltSectionBackgroundsb_PBK
GUISectionBackgroundsb_Red
UT2K4Tab_BotConfigBase
boolbAllowDuplicates
boolbIgnoreListChange
boolbPlaySounds
boolbTeamGame
stringDMCaption
GUIVertImageListli_Blue
GUIVertImageListli_Red
stringRedCaption
Inherited Variables from GUI2K4.UT2K4GameTabBase
p_Anchor

Functions Summary
function CharListChange (GUIComponent Sender))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool InternalMouseOver (GUIComponent Sender, Canvas C, out int X, out int Y, out int XL, out int YL ))
functionbool InternalOnBeginDrag (GUIComponent Sender))
functionbool InternalOnClick (GUIComponent Sender))
functionbool InternalOnDragDrop (GUIComponent Target))
function InternalOnEndDrag (GUIComponent Accepting, bool bAccepted))
function ListChange (GUIComponent Sender))
functionstring Play ()))
function SetupBotLists (bool bIsTeam))
function SetVis (bool bIsTeam))
function ShowPanel (bool bShow))
function UpdateLinks (GUIListBase List))
Inherited Functions from GUI2K4.UT2K4GameTabBase
InitComponent, Play, SetFooterCaption


Variables Detail

b_AddB Source code

var automated GUIButton b_AddB;

b_AddR Source code

var automated GUIButton b_AddR;

b_Config Source code

var automated GUIButton b_Config;

b_DoConfig Source code

var automated GUIButton b_DoConfig;

b_Left Source code

var automated GUIButton b_Left;

b_RemoveB Source code

var automated GUIButton b_RemoveB;

b_RemoveR Source code

var automated GUIButton b_RemoveR;

b_Right Source code

var automated GUIButton b_Right;

i_Portrait Source code

var automated GUIImage i_Portrait;

lb_Blue Source code

var automated GUIVertImageListBox lb_Blue;

lb_Red Source code

var automated GUIVertImageListBox lb_Red;

li_Bots Source code

var automated GUICharacterList li_Bots;

sb_Blue Source code

var automated GUISectionBackground sb_Blue;

sb_Bots Source code

var automated GUISectionBackground sb_Bots;

sb_PBK Source code

var automated AltSectionBackground sb_PBK;

sb_Red Source code

var automated GUISectionBackground sb_Red;

UT2K4Tab_BotConfigBase

bAllowDuplicates Source code

var(UT2K4Tab_BotConfigBase) config bool bAllowDuplicates;

bIgnoreListChange Source code

var(UT2K4Tab_BotConfigBase) bool bIgnoreListChange;

bPlaySounds Source code

var(UT2K4Tab_BotConfigBase) bool bPlaySounds;

bTeamGame Source code

var(UT2K4Tab_BotConfigBase) bool bTeamGame;

DMCaption Source code

var(UT2K4Tab_BotConfigBase) localized string DMCaption;

li_Blue Source code

var(UT2K4Tab_BotConfigBase) noexport editconst GUIVertImageList li_Blue;

li_Red Source code

var(UT2K4Tab_BotConfigBase) noexport editconst GUIVertImageList li_Red;

RedCaption Source code

var(UT2K4Tab_BotConfigBase) localized string RedCaption;


Functions Detail

CharListChange Source code

function CharListChange ( GUIComponent Sender) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalMouseOver Source code

function bool InternalMouseOver ( GUIComponent Sender, Canvas C, out int X, out int Y, out int XL, out int YL ) )

InternalOnBeginDrag Source code

function bool InternalOnBeginDrag ( GUIComponent Sender) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender) )

InternalOnDragDrop Source code

function bool InternalOnDragDrop ( GUIComponent Target) )

InternalOnEndDrag Source code

function InternalOnEndDrag ( GUIComponent Accepting, bool bAccepted) )

ListChange Source code

function ListChange ( GUIComponent Sender) )

Play Source code

function string Play ( ) )

SetupBotLists Source code

function SetupBotLists ( bool bIsTeam) )

SetVis Source code

function SetVis ( bool bIsTeam) )

ShowPanel Source code

function ShowPanel ( bool bShow) )

UpdateLinks Source code

function UpdateLinks ( GUIListBase List) )


Defaultproperties

defaultproperties
{
	DMCaption="DeathMatch Team"
	RedCaption="Red Team"


    Begin Object class=GUIImage Name=BotConfigPortrait
		WinWidth=0.2
		WinHeight=0.573754
		WinLeft=0.4
		WinTop=0.003986
        ImageColor=(R=255,G=255,B=255,A=255)
        ImageRenderStyle=MSTY_Normal
        ImageStyle=ISTY_Scaled
        RenderWeight=1.101
        DropShadow=Material'2K4Menus.Controls.shadow'
        DropShadowY=6
    End Object
    i_Portrait=BotConfigPortrait


	Begin Object Class=GUISectionBackground Name=BotConfigRedBackground
		WinWidth=0.358731
		WinHeight=0.576876
		WinLeft=0.011758
		WinTop=0.008334
        Caption="Red Team"
	End Object
	sb_Red=BotConfigRedBackground


	Begin Object Class=GUISectionBackground Name=BotConfigBlueBackground
		WinWidth=0.358731
		WinHeight=0.576876
		WinLeft=0.629743
		WinTop=0.008334
        Caption="Blue Team"
	End Object
	sb_Blue=BotConfigBlueBackground


	Begin Object Class=AltSectionBackground Name=BotConfigPortraitBackground
		WinWidth=0.220218
		WinHeight=0.512104
		WinLeft=0.392777
		WinTop=0.037820
		FontScale=FNS_Small
        Caption=""
	End Object
	sb_PBK=BotConfigPortraitBackground



    Begin Object class=GUISectionBackground Name=BotConfigMainBG
		WinWidth=0.887501
		WinHeight=0.328047
		WinLeft=0.058516
		WinTop=0.650734
		Caption="Drag a character on to its respective team"
    End Object
    sb_Bots=BotConfigMainBG


    Begin Object Class=GUIVertImageListBox Name=BotConfigRedList
		WinWidth=0.345352
		WinHeight=0.504883
		WinLeft=0.014258
		WinTop=0.060750
        bVisibleWhenEmpty=true
        bSorted=True
        Hint="These are the bots that will play on the red team"
        StyleName="NoBackground"
        OnChange=ListChange
        TabOrder=0
        ImageScale=0.2
    End Object
    lb_Red=BotConfigRedList
















































    Begin Object Class=GUIVertImageListBox Name=BotConfigBlueList
		WinWidth=0.345352
		WinHeight=0.504883
		WinLeft=0.634728
		WinTop=0.060750
        bVisibleWhenEmpty=true
        bSorted=True
        Hint="These are the bots that will play on the blue team"
        StyleName="NoBackground"
        OnChange=ListChange
        TabOrder=5
        ImageScale=0.2
    End Object
    lb_Blue=BotConfigBlueList


    Begin Object class=GUIButton Name=BotLeft
		WinWidth=0.043555
		WinHeight=0.084414
		WinLeft=0.101953
		WinTop=0.790963
        bNeverFocus=true
        bRepeatClick=true
        OnClick=InternalOnClick
        StyleName="ArrowLeft"
        TabOrder=6
    End Object
    b_Left=BotLeft


    Begin Object class=GUICharacterList Name=BotConfigCharList
		WinWidth=0.724609
		WinHeight=0.236758
		WinLeft=0.139140
		WinTop=0.714826
        Hint="To add a bot, drag the portrait to the desired team's list, or use the arrow buttons above"
        StyleName="CharButton"
        OnChange=CharListChange
        OnBeginDrag=InternalOnBeginDrag
        bDropSource=True
        bDropTarget=True
        TabOrder=7
        Index=-1
    End Object
    li_Bots=BotConfigCharList


    Begin Object class=GUIButton Name=BotRight
        WinWidth=0.043555
        WinHeight=0.084414
        WinLeft=0.854649
		WinTop=0.790963
        StyleName="ArrowRight"
        bNeverFocus=true
        bRepeatClick=true
        OnClick=InternalOnClick
        TabOrder=8
    End Object
    b_Right=BotRight


    Begin Object Class=GUIButton Name=IABotConfigConfig
        Caption="Info"
        Hint="View detailed stats for this bot."
		WinWidth=0.136563
		WinHeight=0.049765
		WinLeft=0.357306
		WinTop=0.593949
        OnClick=InternalOnClick
        MenuState=MSAT_Disabled
        TabOrder=9
    End Object
    b_Config=IABotConfigConfig


    Begin Object Class=GUIButton Name=IABotConfigDoConfig
        Caption="Edit"
        Hint="Customize the AI attributes for this bot"
		WinWidth=0.136563
		WinHeight=0.049765
		WinLeft=0.505743
		WinTop=0.593949
        OnClick=InternalOnClick
        MenuState=MSAT_Disabled
        TabOrder=10
    End Object
    b_DoConfig=IABotConfigDoConfig


    bAllowDuplicates=True


    WinTop=0.15
    WinLeft=0
    WinWidth=1
    WinHeight=0.77
    bAcceptsInput=false


    bPlaySounds=False
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:27.763 - Created with UnCodeX