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
		WinWidth=0.449609
		WinHeight=0.748936
		WinLeft=0.014649
		WinTop=0.033853
        RenderWeight=0.1001
        Caption="Gameplay"
    End Object
    i_BG1=GameBK1


    Begin Object class=GUISectionBackground Name=GameBK2
		WinWidth=0.496484
		WinHeight=0.199610
		WinLeft=0.486328
		WinTop=0.033853
        RenderWeight=0.1002
		Caption="Network"
    End Object
    i_BG2=GameBK2


    Begin Object class=GUISectionBackground Name=GameBK3
		WinWidth=0.496484
		WinHeight=0.308985
		WinLeft=0.486328
		WinTop=0.240491
        RenderWeight=0.1002
		Caption="Stats"
    End Object
    i_BG3=GameBK3


    Begin Object class=GUISectionBackground Name=GameBK4
		WinWidth=0.496484
		WinHeight=0.219141
		WinLeft=0.486328
		WinTop=0.559889
        RenderWeight=0.1002
		Caption="Misc"
    End Object
    i_BG4=GameBK4


    Begin Object class=GUISectionBackground Name=GameBK5
		WinWidth=0.965712
		WinHeight=0.200706
		WinLeft=0.017419
		WinTop=0.791393
        RenderWeight=0.1002
		Caption="Unique ID / Messages"
    End Object
    i_BG5=GameBK5


    Begin Object class=moCheckBox Name=GameWeaponBob
        WinWidth=0.400000
        WinLeft=0.050000
        WinTop=0.290780
        Caption="Weapon Bob"
        INIOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Hint="Prevent your weapon from bobbing up and down while moving"
        ComponentJustification=TXTA_Right
        LabelJustification=TXTA_Left
        ComponentWidth=-1
        CaptionWidth=0.8
        RenderWeight=1.04
        TabOrder=1
    End Object
    ch_WeaponBob=GameWeaponBob


    Begin Object class=moComboBox Name=GameGoreLevel
        WinWidth=0.400000
        WinLeft=0.050000
        WinTop=0.415521
        Caption="Gore Level"
        INIOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Hint="Configure the amount of blood and gore you see while playing the game"
        ComponentJustification=TXTA_Right
        LabelJustification=TXTA_Left
        ComponentWidth=-1
        CaptionWidth=0.5
        RenderWeight=1.04
        TabOrder=2
        bReadOnly=True
    End Object
    co_GoreLevel=GameGoreLevel


    Begin Object class=moCheckBox Name=GameDodging
        WinWidth=0.400000
        WinLeft=0.050000
        WinTop=0.541563
        Caption="Dodging"
        INIOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Hint="Turn this option off to disable special dodge moves."
        ComponentJustification=TXTA_Right
        LabelJustification=TXTA_Left
        ComponentWidth=-1
        CaptionWidth=0.8
        RenderWeight=1.04
        TabOrder=3
    End Object
    ch_Dodging=GameDodging


    Begin Object class=moCheckBox Name=GameAutoAim
        WinWidth=0.400000
        WinLeft=0.050000
        WinTop=0.692344
        Caption="Auto Aim"
        INIOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Hint="Enabling this option will activate computer-assisted aiming in single player games."
        ComponentJustification=TXTA_Right
        LabelJustification=TXTA_Left
        ComponentWidth=-1
        CaptionWidth=0.8
        RenderWeight=1.04
        TabOrder=4
    End Object
    ch_AutoAim=GameAutoAim


    Begin Object class=moCheckBox Name=GameClassicTrans
        Caption="High Beacon Trajectory"
        IniOption="@Internal"
        OnChange=InternalOnChange
        OnLoadINI=InternalOnLoadINI
        Hint="Enable to use traditional-style high translocator beacon toss trajectory"
        bSquare=True
        ComponentJustification=TXTA_Right
        LabelJustification=TXTA_Left
        ComponentWidth=-1
        CaptionWidth=0.8
        RenderWeight=1.04
        TabOrder=5
    End Object
    ch_ClassicTrans=GameClassicTrans


    Begin Object class=moCheckBox Name=WeaponAutoSwitch
        Caption="Weapon Switch On Pickup"
        Hint="Automatically change weapons when you pick up a better one."
        IniOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        bSquare=true
        ComponentJustification=TXTA_Right
        LabelJustification=TXTA_Left
        ComponentWidth=-1
        CaptionWidth=0.8
        RenderWeight=1.04
        TabOrder=6
    End Object
    ch_AutoSwitch=WeaponAutoSwitch


	Begin Object class=moCheckBox Name=LandShaking
		WinWidth=0.266797
		WinLeft=0.705430
		WinTop=0.150261
		Caption="Landing Viewshake"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		Hint="Enable view shaking upon landing."
		CaptionWidth=0.9
		bSquare=True
		bHeightFromComponent=False
		ComponentJustification=TXTA_Right
		LabelJustification=TXTA_Left
		TabOrder=7
	End Object
	ch_LandShake=LandShaking


    
    Begin Object class=moComboBox Name=OnlineNetSpeed
		WinWidth=0.419297
		WinLeft=0.528997
		WinTop=0.122944
        Caption="Connection"
        INIOption="@Internal"
        INIDefault="Cable Modem/DSL"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Hint="How fast is your connection?"
        CaptionWidth=0.55
        ComponentJustification=TXTA_Left
        bReadOnly=true
        bHeightFromComponent=false
        TabOrder=8
    End Object
    co_Netspeed=OnlineNetSpeed


    Begin Object class=moCheckBox Name=NetworkDynamicNetspeed
		WinWidth=0.419297
		WinLeft=0.528997
		WinTop=0.166017
        Caption="Dynamic Netspeed"
        Hint="Netspeed is automatically adjusted based on the speed of your network connection"
        CaptionWidth=0.94
        bSquare=true
        ComponentJustification=TXTA_Left
        IniOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        TabOrder=9
    End Object
    ch_DynNetspeed=NetworkDynamicNetspeed


    Begin Object class=moCheckBox Name=OnlineTrackStats
		WinWidth=0.170273
		WinLeft=0.642597
		WinTop=0.321733
        Caption="Track Stats"
        INIOption="@Internal"
        INIDefault="True"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Hint="Enable this option to join the online ranking system."
        CaptionWidth=0.9
        bSquare=true
        ComponentJustification=TXTA_Left
        TabOrder=10
    End Object
    ch_TrackStats=OnlineTrackStats


    Begin Object class=moEditBox Name=OnlineStatsName
		WinWidth=0.419316
		WinLeft=0.524912
		WinTop=0.373349
        INIOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Caption="UserName"
        Hint="Please select a name to use for UT Stats!"
        CaptionWidth=0.4
        TabOrder=11
    End Object
    ed_Name=OnlineStatsName


    Begin Object class=moEditBox Name=OnlineStatsPW
		WinWidth=0.419316
		WinLeft=0.524912
		WinTop=0.430677
        Caption="Password"
        INIOption="@Internal"
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        Hint="Please select a password that will secure your UT Stats!"
        CaptionWidth=0.4
        TabOrder=12
    End Object
    ed_Password=OnlineStatsPW


    Begin Object class=GUIButton Name=ViewOnlineStats
		WinWidth=0.166055
		WinHeight=0.05
		WinLeft=0.780383
		WinTop=0.469391
        Caption="View Stats"
        Hint="Click to launch the UT stats website."
        OnClick=OnViewStats
        TabOrder=13
    End Object
    b_Stats=ViewOnlineStats


    Begin Object Class=moCheckBox Name=SpeechRecognition
		WinWidth=0.403353
		WinLeft=0.540058
		WinTop=0.654527
    	Caption="Speech Recognition"
    	Hint="Enable speech recognition"
    	IniOption="@Internal"
    	OnLoadIni=InternalOnLoadIni
    	OnChange=InternalOnChange
    	ComponentJustification=TXTA_Left
    	CaptionWidth=0.9
    	TabOrder=14
		bBoundToParent=True
		bScaleToParent=True
    End Object
    ch_Speech=SpeechRecognition



    Begin Object class=moCheckBox Name=PrecacheSkins
		WinWidth=0.403353
		WinLeft=0.540058
		WinTop=0.707553
    	Caption="Preload all player skins"
    	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."
    	CaptionWidth=0.9
    	bSquare=True
    	ComponentJustification=TXTA_Left
    	IniOption="@Internal"
    	OnLoadINI=InternalOnLoadINI
    	OnChange=InternalOnChange
    	TabOrder=15
    End Object
    ch_Precache=PrecacheSkins


    Begin Object class=GUILabel Name=InvalidWarning
		WinWidth=0.887965
		WinHeight=0.058335
		WinLeft=0.057183
		WinTop=0.916002
        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
        bMultiLine=True
        TextColor=(R=255,G=255,B=0,A=255)
        TextFont="UT2SmallFont"
    End Object
    l_Warning=InvalidWarning


    Begin Object class=GUILabel Name=EpicID
		WinWidth=0.888991
		WinHeight=0.067703
		WinLeft=0.054907
		WinTop=0.858220
        Caption="Your Unique id is:"
        TextAlign=TXTA_Center
        bMultiLine=false
        StyleName="TextLabel"
        RenderWeight=0.2
    End Object
    l_ID=EpicID


    NetSpeedText(0)="Modem"
    NetSpeedText(1)="ISDN"
    NetSpeedText(2)="Cable/ADSL"
    NetSpeedText(3)="LAN/T1"


    StatsURL="http://ut2004stats.epicgames.com/"
    EpicIDMsg="Your Unique id is:"


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


    PanelCaption="Game"
}

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