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

XInterface.UT2BotConfigPage

Extends
UT2K3GUIPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K3GUIPage
               |   
               +-- XInterface.UT2BotConfigPage

Variables Summary
boolbIgnoreChange
GUILabelBotName
GUIImageBotPortrait
intConfigIndex
stringNoInformation
array<CacheManager.WeaponRecord>Records
xUtil.PlayerRecordThisBot
moComboBoxWep
Inherited Variables from XInterface.GUIPage
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers

Functions Summary
functionstring AccDC ()))
functionstring AggDC ()))
function CheckBoxChange (GUIComponent Sender))
function ComboBoxChange (GUIComponent Sender))
functionstring ComDC ()))
functionstring DoPerc (GUISlider Control))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool OkClick (GUIComponent Sender))
functionstring ReaDC ()))
functionbool ResetClick (GUIComponent Sender))
function SetDefaults ()))
function SetupBotInfo (Material Portrait, string DecoTextName, xUtil.PlayerRecord PRE))
function SliderChange (GUIComponent Sender))
functionstring StrDC ()))
functionstring TacDC ()))
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus


Variables Detail

bIgnoreChange Source code

var bool bIgnoreChange;

BotName Source code

var GUILabel BotName;

BotPortrait Source code

var GUIImage BotPortrait;

ConfigIndex Source code

var int ConfigIndex;

NoInformation Source code

var localized string NoInformation;

Records Source code

var array<CacheManager.WeaponRecord> Records;

ThisBot Source code

var xUtil.PlayerRecord ThisBot;

Wep Source code

var moComboBox Wep;


Functions Detail

AccDC Source code

function string AccDC ( ) )

AggDC Source code

function string AggDC ( ) )

CheckBoxChange Source code

function CheckBoxChange ( GUIComponent Sender) )

ComboBoxChange Source code

function ComboBoxChange ( GUIComponent Sender) )

ComDC Source code

function string ComDC ( ) )

DoPerc Source code

function string DoPerc ( GUISlider Control) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

OkClick Source code

function bool OkClick ( GUIComponent Sender) )

ReaDC Source code

function string ReaDC ( ) )

ResetClick Source code

function bool ResetClick ( GUIComponent Sender) )

SetDefaults Source code

function SetDefaults ( ) )

SetupBotInfo Source code

function SetupBotInfo ( Material Portrait, string DecoTextName, xUtil.PlayerRecord PRE) )

SliderChange Source code

function SliderChange ( GUIComponent Sender) )

StrDC Source code

function string StrDC ( ) )

TacDC Source code

function string TacDC ( ) )


Defaultproperties

defaultproperties
{
	Begin Object class=GUIImage Name=PageBack
		Image=Material'InterfaceContent.Menu.EditBoxDown'
		ImageStyle=ISTY_Stretched
		WinWidth=0.890625
		WinHeight=1.000000
		WinLeft=0.062500
		WinTop=0.000000
		bScaleToParent=true
		bBoundToParent=true
	End Object
	Controls(0)=PageBack


	Begin Object class=GUIImage Name=imgBotPic
		WinWidth=0.246875
		WinHeight=0.658008
		WinLeft=0.078125
		WinTop=0.193982
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Justified
		RenderWeight=0.1001
	End Object
	Controls(1)=imgBotPic


	Begin Object class=GUIImage Name=BotPortraitBorder
		WinWidth=0.253125
		WinHeight=0.664258
		WinLeft=0.076563
		WinTop=0.188427
		Image=Material'InterfaceContent.Menu.BorderBoxA1'
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Stretched
		DropShadow=Material'2K4Menus.Controls.shadow'
		DropShadowX=8
		DropShadowY=8
		RenderWeight=0.1
	End Object
	Controls(2)=BotPortraitBorder


	Begin Object class=GUILabel Name=BotCfgName
		WinWidth=0.598437
		WinHeight=0.052539
		WinLeft=0.084744
		WinTop=0.119068
		TextAlign=TXTA_Left
		Caption="Unknown"
		StyleName="TextLabel"
		FontScale=FNS_Large
	End Object
	Controls(3)=BotCfgName


	Begin Object class=GUIButton Name=ResetButton
		WinWidth=0.167187
		WinHeight=0.045313
		WinLeft=0.585938
		WinTop=0.825001
		Caption="Reset"
		OnClick=ResetClick
	End Object
	Controls(4)=ResetButton


	Begin Object class=GUIButton Name=OkButton
		WinWidth=0.167187
		WinHeight=0.045313
		WinLeft=0.765625
		WinTop=0.825001
		Caption="OK"
		OnClick=OkClick
	End Object
	Controls(5)=OkButton





	Begin Object class=moSlider Name=BotAggrSlider
		Caption="Aggressiveness"
		WinWidth=0.598438
		WinLeft=0.345313
		WinTop=0.208229
		WinHeight=0.03
		MinValue=0
		MaxValue=1
		Hint="Configures the aggressiveness rating of this bot."
        OnChange=SliderChange
        TabOrder=0
        bHeightFromComponent=False
	End Object


	Begin Object class=moSlider Name=BotAccuracySlider
		Caption="Accuracy"
		WinWidth=0.598438
		WinHeight=0.030000
		WinLeft=0.345313
		WinTop=0.281145
		MinValue=-1
		MaxValue=1
		Hint="Configures the accuracy rating of this bot."
        OnChange=SliderChange;
        bHeightFromComponent=False
	End Object


	Begin Object class=moSlider Name=BotCStyleSlider
		Caption="Combat Style"
		WinWidth=0.598438
		WinHeight=0.030000
		WinLeft=0.345313
		WinTop=0.354062
		MinValue=0
		MaxValue=1
		Hint="Adjusts the combat style of this bot."
        OnChange=SliderChange;
        bHeightFromComponent=False
	End Object


	Begin Object class=moSlider Name=BotStrafeSlider
		Caption="Strafing Ability"
		WinWidth=0.598438
		WinHeight=0.030000
		WinLeft=0.345313
		WinTop=0.426979
		MinValue=0
		MaxValue=1
		Hint="Adjusts the strafing ability of this bot."
        OnChange=SliderChange;
        bHeightFromComponent=False
	End Object


	Begin Object class=moSlider Name=BotTacticsSlider
		Caption="Tactics"
		WinWidth=0.598438
		WinHeight=0.030000
		WinLeft=0.345313
		WinTop=0.499895
		MinValue=-1
		MaxValue=1
		Hint="Adjusts the team-play awareness ability of this bot."
        OnChange=SliderChange;
        bHeightFromComponent=False
	End Object


	Begin Object class=moSlider Name=BotReactionSlider
		Caption="Reaction Time"
		WinWidth=0.598438
		WinHeight=0.030000
		WinLeft=0.345313
		WinTop=0.593645
		MinValue=-4
		MaxValue=4
		Hint="Adjusts the reaction speed of this bot."
        OnChange=SliderChange;
        bHeightFromComponent=False
	End Object


	Begin Object class=moCheckBox Name=BotJumpy
		WinWidth=0.598438
		WinHeight=0.040000
		WinLeft=0.345313
		WinTop=0.666562
		Caption="Jump Happy"
		Hint="Controls whether this bot jumps a lot during the game."
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Right
        OnChange=CheckBoxChange
        bHeightFromComponent=False
	End Object


	Begin Object class=moComboBox Name=BotWeapon
		WinWidth=0.598438
		WinHeight=0.044375
		WinLeft=0.345313
		WinTop=0.729062
		Caption="Preferred Weapon"
		Hint="Select which weapon this bot should prefer."
		CaptionWidth=0.45
        bReadOnly=true
		ComponentJustification=TXTA_Left
        bHeightFromComponent=False
	End Object


    Controls(6)=BotAggrSlider
    Controls(7)=BotAccuracySlider
    Controls(8)=BotCStyleSlider
    Controls(9)=BotStrafeSlider
    Controls(10)=BotTacticsSlider
    Controls(11)=BotReactionSlider
    Controls(12)=BotJumpy
    Controls(13)=BotWeapon


	WinWidth=1.0
	WinHeight=0.8
	WinTop=0.1
	WinLeft=0.0


	NoInformation="No Information Available!"
}

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