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

GUI2K4.UT2K4SP_CGManoEMano


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00265
00266
00267
00268
00269
00270
00271
00272
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
00293
00294
00295
00296
00297
00298
00299
00300
00301
00302
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312
00313
00314
00315
00316
00317
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328
00329
00330
00331
00332
00333
00334
00335
00336
00337
00338
00339
00340
00341
00342
00343
00344
00345
00346
00347
00348
00349
00350
00351
00352
00353
00354
00355
00356
00357
00358
00359
00360
00361
00362
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00373
00374
00375
00376
00377
00378
00379
00380
00381
00382
00383
00384
00385
00386
00387
00388
00389
00390
00391
00392
00393
00394
00395
00396
00397
00398
00399
00400
00401
00402
00403
00404
00405
00406
00407
00408
00409
00410
00411
00412
00413
00414
00415
00416
00417
00418
00419
00420
00421
00422
00423
00424
00425
00426
00427
00428
00429
00430
00431
00432
00433
00434
00435
00436
00437
00438
00439
00440
00441
00442
00443
00444
00445
00446
00447
00448
00449
00450
00451
00452
00453
00454
00455
00456
00457
00458
00459
00460
00461
00462
00463
00464
00465
00466
00467
00468
00469
00470
00471
00472
00473
00474
00475
00476
00477
00478
00479
00480
00481
00482
00483
00484
00485
00486
00487
00488
00489
00490
00491
00492
00493
00494
00495
00496
00497
00498
00499
00500
00501
00502
00503
00504
00505
00506
00507
00508
00509
00510
00511
00512
00513
00514
00515
00516
00517
00518
00519
00520
00521
00522
00523
00524
00525
00526
00527
00528
00529
00530
00531
00532
00533
00534
00535
00536
00537
00538
00539
00540
00541
00542
00543
00544
00545
00546
00547
00548
00549
00550
00551
00552
//==============================================================================
// Challenge a team for a 1vs1 game
//
// Written by Michiel Hendriks
// (c) 2003, 2004, Epic Games, Inc. All Rights Reserved
//==============================================================================

class UT2K4SP_CGManoEMano extends LargeWindow;

var automated GUIImage imgMap1, imgMap2, imgMapBg1, imgMapBg2;
var automated GUIButton btnOk, btnCancel;
var automated GUILabel lblTitle, lblNoPreview1, lblNoPreview2, lblMinMaxBet, lblBalance;
var automated GUIGFXButton cbMap1, cbMap2;
var automated moComboBox cbEnemyTeam;
var automated moFormatNumEdit neBet;
var automated GUIScrollTextBox sbDetails;

var UT2K4GameProfile GP;

/** the penalty we pay when we cancel the challenge */
var int CancelPenalty;

/** The two maps to choose from */
var CacheManager.MapRecord MapOptions[2];

/** Minimal bet you may place */
var int MinimalBet;

/** set to the preselect/challenged team */
var string ChallengedBy;
/** true if we have been challenged */
var bool bChallenged;

var localized string PenaltyWarning, YouveBeenChallenged, SelectAMap,
					 msgChallenge, msgChallenged, NotEnoughCash, msgMinMaxBet;
/** always append this to the url */
var string DefaultUrl;

/** available maps */
var array<string> ChalMaps;

struct ChallengeSettingRecord
{
	var string Acronym;
	var int GoalScore;
	var string GameType;
};
/** per acronym settings */
var array<ChallengeSettingRecord> ChallengeSettings;

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
	local int i;
	local class<UT2K4TeamRoster> ET;

	Super.Initcomponent(MyController, MyOwner);
	GP = UT2K4GameProfile(PlayerOwner().Level.Game.CurrentGameProfile);
	for ( i = 0; i < Controls.Length; i++ )
	{
		Controls[i].bScaleToParent=True;
		Controls[i].bBoundToParent=True;
	}

	cbEnemyTeam.MyComboBox.List.Clear();
	for (i = 0; i < GP.TeamStats.length; i++)
	{
		if (GP.TeamStats[i].Matches > 0)
		{
			if (GP.TeamStats[i].Level >=3) continue; // never add strong team in 1vs1
			ET = class<UT2K4TeamRoster>(DynamicLoadObject(GP.TeamStats[i].Name, class'Class'));
			if (ET != none) cbEnemyTeam.AddItem(ET.Default.TeamName@"("$class'UT2K4SPTab_DetailEnemies'.default.StrengthLabels[ET.Default.TeamLevel]$")",,GP.TeamStats[i].Name);
		}
	}

	cbEnemyTeam.MyComboBox.List.Sort();
	cbEnemyTeam.SetIndex(0);

	SetupNoPreview(lblNoPreview1, imgMap1);
	SetupNoPreview(lblNoPreview2, imgMap2);

	sbDetails.SetContent(SelectAMap);

	lblBalance.Caption = class'UT2K4SPTab_LadderBase'.default.BalanceLabel@GP.MoneyToString(GP.Balance);
}

function GetRandomMaps()
{
	local int m1, m2;
	m1 = -1;
	m2 = -1;
	if (MapOptions[0].MapName == "") m1 = rand(ChalMaps.Length);
	do {
		if (MapOptions[1].MapName == "") m2 = rand(ChalMaps.Length);
		else break;
	} until (m1 != m2);
	if (m1 > -1) MapOptions[0] = class'CacheManager'.static.GetMapRecord(ChalMaps[m1]);
	if (m2 > -1) MapOptions[1] = class'CacheManager'.static.GetMapRecord(ChalMaps[m2]);

	if (MapOptions[0].ScreenshotRef != "") imgMap1.Image = Material(DynamicLoadObject(MapOptions[0].ScreenshotRef, class'Material'));
	lblNoPreview1.bVisible = MapOptions[0].ScreenshotRef == "";
	cbMap1.Caption = MapOptions[0].MapName;
	if (MapOptions[1].ScreenshotRef != "") imgMap2.Image = Material(DynamicLoadObject(MapOptions[1].ScreenshotRef, class'Material'));
	lblNoPreview2.bVisible = MapOptions[1].ScreenshotRef == "";
	cbMap2.Caption = MapOptions[1].MapName;
}

function setChallengeInfo(int selectedMap)
{
	local string desc;
	local class<UT2K4TeamRoster> ETI;
	local CacheManager.GameRecord GR;
	local int chalset;

	for (chalset = 0; chalset < ChallengeSettings.length; chalset++)
	{
		if (ChallengeSettings[chalset].Acronym ~= MapOptions[selectedMap].Acronym) break;
	}
	GR = class'CacheManager'.static.getGameRecord(ChallengeSettings[chalset].GameType);
	ETI = class<UT2K4TeamRoster>(DynamicLoadObject(cbEnemyTeam.GetExtra(), class'Class'));

	GP.ChallengeInfo.LevelName = MapOptions[selectedMap].MapName;
	GP.ChallengeInfo.NumBots = 1; // always 1 on 1
	GP.ChallengeInfo.DifficultyModifier = ETI.default.TeamLevel / 1.2;
	if (GP.ChallengeInfo.LevelName ~= "CTF-1on1-Joust") GP.ChallengeInfo.DifficultyModifier += 2;
	GP.ChallengeInfo.PrizeMoney = neBet.GetValue()*2;
	GP.ChallengeInfo.GameType = ChallengeSettings[chalset].GameType;
	GP.ChallengeInfo.GoalScore = ChallengeSettings[chalset].GoalScore;
	GP.ChallengeInfo.EntryFee = neBet.GetValue();
	GP.ChallengeInfo.URLString = DefaultUrl;

	if (bChallenged) desc = msgChallenged;
	else desc = msgChallenge;
	desc = repl(desc, "%map%", MapOptions[selectedMap].MapName);
	desc = repl(desc, "%teamname%", cbEnemyTeam.GetText());
	if (ETI.default.TeamLeader != "") desc = repl(desc, "%teamleader%", ETI.default.TeamLeader);
	else desc = repl(desc, "%teamleader%", ETI.default.RosterNames[0]);
	desc = repl(desc, "%prizemoney%", GP.MoneyToString(GP.ChallengeInfo.PrizeMoney));
	desc = repl(desc, "%entryfee%", GP.MoneyToString(GP.ChallengeInfo.EntryFee));
	desc = repl(desc, "%gametype%", GR.GameName);
	desc = repl(desc, "%penalty%", GP.MoneyToString(CancelPenalty));
	sbDetails.SetContent(desc);

	if ((GP.ChallengeInfo.LevelName != "") && (GP.Balance > GP.getMinimalEntryFeeFor(GP.ChallengeInfo)+GP.MinBalance)) btnOk.EnableMe();
		else btnOk.DisableMe();
}

/**
	param1 = preselect enemy team, fully qualified classname.
	param2 = not empty -> lock team change controlls
*/
event HandleParameters(string Param1, string Param2)
{
	local GUIController MyController;

	ChallengedBy = Param1;
	if (ChallengedBy != "") cbEnemyTeam.SetIndex(cbEnemyTeam.FindExtra(ChallengedBy));
	bChallenged = (Param2 != "");
	if (bChallenged)
	{
		MinimalBet = MinimalBet+rand(MinimalBet);
		CancelPenalty = MinimalBet*1.5;
		cbEnemyTeam.disableme();

		if (GP.CurrentLadder == GP.UT2K4GameLadder.default.LID_CTF)
		{
			if (frand() > 0.5)
			{
				MapOptions[rand(2)] = class'CacheManager'.static.GetMapRecord("CTF-1on1-Joust");
			}
		}
	}
	else {
		ChalMaps.Length = ChalMaps.Length+1;
		ChalMaps[ChalMaps.length-1] = "CTF-1on1-Joust";
	}

	neBet.Setup(MinimalBet, GP.Balance, (GP.Balance-MinimalBet)/20);
	UpdateTeamDetails(cbEnemyTeam);

	if ((GP.Balance-GP.MinBalance < MinimalBet) || (GP.Balance-GP.MinBalance < CancelPenalty))
	{
		CancelPenalty = 0;
		MyController = Controller;
		Controller.CloseMenu(true);
		if (bChallenged) return;

		MyController.ShowQuestionDialog(NotEnoughCash);
		return;
	}
	GetRandomMaps();
}

/**
	Play the selected match, first check if we need to assign team mates
*/
function bool onOkClick(GUIComponent Sender)
{
	GP.EnemyTeam = cbEnemyTeam.GetExtra();
	GP.ChallengeInfo.EnemyTeamName = GP.EnemyTeam;
	GP.bGotChallenged = bChallenged;
	GP.ChallengeVariable = GP.MoneyToString(neBet.GetValue());
	class'xGame.ManoEMano'.static.StartChallenge(GP, PlayerOwner().Level);
	Controller.CloseAll(false,true);
	return true;
}

/**
	Cancel button pressed
*/
function bool onCancelClick(GUIComponent Sender)
{
	if (OnCanWindowClose(true)) return Controller.CloseMenu(true);
	else return false;
}

/** Player accepts to pay the penalty */
function OnConfirmCancel(byte bButton)
{
	if (bButton == QBTN_Yes)
	{
		GP.Balance -= CancelPenalty;
		CancelPenalty = 0;
		Controller.CloseMenu(true);
	}
}

function OnMapSelect(GUIComponent Sender)
{
	if (Sender == cbMap1)
	{
		GP.ActiveMap = MapOptions[0];
		cbMap1.bChecked = true;
		cbMap2.bChecked = false;
		setChallengeInfo(0);
	}
	else {
		GP.ActiveMap = MapOptions[1];
		cbMap1.bChecked = false;
		cbMap2.bChecked = true;
		setChallengeInfo(1);
	}
	return;
}

function OnWindowClose(optional Bool bCancelled)
{
	GP.bIsChallenge = !bCancelled;
}

function bool OnCanWindowClose(optional Bool bCancelled)
{
	local GUIQuestionPage QPage;
	if (!bCancelled) return true;
	if (CancelPenalty > 0)
	{
		if (Controller.OpenMenu("GUI2K4.GUI2K4QuestionPage"))
		{
			QPage=GUIQuestionPage(Controller.TopPage());
			QPage.SetupQuestion(repl(PenaltyWarning, "%cancelpenalty%", GP.MoneyToString(CancelPenalty)), QBTN_YesNo, QBTN_No);
			QPage.OnButtonClick = OnConfirmCancel;
		}
		return false;
	}
	return true;
}

function UpdateDetails(GUIComponent Sender)
{
	if (cbMap1.bChecked) setChallengeInfo(0);
	else if (cbMap2.bChecked) setChallengeInfo(1);
}

function UpdateTeamDetails(GUIComponent Sender)
{
	local class<UT2K4TeamRoster> ETI;
	ETI = class<UT2K4TeamRoster>(DynamicLoadObject(cbEnemyTeam.GetExtra(), class'Class'));
	neBet.MyNumericEdit.MaxValue = min(GP.Balance, MinimalBet*(ETI.default.TeamLevel+1)*2);
	neBet.MyNumericEdit.Step = (neBet.MyNumericEdit.MaxValue-neBet.MyNumericEdit.MinValue) / 20;
	neBet.SetValue(neBet.GetValue());
	lblMinMaxBet.Caption = repl(repl(msgMinMaxBet, "%min%", GP.MoneyToString(MinimalBet)), "%max%", GP.MoneyToString(neBet.MyNumericEdit.MaxValue));
}


event SetVisibility(bool bIsVisible)
{
	Super.SetVisibility(bIsVisible);
	if ( imgMap1 != None )
	{
		imgMap1.SetVisibility(imgMap1.Image != None);
		if ( lblNoPreview1 != None ) lblNoPreview1.SetVisibility(imgMap1.Image == None);
	}
	if ( imgMap2 != None )
	{
		imgMap2.SetVisibility(imgMap2.Image != None);
		if ( lblNoPreview2 != None ) lblNoPreview2.SetVisibility(imgMap2.Image == None);
	}
}

protected function SetupNoPreview( GUILabel lbl, GUIImage img )
{
	if ( lbl == None || img == None ) return;
	lbl.WinLeft   = img.WinLeft;
	lbl.WinTop    = img.WinTop;
	lbl.WinWidth  = img.WinWidth;
	lbl.WinHeight = img.WinHeight;
}

function bool XButtonClicked( GUIComponent Sender )
{
	Controller.CloseMenu(true);
	return true;
}

function string FormatMoney(int NewValue)
{
	return GP.MoneyToString(NewValue);
}

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=True
     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=True
     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=True
     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=True
     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=True
         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=True
         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=True
     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=False
         bMultiLine=True
         VertAlign=TXTA_Center
         WinTop=0.197531
         WinLeft=0.022222
         WinWidth=0.441667
         WinHeight=0.312500
         bBoundToParent=True
     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=True
     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=True
     End Object
     lblBalance=GUILabel'GUI2K4.UT2K4SP_CGManoEMano.SPLlblBalance'

     Begin Object Class=GUIGFXButton Name=SPCcbMap1
         bCheckBox=True
         WinTop=0.452974
         WinLeft=0.020833
         WinWidth=0.444444
         WinHeight=0.062500
         bBoundToParent=True
         OnChange=UT2K4SP_CGManoEMano.OnMapSelect
         OnKeyEvent=SPCcbMap1.InternalOnKeyEvent
     End Object
     cbMap1=GUIGFXButton'GUI2K4.UT2K4SP_CGManoEMano.SPCcbMap1'

     Begin Object Class=GUIGFXButton Name=SPCcbMap2
         bCheckBox=True
         WinTop=0.452974
         WinLeft=0.534722
         WinWidth=0.444444
         WinHeight=0.062500
         bBoundToParent=True
         OnChange=UT2K4SP_CGManoEMano.OnMapSelect
         OnKeyEvent=SPCcbMap2.InternalOnKeyEvent
     End Object
     cbMap2=GUIGFXButton'GUI2K4.UT2K4SP_CGManoEMano.SPCcbMap2'

     Begin Object Class=moComboBox Name=SPCcbEnemyTeam
         bReadOnly=True
         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=True
         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=True
         OnChange=UT2K4SP_CGManoEMano.UpdateDetails
     End Object
     neBet=moFormatNumEdit'GUI2K4.UT2K4SP_CGManoEMano.SPCneBet'

     Begin Object Class=GUIScrollTextBox Name=SPCsbDetails
         bNoTeletype=True
         OnCreateComponent=SPCsbDetails.InternalOnCreateComponent
         WinTop=0.674643
         WinLeft=0.019792
         WinWidth=0.958334
         WinHeight=0.217361
         RenderWeight=0.200000
         TabOrder=1
         bBoundToParent=True
     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
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: pr 5-2-2018 12:35:54.000 - Creation time: sk 18-3-2018 09:50:24.255 - Created with UnCodeX