## XIDInterf
Class XIIIMenuControlsWindow

source: C:\XIII\XIDInterf\Classes\XIIIMenuControlsWindow.uc

    Core.Object
       |
       +--GUI.GUI
          |
          +--GUI.GUIComponent
             |
             +--GUI.GUIMultiComponent
                |
                +--GUI.GUIPage
                   |
                   +--XIDInterf.XIIIWindow
                      |
                      +--XIDInterf.XIIIMenuControlsWindow

Direct Known Subclasses:None

class XIIIMenuControlsWindow
extends XIDInterf.XIIIWindow

    //====================================================================
    //
    //	XBox Controls
    //
    //====================================================================

Variables
`XIIIButton` | `AdvancedButton`
`PadConfigXBoxText[4],` | `AdvancedText`
`XIIILabel` | `InfoLabel[18]`
`InfoTextClassicXIII[18],` | `InfoTextGoofyXIII[18]`
`int` | `PadConfig`
`XIIIComboControl` | `PadConfigButton`
`NbPadConfig,` | `iObjDecalY`
`string` | `sBackGround[8]`
`Texture` | `tBackGround[4]`

Function Summary
`void` | `Created()`
    //_____________________________________________________________________________
`void` | `InitLabels()`
    //_____________________________________________________________________________
`bool` | `InternalOnKeyEvent(out byte, out byte, float delta)`
`void` | `PadConfigChanged()`
    //_____________________________________________________________________________
`void` | `Paint(Canvas C, float X, float Y)`
    //_____________________________________________________________________________
`void` | `ShowWindow()`
    //_____________________________________________________________________________

Source Code

    00001	//====================================================================
    00002	//
    00003	//	XBox Controls
    00004	//
    00005	//====================================================================
    00006	class XIIIMenuControlsWindow extends XIIIWindow;
    00007
    00008	var XIIIComboControl PadConfigButton;
    00009	var XIIIButton AdvancedButton;
    00010	var XIIILabel InfoLabel[18];
    00011
    00012	var localized string TitleText, PadConfigXBoxText[4], AdvancedText;
    00013	var localized string InfoText[18], InfoTextClassicHalo[18], InfoTextGoofyHalo[18], InfoTextClassicXIII[18], InfoTextGoofyXIII[18];
    00014
    00015	var int NbPadConfig, iObjDecalY;
    00016
    00017	var int PadConfig;
    00018
    00019	var string sBackGround[8];
    00020	var texture tBackGround[4];
    00021
    00022
    00023	// infos about pad config definition
    00024	// PadConfig = 0 -> Classic Halo
    00025	// PadConfig = 1 -> Goofy Halo
    00026	// PadConfig = 2 -> Classic XIII
    00027	// PadConfig = 3 -> Goofy XIII
    00028
    00029
    00030	// info text definition
    00031	// 0 -> A
    00032	// 1 -> B
    00033	// 2 -> X
    00034	// 3 -> Y
    00035	// 4 -> Black
    00036	// 5 -> White
    00037	// 6 -> Left Trigger
    00038	// 7 -> Right Trigger
    00039	// 8 -> CrossDown
    00040	// 9 -> CrossRight
    00041	// 10 -> CrossLeft
    00042	// 11 -> CrossUp
    00043	// 12 -> Start
    00044	// 13 -> Select
    00045	// 14 -> LPad Button
    00046	// 15 -> RPad Button
    00047	// 16 -> Left ThumbStick
    00048	// 17 -> Right ThumbStick
    00049
    00050
    00051	// info controller buttons
    00052	// Joy1 -> A
    00053	// Joy2 -> B
    00054	// Joy3 -> X
    00055	// Joy4 -> Y
    00056	// Joy5 -> Black
    00057	// Joy6 -> White
    00058	// Joy7 -> Left Trigger
    00059	// Joy8 -> Right Trigger
    00060	// Joy9 -> CrossUp
    00061	// Joy10 -> CrossDown
    00062	// Joy11 -> CrossLeft
    00063	// Joy12 -> CrossRight
    00064	// Joy13 -> Start
    00065	// Joy14 -> Select
    00066	// Joy15 -> Left Thumbstick (press)
    00067	// Joy16 -> Right Thumbstick (press)
    00068	// JoyX -> Left Thumbstick (Left/Right)
    00069	// JoyY -> Left Thumbstick (Up/Down)
    00070	// JoyU -> Right Thumbstick (Left/Right)
    00071	// JoyV -> Right Thumbstick (Up/Down)
    00072
    00073
    00074	//_____________________________________________________________________________
    00075	function Created()
    00076	{
    00077	    local int i,j;
    00078
    00079	    Super.Created();
    00080
    00081	    tBackGround[0] = texture(DynamicLoadObject(sBackGround[0], class'Texture'));
    00082	    tBackGround[1] = texture(DynamicLoadObject(sBackGround[1], class'Texture'));
    00083	    tBackGround[2] = texture(DynamicLoadObject(sBackGround[2], class'Texture'));
    00084	    tBackGround[3] = texture(DynamicLoadObject(sBackGround[3], class'Texture'));
    00085
    00086	/*
    00087		tBackGround[0] = texture(DynamicLoadObject(sBackGround[4], class'Texture'));
    00088		tBackGround[1] = texture(DynamicLoadObject(sBackGround[5], class'Texture'));
    00089		tBackGround[2] = texture(DynamicLoadObject(sBackGround[6], class'Texture'));
    00090		tBackGround[3] = texture(DynamicLoadObject(sBackGround[7], class'Texture'));
    00091	*/
    00092
    00093		PadConfigButton = XIIIComboControl(CreateControl(class'XIIIComboControl',30,355*fScaleTo + iObjDecalY,185,37*fScaleTo));
    00094		PadConfigButton.bArrows = true;
    00095		for (i=0;i<NbPadConfig;i++)
    00096			PadConfigButton.AddItem(PadConfigXBoxText[i]);
    00097
    00098		AdvancedButton = XIIIButton(CreateControl(class'XIIIButton',40,395*fScaleTo + iObjDecalY,165,25*fScaleTo));
    00099		AdvancedButton.Text = AdvancedText;
    00100
    00101		Controls[0] = PadConfigButton;
    00102		Controls[1] = AdvancedButton;
    00103
    00104		PadConfig = GetPlayerOwner().UserPadConfig;
    00105		PadConfig = Clamp(PadConfig,0,NbPadConfig - 1);
    00106		switch (PadConfig)
    00107		{
    00108			Case 0:
    00109				for (i=0;i<18;i++)
    00110					InfoText[i] = InfoTextClassicHalo[i];
    00111				break;
    00112			Case 1:
    00113				for (i=0;i<18;i++)
    00114					InfoText[i] = InfoTextGoofyHalo[i];
    00115				break;
    00116			Case 2:
    00117				for (i=0;i<18;i++)
    00118					InfoText[i] = InfoTextClassicXIII[i];
    00119				break;
    00120			Case 3:
    00121				for (i=0;i<18;i++)
    00122					InfoText[i] = InfoTextGoofyXIII[i];
    00123				break;
    00124		}
    00125		InitLabels();
    00126		PadConfigButton.SetSelectedIndex(PadConfig);
    00127	}
    00128
    00129
    00130	//_____________________________________________________________________________
    00131	function ShowWindow()
    00132	{
    00133	    Super.ShowWindow();
    00134
    00135	    bShowBCK = true;
    00136	    bShowACC = true;
    00137	}
    00138
    00139	//_____________________________________________________________________________
    00140	function InitLabels()
    00141	{
    00142	/*
    00143		// labels positions defined for big XBox pad
    00144		InitLabel(InfoLabel[0], 460, 145*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[0]);
    00145		InitLabel(InfoLabel[1], 460, 105*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[1]);
    00146		InitLabel(InfoLabel[2], 460, 125*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[2]);
    00147		InitLabel(InfoLabel[3], 460, 85*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[3]);
    00148		InitLabel(InfoLabel[5], 460, 65*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[5]);
    00149		InitLabel(InfoLabel[6], 40, 285*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[6]);
    00150		InitLabel(InfoLabel[7], 460, 282*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[7]);
    00151		InitLabel(InfoLabel[9], 38, 170*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[9]);
    00152		InitLabel(InfoLabel[12], 270, 255*fScaleTo + iObjDecalY, 100, 20*fScaleTo, InfoText[12]);
    00153		InitLabel(InfoLabel[13], 270, 275*fScaleTo + iObjDecalY, 100, 20*fScaleTo, InfoText[13]);
    00154		InitLabel(InfoLabel[14], 38, 125*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[14]);
    00155		InitLabel(InfoLabel[15], 38, 190*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[15]);
    00156		InitLabel(InfoLabel[16], 38, 105*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[16]);
    00157		InitLabel(InfoLabel[17], 460, 170*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[17]);
    00158	*/
    00159
    00160		InitLabel(InfoLabel[0], 460, 140*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[0]);
    00161		InitLabel(InfoLabel[1], 460, 100*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[1]);
    00162		InitLabel(InfoLabel[2], 460, 120*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[2]);
    00163		InitLabel(InfoLabel[3], 460, 80*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[3]);
    00164		InitLabel(InfoLabel[5], 460, 160*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[5]);
    00165		InitLabel(InfoLabel[6], 40, 282*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[6]);
    00166		InitLabel(InfoLabel[7], 460, 280*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[7]);
    00167		InitLabel(InfoLabel[9], 38, 185*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[9]);
    00168		InitLabel(InfoLabel[12], 38, 165*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[12]);
    00169		InitLabel(InfoLabel[13], 38, 145*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[13]);
    00170		InitLabel(InfoLabel[14], 38, 125*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[14]);
    00171		//InitLabel(InfoLabel[15], 38, 205*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[15]);
    00172		InitLabel(InfoLabel[16], 38, 105*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[16]);
    00173		InitLabel(InfoLabel[17], 460, 180*fScaleTo + iObjDecalY, 140, 20*fScaleTo, InfoText[17]);
    00174	}
    00175
    00176
    00177	//_____________________________________________________________________________
    00178	function Paint(Canvas C, float X, float Y)
    00179	{
    00180	    local float fScale, W, H;
    00181
    00182	    Super.Paint(C, X, Y);
    00183
    00184	    C.Style = 1;
    00185
    00186	    DrawStretchedTexture(C, 0, iObjDecalY, 320*fRatioX, 240*fScaleTo*fRatioY, tBackGround[0]);
    00187	    DrawStretchedTexture(C, 320*fRatioX , iObjDecalY, 320*fRatioX, 240*fScaleTo*fRatioY, tBackGround[1]);
    00188	    DrawStretchedTexture(C, 0, 240*fScaleTo*fRatioY  + iObjDecalY, 320*fRatioX, 240*fScaleTo*fRatioY, tBackGround[2]);
    00189	    DrawStretchedTexture(C, 320*fRatioX, 240*fScaleTo*fRatioY + iObjDecalY, 320*fRatioX, 240*fScaleTo*fRatioY, tBackGround[3]);
    00190
    00191	    C.bUseBorder = true;
    00192	    DrawStretchedTexture(C, 45, 40*fRatioY + iObjDecalY, 120*fRatioX, 40*fRatioY, myRoot.FondMenu);
    00193	    C.TextSize(/*Caps(*/TitleText/*)*/, W, H);
    00194	    C.DrawColor = BlackColor;
    00195		C.SetPos((105 - W/2)*fRatioX, (60 - H/2)*fRatioY + iObjDecalY);
    00196		C.DrawText(/*Caps(*/TitleText/*)*/, false);
    00197	    C.bUseBorder = false;
    00198	    C.DrawColor = WhiteColor;
    00199
    00200	    C.Style = 5;
    00201		C.DrawColor.A = 128;
    00202		C.SpaceX = 1;
    00203		DrawLabel(C, InfoLabel[0], true, true);
    00204		DrawLabel(C, InfoLabel[1], true, true);
    00205		DrawLabel(C, InfoLabel[2], true, true);
    00206		DrawLabel(C, InfoLabel[3], true, true);
    00207		DrawLabel(C, InfoLabel[5], true, true);
    00208		DrawLabel(C, InfoLabel[6], true, true);
    00209		DrawLabel(C, InfoLabel[7], true, true);
    00210		DrawLabel(C, InfoLabel[9], true, true);
    00211		DrawLabel(C, InfoLabel[10], true, true);
    00212		DrawLabel(C, InfoLabel[12], true, true);
    00213		DrawLabel(C, InfoLabel[13], true, true);
    00214		DrawLabel(C, InfoLabel[14], true, true);
    00215		//DrawLabel(C, InfoLabel[15], true, true);
    00216		DrawLabel(C, InfoLabel[16], true, true);
    00217		DrawLabel(C, InfoLabel[17], true, true);
    00218		C.SpaceX = 0;
    00219	    C.Style = 1;
    00220	}
    00221
    00222
    00223	//_____________________________________________________________________________
    00224	function PadConfigChanged()
    00225	{
    00226
    00227		// generic inputs
    00228	/*	GetPlayerOwner().ConsoleCommand("SET Input Joy2 PrevWeapon");
    00229		GetPlayerOwner().ConsoleCommand("SET Input Joy6 QuickHeal");
    00230		GetPlayerOwner().ConsoleCommand("SET Input Joy8 Fire | onrelease UnFire");
    00231		GetPlayerOwner().ConsoleCommand("SET Input Joy9 CenterView | ACTOR ALIGN SNAPTOFLOOR ALIGN=1");
    00232		GetPlayerOwner().ConsoleCommand("SET Input Joy10 CenterView | ACTOR ALIGN SNAPTOFLOOR ALIGN=1");
    00233		GetPlayerOwner().ConsoleCommand("SET Input Joy11 InventoryNext");
    00234		GetPlayerOwner().ConsoleCommand("SET Input Joy12 InventoryPrevious");
    00235		GetPlayerOwner().ConsoleCommand("SET Input Joy13 ShowMenu");
    00236		GetPlayerOwner().ConsoleCommand("SET Input Joy14 ShowScores | onrelease HideScores");
    00237		GetPlayerOwner().ConsoleCommand("SET Input Joy15 Duck");
    00238		GetPlayerOwner().ConsoleCommand("SET Input JoyY Axis aBaseY SpeedBase=1.0 DeadZone=0.4");
    00239		GetPlayerOwner().ConsoleCommand("SET Input JoyV Axis aLookup SpeedBase=1.0 DeadZone=0.4 INVERT=-1");
    00240	*/
    00241		switch ( PadConfig )
    00242		{
    00243			case 0:
    00244				// specific inputs for classic halo
    00245
GetPlayerOwner().ConsoleCommand("SET XIIIPlayerController ConfigType CT_StrafeLookNotSameAxis"); 00246 GetPlayerOwner().ConsoleCommand("SET Input Joy1 Jump"); 00247 GetPlayerOwner().ConsoleCommand("SET Input Joy3 Grab"); 00248 GetPlayerOwner().ConsoleCommand("SET Input Joy4 PrevWeapon"); 00249 GetPlayerOwner().ConsoleCommand("SET Input Joy7 AltFire | onrelease UnFire"); 00250 GetPlayerOwner().ConsoleCommand("SET Input JoyX Axis aStrafe SpeedBase=1.0 DeadZone=0.4"); 00251 GetPlayerOwner().ConsoleCommand("SET Input JoyU Axis aTurn SpeedBase=1.0 DeadZone=0.4"); 00252 //GetPlayerOwner().ConsoleCommand("SET Input JoyZ Axis aTurn SpeedBase=1.0 DeadZone=0.4"); 00253 break; 00254 case 1: 00255 // specific inputs for goofy halo 00256 GetPlayerOwner().ConsoleCommand("SET XIIIPlayerController ConfigType CT_StrafeLookSameAxis"); 00257 GetPlayerOwner().ConsoleCommand("SET Input Joy1 Jump"); 00258 GetPlayerOwner().ConsoleCommand("SET Input Joy3 Grab"); 00259 GetPlayerOwner().ConsoleCommand("SET Input Joy4 PrevWeapon"); 00260 GetPlayerOwner().ConsoleCommand("SET Input Joy7 AltFire | onrelease UnFire"); 00261 GetPlayerOwner().ConsoleCommand("SET Input JoyX Axis aTurn SpeedBase=1.0 DeadZone=0.4"); 00262 GetPlayerOwner().ConsoleCommand("SET Input JoyU Axis aStrafe SpeedBase=1.0 DeadZone=0.4"); 00263 //GetPlayerOwner().ConsoleCommand("SET Input JoyZ Axis aStrafe SpeedBase=1.0 DeadZone=0.4"); 00264 break; 00265 case 2: 00266 // specific inputs for classic XIII 00267 GetPlayerOwner().ConsoleCommand("SET XIIIPlayerController ConfigType CT_StrafeLookNotSameAxis"); 00268 GetPlayerOwner().ConsoleCommand("SET Input Joy1 Grab"); 00269 GetPlayerOwner().ConsoleCommand("SET Input Joy3 PrevWeapon"); 00270 GetPlayerOwner().ConsoleCommand("SET Input Joy4 AltFire | onrelease UnFire"); 00271 GetPlayerOwner().ConsoleCommand("SET Input Joy7 Jump"); 00272 GetPlayerOwner().ConsoleCommand("SET Input JoyX Axis aStrafe SpeedBase=1.0 DeadZone=0.4"); 00273 GetPlayerOwner().ConsoleCommand("SET Input JoyU Axis aTurn SpeedBase=1.0 DeadZone=0.4"); 00274 //GetPlayerOwner().ConsoleCommand("SET Input JoyZ Axis aTurn SpeedBase=1.0 DeadZone=0.4"); 00275 break; 00276 case 3: 00277 // specific inputs for goofy XIII 00278 GetPlayerOwner().ConsoleCommand("SET XIIIPlayerController ConfigType CT_StrafeLookSameAxis"); 00279 GetPlayerOwner().ConsoleCommand("SET Input Joy1 Grab"); 00280 GetPlayerOwner().ConsoleCommand("SET Input Joy3 PrevWeapon"); 00281 GetPlayerOwner().ConsoleCommand("SET Input Joy4 AltFire | onrelease UnFire"); 00282 GetPlayerOwner().ConsoleCommand("SET Input Joy7 Jump"); 00283 GetPlayerOwner().ConsoleCommand("SET Input JoyX Axis aTurn SpeedBase=1.0 DeadZone=0.4"); 00284 GetPlayerOwner().ConsoleCommand("SET Input JoyU Axis aStrafe SpeedBase=1.0 DeadZone=0.4"); 00285 //GetPlayerOwner().ConsoleCommand("SET Input JoyZ Axis aStrafe SpeedBase=1.0 DeadZone=0.4"); 00286 break; 00287 } 00288 00289 GetPlayerOwner().OptimizeInputBindings(); 00290 } 00291 00292 00293 function bool InternalOnKeyEvent(out byte Key, out byte State, float delta) 00294 { 00295 local int i; 00296 00297 if ((State==1) || (State==2))// IST_Press // to avoid auto-repeat 00298 { 00299 if (Key==0x0D/*IK_Enter*/) 00300 { 00301 OnMenu = FindComponentIndex(FocusedControl); 00302 switch (OnMenu) 00303 { 00304 case 0: 00305 GetPlayerOwner().UserPadConfig = PadConfig; 00306 PadConfigChanged(); 00307 // SaveConfigs(); 00308 SaveConfig(); 00309 myRoot.CloseMenu(false); 00310 break; 00311 case 1: 00312 Controller.OpenMenu("XIDInterf.XIIIMenuAdvancedControlsWindow"); 00313 break; 00314 } 00315 return true; 00316 } 00317 00318 if (Key==0x08/*IK_Backspace*/) 00319 { 00320 myRoot.CloseMenu(true); 00321 return true; 00322 } 00323 00324 if (Key==0x26/*IK_Up*/) 00325 { 00326 PrevControl(FocusedControl); 00327 return true; 00328 } 00329 00330 if (Key==0x28/*IK_Down*/) 00331 { 00332 NextControl(FocusedControl); 00333 return true; 00334 } 00335 00336 if ((Key==0x25/*IK_Left*/) || (Key==0x27/*IK_Right*/)) 00337 { 00338 if (FocusedControl == Controls[0]) 00339 { 00340 if (Key==0x25) PadConfig--; 00341 if (Key==0x27) PadConfig++; 00342 PadConfig = Clamp(PadConfig,0,NbPadConfig - 1); 00343 00344 switch (PadConfig) 00345 { 00346 Case 0: 00347 for (i=0;i<18;i++) 00348 InfoText[i] = InfoTextClassicHalo[i]; 00349 break; 00350 Case 1: 00351 for (i=0;i<18;i++) 00352 InfoText[i] = InfoTextGoofyHalo[i]; 00353 break; 00354 Case 2: 00355 for (i=0;i<18;i++) 00356 InfoText[i] = InfoTextClassicXIII[i]; 00357 break; 00358 Case 3: 00359 for (i=0;i<18;i++) 00360 InfoText[i] = InfoTextGoofyXIII[i]; 00361 break; 00362 } 00363 InitLabels(); 00364 PadConfigButton.SetSelectedIndex(PadConfig); 00365 } 00366 return true; 00367 } 00368 } 00369 return super.InternalOnKeyEvent(Key, state, delta); 00370 } 00371 00372 00373 00374 00375 defaultproperties 00376 { 00377 TitleText="Controls" 00378 NumPadText="Pad Number" 00379 PadText="Pad Configuration" 00380 AdvancedText="Advanced" 00381 sButtonsX(0)="A" 00382 sButtonsX(1)="B" 00383 sButtonsX(2)="X" 00384 sButtonsX(3)="Y" 00385 sButtonsX(4)="Black" 00386 sButtonsX(5)="White" 00387 sButtonsX(6)="Left Trigger" 00388 sButtonsX(7)="Right Trigger" 00389 sButtonsX(8)="CrossDown" 00390 sButtonsX(9)="CrossRight" 00391 sButtonsX(10)="CrossLeft" 00392 sButtonsX(11)="CrossUp" 00393 sButtonsX(12)="Start" 00394 sButtonsX(13)="Select" 00395 sButtonsX(14)="LPad Button" 00396 sButtonsX(15)="RPad Button" 00397 sButtonsX(16)="Left ThumbStick" 00398 sButtonsX(17)="Right ThumbStick" 00399 sButtonsP(0)="Triangle" 00400 sButtonsP(1)="Circle" 00401 sButtonsP(2)="Cross" 00402 sButtonsP(3)="Square" 00403 sButtonsP(4)="L2" 00404 sButtonsP(5)="R2" 00405 sButtonsP(6)="L1" 00406 sButtonsP(7)="R1" 00407 sButtonsP(8)="Select" 00408 sButtonsP(9)="L3" 00409 sButtonsP(10)="R3" 00410 sButtonsP(11)="Start" 00411 sButtonsP(12)="CrossUp" 00412 sButtonsP(13)="CrossRight" 00413 sButtonsP(14)="CrossDown" 00414 sButtonsP(15)="CrossLeft" 00415 sButtonsP(16)="Left Stick" 00416 sButtonsP(17)="Right Stick" 00417 sButtonsG(0)="L Shoulder" 00418 sButtonsG(1)="R Shoulder" 00419 sButtonsG(2)="Z Trigger" 00420 sButtonsG(3)="Y" 00421 sButtonsG(4)="X" 00422 sButtonsG(5)="A" 00423 sButtonsG(6)="B" 00424 sButtonsG(7)="CrossLeft" 00425 sButtonsG(8)="CrossRight" 00426 sButtonsG(9)="CrossUp" 00427 sButtonsG(10)="CrossDown" 00428 sButtonsG(11)="Start" 00429 sButtonsG(16)="LPad" 00430 sButtonsG(17)="RPad" 00431 sBackground(0)="XIIIMenuStart.controlsPS2_1" 00432 sBackground(1)="XIIIMenuStart.controlsPS2_2" 00433 sBackground(2)="XIIIMenuStart.controlsPS2_3" 00434 sBackground(3)="XIIIMenuStart.controlsPS2_4" 00435 sBackground(4)="XIIIMenuStart.controlsXbox1" 00436 sBackground(5)="XIIIMenuStart.controlsXbox2" 00437 sBackground(6)="XIIIMenuStart.controlsXbox3" 00438 sBackground(7)="XIIIMenuStart.controlsXbox4" 00439 sBackground(8)="XIIIMenuStart.controlsGamecube1" 00440 sBackground(9)="XIIIMenuStart.controlsGamecube2" 00441 sBackground(10)="XIIIMenuStart.controlsGamecube3" 00442 sBackground(11)="XIIIMenuStart.controlsGamecube4" 00443 sHighlight(0)="XIIIMenuStart.selectboutonconfig" 00444 sHighlight(1)="XIIIMenuStart.selectboutonoptadvance" 00445 bForceHelp=True 00446 }

End Source Code