GUI2K4.UT2K4SP_CGManoEMano
- Extends
- LargeWindow
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPage
|
+-- XInterface.UT2K4GUIPage
|
+-- GUI2K4.PopupPageBase
|
+-- GUI2K4.FloatingWindow
|
+-- GUI2K4.LargeWindow
|
+-- GUI2K4.UT2K4SP_CGManoEMano
Inherited Variables from GUI2K4.FloatingWindow |
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName |
Inherited Functions from GUI2K4.FloatingWindow |
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked |
var bool bChallenged;
var int CancelPenalty;
var string ChallengedBy;
var array<string> ChalMaps;
var string DefaultUrl;
var int MinimalBet;
var localized string msgChallenge;
var localized string msgChallenged;
var localized string msgMinMaxBet;
var localized string NotEnoughCash;
var localized string PenaltyWarning;
var localized string SelectAMap;
var localized string YouveBeenChallenged;
ChallengeSettingRecord Source code
function string FormatMoney ( int NewValue )
function GetRandomMaps ( )
event HandleParameters ( string Param1, string Param2 )
function bool OnCanWindowClose ( optional Bool bCancelled )
function OnConfirmCancel ( byte bButton )
function OnWindowClose ( optional Bool bCancelled )
function setChallengeInfo ( int selectedMap )
event SetVisibility ( bool bIsVisible )
defaultproperties
{
Begin Object Class=GUIImage Name=SPCimgMap1
Image=Texture'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
WinTop=0.122531
WinLeft=0.022222
WinWidth=0.441667
WinHeight=0.312500
RenderWeight=0.150000
bBoundToParent=Wahr
End Object
imgMap1=GUIImage'GUI2K4.UT2K4SP_CGManoEMano.SPCimgMap1'
Begin Object Class=GUIImage Name=SPCimgMap2
Image=Texture'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
WinTop=0.122531
WinLeft=0.536111
WinWidth=0.441667
WinHeight=0.312500
RenderWeight=0.150000
bBoundToParent=Wahr
End Object
imgMap2=GUIImage'GUI2K4.UT2K4SP_CGManoEMano.SPCimgMap2'
Begin Object Class=GUIImage Name=SPCimgMapBg1
Image=Texture'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
WinTop=0.111308
WinLeft=0.020833
WinWidth=0.444444
WinHeight=0.333333
bBoundToParent=Wahr
End Object
imgMapBg1=GUIImage'GUI2K4.UT2K4SP_CGManoEMano.SPCimgMapBg1'
Begin Object Class=GUIImage Name=SPCimgMapBg2
Image=Texture'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
WinTop=0.111308
WinLeft=0.534722
WinWidth=0.444444
WinHeight=0.333333
bBoundToParent=Wahr
End Object
imgMapBg2=GUIImage'GUI2K4.UT2K4SP_CGManoEMano.SPCimgMapBg2'
Begin Object Class=GUIButton Name=SPMbtnOk
Caption="ACCEPT"
FontScale=FNS_Small
WinTop=0.904398
WinLeft=0.710071
WinWidth=0.222222
WinHeight=0.056944
RenderWeight=0.200000
TabOrder=1
bBoundToParent=Wahr
OnClick=UT2K4SP_CGManoEMano.onOkClick
OnKeyEvent=SPMbtnOk.InternalOnKeyEvent
End Object
btnOK=GUIButton'GUI2K4.UT2K4SP_CGManoEMano.SPMbtnOk'
Begin Object Class=GUIButton Name=SPCbtnCancel
Caption="REFUSE"
FontScale=FNS_Small
WinTop=0.904398
WinLeft=0.050348
WinWidth=0.222222
WinHeight=0.056944
RenderWeight=0.200000
TabOrder=2
bBoundToParent=Wahr
OnClick=UT2K4SP_CGManoEMano.onCancelClick
OnKeyEvent=SPCbtnCancel.InternalOnKeyEvent
End Object
btnCancel=GUIButton'GUI2K4.UT2K4SP_CGManoEMano.SPCbtnCancel'
Begin Object Class=GUILabel Name=SPClblTitle
Caption="Head to Head"
TextAlign=TXTA_Center
FontScale=FNS_Large
StyleName="TextLabel"
WinTop=0.026180
WinLeft=0.067813
WinWidth=0.862501
WinHeight=0.077500
RenderWeight=0.200000
bBoundToParent=Wahr
End Object
lblTitle=GUILabel'GUI2K4.UT2K4SP_CGManoEMano.SPClblTitle'
Begin Object Class=GUILabel Name=NoPreview
Caption="No Preview Available"
TextAlign=TXTA_Center
TextColor=(B=0,G=255,R=247)
TextFont="UT2HeaderFont"
bTransparent=Falsch
bMultiLine=Wahr
VertAlign=TXTA_Center
WinTop=0.197531
WinLeft=0.022222
WinWidth=0.441667
WinHeight=0.312500
bBoundToParent=Wahr
End Object
lblNoPreview1=GUILabel'GUI2K4.UT2K4SP_CGManoEMano.NoPreview'
lblNoPreview2=GUILabel'GUI2K4.UT2K4SP_CGManoEMano.NoPreview'
Begin Object Class=GUILabel Name=SPClblMinMax
FontScale=FNS_Small
StyleName="TextLabel"
WinTop=0.619930
WinLeft=0.026146
WinWidth=0.952778
WinHeight=0.042778
RenderWeight=0.200000
bBoundToParent=Wahr
End Object
lblMinMaxBet=GUILabel'GUI2K4.UT2K4SP_CGManoEMano.SPClblMinMax'
Begin Object Class=GUILabel Name=SPLlblBalance
TextAlign=TXTA_Right
StyleName="TextLabel"
WinTop=0.046667
WinLeft=0.532360
WinWidth=0.450000
WinHeight=0.041250
RenderWeight=0.250000
bBoundToParent=Wahr
End Object
lblBalance=GUILabel'GUI2K4.UT2K4SP_CGManoEMano.SPLlblBalance'
Begin Object Class=GUIGFXButton Name=SPCcbMap1
bCheckBox=Wahr
WinTop=0.452974
WinLeft=0.020833
WinWidth=0.444444
WinHeight=0.062500
bBoundToParent=Wahr
OnChange=UT2K4SP_CGManoEMano.OnMapSelect
OnKeyEvent=SPCcbMap1.InternalOnKeyEvent
End Object
cbMap1=GUIGFXButton'GUI2K4.UT2K4SP_CGManoEMano.SPCcbMap1'
Begin Object Class=GUIGFXButton Name=SPCcbMap2
bCheckBox=Wahr
WinTop=0.452974
WinLeft=0.534722
WinWidth=0.444444
WinHeight=0.062500
bBoundToParent=Wahr
OnChange=UT2K4SP_CGManoEMano.OnMapSelect
OnKeyEvent=SPCcbMap2.InternalOnKeyEvent
End Object
cbMap2=GUIGFXButton'GUI2K4.UT2K4SP_CGManoEMano.SPCcbMap2'
Begin Object Class=moComboBox Name=SPCcbEnemyTeam
bReadOnly=Wahr
Caption="Challenge team:"
OnCreateComponent=SPCcbEnemyTeam.InternalOnCreateComponent
Hint="Challenge this team for a match"
WinTop=0.536447
WinLeft=0.024306
WinWidth=0.952779
WinHeight=0.059722
TabOrder=3
bBoundToParent=Wahr
OnChange=UT2K4SP_CGManoEMano.UpdateTeamDetails
End Object
cbEnemyTeam=moComboBox'GUI2K4.UT2K4SP_CGManoEMano.SPCcbEnemyTeam'
Begin Object Class=moFormatNumEdit Name=SPCneBet
FormatValue=UT2K4SP_CGManoEMano.FormatMoney
Caption="Challenge bet:"
OnCreateComponent=SPCneBet.InternalOnCreateComponent
Hint="The bet for this challenge"
WinTop=0.590614
WinLeft=0.024306
WinWidth=0.952779
WinHeight=0.037500
TabOrder=4
bBoundToParent=Wahr
OnChange=UT2K4SP_CGManoEMano.UpdateDetails
End Object
neBet=moFormatNumEdit'GUI2K4.UT2K4SP_CGManoEMano.SPCneBet'
Begin Object Class=GUIScrollTextBox Name=SPCsbDetails
bNoTeletype=Wahr
OnCreateComponent=SPCsbDetails.InternalOnCreateComponent
WinTop=0.674643
WinLeft=0.019792
WinWidth=0.958334
WinHeight=0.217361
RenderWeight=0.200000
TabOrder=1
bBoundToParent=Wahr
End Object
sbDetails=GUIScrollTextBox'GUI2K4.UT2K4SP_CGManoEMano.SPCsbDetails'
MinimalBet=150
PenaltyWarning="When you refuse you will have to pay a penalty of %cancelpenalty%.||Are you sure you want to refuse?"
YouveBeenChallenged="You've been challenged!"
SelectAMap="Please select an area for the challenge."
msgChallenge="You have selected to play a %gametype% match in %map%. You will play against %teamleader% of the %teamname%.|You will have to pay %entryfee% to participate in this challenge, if you win you will earn %prizemoney%"
msgChallenged="You have been challenged by %teamname% for a Head to Head match. You will play against %teamleader%.|When you win you will earn %prizemoney%, but you have to pay up %entryfee% to join this challenge.|You will play a %gametype% game in %map%.|If you refuse the match you will have to pay %penalty%."
NotEnoughCash="You do not have enough money to pay the minimal bet for this challenge."
msgMinMaxBet="minimum: %min%, maximum: %max%"
DefaultUrl="?TeamScreen=true"
ChalMaps(0)="DM-1on1-Albatross"
ChalMaps(1)="DM-1on1-Crash"
ChalMaps(2)="DM-1on1-Idoma"
ChalMaps(3)="DM-1on1-Irondust"
ChalMaps(4)="DM-1on1-Mixer"
ChalMaps(5)="DM-1on1-Roughinery"
ChalMaps(6)="DM-1on1-Serpentine"
ChalMaps(7)="DM-1on1-Spirit"
ChalMaps(8)="DM-1on1-Squader"
ChalMaps(9)="DM-1on1-Trite"
ChallengeSettings(0)=(Acronym="DM",GoalScore=15,GameType="xGame.xTeamGame")
ChallengeSettings(1)=(Acronym="CTF",GoalScore=3,GameType="xGame.xCTFGame")
DefaultLeft=0.050000
DefaultTop=0.100000
DefaultWidth=0.900000
DefaultHeight=0.800000
OnClose=UT2K4SP_CGManoEMano.OnWindowClose
OnCanClose=UT2K4SP_CGManoEMano.OnCanWindowClose
WinTop=0.100000
WinLeft=0.050000
WinWidth=0.900000
WinHeight=0.800000
}
|
Creation time: Mo 16.4.2007 11:20:35.281 - Created with
UnCodeX