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
Inherited Functions from GUI2K4.Settings_Tabs |
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer |
var bool bAim;
var bool bAuto;
var bool bBob;
var bool bClassicTrans;
var bool bDodge;
var bool bDynNet;
var bool bLandShake;
var bool bLandShakeD;
var bool bPrecache;
var bool bSpeechRec;
var bool bStats;
var localized string EpicIDMsg;
var int iGore;
var int iNetspeed;
var int iNetSpeedD;
var localized string NetSpeedText[4];
var string sName;
var string sPassword;
var localized string StatsURL;
function string FormatID ( string id )
function InternalOnLoadINI (
GUIComponent Sender,
string s )
function ResetClicked ( )
function SaveSettings ( )
function ShowPanel ( bool bShow )
function UpdateStatsItems ( )
function bool ValidStatConfig ( )
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
}
|
Creation time: Wed 7/2/2007 19:16:23.812 - Created with
UnCodeX