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

GUI2K4.UT2K4Tab_PlayerSettings

Extends
Settings_Tabs

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

Variables Summary
stringAll
boolbChanged
GUIButtonb_3DView
GUIButtonb_DropTarget
GUIButtonb_Left
GUIButtonb_Pick
GUIButtonb_Right
moCheckBoxch_SmallWeaps
stringClickInst
moComboBoxco_Hand
GUIComboBoxco_SkinPreview
moComboBoxco_Team
moComboBoxco_Voice
stringDefaultText
moEditBoxed_Name
stringHandNames[4]
GUISectionBackgroundi_BG1
GUISectionBackgroundi_BG2
GUISectionBackgroundi_BG3
GUIImagei_Portrait
GUILabellbl_ModelName
GUIScrollTextBoxlb_Scroll
moNumericEditnu_FOV
stringOriginalTeam
stringPreviews[3]
stringShow3DViewCaption
stringShowBioCaption
stringTeamNames[3]
array<class<xVoicePack>>VoiceClasses
UT2K4Tab_PlayerSettings
boolbRenderDude
boolbWeaps
boolbWeapsD
intiFOV
intiFOVD
intiHand
intiHandD
intiTeam
intiTeamD
intnfov
xUtil.PlayerRecordPlayerRec
stringsChar
stringsCharD
stringsName
stringsNameD
SpinnyWeapSpinnyDude
vectorSpinnyDudeOffset
stringsVoice
stringsVoiceD
intYawValue
Inherited Variables from GUI2K4.Settings_Tabs
bAlwaysApply, bExpert, bNeedApply, PerformanceWarningMenu, PerformanceWarningText, Setting, t_Footer, WarningCounter, WarningLength

Delegates Summary
delegate VoiceTypeChanged (string NewVoiceType)

Functions Summary
event Closed (GUIComponent Sender, bool bCancelled)
function Free ()
function InitComponent (GUIController MyController, GUIComponent MyOwner)
functionbool InternalDraw (Canvas canvas)
function InternalOnChange (GUIComponent Sender)
function InternalOnLoadINI (GUIComponent Sender, string s)
function logspinnydude ()
function ModelSelectClosed (optional bool bCancelled)
functionbool NextAnim (GUIComponent Sender)
event Opened (GUIComponent Sender)
functionbool PickModel (GUIComponent Sender)
function PreviewVoice (class<xVoicePack> NewVoiceClass)
functionbool RaceCapturedMouseMove (float deltaX, float deltaY)
function ResetClicked ()
function SaveSettings ()
function SetPlayerRec ()
function ShowPanel (bool bShow)
function ShowSpinnyDude ()
functionbool Toggle3DView (GUIComponent Sender)
function UpdateScroll ()
function UpdateSpinnyDude ()
function UpdateVoiceOptions ()
Inherited Functions from GUI2K4.Settings_Tabs
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer


Variables Detail

All Source code

var localized string All;

bChanged Source code

var bool bChanged;

b_3DView Source code

var automated GUIButton b_3DView;

b_DropTarget Source code

var automated GUIButton b_DropTarget;

b_Left Source code

var automated GUIButton b_Left;

b_Pick Source code

var automated GUIButton b_Pick;

b_Right Source code

var automated GUIButton b_Right;

ch_SmallWeaps Source code

var automated moCheckBox ch_SmallWeaps;

ClickInst Source code

var localized string ClickInst;

co_Hand Source code

var automated moComboBox co_Hand;

co_SkinPreview Source code

var automated GUIComboBox co_SkinPreview;

co_Team Source code

var automated moComboBox co_Team;

co_Voice Source code

var automated moComboBox co_Voice;

DefaultText Source code

var localized string DefaultText;

ed_Name Source code

var automated moEditBox ed_Name;

HandNames[4] Source code

var localized string HandNames[4];

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_Portrait Source code

var automated GUIImage i_Portrait;

lbl_ModelName Source code

var automated GUILabel lbl_ModelName;

lb_Scroll Source code

var automated GUIScrollTextBox lb_Scroll;

nu_FOV Source code

var automated moNumericEdit nu_FOV;

OriginalTeam Source code

var string OriginalTeam;

Previews[3] Source code

var localized string Previews[3];

Show3DViewCaption Source code

var localized string Show3DViewCaption;

ShowBioCaption Source code

var localized string ShowBioCaption;

TeamNames[3] Source code

var localized string TeamNames[3];

VoiceClasses Source code

var array<class<xVoicePack>> VoiceClasses;

UT2K4Tab_PlayerSettings

bRenderDude Source code

var(UT2K4Tab_PlayerSettings) bool bRenderDude;

bWeaps Source code

var(UT2K4Tab_PlayerSettings) bool bWeaps;

bWeapsD Source code

var(UT2K4Tab_PlayerSettings) bool bWeapsD;

iFOV Source code

var(UT2K4Tab_PlayerSettings) int iFOV;

iFOVD Source code

var(UT2K4Tab_PlayerSettings) int iFOVD;

iHand Source code

var(UT2K4Tab_PlayerSettings) int iHand;

iHandD Source code

var(UT2K4Tab_PlayerSettings) int iHandD;

iTeam Source code

var(UT2K4Tab_PlayerSettings) int iTeam;

iTeamD Source code

var(UT2K4Tab_PlayerSettings) int iTeamD;

nfov Source code

var(UT2K4Tab_PlayerSettings) int nfov;

PlayerRec Source code

var(UT2K4Tab_PlayerSettings) xUtil.PlayerRecord PlayerRec;

sChar Source code

var(UT2K4Tab_PlayerSettings) string sChar;

sCharD Source code

var(UT2K4Tab_PlayerSettings) string sCharD;

sName Source code

var(UT2K4Tab_PlayerSettings) string sName;

sNameD Source code

var(UT2K4Tab_PlayerSettings) string sNameD;

SpinnyDude Source code

var(UT2K4Tab_PlayerSettings) editinline editconst noexport SpinnyWeap SpinnyDude;

SpinnyDudeOffset Source code

var(UT2K4Tab_PlayerSettings) vector SpinnyDudeOffset;

sVoice Source code

var(UT2K4Tab_PlayerSettings) string sVoice;

sVoiceD Source code

var(UT2K4Tab_PlayerSettings) string sVoiceD;

YawValue Source code

var(UT2K4Tab_PlayerSettings) int YawValue;


Delegates Detail

VoiceTypeChanged Source code

delegate VoiceTypeChanged ( string NewVoiceType )


Functions Detail

Closed Source code

event Closed ( GUIComponent Sender, bool bCancelled )

Free Source code

function Free ( )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InternalDraw Source code

function bool InternalDraw ( Canvas canvas )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender )

InternalOnLoadINI Source code

function InternalOnLoadINI ( GUIComponent Sender, string s )

logspinnydude Source code

function logspinnydude ( )

ModelSelectClosed Source code

function ModelSelectClosed ( optional bool bCancelled )

NextAnim Source code

function bool NextAnim ( GUIComponent Sender )

Opened Source code

event Opened ( GUIComponent Sender )

PickModel Source code

function bool PickModel ( GUIComponent Sender )

PreviewVoice Source code

function PreviewVoice ( class<xVoicePack> NewVoiceClass )

RaceCapturedMouseMove Source code

function bool RaceCapturedMouseMove ( float deltaX, float deltaY )

ResetClicked Source code

function ResetClicked ( )

SaveSettings Source code

function SaveSettings ( )

SetPlayerRec Source code

function SetPlayerRec ( )

ShowPanel Source code

function ShowPanel ( bool bShow )

ShowSpinnyDude Source code

function ShowSpinnyDude ( )

Toggle3DView Source code

function bool Toggle3DView ( GUIComponent Sender )

UpdateScroll Source code

function UpdateScroll ( )

UpdateSpinnyDude Source code

function UpdateSpinnyDude ( )

UpdateVoiceOptions Source code

function UpdateVoiceOptions ( )


Defaultproperties

defaultproperties
{
     HandNames(0)="Left"
     HandNames(1)="Center"
     HandNames(2)="Right"
     HandNames(3)="Hidden"
     TeamNames(0)="Red"
     TeamNames(1)="Blue"
     TeamNames(2)="None"
     ClickInst="Double-Click or drag to select"
     All="All"
     Previews(0)="View Normal Skin"
     Previews(1)="View Red Skin"
     Previews(2)="View Blue Skin"
     SpinnyDudeOffset=(X=70.000000)
     ShowBioCaption="Portrait"
     Show3DViewCaption="3D View"
     DefaultText="Default"
     Begin Object Class=GUISectionBackground Name=PlayerBK1
         Caption="3D View"
         WinTop=0.017969
         WinLeft=0.004063
         WinWidth=0.446758
         WinHeight=0.963631
         OnPreDraw=PlayerBK1.InternalPreDraw
     End Object
     i_BG1=GUISectionBackground'GUI2K4.UT2K4Tab_PlayerSettings.PlayerBK1'

     Begin Object Class=GUISectionBackground Name=PlayerBK2
         Caption="Misc."
         WinTop=0.017969
         WinLeft=0.463047
         WinWidth=0.531719
         WinHeight=0.573006
         OnPreDraw=PlayerBK2.InternalPreDraw
     End Object
     i_BG2=GUISectionBackground'GUI2K4.UT2K4Tab_PlayerSettings.PlayerBK2'

     Begin Object Class=GUISectionBackground Name=PlayerBK3
         bFillClient=True
         Caption="Biography"
         LeftPadding=0.020000
         RightPadding=0.020000
         TopPadding=0.020000
         BottomPadding=0.020000
         WinTop=0.610417
         WinLeft=0.463047
         WinWidth=0.531719
         WinHeight=0.372811
         OnPreDraw=PlayerBK3.InternalPreDraw
     End Object
     i_BG3=GUISectionBackground'GUI2K4.UT2K4Tab_PlayerSettings.PlayerBK3'

     Begin Object Class=GUIImage Name=PlayerPortrait
         Image=Texture'2K4Menus.Controls.thinpipe_b'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         IniOption="@Internal"
         WinTop=0.094895
         WinLeft=0.057016
         WinWidth=0.334368
         WinHeight=0.798132
         RenderWeight=0.300000
         OnDraw=UT2K4Tab_PlayerSettings.InternalDraw
         OnLoadINI=UT2K4Tab_PlayerSettings.InternalOnLoadINI
     End Object
     i_Portrait=GUIImage'GUI2K4.UT2K4Tab_PlayerSettings.PlayerPortrait'

     Begin Object Class=GUIButton Name=bPickModel
         Caption="Change Character"
         Hint="Select a new Character."
         WinTop=0.901559
         WinLeft=0.177174
         WinWidth=0.233399
         WinHeight=0.050000
         TabOrder=2
         OnClick=UT2K4Tab_PlayerSettings.PickModel
         OnKeyEvent=bPickModel.InternalOnKeyEvent
     End Object
     b_Pick=GUIButton'GUI2K4.UT2K4Tab_PlayerSettings.bPickModel'

     Begin Object Class=GUIButton Name=Player3DView
         Caption="3D View"
         Hint="Toggle between 3D view and portrait of character."
         WinTop=0.901559
         WinLeft=0.043685
         WinWidth=0.130720
         WinHeight=0.050000
         TabOrder=1
         OnClick=UT2K4Tab_PlayerSettings.Toggle3DView
         OnKeyEvent=Player3DView.InternalOnKeyEvent
     End Object
     b_3DView=GUIButton'GUI2K4.UT2K4Tab_PlayerSettings.Player3DView'

     Begin Object Class=GUIButton Name=DropTarget
         StyleName="NoBackground"
         WinTop=0.114426
         WinLeft=0.013071
         WinWidth=0.427141
         WinHeight=0.798132
         MouseCursorIndex=5
         bTabStop=False
         bNeverFocus=True
         bDropTarget=True
         OnKeyEvent=DropTarget.InternalOnKeyEvent
         OnCapturedMouseMove=UT2K4Tab_PlayerSettings.RaceCapturedMouseMove
     End Object
     b_DropTarget=GUIButton'GUI2K4.UT2K4Tab_PlayerSettings.DropTarget'

     Begin Object Class=GUIScrollTextBox Name=PlayerScroll
         CharDelay=0.002500
         EOLDelay=0.500000
         OnCreateComponent=PlayerScroll.InternalOnCreateComponent
         WinTop=0.321365
         WinLeft=0.291288
         WinWidth=0.686915
         WinHeight=0.260351
         TabOrder=9
     End Object
     lb_Scroll=GUIScrollTextBox'GUI2K4.UT2K4Tab_PlayerSettings.PlayerScroll'

     Begin Object Class=moEditBox Name=PlayerName
         Caption="Name"
         OnCreateComponent=PlayerName.InternalOnCreateComponent
         IniOption="@INTERNAL"
         IniDefault="Player"
         Hint="Changes the alias you play as."
         WinTop=0.076042
         WinLeft=0.301757
         WinWidth=0.373242
         TabOrder=3
         OnLoadINI=UT2K4Tab_PlayerSettings.InternalOnLoadINI
     End Object
     ed_Name=moEditBox'GUI2K4.UT2K4Tab_PlayerSettings.PlayerName'

     Begin Object Class=moCheckBox Name=PlayerSmallWeap
         CaptionWidth=0.940000
         Caption="Small Weapons"
         OnCreateComponent=PlayerSmallWeap.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="False"
         Hint="Makes your first person weapon smaller."
         WinTop=0.150261
         WinLeft=0.705430
         WinWidth=0.266797
         TabOrder=8
         OnLoadINI=UT2K4Tab_PlayerSettings.InternalOnLoadINI
     End Object
     ch_SmallWeaps=moCheckBox'GUI2K4.UT2K4Tab_PlayerSettings.PlayerSmallWeap'

     Begin Object Class=moComboBox Name=PlayerTeam
         bReadOnly=True
         ComponentJustification=TXTA_Left
         CaptionWidth=0.700000
         Caption="Preferred Team"
         OnCreateComponent=PlayerTeam.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="Red"
         Hint="Changes the team you will play on by default."
         WinTop=0.150261
         WinLeft=0.301757
         WinWidth=0.374219
         TabOrder=6
         OnLoadINI=UT2K4Tab_PlayerSettings.InternalOnLoadINI
     End Object
     co_Team=moComboBox'GUI2K4.UT2K4Tab_PlayerSettings.PlayerTeam'

     Begin Object Class=moComboBox Name=PlayerHand
         bReadOnly=True
         ComponentJustification=TXTA_Left
         CaptionWidth=0.700000
         Caption="Weapon Hand"
         OnCreateComponent=PlayerHand.InternalOnCreateComponent
         IniOption="@INTERNAL"
         IniDefault="Right"
         Hint="Changes whether your weapon is visible."
         WinTop=0.212761
         WinLeft=0.705430
         WinWidth=0.264766
         TabOrder=7
         OnLoadINI=UT2K4Tab_PlayerSettings.InternalOnLoadINI
     End Object
     co_Hand=moComboBox'GUI2K4.UT2K4Tab_PlayerSettings.PlayerHand'

     Begin Object Class=moComboBox Name=VoiceType
         bReadOnly=True
         ComponentJustification=TXTA_Left
         Caption="Voice Type"
         OnCreateComponent=VoiceType.InternalOnCreateComponent
         IniOption="@Internal"
         Hint="Choose how your character's voice will sound in the game."
         WinTop=0.212761
         WinLeft=0.301757
         WinWidth=0.372266
         TabOrder=4
         OnLoadINI=UT2K4Tab_PlayerSettings.InternalOnLoadINI
     End Object
     co_Voice=moComboBox'GUI2K4.UT2K4Tab_PlayerSettings.VoiceType'

     Begin Object Class=moNumericEdit Name=PlayerFOV
         MinValue=80
         MaxValue=100
         ComponentJustification=TXTA_Left
         CaptionWidth=0.700000
         Caption="Default FOV"
         OnCreateComponent=PlayerFOV.InternalOnCreateComponent
         IniOption="@INTERNAL"
         IniDefault="85"
         Hint="This value will change your field of view while playing."
         WinTop=0.076042
         WinLeft=0.705430
         WinWidth=0.266797
         TabOrder=5
         OnLoadINI=UT2K4Tab_PlayerSettings.InternalOnLoadINI
     End Object
     nu_FOV=moNumericEdit'GUI2K4.UT2K4Tab_PlayerSettings.PlayerFOV'

     Begin Object Class=GUIComboBox Name=SkinPreview
         bReadOnly=True
         Hint="Show how the model looks using the selected skin."
         WinTop=0.111470
         WinLeft=0.053531
         WinWidth=0.346258
         WinHeight=0.030000
         TabOrder=0
         OnChange=UT2K4Tab_PlayerSettings.InternalOnChange
         OnKeyEvent=SkinPreview.InternalOnKeyEvent
     End Object
     co_SkinPreview=GUIComboBox'GUI2K4.UT2K4Tab_PlayerSettings.SkinPreview'

     nfov=65
     PanelCaption="Player"
     WinTop=0.150000
     WinHeight=0.720000
}

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