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

GUI2K4.UT2K4Tab_GameSettings

Extends
Settings_Tabs

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.Settings_Tabs
                     |   
                     +-- GUI2K4.UT2K4Tab_GameSettings

Variables Summary
boolbAim
boolbAuto
boolbBob
boolbClassicTrans
boolbDodge
boolbDynNet
boolbLandShake
boolbLandShakeD
boolbPrecache
boolbSpeechRec
boolbStats
GUIButtonb_Stats
moCheckBoxch_AutoAim
moCheckBoxch_AutoSwitch
moCheckBoxch_ClassicTrans
moCheckBoxch_Dodging
moCheckBoxch_DynNetspeed
moCheckBoxch_LandShake
moCheckBoxch_Precache
moCheckBoxch_Speech
moCheckBoxch_TrackStats
moCheckBoxch_WeaponBob
moComboBoxco_GoreLevel
moComboBoxco_Netspeed
moEditBoxed_Name
moEditBoxed_Password
stringEpicIDMsg
intiGore
intiNetspeed
intiNetSpeedD
GUISectionBackgroundi_BG1
GUISectionBackgroundi_BG2
GUISectionBackgroundi_BG3
GUISectionBackgroundi_BG4
GUISectionBackgroundi_BG5
GUIComponentLastGameOption
GUILabell_ID
GUILabell_Warning
stringNetSpeedText[4]
stringsName
stringsPassword
stringStatsURL
Inherited Variables from GUI2K4.Settings_Tabs
bAlwaysApply, bExpert, bNeedApply, PerformanceWarningMenu, PerformanceWarningText, Setting, t_Footer, WarningCounter, WarningLength

Functions Summary
functionstring FormatID (string id)
function InitComponent (GUIController MyController, GUIComponent MyOwner)
function InternalOnChange (GUIComponent Sender)
function InternalOnLoadINI (GUIComponent Sender, string s)
functionbool OnViewStats (GUIComponent Sender)
function ResetClicked ()
function SaveSettings ()
function ShowPanel (bool bShow)
function UpdateStatsItems ()
functionbool ValidStatConfig ()
Inherited Functions from GUI2K4.Settings_Tabs
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer


Variables Detail

bAim Source code

var bool bAim;

bAuto Source code

var bool bAuto;

bBob Source code

var bool bBob;

bClassicTrans Source code

var bool bClassicTrans;

bDodge Source code

var bool bDodge;

bDynNet Source code

var bool bDynNet;

bLandShake Source code

var bool bLandShake;

bLandShakeD Source code

var bool bLandShakeD;

bPrecache Source code

var bool bPrecache;

bSpeechRec Source code

var bool bSpeechRec;

bStats Source code

var bool bStats;

b_Stats Source code

var automated GUIButton b_Stats;

ch_AutoAim Source code

var automated moCheckBox ch_AutoAim;

ch_AutoSwitch Source code

var automated moCheckBox ch_AutoSwitch;

ch_ClassicTrans Source code

var automated moCheckBox ch_ClassicTrans;

ch_Dodging Source code

var automated moCheckBox ch_Dodging;

ch_DynNetspeed Source code

var automated moCheckBox ch_DynNetspeed;

ch_LandShake Source code

var automated moCheckBox ch_LandShake;

ch_Precache Source code

var automated moCheckBox ch_Precache;

ch_Speech Source code

var automated moCheckBox ch_Speech;

ch_TrackStats Source code

var automated moCheckBox ch_TrackStats;

ch_WeaponBob Source code

var automated moCheckBox ch_WeaponBob;

co_GoreLevel Source code

var automated moComboBox co_GoreLevel;

co_Netspeed Source code

var automated moComboBox co_Netspeed;

ed_Name Source code

var automated moEditBox ed_Name;

ed_Password Source code

var automated moEditBox ed_Password;

EpicIDMsg Source code

var localized string EpicIDMsg;

iGore Source code

var int iGore;

iNetspeed Source code

var int iNetspeed;

iNetSpeedD Source code

var int iNetSpeedD;

i_BG1 Source code

var automated GUISectionBackground i_BG1;

i_BG2 Source code

var automated GUISectionBackground i_BG2;

i_BG3 Source code

var automated GUISectionBackground i_BG3;

i_BG4 Source code

var automated GUISectionBackground i_BG4;

i_BG5 Source code

var automated GUISectionBackground i_BG5;

LastGameOption Source code

var GUIComponent LastGameOption;

l_ID Source code

var automated GUILabel l_ID;

l_Warning Source code

var automated GUILabel l_Warning;

NetSpeedText[4] Source code

var localized string NetSpeedText[4];

sName Source code

var string sName;

sPassword Source code

var string sPassword;

StatsURL Source code

var localized string StatsURL;


Functions Detail

FormatID Source code

function string FormatID ( string id )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender )

InternalOnLoadINI Source code

function InternalOnLoadINI ( GUIComponent Sender, string s )

OnViewStats Source code

function bool OnViewStats ( GUIComponent Sender )

ResetClicked Source code

function ResetClicked ( )

SaveSettings Source code

function SaveSettings ( )

ShowPanel Source code

function ShowPanel ( bool bShow )

UpdateStatsItems Source code

function UpdateStatsItems ( )

ValidStatConfig Source code

function bool ValidStatConfig ( )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUISectionBackground Name=GameBK1
         Caption="Gameplay"
         WinTop=0.033853
         WinLeft=0.014649
         WinWidth=0.449609
         WinHeight=0.748936
         RenderWeight=0.100100
         OnPreDraw=GameBK1.InternalPreDraw
     End Object
     i_BG1=GUISectionBackground'GUI2K4.UT2K4Tab_GameSettings.GameBK1'

     Begin Object Class=GUISectionBackground Name=GameBK2
         Caption="Network"
         WinTop=0.033853
         WinLeft=0.486328
         WinWidth=0.496484
         WinHeight=0.199610
         RenderWeight=0.100200
         OnPreDraw=GameBK2.InternalPreDraw
     End Object
     i_BG2=GUISectionBackground'GUI2K4.UT2K4Tab_GameSettings.GameBK2'

     Begin Object Class=GUISectionBackground Name=GameBK3
         Caption="Stats"
         WinTop=0.240491
         WinLeft=0.486328
         WinWidth=0.496484
         WinHeight=0.308985
         RenderWeight=0.100200
         OnPreDraw=GameBK3.InternalPreDraw
     End Object
     i_BG3=GUISectionBackground'GUI2K4.UT2K4Tab_GameSettings.GameBK3'

     Begin Object Class=GUISectionBackground Name=GameBK4
         Caption="Misc"
         WinTop=0.559889
         WinLeft=0.486328
         WinWidth=0.496484
         WinHeight=0.219141
         RenderWeight=0.100200
         OnPreDraw=GameBK4.InternalPreDraw
     End Object
     i_BG4=GUISectionBackground'GUI2K4.UT2K4Tab_GameSettings.GameBK4'

     Begin Object Class=GUISectionBackground Name=GameBK5
         Caption="Unique ID / Messages"
         WinTop=0.791393
         WinLeft=0.017419
         WinWidth=0.965712
         WinHeight=0.200706
         RenderWeight=0.100200
         OnPreDraw=GameBK5.InternalPreDraw
     End Object
     i_BG5=GUISectionBackground'GUI2K4.UT2K4Tab_GameSettings.GameBK5'

     Begin Object Class=moCheckBox Name=GameWeaponBob
         Caption="Weapon Bob"
         OnCreateComponent=GameWeaponBob.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Prevent your weapon from bobbing up and down while moving"
         WinTop=0.290780
         WinLeft=0.050000
         WinWidth=0.400000
         RenderWeight=1.040000
         TabOrder=1
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_WeaponBob=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.GameWeaponBob'

     Begin Object Class=moCheckBox Name=WeaponAutoSwitch
         Caption="Weapon Switch On Pickup"
         OnCreateComponent=WeaponAutoSwitch.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Automatically change weapons when you pick up a better one."
         RenderWeight=1.040000
         TabOrder=6
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_AutoSwitch=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.WeaponAutoSwitch'

     Begin Object Class=moCheckBox Name=SpeechRecognition
         ComponentJustification=TXTA_Left
         CaptionWidth=0.900000
         Caption="Speech Recognition"
         OnCreateComponent=SpeechRecognition.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Enable speech recognition"
         WinTop=0.654527
         WinLeft=0.540058
         WinWidth=0.403353
         TabOrder=14
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_Speech=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.SpeechRecognition'

     Begin Object Class=moCheckBox Name=GameDodging
         Caption="Dodging"
         OnCreateComponent=GameDodging.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Turn this option off to disable special dodge moves."
         WinTop=0.541563
         WinLeft=0.050000
         WinWidth=0.400000
         RenderWeight=1.040000
         TabOrder=3
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_Dodging=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.GameDodging'

     Begin Object Class=moCheckBox Name=GameAutoAim
         Caption="Auto Aim"
         OnCreateComponent=GameAutoAim.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Enabling this option will activate computer-assisted aiming in single player games."
         WinTop=0.692344
         WinLeft=0.050000
         WinWidth=0.400000
         RenderWeight=1.040000
         TabOrder=4
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_AutoAim=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.GameAutoAim'

     Begin Object Class=moCheckBox Name=GameClassicTrans
         Caption="High Beacon Trajectory"
         OnCreateComponent=GameClassicTrans.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Enable to use traditional-style high translocator beacon toss trajectory"
         RenderWeight=1.040000
         TabOrder=5
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_ClassicTrans=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.GameClassicTrans'

     Begin Object Class=moCheckBox Name=LandShaking
         CaptionWidth=0.900000
         Caption="Landing Viewshake"
         OnCreateComponent=LandShaking.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Enable view shaking upon landing."
         WinTop=0.150261
         WinLeft=0.705430
         WinWidth=0.266797
         TabOrder=7
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_LandShake=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.LandShaking'

     Begin Object Class=moComboBox Name=GameGoreLevel
         bReadOnly=True
         Caption="Gore Level"
         OnCreateComponent=GameGoreLevel.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Configure the amount of blood and gore you see while playing the game"
         WinTop=0.415521
         WinLeft=0.050000
         WinWidth=0.400000
         RenderWeight=1.040000
         TabOrder=2
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     co_GoreLevel=moComboBox'GUI2K4.UT2K4Tab_GameSettings.GameGoreLevel'

     NetSpeedText(0)="Modem"
     NetSpeedText(1)="ISDN"
     NetSpeedText(2)="Cable/ADSL"
     NetSpeedText(3)="LAN/T1"
     StatsURL="http://ut2004stats.epicgames.com/"
     EpicIDMsg="Your Unique id is:"
     Begin Object Class=GUILabel Name=InvalidWarning
         Caption="Your stats username or password is invalid.  Your username must be at least 4 characters long, and your password must be at least 6 characters long."
         TextAlign=TXTA_Center
         TextColor=(B=0,G=255,R=255)
         TextFont="UT2SmallFont"
         bMultiLine=True
         WinTop=0.916002
         WinLeft=0.057183
         WinWidth=0.887965
         WinHeight=0.058335
     End Object
     l_Warning=GUILabel'GUI2K4.UT2K4Tab_GameSettings.InvalidWarning'

     Begin Object Class=GUILabel Name=EpicID
         Caption="Your Unique id is:"
         TextAlign=TXTA_Center
         StyleName="TextLabel"
         WinTop=0.858220
         WinLeft=0.054907
         WinWidth=0.888991
         WinHeight=0.067703
         RenderWeight=0.200000
     End Object
     l_ID=GUILabel'GUI2K4.UT2K4Tab_GameSettings.EpicID'

     Begin Object Class=GUIButton Name=ViewOnlineStats
         Caption="View Stats"
         Hint="Click to launch the UT stats website."
         WinTop=0.469391
         WinLeft=0.780383
         WinWidth=0.166055
         WinHeight=0.050000
         TabOrder=13
         OnClick=UT2K4Tab_GameSettings.OnViewStats
         OnKeyEvent=ViewOnlineStats.InternalOnKeyEvent
     End Object
     b_Stats=GUIButton'GUI2K4.UT2K4Tab_GameSettings.ViewOnlineStats'

     Begin Object Class=moCheckBox Name=OnlineTrackStats
         ComponentJustification=TXTA_Left
         CaptionWidth=0.900000
         Caption="Track Stats"
         OnCreateComponent=OnlineTrackStats.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enable this option to join the online ranking system."
         WinTop=0.321733
         WinLeft=0.642597
         WinWidth=0.170273
         TabOrder=10
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_TrackStats=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.OnlineTrackStats'

     Begin Object Class=moCheckBox Name=NetworkDynamicNetspeed
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Dynamic Netspeed"
         OnCreateComponent=NetworkDynamicNetspeed.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Netspeed is automatically adjusted based on the speed of your network connection"
         WinTop=0.166017
         WinLeft=0.528997
         WinWidth=0.419297
         TabOrder=9
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_DynNetspeed=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.NetworkDynamicNetspeed'

     Begin Object Class=moCheckBox Name=PrecacheSkins
         ComponentJustification=TXTA_Left
         CaptionWidth=0.900000
         Caption="Preload all player skins"
         OnCreateComponent=PrecacheSkins.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Preloads all player skins, increasing level load time but reducing hitches during network games.  You must have at least 512 MB of system memory to use this option."
         WinTop=0.707553
         WinLeft=0.540058
         WinWidth=0.403353
         TabOrder=15
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ch_Precache=moCheckBox'GUI2K4.UT2K4Tab_GameSettings.PrecacheSkins'

     Begin Object Class=moComboBox Name=OnlineNetSpeed
         bReadOnly=True
         ComponentJustification=TXTA_Left
         CaptionWidth=0.550000
         Caption="Connection"
         OnCreateComponent=OnlineNetSpeed.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="Cable Modem/DSL"
         Hint="How fast is your connection?"
         WinTop=0.122944
         WinLeft=0.528997
         WinWidth=0.419297
         TabOrder=8
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     co_Netspeed=moComboBox'GUI2K4.UT2K4Tab_GameSettings.OnlineNetSpeed'

     Begin Object Class=moEditBox Name=OnlineStatsName
         CaptionWidth=0.400000
         Caption="UserName"
         OnCreateComponent=OnlineStatsName.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Please select a name to use for UT Stats!"
         WinTop=0.373349
         WinLeft=0.524912
         WinWidth=0.419316
         TabOrder=11
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ed_Name=moEditBox'GUI2K4.UT2K4Tab_GameSettings.OnlineStatsName'

     Begin Object Class=moEditBox Name=OnlineStatsPW
         CaptionWidth=0.400000
         Caption="Password"
         OnCreateComponent=OnlineStatsPW.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Please select a password that will secure your UT Stats!"
         WinTop=0.430677
         WinLeft=0.524912
         WinWidth=0.419316
         TabOrder=12
         OnChange=UT2K4Tab_GameSettings.InternalOnChange
         OnLoadINI=UT2K4Tab_GameSettings.InternalOnLoadINI
     End Object
     ed_Password=moEditBox'GUI2K4.UT2K4Tab_GameSettings.OnlineStatsPW'

     PanelCaption="Game"
     WinTop=0.150000
     WinHeight=0.740000
}

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