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=GUIButton Name=SPMbtnOk
Caption="ACCEPT"
WinWidth=0.222222
WinHeight=0.056944
WinLeft=0.710071
WinTop=0.904398
OnClick=onOkClick
RenderWeight=0.2
FontScale=FNS_Small
TabOrder=1
MenuState=MSAT_Disabled
bBoundToParent=true
End Object
btnOk=SPMbtnOk
Begin Object Class=GUIButton Name=SPCbtnCancel
Caption="REFUSE"
WinWidth=0.222222
WinHeight=0.056944
WinLeft=0.050348
WinTop=0.904398
OnClick=onCancelClick
RenderWeight=0.2
FontScale=FNS_Small
TabOrder=2
bBoundToParent=true
End Object
btnCancel=SPCbtnCancel
Begin Object Class=GUILabel Name=SPClblTitle
Caption="Head to Head"
WinWidth=0.862501
WinHeight=0.077500
WinLeft=0.067813
WinTop=0.026180
RenderWeight=0.2
StyleName="TextLabel"
FontScale=FNS_Large
TextALign=TXTA_Center
bBoundToParent=true
End Object
lblTitle=SPClblTitle
Begin Object Class=GUILabel Name=SPClblMinMax
Caption=""
WinWidth=0.952778
WinHeight=0.042778
WinLeft=0.026146
WinTop=0.619930
RenderWeight=0.2
StyleName="TextLabel"
FontScale=FNS_Small
TextALign=TXTA_Left
bBoundToParent=true
End Object
lblMinMaxBet=SPClblMinMax
Begin Object class=GUIImage name=SPCimgMapBg1
WinWidth=0.444444
WinHeight=0.333333
WinLeft=0.020833
WinTop=0.111308
RenderWeight=0.1
Image=Material'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
bBoundToParent=true
End Object
imgMapBg1=SPCimgMapBg1
Begin Object class=GUIImage name=SPCimgMapBg2
WinWidth=0.444444
WinHeight=0.333333
WinLeft=0.534722
WinTop=0.111308
RenderWeight=0.1
Image=Material'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
bBoundToParent=true
End Object
imgMapBg2=SPCimgMapBg2
Begin Object class=GUIImage name=SPCimgMap1
WinWidth=0.441667
WinHeight=0.312500
WinLeft=0.022222
WinTop=0.122531
RenderWeight=0.15
Image=Material'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
bBoundToParent=true
End Object
imgMap1=SPCimgMap1
Begin Object class=GUIImage name=SPCimgMap2
WinWidth=0.441667
WinHeight=0.312500
WinLeft=0.536111
WinTop=0.122531
RenderWeight=0.15
Image=Material'2K4Menus.Controls.sectionback'
ImageStyle=ISTY_Scaled
bBoundToParent=true
End Object
imgMap2=SPCimgMap2
Begin Object class=GUIGFXButton Name=SPCcbMap1
Caption=""
WinWidth=0.444444
WinHeight=0.062500
WinLeft=0.020833
WinTop=0.452974
bCheckBox=true
OnChange=OnMapSelect
bBoundToParent=true
End Object
cbMap1=SPCcbMap1
Begin Object class=GUIGFXButton Name=SPCcbMap2
Caption=""
WinWidth=0.444444
WinHeight=0.062500
WinLeft=0.534722
WinTop=0.452974
bCheckBox=true
OnChange=OnMapSelect
bBoundToParent=true
End Object
cbMap2=SPCcbMap2
Begin Object class=moComboBox Name=SPCcbEnemyTeam
Caption="Challenge team:"
Hint="Challenge this team for a match"
bAutoSizeCaption=true
WinWidth=0.952779
WinHeight=0.059722
WinLeft=0.024306
WinTop=0.536447
bReadOnly=true
TabOrder=3
OnChange=UpdateTeamDetails
bBoundToParent=true
End Object
cbEnemyTeam=SPCcbEnemyTeam
Begin Object class=moFormatNumEdit Name=SPCneBet
Caption="Challenge bet:"
Hint="The bet for this challenge"
bAutoSizeCaption=true
WinWidth=0.952779
WinHeight=0.037500
WinLeft=0.024306
WinTop=0.590614
TabOrder=4
OnChange=UpdateDetails
FormatValue=FormatMoney
bBoundToParent=true
End Object
neBet=SPCneBet
Begin Object Class=GUIScrollTextBox Name=SPCsbDetails
WinWidth=0.958334
WinHeight=0.217361
WinLeft=0.019792
WinTop=0.674643
RenderWeight=0.2
TabOrder=1
bNoTeletype=true
StyleName="NoBackground"
bBoundToParent=true
End Object
sbDetails=SPCsbDetails
Begin Object Class=GUILabel Name=SPLlblBalance
WinWidth=0.450000
WinHeight=0.041250
WinLeft=0.532360
WinTop=0.046667
Caption=""
StyleName="TextLabel"
TextAlign=TXTA_Right
RenderWeight=0.25
bBoundToParent=true
End Object
lblBalance=SPLlblBalance
Begin Object Class=GUILabel Name=NoPreview
TextFont="UT2HeaderFont"
TextAlign=TXTA_Center
VertAlign=TXTA_Center
bMultiline=True
bTransparent=False
TextColor=(R=247,G=255,B=0,A=255)
Caption="No Preview Available"
WinWidth=0.441667
WinHeight=0.312500
WinLeft=0.022222
WinTop=0.197531
bBoundToParent=true
End Object
lblNoPreview1=NoPreview
lblNoPreview2=NoPreview
DefaultLeft=0.05
DefaultTop=0.1
DefaultWidth=0.9
DefaultHeight=0.8
WinLeft=0.05
WinTop=0.1
WinWidth=0.9
WinHeight=0.8
OnClose=OnWindowClose
OnCanClose=OnCanWindowClose
MinimalBet=150
YouveBeenChallenged="You've been challenged!"
PenaltyWarning="When you refuse you will have to pay a penalty of %cancelpenalty%.||Are you sure you want to refuse?"
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"
ChallengeSettings(0)=(Acronym="DM",goalscore=15,gametype="xGame.xTeamGame")
ChallengeSettings(1)=(Acronym="CTF",goalscore=3,gametype="xGame.xCTFGame")
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"
}
|
Creation time: Do 14.8.2014 09:58:27.561 - Created with
UnCodeX