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
{

	Begin Object class=GUISectionBackground Name=PlayerBK1
		WinWidth=0.446758
		WinHeight=0.963631
		WinLeft=0.004063
		WinTop=0.017969
        Caption="3D View"
	End Object
	i_BG1=PlayerBK1


	Begin Object class=GUISectionBackground Name=PlayerBK2
		WinWidth=0.531719
		WinHeight=0.573006
		WinLeft=0.463047
		WinTop=0.017969
        Caption="Misc."
	End Object
	i_BG2=PlayerBK2


	Begin Object class=GUISectionBackground Name=PlayerBK3
		WinWidth=0.531719
		WinHeight=0.372811
		WinLeft=0.463047
		WinTop=0.610417
        Caption="Biography"
		LeftPadding=0.02
		RightPadding=0.02
		TopPadding=0.02
		BottomPadding=0.02
        bFillClient=true
	End Object
	i_BG3=PlayerBK3


	Begin Object Class=GUIComboBox Name=SkinPreview
		WinWidth=0.346258
		WinLeft=0.053531
		WinHeight=0.03
		WinTop=0.111470
		Hint="Show how the model looks using the selected skin."
		TabOrder=0
        bReadOnly=true
        bVisible=true
        OnChange=InternalOnChange
	End Object
	co_SkinPreview=SkinPreview


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


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


	Begin Object class=moEditBox Name=PlayerName
		WinWidth=0.373242
		WinLeft=0.301757
		WinTop=0.076042
		Caption="Name"
		INIOption="@INTERNAL"
		INIDefault="Player"
		OnLoadINI=InternalOnLoadINI
		Hint="Changes the alias you play as."
		CaptionWidth=0.5
		bAutoSizeCaption=True
		TabOrder=3
	End Object
	ed_Name=PlayerName


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


	Begin Object class=moNumericEdit Name=PlayerFOV
		WinWidth=0.266797
		WinLeft=0.705430
		WinTop=0.076042
		Caption="Default FOV"
		CaptionWidth=0.7
		MinValue=80
		MaxValue=100
		INIOption="@INTERNAL"
		INIDefault="85"
		OnLoadINI=InternalOnLoadINI
		ComponentJustification=TXTA_Left
		Hint="This value will change your field of view while playing."
		bHeightFromComponent=false
		TabOrder=5
	End Object
	nu_FOV=PlayerFOV


	Begin Object class=moComboBox Name=PlayerTeam
		WinWidth=0.374219
		WinLeft=0.301757
		WinTop=0.150261
		Caption="Preferred Team"
		INIOption="@Internal"
		INIDefault="Red"
		OnLoadINI=InternalOnLoadINI
		Hint="Changes the team you will play on by default."
		CaptionWidth=0.7
		ComponentJustification=TXTA_Left
		bAutoSizeCaption=True
		TabOrder=6
		bReadOnly=True
	End Object
	co_Team=PlayerTeam


	Begin Object class=moComboBox Name=PlayerHand
		WinWidth=0.264766
		WinLeft=0.705430
		WinTop=0.212761
		Caption="Weapon Hand"
		INIOption="@INTERNAL"
		INIDefault="Right"
		OnLoadINI=InternalOnLoadINI
		Hint="Changes whether your weapon is visible."
		CaptionWidth=0.7
		ComponentJustification=TXTA_Left
		bAutoSizeCaption=True
		TabOrder=7
		bReadOnly=True
	End Object
	co_Hand=PlayerHand


	Begin Object class=moCheckBox Name=PlayerSmallWeap
		WinWidth=0.266797
		WinLeft=0.705430
		WinTop=0.150261
		Caption="Small Weapons"
		OnLoadINI=InternalOnLoadINI
		INIOption="@Internal"
		INIDefault="False"
		Hint="Makes your first person weapon smaller."
		CaptionWidth=0.94
		bSquare=true
		bHeightFromComponent=false
		ComponentJustification=TXTA_Right
		TabOrder=8
	End Object
	ch_SmallWeaps=PlayerSmallWeap



	Begin Object Class=GUIScrollTextBox Name=PlayerScroll
		WinWidth=0.686915
		WinHeight=0.260351
		WinLeft=0.291288
		WinTop=0.321365
		CharDelay=0.0025
		EOLDelay=0.5
		TabOrder=9
        StyleName="NoBackground"
	End Object
	lb_Scroll=PlayerScroll


	Begin Object class=GUIImage Name=PlayerPortrait
		WinWidth=0.334368
		WinHeight=0.798132
		WinLeft=0.057016
		WinTop=0.094895
		Image=Material'2K4Menus.Controls.thinpipe_b'
		ImageColor=(R=255,G=255,B=255,A=255)
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Scaled
        RenderWeight=0.3
        OnLoadINI=InternalOnLoadINI
        IniOption="@Internal"
        OnDraw=InternalDraw
	End Object
	i_Portrait=PlayerPortrait


	Begin Object class=GUIButton Name=DropTarget
		WinWidth=0.427141
		WinHeight=0.798132
		WinLeft=0.013071
		WinTop=0.114426
		Caption=""
		Hint=""
        bNeverFocus=true
        StyleName="NoBackground"
        bDropTarget=true
        bCaptureMouse=true
        OnCapturedMouseMove=RaceCapturedMouseMove
        MouseCursorIndex=5
        bTabStop=false
	End Object
	b_DropTarget=DropTarget


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


	HandNames(0)="Left"
	HandNames(1)="Center"
	HandNames(2)="Right"
	HandNames(3)="Hidden"


	TeamNames(0)="Red"
	TeamNames(1)="Blue"
	TeamNames(2)="None"


	PanelCaption="Player"


	SpinnyDudeOffset=(X=70,Y=0,Z=0)
	ShowBioCaption="Portrait"
	Show3DViewCaption="3D View"
	DefaultText="Default"
    ClickInst="Double-Click or drag to select"
    All="All"
    nFov=65


    Previews(0)="View Normal Skin"
    Previews(1)="View Red Skin"
    Previews(2)="View Blue Skin"


}

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