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

GUI2K4.UT2K4BotConfigPage

Extends
LockedFloatingWindow

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.LockedFloatingWindow
                        |   
                        +-- GUI2K4.UT2K4BotConfigPage

Variables Summary
stringAttributesString
boolbIgnoreChange
class<CustomBotConfig>BotConfigClass
GUILabelBotName
GUIImageBotPortrait
intConfigIndex
moComboBoxco_Orders
moComboBoxco_Voice
moComboBoxco_Weapon
stringDefaultString
GUIImagei_Portrait
stringNoInformation
stringNoPref
array<CacheManager.WeaponRecord>Records
stringResetString
GUISectionBackgroundsb_PicBK
moSlidersl_Acc
moSlidersl_Agg
moSlidersl_Com
moSlidersl_Jumpy
moSlidersl_Rea
moSlidersl_Str
moSlidersl_Tac
xUtil.PlayerRecordThisBot
Inherited Variables from GUI2K4.LockedFloatingWindow
b_Cancel, b_OK, EdgeBorder[4], sb_Main, SubCaption
Inherited Variables from GUI2K4.FloatingWindow
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName

Functions Summary
functionstring AccDC ()
functionstring AggDC ()
function ComboBoxChange (GUIComponent Sender)
functionstring ComDC ()
functionstring DoPerc (GUISlider Control)
function InitComponent (GUIController MyController, GUIComponent MyOwner)
functionstring JumpyDC ()
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 ()
function ValidateIndex ()
Inherited Functions from GUI2K4.LockedFloatingWindow
AlignButtons, InitComponent, InternalOnClick, InternalOnCreateComponent
Inherited Functions from GUI2K4.FloatingWindow
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked


Variables Detail

AttributesString Source code

var localized string AttributesString;

bIgnoreChange Source code

var bool bIgnoreChange;

BotConfigClass Source code

var class<CustomBotConfig> BotConfigClass;

BotName Source code

var GUILabel BotName;

BotPortrait Source code

var GUIImage BotPortrait;

ConfigIndex Source code

var int ConfigIndex;

co_Orders Source code

var automated moComboBox co_Orders;

co_Voice Source code

var automated moComboBox co_Voice;

co_Weapon Source code

var automated moComboBox co_Weapon;

DefaultString Source code

var localized string DefaultString;

i_Portrait Source code

var automated GUIImage i_Portrait;

NoInformation Source code

var localized string NoInformation;

NoPref Source code

var localized string NoPref;

Records Source code

var array<CacheManager.WeaponRecord> Records;

ResetString Source code

var localized string ResetString;

sb_PicBK Source code

var automated GUISectionBackground sb_PicBK;

sl_Acc Source code

var automated moSlider sl_Acc;

sl_Agg Source code

var automated moSlider sl_Agg;

sl_Com Source code

var automated moSlider sl_Com;

sl_Jumpy Source code

var automated moSlider sl_Jumpy;

sl_Rea Source code

var automated moSlider sl_Rea;

sl_Str Source code

var automated moSlider sl_Str;

sl_Tac Source code

var automated moSlider sl_Tac;

ThisBot Source code

var xUtil.PlayerRecord ThisBot;


Functions Detail

AccDC Source code

function string AccDC ( )

AggDC Source code

function string AggDC ( )

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 )

JumpyDC Source code

function string JumpyDC ( )

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 ( )

ValidateIndex Source code

function ValidateIndex ( )


Defaultproperties

defaultproperties
{
     NoInformation="No Information Available!"
     NoPref="No Preference"
     DefaultString="Default"
     Begin Object Class=GUIImage Name=imgBotPic
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         WinTop=0.116031
         WinLeft=0.079861
         WinWidth=0.246875
         WinHeight=0.822510
         RenderWeight=0.110000
         bBoundToParent=True
         bScaleToParent=True
     End Object
     i_Portrait=GUIImage'GUI2K4.UT2K4BotConfigPage.imgBotPic'

     Begin Object Class=moSlider Name=BotAggrSlider
         MaxValue=1.000000
         SliderCaptionStyleName="TextLabel"
         Caption="Aggressiveness"
         OnCreateComponent=BotAggrSlider.InternalOnCreateComponent
         Hint="Configures the aggressiveness rating of this bot."
         WinTop=0.107618
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.037500
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.SliderChange
     End Object
     sl_Agg=moSlider'GUI2K4.UT2K4BotConfigPage.BotAggrSlider'

     Begin Object Class=moSlider Name=BotAccuracySlider
         MaxValue=2.000000
         MinValue=-2.000000
         SliderCaptionStyleName="TextLabel"
         Caption="Accuracy"
         OnCreateComponent=BotAccuracySlider.InternalOnCreateComponent
         Hint="Configures the accuracy rating of this bot."
         WinTop=0.177603
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.037500
         TabOrder=1
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.SliderChange
     End Object
     sl_Acc=moSlider'GUI2K4.UT2K4BotConfigPage.BotAccuracySlider'

     Begin Object Class=moSlider Name=BotCStyleSlider
         MaxValue=1.000000
         SliderCaptionStyleName="TextLabel"
         Caption="Combat Style"
         OnCreateComponent=BotCStyleSlider.InternalOnCreateComponent
         Hint="Adjusts the combat style of this bot."
         WinTop=0.247588
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.037500
         TabOrder=2
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.SliderChange
     End Object
     sl_Com=moSlider'GUI2K4.UT2K4BotConfigPage.BotCStyleSlider'

     Begin Object Class=moSlider Name=BotStrafeSlider
         MaxValue=2.000000
         MinValue=-2.000000
         SliderCaptionStyleName="TextLabel"
         Caption="Strafing Ability"
         OnCreateComponent=BotStrafeSlider.InternalOnCreateComponent
         Hint="Adjusts the strafing ability of this bot."
         WinTop=0.317573
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.037500
         TabOrder=3
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.SliderChange
     End Object
     sl_Str=moSlider'GUI2K4.UT2K4BotConfigPage.BotStrafeSlider'

     Begin Object Class=moSlider Name=BotTacticsSlider
         MaxValue=2.000000
         MinValue=-2.000000
         SliderCaptionStyleName="TextLabel"
         Caption="Tactics"
         OnCreateComponent=BotTacticsSlider.InternalOnCreateComponent
         Hint="Adjusts the team-play awareness ability of this bot."
         WinTop=0.387558
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.037500
         TabOrder=4
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.SliderChange
     End Object
     sl_Tac=moSlider'GUI2K4.UT2K4BotConfigPage.BotTacticsSlider'

     Begin Object Class=moSlider Name=BotReactionSlider
         MaxValue=2.000000
         MinValue=-2.000000
         SliderCaptionStyleName="TextLabel"
         Caption="Reaction Time"
         OnCreateComponent=BotReactionSlider.InternalOnCreateComponent
         Hint="Adjusts the reaction speed of this bot."
         WinTop=0.457542
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.037500
         TabOrder=5
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.SliderChange
     End Object
     sl_Rea=moSlider'GUI2K4.UT2K4BotConfigPage.BotReactionSlider'

     Begin Object Class=moSlider Name=BotJumpy
         MaxValue=1.000000
         SliderCaptionStyleName="TextLabel"
         Caption="Jumpiness"
         OnCreateComponent=BotJumpy.InternalOnCreateComponent
         Hint="Controls whether this bot jumps a lot during the game."
         WinTop=0.527528
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.037500
         TabOrder=6
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.SliderChange
     End Object
     sl_Jumpy=moSlider'GUI2K4.UT2K4BotConfigPage.BotJumpy'

     Begin Object Class=moComboBox Name=BotWeapon
         bReadOnly=True
         ComponentJustification=TXTA_Left
         Caption="Preferred Weapon"
         OnCreateComponent=BotWeapon.InternalOnCreateComponent
         Hint="Select which weapon this bot should prefer."
         WinTop=0.647967
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.055469
         TabOrder=7
         bBoundToParent=True
         bScaleToParent=True
     End Object
     co_Weapon=moComboBox'GUI2K4.UT2K4BotConfigPage.BotWeapon'

     Begin Object Class=moComboBox Name=BotVoice
         bReadOnly=True
         ComponentJustification=TXTA_Left
         Caption="Voice"
         OnCreateComponent=BotVoice.InternalOnCreateComponent
         Hint="Choose which voice this bot uses."
         WinTop=0.718011
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.055469
         TabOrder=8
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.ComboBoxChange
     End Object
     co_Voice=moComboBox'GUI2K4.UT2K4BotConfigPage.BotVoice'

     Begin Object Class=moComboBox Name=BotOrders
         bReadOnly=True
         ComponentJustification=TXTA_Left
         Caption="Orders"
         OnCreateComponent=BotOrders.InternalOnCreateComponent
         Hint="Choose which role this bot will play in the game."
         WinTop=0.791159
         WinLeft=0.345313
         WinWidth=0.598438
         WinHeight=0.055469
         TabOrder=9
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4BotConfigPage.ComboBoxChange
     End Object
     co_Orders=moComboBox'GUI2K4.UT2K4BotConfigPage.BotOrders'

     Begin Object Class=GUISectionBackground Name=PicBK
         WinTop=0.078391
         WinLeft=0.026150
         WinWidth=0.290820
         WinHeight=0.638294
         OnPreDraw=PicBK.InternalPreDraw
     End Object
     sb_PicBK=GUISectionBackground'GUI2K4.UT2K4BotConfigPage.PicBK'

     BotConfigClass=Class'UnrealGame.CustomBotConfig'
     ResetString="Reset"
     AttributesString="Attributes"
     WinTop=0.123958
     WinLeft=0.043945
     WinWidth=0.921875
     WinHeight=0.759115
}

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