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

GUI2K4.UT2K4Tab_HudSettings

Extends
Settings_Tabs

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

Variables Summary
GUIButtonb_CustomHUD
moCheckBoxch_CustomColor
moCheckBoxch_DeathMsgs
moCheckBoxch_EnemyNames
moCheckBoxch_Personal
moCheckBoxch_Portraits
moCheckBoxch_Score
moCheckBoxch_VCPortraits
moCheckBoxch_Visible
moCheckBoxch_WeaponBar
moCheckBoxch_Weapons
GUIComboBoxco_CustomHUD
array<CacheManager.GameRecord>Games
GUISectionBackgroundi_BG1
GUISectionBackgroundi_BG2
GUIImagei_Preview
GUIImagei_PreviewBG
GUIImagei_Scale
moNumericEditnu_MsgCount
moNumericEditnu_MsgOffset
moNumericEditnu_MsgScale
moSlidersl_Blue
moSlidersl_Green
moSlidersl_Opacity
moSlidersl_Red
moSlidersl_Scale
UT2K4Tab_HudSettings
boolbCustomColor
boolbNames
boolbNoMsgs
boolbPersonal
boolbPortraits
boolbScore
boolbVCPortraits
boolbVis
boolbWeaponBar
boolbWeapons
colorcCustom
floatboxDefaultBGPos
floatboxDefaultHealthPos
floatfOpacity
floatfScale
intiCount
intiOffset
intiScale
Inherited Variables from GUI2K4.Settings_Tabs
bAlwaysApply, bExpert, bNeedApply, PerformanceWarningMenu, PerformanceWarningText, Setting, t_Footer, WarningCounter, WarningLength

Functions Summary
function ChangeCustomStatus ()))
functioncolor GetDefaultColor ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InitializeHUDColor ()))
function InternalOnChange (GUIComponent Sender))
functionbool InternalOnClick (GUIComponent Sender))
function InternalOnLoadINI (GUIComponent Sender, string s))
function ResetClicked ()))
functionbool SaveCustomHUDColor ()))
function SaveSettings ()))
function UpdatePreviewColor ()))
functionbool UsingCustomColor ()))
Inherited Functions from GUI2K4.Settings_Tabs
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer


Variables Detail

b_CustomHUD Source code

var automated GUIButton b_CustomHUD;

ch_CustomColor Source code

var automated moCheckBox ch_CustomColor;

ch_DeathMsgs Source code

var automated moCheckBox ch_DeathMsgs;

ch_EnemyNames Source code

var automated moCheckBox ch_EnemyNames;

ch_Personal Source code

var automated moCheckBox ch_Personal;

ch_Portraits Source code

var automated moCheckBox ch_Portraits;

ch_Score Source code

var automated moCheckBox ch_Score;

ch_VCPortraits Source code

var automated moCheckBox ch_VCPortraits;

ch_Visible Source code

var automated moCheckBox ch_Visible;

ch_WeaponBar Source code

var automated moCheckBox ch_WeaponBar;

ch_Weapons Source code

var automated moCheckBox ch_Weapons;

co_CustomHUD Source code

var automated GUIComboBox co_CustomHUD;

Games Source code

var array<CacheManager.GameRecord> Games;

i_BG1 Source code

var automated GUISectionBackground i_BG1;

i_BG2 Source code

var automated GUISectionBackground i_BG2;

i_Preview Source code

var automated GUIImage i_Preview;

i_PreviewBG Source code

var automated GUIImage i_PreviewBG;

i_Scale Source code

var automated GUIImage i_Scale;

nu_MsgCount Source code

var automated moNumericEdit nu_MsgCount;

nu_MsgOffset Source code

var automated moNumericEdit nu_MsgOffset;

nu_MsgScale Source code

var automated moNumericEdit nu_MsgScale;

sl_Blue Source code

var automated moSlider sl_Blue;

sl_Green Source code

var automated moSlider sl_Green;

sl_Opacity Source code

var automated moSlider sl_Opacity;

sl_Red Source code

var automated moSlider sl_Red;

sl_Scale Source code

var automated moSlider sl_Scale;

UT2K4Tab_HudSettings

bCustomColor Source code

var(UT2K4Tab_HudSettings) bool bCustomColor;

bNames Source code

var(UT2K4Tab_HudSettings) bool bNames;

bNoMsgs Source code

var(UT2K4Tab_HudSettings) bool bNoMsgs;

bPersonal Source code

var(UT2K4Tab_HudSettings) bool bPersonal;

bPortraits Source code

var(UT2K4Tab_HudSettings) bool bPortraits;

bScore Source code

var(UT2K4Tab_HudSettings) bool bScore;

bVCPortraits Source code

var(UT2K4Tab_HudSettings) bool bVCPortraits;

bVis Source code

var(UT2K4Tab_HudSettings) bool bVis;

bWeaponBar Source code

var(UT2K4Tab_HudSettings) bool bWeaponBar;

bWeapons Source code

var(UT2K4Tab_HudSettings) bool bWeapons;

cCustom Source code

var(UT2K4Tab_HudSettings) color cCustom;

DefaultBGPos Source code

var(UT2K4Tab_HudSettings) floatbox DefaultBGPos;

DefaultHealthPos Source code

var(UT2K4Tab_HudSettings) floatbox DefaultHealthPos;

fOpacity Source code

var(UT2K4Tab_HudSettings) float fOpacity;

fScale Source code

var(UT2K4Tab_HudSettings) float fScale;

iCount Source code

var(UT2K4Tab_HudSettings) int iCount;

iOffset Source code

var(UT2K4Tab_HudSettings) int iOffset;

iScale Source code

var(UT2K4Tab_HudSettings) int iScale;


Functions Detail

ChangeCustomStatus Source code

function ChangeCustomStatus ( ) )

GetDefaultColor Source code

function color GetDefaultColor ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InitializeHUDColor Source code

function InitializeHUDColor ( ) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender) )

InternalOnLoadINI Source code

function InternalOnLoadINI ( GUIComponent Sender, string s) )

ResetClicked Source code

function ResetClicked ( ) )

SaveCustomHUDColor Source code

function bool SaveCustomHUDColor ( ) )

SaveSettings Source code

function SaveSettings ( ) )

UpdatePreviewColor Source code

function UpdatePreviewColor ( ) )

UsingCustomColor Source code

function bool UsingCustomColor ( ) )


Defaultproperties

defaultproperties
{
 	Begin Object class=GUISectionBackground Name=GameBK
		WinWidth=0.448633
		WinHeight=0.901485
		WinLeft=0.031797
		WinTop=0.057604
        RenderWeight=0.001
		Caption="Options"
	End Object
	i_BG1=GameBK


	Begin Object class=GUISectionBackground Name=GameBK1
		WinWidth=0.448633
		WinHeight=0.901485
		WinLeft=0.517578
		WinTop=0.060208
        Caption="Visuals"
        RenderWeight=0.001
	End Object
	i_BG2=GameBK1


	Begin Object class=moCheckBox Name=GameHudVisible
		WinWidth=0.196875
		WinLeft=0.379297
		WinTop=0.043906
		Caption="Hide HUD"
		INIOption="@Internal"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		Hint="Hide the HUD while playing"
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		bAutoSizeCaption=True
		TabOrder=0
	End Object
	ch_Visible=GameHudVisible


	Begin Object class=moCheckBox Name=GameHudShowEnemyNames
		WinWidth=0.378125
		WinLeft=0.050000
		WinTop=0.848594
		Caption="Show Enemy Names"
		Hint="Display enemies' names above their heads"
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		bAutoSizeCaption=True
		INIOption="@Internal"
		TabOrder=1
	End Object
	ch_EnemyNames=GameHudShowEnemyNames


	Begin Object class=moCheckBox Name=GameHudShowWeaponBar
		WinWidth=0.378125
		WinLeft=0.050000
		WinTop=0.598593
		Caption="Weapon Bar"
		Hint="Select whether the weapons bar should appear on the HUD"
		CaptionWidth=0.9
		ComponentJustification=TXTA_Left
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		bAutoSizeCaption=True
		TabOrder=2
	End Object
	ch_WeaponBar=GameHudShowWeaponBar


	Begin Object class=moCheckBox Name=GameHudShowWeaponInfo
		WinWidth=0.378125
		WinLeft=0.050000
		WinTop=0.181927
		Caption="Show Weapon Info"
		Hint="Show current weapon ammunition status."
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		bAutoSizeCaption=True
		INIOption="@Internal"
		TabOrder=3
	End Object
	ch_Weapons=GameHudShowWeaponInfo


	Begin Object class=moCheckBox Name=GameHudShowPersonalInfo
		WinWidth=0.378125
		WinLeft=0.050000
		WinTop=0.317343
		Caption="Show Personal Info"
		Hint="Display health and armor on the HUD."
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		bAutoSizeCaption=True
		INIOption="@Internal"
		TabOrder=4
	End Object
	ch_Personal=GameHudShowPersonalInfo


   	Begin Object class=moCheckBox Name=GameHudShowScore
		WinWidth=0.378125
		WinLeft=0.050000
		WinTop=0.452760
		Caption="Show Score"
		Hint="Check to show scores on the HUD"
		CaptionWidth=0.9
		bSquare=true
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		bAutoSizeCaption=True
		INIOption="@Internal"
		ComponentJustification=TXTA_Left
		TabOrder=5
	End Object
	ch_Score=GameHudShowScore


	Begin Object class=moCheckBox Name=GameHudShowPortraits
		WinWidth=0.378125
		WinLeft=0.050000
		WinTop=0.723594
		Caption="Show Portraits"
		Hint="Display player portraits when text messages are received"
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		bAutoSizeCaption=True
		TabOrder=6
	End Object
	ch_Portraits=GameHudShowPortraits


	Begin Object Class=moCheckBox name=GameHUDShowVCPortraits
		WinWidth=0.378125
		WinLeft=0.050000
		WinTop=0.723594
		Caption="Show VoIP Portraits"
		Hint="Display player portraits when voice chat messages are received"
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		bAutoSizeCaption=True
		TabOrder=7
	End Object
	ch_VCPortraits=GameHUDShowVCPortraits


    Begin Object class=moCheckBox Name=GameDeathMsgs
        WinWidth=0.403711
        WinLeft=0.047460
        WinTop=0.847553
        Caption="No Console Death Messages"
        Hint="Turn off reporting of death messages in console"
        CaptionWidth=0.9
        bSquare=True
        ComponentJustification=TXTA_Left
        OnLoadINI=InternalOnLoadINI
        OnChange=InternalOnChange
        INIOption="@Internal"
        INIDefault="False"
        bAutoSizeCaption=True
        TabOrder=8
    End Object
    ch_DeathMsgs=GameDeathMsgs


	Begin Object class=moNumericEdit Name=GameHudMessageCount
		WinWidth=0.381250
		WinLeft=0.550781
		WinTop=0.196875
		Caption="Max. Chat Count"
		CaptionWidth=0.7
		MinValue=0
		MaxValue=8
		ComponentJustification=TXTA_Left
		Hint="Number of lines of chat to display at once"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		bAutoSizeCaption=True
		TabOrder=9
	End Object
	nu_MsgCount=GameHudMessageCount


	Begin Object class=moNumericEdit Name=GameHudMessageScale
		WinWidth=0.381250
		WinLeft=0.550781
		WinTop=0.321874
		Caption="Chat Font Size"
		CaptionWidth=0.7
		MinValue=0
		MaxValue=8
		ComponentJustification=TXTA_Left
		Hint="Adjust the size of chat messages."
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		bAutoSizeCaption=True
		TabOrder=10
	End Object
	nu_MsgScale=GameHudMessageScale


	Begin Object class=moNumericEdit Name=GameHudMessageOffset
 		WinWidth=0.381250
		WinLeft=0.550781
		WinTop=0.436457
		Caption="Message Font Offset"
		CaptionWidth=0.7
		MinValue=0
		MaxValue=4
		ComponentJustification=TXTA_Left
		Hint="Adjust the size of game messages."
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		INIOption="@Internal"
		bAutoSizeCaption=True
		TabOrder=11
	End Object
	nu_MsgOffset=GameHudMessageOffset


	Begin Object class=moSlider Name=GameHudScale
		WinWidth=0.373749
		WinLeft=0.555313
		WinTop=0.309670
		MinValue=50
		MaxValue=100
		Caption="HUD Scaling"
		LabelColor=(R=255,G=255,B=255,A=255)
		LabelJustification=TXTA_Center
		ComponentJustification=TXTA_Left
		OnChange=InternalOnChange
		Hint="Adjust the size of the HUD"
		bAutoSizeCaption=True
		CaptionWidth=0.45
		ComponentWidth=-1
		TabOrder=12
	End Object
	sl_Scale=GameHudScale



	Begin Object class=moSlider Name=GameHudOpacity
		WinWidth=0.373749
		WinLeft=0.555313
		WinTop=0.361753
		MinValue=51
		MaxValue=100
		Caption="HUD Opacity"
		LabelColor=(R=255,G=255,B=255,A=255)
		LabelJustification=TXTA_Center
		ComponentJustification=TXTA_Left
		OnChange=InternalOnChange
		Hint="Adjust the transparency of the HUD"
		bAutoSizeCaption=True
		TabOrder=13
		CaptionWidth=0.45
		ComponentWidth=-1
	End Object
	sl_Opacity=GameHudOpacity


	Begin Object class=moCheckBox Name=CustomHUDColor
		WinWidth=0.373749
		WinLeft=0.555313
		WinTop=0.481406
		Caption="Custom HUD Color"
		INIOption="@Internal"
		OnLoadINI=InternalOnLoadINI
		OnChange=InternalOnChange
		Hint="Use configured HUD color instead of team colors"
		CaptionWidth=0.9
		bSquare=true
		ComponentJustification=TXTA_Left
		bAutoSizeCaption=True
		TabOrder=14
	End Object
	ch_CustomColor=CustomHUDColor


	Begin Object class=moSlider Name=HudColorR
		WinWidth=0.272187
		WinLeft=0.610000
		WinTop=0.572917
		MinValue=0
		MaxValue=255
		Caption="Red:"
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		CaptionWidth=0.35
		ComponentWidth=-1
		LabelColor=(R=255,G=0,B=0,A=255)
		Hint="Adjust the amount of red in the HUD."
		OnChange=InternalOnChange
       	bIntSlider=true
		bAutoSizeCaption=True
       	TabOrder=15
	End Object
	sl_Red=HudColorR


	Begin Object class=moSlider Name=HudColorB
		WinWidth=0.272187
		WinLeft=0.610000
		WinTop=0.752500
		MinValue=0
		MaxValue=255
		Caption="Blue:"
		LabelColor=(R=0,G=0,B=255,A=255)
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		CaptionWidth=0.35
		ComponentWidth=-1
		OnChange=InternalOnChange
		Hint="Adjust the amount of blue in the HUD."
        bIntSlider=true
		bAutoSizeCaption=True
        TabOrder=16
	End Object
	sl_Blue=HudColorB


	Begin Object class=moSlider Name=HudColorG
		WinWidth=0.272187
		WinLeft=0.610000
		WinTop=0.660417
		MinValue=0
		MaxValue=255
		LabelJustification=TXTA_Left
		ComponentJustification=TXTA_Right
		CaptionWidth=0.35
		ComponentWidth=-1
		LabelColor=(R=0,G=255,B=0,A=255)
		Caption="Green:"
		Hint="Adjust the amount of green in the HUD."
		OnChange=InternalOnChange
        bIntSlider=true
 		bAutoSizeCaption=True
       TabOrder=17
	End Object
	sl_Green=HudColorG


	Begin Object Class=GUIComboBox Name=CustomHUDSelect
		Hint="To configure settings specific to a particular gametype, select the gametype from the list, then click the button to open the menu."
		WinWidth=0.227863
		WinHeight=0.030000
		WinLeft=0.553579
		WinTop=0.878722
		TabOrder=18
		bReadOnly=True
	End Object
	co_CustomHUD=CustomHUDSelect


	Begin Object Class=GUIButton Name=CustomHUDButton
		Caption="Configure"
		Hint="Opens the custom HUD configuration menu for the specified gametype."
		WinWidth=0.138577
		WinHeight=0.050000
		WinLeft=0.792737
		WinTop=0.869032
		TabOrder=19
		OnClick=InternalOnClick
	End Object
	b_CustomHUD=CustomHUDButton


	DefaultBGPos=(X1=0.749335,X2=0.163437,Y1=0.167488,Y2=0.121797)
	DefaultHealthPos=(X1=0.748164,X2=0.063241,Y1=0.169572,Y2=0.099531)


	Begin Object Class=GUIImage Name=PreviewBK
		Image=Material'2K4Menus.NewControls.NewTabBK'
		WinWidth=0.163437
		WinHeight=0.121797
		WinLeft=0.749335
		WinTop=0.211713
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=255)
		ImageAlign=IMGA_Center
		RenderWeight=1.001
	End Object
	i_Scale=PreviewBK;


	Begin Object Class=GUIImage Name=PreviewBackground
		Image=Material'HUDContent.Generic.HUD'
		WinWidth=0.163437
		WinHeight=0.121797
		WinLeft=0.749335
		WinTop=0.211713
		X1=0
		Y1=110
		X2=166
		Y2=163
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=255)
		ImageAlign=IMGA_Center
		RenderWeight=1.002
	End Object
	i_PreviewBG=PreviewBackground


	Begin Object Class=GUIImage Name=Preview
		Image=Material'HUDContent.Generic.HUD'
		WinWidth=0.063241
		WinHeight=0.099531
		WinLeft=0.749828
		WinTop=0.211559
		X1=74
		Y1=165
		X2=123
		Y2=216
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=255)
		RenderWeight=1.003
		ImageAlign=IMGA_Center
	End Object
	i_Preview=Preview


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


	PanelCaption="HUD"
}

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