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
{
     NoInformation="No Information Available!"
     Begin Object Class=GUIImage Name=PageBack
         Image=Texture'InterfaceContent.Menu.EditBoxDown'
         ImageStyle=ISTY_Stretched
         WinLeft=0.062500
         WinWidth=0.890625
         WinHeight=1.000000
         bBoundToParent=True
         bScaleToParent=True
     End Object
     Controls(0)=GUIImage'XInterface.UT2BotConfigPage.PageBack'

     Begin Object Class=GUIImage Name=imgBotPic
         ImageStyle=ISTY_Justified
         ImageRenderStyle=MSTY_Normal
         WinTop=0.193982
         WinLeft=0.078125
         WinWidth=0.246875
         WinHeight=0.658008
         RenderWeight=0.100100
     End Object
     Controls(1)=GUIImage'XInterface.UT2BotConfigPage.imgBotPic'

     Begin Object Class=GUIImage Name=BotPortraitBorder
         Image=Texture'InterfaceContent.Menu.BorderBoxA1'
         DropShadow=Texture'2K4Menus.Controls.Shadow'
         ImageStyle=ISTY_Stretched
         ImageRenderStyle=MSTY_Normal
         DropShadowX=8
         DropShadowY=8
         WinTop=0.188427
         WinLeft=0.076563
         WinWidth=0.253125
         WinHeight=0.664258
     End Object
     Controls(2)=GUIImage'XInterface.UT2BotConfigPage.BotPortraitBorder'

     Begin Object Class=GUILabel Name=BotCfgName
         Caption="Unknown"
         FontScale=FNS_Large
         StyleName="TextLabel"
         WinTop=0.119068
         WinLeft=0.084744
         WinWidth=0.598437
         WinHeight=0.052539
     End Object
     Controls(3)=GUILabel'XInterface.UT2BotConfigPage.BotCfgName'

     Begin Object Class=GUIButton Name=ResetButton
         Caption="Reset"
         WinTop=0.825001
         WinLeft=0.585938
         WinWidth=0.167187
         WinHeight=0.045313
         OnClick=UT2BotConfigPage.ResetClick
         OnKeyEvent=ResetButton.InternalOnKeyEvent
     End Object
     Controls(4)=GUIButton'XInterface.UT2BotConfigPage.ResetButton'

     Begin Object Class=GUIButton Name=OkButton
         Caption="OK"
         WinTop=0.825001
         WinLeft=0.765625
         WinWidth=0.167187
         WinHeight=0.045313
         OnClick=UT2BotConfigPage.OkClick
         OnKeyEvent=OkButton.InternalOnKeyEvent
     End Object
     Controls(5)=GUIButton'XInterface.UT2BotConfigPage.OkButton'

     Begin Object Class=moSlider Name=BotAggrSlider
         MaxValue=1.000000
         Caption="Aggressiveness"
         OnCreateComponent=BotAggrSlider.InternalOnCreateComponent
         Hint="Configures the aggressiveness rating of this bot."
         WinTop=0.208229
         WinLeft=0.345313
         WinWidth=0.598438
         TabOrder=0
         OnChange=UT2BotConfigPage.SliderChange
     End Object
     Controls(6)=moSlider'XInterface.UT2BotConfigPage.BotAggrSlider'

     Begin Object Class=moSlider Name=BotAccuracySlider
         MaxValue=1.000000
         MinValue=-1.000000
         Caption="Accuracy"
         OnCreateComponent=BotAccuracySlider.InternalOnCreateComponent
         Hint="Configures the accuracy rating of this bot."
         WinTop=0.281145
         WinLeft=0.345313
         WinWidth=0.598438
         OnChange=UT2BotConfigPage.SliderChange
     End Object
     Controls(7)=moSlider'XInterface.UT2BotConfigPage.BotAccuracySlider'

     Begin Object Class=moSlider Name=BotCStyleSlider
         MaxValue=1.000000
         Caption="Combat Style"
         OnCreateComponent=BotCStyleSlider.InternalOnCreateComponent
         Hint="Adjusts the combat style of this bot."
         WinTop=0.354062
         WinLeft=0.345313
         WinWidth=0.598438
         OnChange=UT2BotConfigPage.SliderChange
     End Object
     Controls(8)=moSlider'XInterface.UT2BotConfigPage.BotCStyleSlider'

     Begin Object Class=moSlider Name=BotStrafeSlider
         MaxValue=1.000000
         Caption="Strafing Ability"
         OnCreateComponent=BotStrafeSlider.InternalOnCreateComponent
         Hint="Adjusts the strafing ability of this bot."
         WinTop=0.426979
         WinLeft=0.345313
         WinWidth=0.598438
         OnChange=UT2BotConfigPage.SliderChange
     End Object
     Controls(9)=moSlider'XInterface.UT2BotConfigPage.BotStrafeSlider'

     Begin Object Class=moSlider Name=BotTacticsSlider
         MaxValue=1.000000
         MinValue=-1.000000
         Caption="Tactics"
         OnCreateComponent=BotTacticsSlider.InternalOnCreateComponent
         Hint="Adjusts the team-play awareness ability of this bot."
         WinTop=0.499895
         WinLeft=0.345313
         WinWidth=0.598438
         OnChange=UT2BotConfigPage.SliderChange
     End Object
     Controls(10)=moSlider'XInterface.UT2BotConfigPage.BotTacticsSlider'

     Begin Object Class=moSlider Name=BotReactionSlider
         MaxValue=4.000000
         MinValue=-4.000000
         Caption="Reaction Time"
         OnCreateComponent=BotReactionSlider.InternalOnCreateComponent
         Hint="Adjusts the reaction speed of this bot."
         WinTop=0.593645
         WinLeft=0.345313
         WinWidth=0.598438
         OnChange=UT2BotConfigPage.SliderChange
     End Object
     Controls(11)=moSlider'XInterface.UT2BotConfigPage.BotReactionSlider'

     Begin Object Class=moCheckBox Name=BotJumpy
         CaptionWidth=0.900000
         Caption="Jump Happy"
         OnCreateComponent=BotJumpy.InternalOnCreateComponent
         Hint="Controls whether this bot jumps a lot during the game."
         WinTop=0.666562
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.040000
         OnChange=UT2BotConfigPage.CheckBoxChange
     End Object
     Controls(12)=moCheckBox'XInterface.UT2BotConfigPage.BotJumpy'

     Begin Object Class=moComboBox Name=BotWeapon
         bReadOnly=True
         ComponentJustification=TXTA_Left
         CaptionWidth=0.450000
         Caption="Preferred Weapon"
         OnCreateComponent=BotWeapon.InternalOnCreateComponent
         Hint="Select which weapon this bot should prefer."
         WinTop=0.729062
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.044375
     End Object
     Controls(13)=moComboBox'XInterface.UT2BotConfigPage.BotWeapon'

     WinTop=0.100000
     WinHeight=0.800000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:21.578 - Created with UnCodeX