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

KFGui.KFMainMenu

Extends
UT2K4GUIPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- KFGui.KFMainMenu

Variables Summary
boolAcceptedEULA
boolbAllowClose
boolbMovingOnResume
boolbMovingOnSP
boolbMovingOnTraining
boolbNewNews
boolbOpenAlready
boolbOwnsCharacterDLC
boolbOwnsWeaponDLC
GUIButtonb_DLC
GUIButtonb_Host
GUIButtonb_InstantAction
GUIButtonb_ModsAndDemo
GUIButtonb_MultiPlayer
GUIButtonb_Profile
GUIButtonb_Quit
GUIButtonb_Settings
GUIButtonb_SinglePlayer
GUIButtonb_Workshop
stringCharacterDLCName
floatCharFade
floatCharFadeTime
array<material>CharShots
floatDesiredCharFade
stringDownloadedText
stringDownloadingText
boolFadeOut
floatFadeTime
stringFireWallMsg
stringFireWallTitle
BackgroundImagei_Background
BackgroundImagei_BkChar
GUIImagei_PanBig
GUIImagei_PanHuge
GUIImagei_PanSmall
GUIImagei_TV
GUIImagei_UT2Logo
GUIImagei_UT2Shader
FloatingImageKFBackground
FloatingImageKFBackgroundOverlay
TextureKFCharacterDLCHoverTexture
GUIImageKFCharacterDLCImage
GUIImageKFCharacterDLCOverlay
TextureKFCharacterDLCOverlayTexture
TextureKFCharacterDLCOwnedTexture
GUIImageKFLogoBit
GUILabelKFVersionNum
TextureKFWeaponDLCHoverTexture
GUIImageKFWeaponDLCImage
GUIImageKFWeaponDLCOverlay
TextureKFWeaponDLCOverlayTexture
TextureKFWeaponDLCOwnedTexture
GUILabelKFWorkshopDownload
stringNewNewsMsg
GUIButtonSelected
stringSteamMustBeRunningText
stringUnknownSteamErrorText
intWeaponBundle
intWeaponDLCID
array<int>WeaponDLCs
KFMainMenu
boolbNoInitDelay
stringMenuSong
Inherited Variables from XInterface.UT2K4GUIPage
BeepSound, FadeInSound, PopInSound, SlideInSound
Inherited Variables from XInterface.GUIPage
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers

Functions Summary
functionbool ButtonClick (GUIComponent Sender))
functionbool CanClose (optional bool bCancelled))
functionbool CharacterDLCButtonClicked (GUIComponent Sender))
functionbool CommunityDraw (canvas c))
functionint DetermineWeaponDLC ()))
functionbool DLCButtonDraw (Canvas Canvas))
functionint GetDLCListTextureIndex ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalOnOpen ()))
function MainReopened ()))
function MenuIn_Done (GUIComponent Sender, EAnimationType Type))
function MenuIn_OnArrival (GUIComponent Sender, EAnimationType Type))
function MenuOut_Done (GUIComponent Sender, EAnimationType Type))
function MoveOn ()))
functionbool MyKeyEvent (out byte Key, ut byte State, loat delta))
functionbool MyOnDraw (Canvas Canvas))
eventbool NotifyLevelChange ()))
function OnClose (optional Bool bCancelled))
function OnSteamStatsAndAchievementsReady ()))
event Opened (GUIComponent Sender))
function PlayPopSound (GUIComponent Sender, EAnimationType Type))
event Timer ()))
function UpdateDLCOwnership ()))
functionbool WeaponDLCButtonClicked (GUIComponent Sender))
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus


Variables Detail

AcceptedEULA Source code

var globalconfig bool AcceptedEULA;

bAllowClose Source code

var bool bAllowClose;

bMovingOnResume Source code

var bool bMovingOnResume;

bMovingOnSP Source code

var bool bMovingOnSP;

bMovingOnTraining Source code

var bool bMovingOnTraining;

bNewNews Source code

var bool bNewNews;

bOpenAlready Source code

var bool bOpenAlready;

bOwnsCharacterDLC Source code

var transient bool bOwnsCharacterDLC;

bOwnsWeaponDLC Source code

var transient bool bOwnsWeaponDLC;

b_DLC Source code

var automated GUIButton b_DLC;

b_Host Source code

var automated GUIButton b_Host;

b_InstantAction Source code

var automated GUIButton b_InstantAction;

b_ModsAndDemo Source code

var automated GUIButton b_ModsAndDemo;

b_MultiPlayer Source code

var automated GUIButton b_MultiPlayer;

b_Profile Source code

var automated GUIButton b_Profile;

b_Quit Source code

var automated GUIButton b_Quit;

b_Settings Source code

var automated GUIButton b_Settings;

b_SinglePlayer Source code

var automated GUIButton b_SinglePlayer;

b_Workshop Source code

var automated GUIButton b_Workshop;

CharacterDLCName Source code

var const string CharacterDLCName;

CharFade Source code

var float CharFade;

CharFadeTime Source code

var float CharFadeTime;

CharShots Source code

var array<material> CharShots;

DesiredCharFade Source code

var float DesiredCharFade;

DownloadedText Source code

var localized string DownloadedText;

DownloadingText Source code

var localized string DownloadingText;

FadeOut Source code

var bool FadeOut;

FadeTime Source code

var float FadeTime;

FireWallMsg Source code

var localized string FireWallMsg;

FireWallTitle Source code

var localized string FireWallTitle;

i_Background Source code

var automated BackgroundImage i_Background;

i_BkChar Source code

var automated BackgroundImage i_BkChar;

i_PanBig Source code

var automated GUIImage i_PanBig;

i_PanHuge Source code

var automated GUIImage i_PanHuge;

i_PanSmall Source code

var automated GUIImage i_PanSmall;

i_TV Source code

var automated GUIImage i_TV;

i_UT2Logo Source code

var automated GUIImage i_UT2Logo;

i_UT2Shader Source code

var automated GUIImage i_UT2Shader;

KFBackground Source code

var automated FloatingImage KFBackground;

KFBackgroundOverlay Source code

var automated FloatingImage KFBackgroundOverlay;

KFCharacterDLCHoverTexture Source code

var Texture KFCharacterDLCHoverTexture;

KFCharacterDLCImage Source code

var automated GUIImage KFCharacterDLCImage;

KFCharacterDLCOverlay Source code

var automated GUIImage KFCharacterDLCOverlay;

KFCharacterDLCOverlayTexture Source code

var Texture KFCharacterDLCOverlayTexture;

KFCharacterDLCOwnedTexture Source code

var Texture KFCharacterDLCOwnedTexture;

KFLogoBit Source code

var automated GUIImage KFLogoBit;

KFVersionNum Source code

var automated GUILabel KFVersionNum;

KFWeaponDLCHoverTexture Source code

var Texture KFWeaponDLCHoverTexture;

KFWeaponDLCImage Source code

var automated GUIImage KFWeaponDLCImage;

KFWeaponDLCOverlay Source code

var automated GUIImage KFWeaponDLCOverlay;

KFWeaponDLCOverlayTexture Source code

var Texture KFWeaponDLCOverlayTexture;

KFWeaponDLCOwnedTexture Source code

var Texture KFWeaponDLCOwnedTexture;

KFWorkshopDownload Source code

var automated GUILabel KFWorkshopDownload;

NewNewsMsg Source code

var localized string NewNewsMsg;

Selected Source code

var GUIButton Selected;

SteamMustBeRunningText Source code

var localized string SteamMustBeRunningText;

UnknownSteamErrorText Source code

var localized string UnknownSteamErrorText;

WeaponBundle Source code

var int WeaponBundle;

WeaponDLCID Source code

var transient int WeaponDLCID;

WeaponDLCs Source code

var array<int> WeaponDLCs;

KFMainMenu

bNoInitDelay Source code

var(KFMainMenu) bool bNoInitDelay;

MenuSong Source code

var(KFMainMenu) config string MenuSong;


Functions Detail

ButtonClick Source code

function bool ButtonClick ( GUIComponent Sender) )

CanClose Source code

function bool CanClose ( optional bool bCancelled) )

CharacterDLCButtonClicked Source code

function bool CharacterDLCButtonClicked ( GUIComponent Sender) )

CommunityDraw Source code

function bool CommunityDraw ( canvas c) )

DetermineWeaponDLC Source code

function int DetermineWeaponDLC ( ) )

DLCButtonDraw Source code

function bool DLCButtonDraw ( Canvas Canvas) )

GetDLCListTextureIndex Source code

function int GetDLCListTextureIndex ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnOpen Source code

function InternalOnOpen ( ) )

MainReopened Source code

function MainReopened ( ) )

MenuIn_Done Source code

function MenuIn_Done ( GUIComponent Sender, EAnimationType Type) )

MenuIn_OnArrival Source code

function MenuIn_OnArrival ( GUIComponent Sender, EAnimationType Type) )

MenuOut_Done Source code

function MenuOut_Done ( GUIComponent Sender, EAnimationType Type) )

MoveOn Source code

function MoveOn ( ) )

MyKeyEvent Source code

function bool MyKeyEvent ( out byte Key,out byte State,float delta) )

MyOnDraw Source code

function bool MyOnDraw ( Canvas Canvas) )

NotifyLevelChange Source code

event bool NotifyLevelChange ( ) )

OnClose Source code

function OnClose ( optional Bool bCancelled) )

OnSteamStatsAndAchievementsReady Source code

function OnSteamStatsAndAchievementsReady ( ) )

Opened Source code

event Opened ( GUIComponent Sender) )

PlayPopSound Source code

function PlayPopSound ( GUIComponent Sender, EAnimationType Type) )

Timer Source code

event Timer ( ) )

UpdateDLCOwnership Source code

function UpdateDLCOwnership ( ) )

WeaponDLCButtonClicked Source code

function bool WeaponDLCButtonClicked ( GUIComponent Sender) )


Defaultproperties

defaultproperties
{
     Begin Object Class=FloatingImage Name=FloatingBackground
         Image=MaterialSequence'KillingFloorHUD.MainMenu.kf_menu_seq'
         DropShadow=None
         ImageStyle=ISTY_Scaled
         WinTop=0.136089
         WinLeft=0.273078
         WinWidth=0.802660
         WinHeight=1.080918
         RenderWeight=0.000003
     End Object
     KFBackground=FloatingImage'KFGui.KFMainMenu.FloatingBackground'


     Begin Object Class=FloatingImage Name=FloatingBackgroundOverlay
         Image=FinalBlend'InterfaceArt2_tex.filmgrain.FilmgrainOverlayFB'
         DropShadow=None
         ImageStyle=ISTY_Scaled
         WinTop=0.000000
         WinLeft=0.000000
         WinWidth=1.000000
         WinHeight=1.000000
         RenderWeight=0.900000
     End Object
     KFBackgroundOverlay=FloatingImage'KFGui.KFMainMenu.FloatingBackgroundOverlay'


     Begin Object Class=GUIImage Name=KFMenuLogo
         Image=FinalBlend'KillingFloorHUD.KFLogoFB'
         ImageStyle=ISTY_Scaled
         WinTop=0.012000
         WinLeft=0.008000
         WinWidth=0.620000
         WinHeight=0.300000
         RenderWeight=0.050000
     End Object
     KFLogoBit=GUIImage'KFGui.KFMainMenu.KFMenuLogo'


     Begin Object Class=GUILabel Name=WorkshopDownloadLabel
         TextAlign=TXTA_Right
         TextColor=(B=200,G=200,R=200)
         bMultiLine=True
         FontScale=FNS_Small
         WinTop=0.050000
         WinLeft=0.600000
         WinWidth=0.390000
         WinHeight=0.150000
         RenderWeight=0.950000
     End Object
     KFWorkshopDownload=GUILabel'KFGui.KFMainMenu.WorkshopDownloadLabel'


     WeaponBundle=326960
     WeaponDLCs(0)=326960
     Begin Object Class=GUIImage Name=WeaponDLCImage
         Image=Texture'KF_DLC.Characters.UI_KFDLC_Characters_Desat_ToyMaster'
         ImageStyle=ISTY_Scaled
         WinTop=0.651389
         WinLeft=0.053125
         WinWidth=0.168750
         WinHeight=0.148611
         RenderWeight=0.950000
         bAcceptsInput=True
         bNeverFocus=True
         OnClickSound=CS_Click
         OnDraw=KFMainMenu.DLCButtonDraw
         OnClick=KFMainMenu.WeaponDLCButtonClicked
     End Object
     KFWeaponDLCImage=GUIImage'KFGui.KFMainMenu.WeaponDLCImage'


     Begin Object Class=GUIImage Name=WeaponDLCOverlay
         Image=Texture'KF_DLC.Characters.UI_KFDLC_Unselected_BuyNow'
         ImageStyle=ISTY_Scaled
         WinTop=0.651389
         WinLeft=0.053125
         WinWidth=0.168750
         WinHeight=0.148611
         RenderWeight=0.960000
         bAcceptsInput=True
         bNeverFocus=True
         OnClickSound=CS_Click
         OnClick=KFMainMenu.WeaponDLCButtonClicked
     End Object
     KFWeaponDLCOverlay=GUIImage'KFGui.KFMainMenu.WeaponDLCOverlay'


     KFWeaponDLCOwnedTexture=Texture'KF_DLC.Characters.UI_KFDLC_Characters_Owned_ToyMaster'
     KFWeaponDLCOverlayTexture=Texture'KF_DLC.Characters.DLC_Capsules_DownloadClick'
     KFWeaponDLCHoverTexture=Texture'KF_DLC.Characters.DLC_Capsules_DownloadNow'
     CharacterDLCName="New_Bundles"
     Begin Object Class=GUIImage Name=CharacterDLCImage
         Image=Texture'KF_DLC.Characters.UI_KFDLC_Characters_Desat_NewBundles'
         ImageStyle=ISTY_Scaled
         WinTop=0.811111
         WinLeft=0.053125
         WinWidth=0.168750
         WinHeight=0.148611
         RenderWeight=0.950000
         bAcceptsInput=True
         bNeverFocus=True
         OnClickSound=CS_Click
         OnClick=KFMainMenu.CharacterDLCButtonClicked
     End Object
     KFCharacterDLCImage=GUIImage'KFGui.KFMainMenu.CharacterDLCImage'


     Begin Object Class=GUIImage Name=CharacterDLCOverlay
         Image=Texture'KF_DLC.Characters.UI_KFDLC_Unselected_BuyNow'
         ImageStyle=ISTY_Scaled
         WinTop=0.811111
         WinLeft=0.053125
         WinWidth=0.168750
         WinHeight=0.148611
         RenderWeight=0.960000
         bAcceptsInput=True
         bNeverFocus=True
         OnClickSound=CS_Click
         OnClick=KFMainMenu.CharacterDLCButtonClicked
     End Object
     KFCharacterDLCOverlay=GUIImage'KFGui.KFMainMenu.CharacterDLCOverlay'


     KFCharacterDLCOwnedTexture=Texture'KF_DLC.Characters.UI_KFDLC_Characters_Owned_NewBundles'
     KFCharacterDLCOverlayTexture=Texture'KF_DLC.Characters.UI_KFDLC_Unselected_BuyNow'
     KFCharacterDLCHoverTexture=Texture'KF_DLC.Characters.UI_KFDLC_MouseOver_BuyNow'
     Begin Object Class=BackgroundImage Name=ImgBkChar
         ImageColor=(A=160)
         ImageRenderStyle=MSTY_Alpha
         X1=0
         Y1=0
         X2=1024
         Y2=768
         RenderWeight=0.040000
         Tag=0
     End Object
     i_bkChar=BackgroundImage'KFGui.KFMainMenu.ImgBkChar'


     Begin Object Class=BackgroundImage Name=PageBackground
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Alpha
         X1=0
         Y1=0
         X2=1024
         Y2=768
     End Object
     i_Background=BackgroundImage'KFGui.KFMainMenu.PageBackground'


     Begin Object Class=GUIImage Name=ImgUT2Logo
     End Object
     i_UT2Logo=GUIImage'KFGui.KFMainMenu.ImgUT2Logo'


     Begin Object Class=GUIImage Name=iPanHuge
     End Object
     i_PanHuge=GUIImage'KFGui.KFMainMenu.iPanHuge'


     Begin Object Class=GUIImage Name=iPanBig
     End Object
     i_PanBig=GUIImage'KFGui.KFMainMenu.iPanBig'


     Begin Object Class=GUIImage Name=iPanSmall
     End Object
     i_PanSmall=GUIImage'KFGui.KFMainMenu.iPanSmall'


     Begin Object Class=GUIImage Name=ImgUT2Shader
     End Object
     i_UT2Shader=GUIImage'KFGui.KFMainMenu.ImgUT2Shader'


     Begin Object Class=GUIImage Name=ImgTV
     End Object
     i_TV=GUIImage'KFGui.KFMainMenu.ImgTV'


     Begin Object Class=GUIButton Name=MultiplayerButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Multiplayer"
         StyleName="ListSelection"
         Hint="All hell breaks loose..."
         WinTop=0.290000
         WinLeft=0.050000
         WinWidth=0.200000
         WinHeight=0.035000
         TabOrder=1
         bFocusOnWatch=True
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=MultiplayerButton.InternalOnKeyEvent
     End Object
     b_MultiPlayer=GUIButton'KFGui.KFMainMenu.MultiplayerButton'


     Begin Object Class=GUIButton Name=HostButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Host Game"
         StyleName="ListSelection"
         Hint="Start a server and invite others to join your game"
         WinTop=0.325000
         WinLeft=0.050000
         WinWidth=0.200000
         WinHeight=0.035000
         TabOrder=2
         bFocusOnWatch=True
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=HostButton.InternalOnKeyEvent
     End Object
     b_Host=GUIButton'KFGui.KFMainMenu.HostButton'


     Begin Object Class=GUIButton Name=InstantActionButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Solo"
         StyleName="ListSelection"
         Hint="Play Killing Floor Solo Mode"
         WinTop=0.360000
         WinLeft=0.050000
         WinWidth=0.200000
         TabOrder=3
         bFocusOnWatch=True
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=InstantActionButton.InternalOnKeyEvent
     End Object
     b_InstantAction=GUIButton'KFGui.KFMainMenu.InstantActionButton'


     Begin Object Class=GUIButton Name=ProfileButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Profile and Achievements"
         StyleName="ListSelection"
         Hint="Your profile and achievements"
         WinTop=0.420000
         WinLeft=0.050000
         WinWidth=0.220000
         TabOrder=4
         bFocusOnWatch=True
         OnDraw=KFMainMenu.CommunityDraw
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=ModsAndDemosButton.InternalOnKeyEvent
     End Object
     b_Profile=GUIButton'KFGui.KFMainMenu.ProfileButton'


     Begin Object Class=GUIButton Name=DLCButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="DLC Content"
         StyleName="ListSelection"
         Hint="Weapon and Character DLC Packs"
         WinTop=0.455000
         WinLeft=0.050000
         WinWidth=0.220000
         TabOrder=4
         bFocusOnWatch=True
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=ModsAndDemosButton.InternalOnKeyEvent
     End Object
     b_DLC=GUIButton'KFGui.KFMainMenu.DLCButton'


     Begin Object Class=GUIButton Name=WorkshopButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Steam Workshop Content"
         StyleName="ListSelection"
         Hint="Custom Content in the Steam Workshop"
         WinTop=0.490000
         WinLeft=0.050000
         WinWidth=0.220000
         TabOrder=4
         bFocusOnWatch=True
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=ModsAndDemosButton.InternalOnKeyEvent
     End Object
     b_Workshop=GUIButton'KFGui.KFMainMenu.WorkshopButton'


     Begin Object Class=GUIButton Name=SettingsButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Settings"
         StyleName="ListSelection"
         Hint="Change your controls and settings"
         WinTop=0.550000
         WinLeft=0.050000
         WinWidth=0.200000
         WinHeight=0.035000
         TabOrder=6
         bFocusOnWatch=True
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=SettingsButton.InternalOnKeyEvent
     End Object
     b_Settings=GUIButton'KFGui.KFMainMenu.SettingsButton'


     Begin Object Class=GUIButton Name=QuitButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Exit"
         StyleName="ListSelection"
         Hint="Leave the game"
         WinTop=0.585000
         WinLeft=0.050000
         WinWidth=0.200000
         WinHeight=0.035000
         TabOrder=7
         bFocusOnWatch=True
         OnClick=KFMainMenu.ButtonClick
         OnKeyEvent=QuitButton.InternalOnKeyEvent
     End Object
     b_Quit=GUIButton'KFGui.KFMainMenu.QuitButton'


     MenuSong="KFMenu"
     SteamMustBeRunningText="Steam must be running and you must have an active internet connection to access this"
     UnknownSteamErrorText="Unknown Steam error prevented access to this"
     PopInSound=Sound'PatchSounds.slide1-1'
     SlideInSound=Sound'PatchSounds.slide1-1'
     BeepSound=Sound'KFWeaponSound.bullethitmetal3'
     bRenderWorld=True
     bPersistent=True
     OnOpen=KFMainMenu.InternalOnOpen
     OnReOpen=KFMainMenu.MainReopened
     OnCanClose=KFMainMenu.CanClose
     WinTop=0.000000
     WinHeight=1.000000
     OnKeyEvent=KFMainMenu.MyKeyEvent
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:46.819 - Created with UnCodeX