
| QUOTE |
| DEF theMainMenu Level |
| QUOTE |
| GetSubmenuText(); c.SubmenuText1.text = SubMenuItem1; c.SubmenuText2.text = SubMenuItem2; c.SubmenuText3.text = SubMenuItem3; c.SubmenuText4.text = SubMenuItem4; c.SubmenuText5.text = SubMenuItem5; |
| QUOTE |
| GetSubmenuText(); c.SubmenuText1.text = SubMenuItem1; c.SubmenuText2.text = SubMenuItem2; c.SubmenuText3.text = SubMenuItem3; c.SubmenuText4.text = SubMenuItem4; c.SubmenuText5.text = SubMenuItem5; c.theKernelName.text = theConfig.GetROMVersion(); c.theDashName.text = theConfig.GetXdashVersion(); UpdateMainMenu(); |
| QUOTE |
| control DEF theMainMenuJoy Joystick |
| QUOTE |
| function OnYDown() |
| QUOTE |
| function OnYDown() { if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } } |
| QUOTE |
| function OnArrival() |
| QUOTE |
| function OnArrival() { theSkinBackground.isBound = true; } behavior { sleep 0.1; if (children[0].children.length() > 0) { if (ControlPanelOut == true) { theMainMenu.children[0].children[0].theSkinName.fade =0.7; theMainMenu.children[0].children[0].theSkinName.SetAlpha(0); theMainMenu.children[0].children[0].theSkinName.SetTranslation(330, 255, -2100); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.7; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(0); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(-500, -250, -2100); } else if (bInGameBoardView == true) { theMainMenu.children[0].children[0].theSkinName.fade =0.7; theMainMenu.children[0].children[0].theSkinName.SetAlpha(0); theMainMenu.children[0].children[0].theSkinName.SetTranslation(-1500, 255, -210); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.7; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(0); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(1500, -250, -210); } else { theMainMenu.children[0].children[0].theSkinName.fade =0.3; theMainMenu.children[0].children[0].theSkinName.SetAlpha(1); theMainMenu.children[0].children[0].theSkinName.SetTranslation(330, 255, -210); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.3; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(1); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(-360, -250, -210); } if (InBoardBack) { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(1); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(500, 150, -210); } else { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(0); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(2010, -1975, -1100); } if (theDiscDrive.discType == "unknown") { c.theDVDName.text = "Disque Inconnu"; } else if (theDiscDrive.discType == "Audio") { c.theDVDName.text = "CD Audio"; } else if (theDiscDrive.discType == "Video") { c.theDVDName.text = "DVD Video"; } else if (theDiscDrive.discType == "Title") { c.theDVDName.text = "Jeux ou Appli"; } else { c.theDVDName.text = "Vide"; } } } |
| QUOTE |
| // All new var's below here... |
| QUOTE |
| var quicklaunch; var gamelaunch; var launchPath; var launchXbe; var bInGameBoardView; var CurrentGameBoardAltViewpoint; var InBoardBack; function initialize() { InBoardBack = false; bInGameBoardView = false; BGMon = false; |
| QUOTE |
| DEF ExtraPanel Transform { children [ DEF theScoreBoardPanelTwo_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_02" } texture ImageTexture { url "panel8.tga" alpha true } } geometry DEF theScoreBoardPanelTwo_backing_mesh Mesh { url "panel02_backing-FACES.xm" } } ] scale 0.95 1 0.98 rotation -1.000000 0.004363 -0.004363 -1.571000 translation -23.900000 14.000000 2.360000 } DEF PanelTwo_header_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_header_A_mesh Mesh { url "panel02_header-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation -6.646000 -7.603000 2.330000 } DEF PanelTwo_header_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF PanelTwo_header_B_mesh Mesh { url "panel02_header-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation -6.646000 -7.603000 2.330000 } DEF Tube_One_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Tubes" } } geometry DEF Tube_One_A_mesh Mesh { url "tube_01-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation 17.680000 -18.459999 13.620000 } DEF Tube_Two_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Tubes" } } geometry DEF Tube_Two_B_mesh Mesh { url "tube_02-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation 17.680000 -19.990000 13.620000 } DEF PanelTwo_support_01_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_support_01_A_mesh Mesh { url "panel02_support_01-FACES.xm" } } ] rotation -0.003085 0.707100 0.707100 -3.148000 translation -17.750000 0.642600 2.228000 } DEF PanelTwo_support_01_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF PanelTwo_support_01_B_mesh Mesh { url "panel02_support_01-FACES.xm" } } ] rotation -0.003085 0.707100 0.707100 -3.148000 translation -17.750000 0.642600 2.228000 } DEF PanelTwo_support_03_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_support_03_A_mesh Mesh { url "panel02_support_03-FACES.xm" } } ] rotation 0.575700 -0.575700 0.580700 -2.089000 translation -24.100000 -6.927000 2.178000 } DEF PanelTwo_support_03_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF panelTwo_support_03_B_mesh Mesh { url "panel02_support_03-FACES.xm" } } ] rotation 0.575700 -0.575700 0.580700 -2.089000 translation -24.100000 -6.927000 2.178000 } DEF theAvatar Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "avatar.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Kernel :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -18.2 -1.3 0 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -3.3 0 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Dash :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -18.2 -5.3 0 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -7.3 0 } DEF theLine Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GameHilite" } } geometry Text { font "Heading" text "___________" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -8.6 0 } DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD PARTITION" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -24 -11 0 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -13 0 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -15 0 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -17 0 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -22 -19.5 0 } DEF theDVDText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDName Text { font "Heading" text "DVD" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18 -19.5 0 } ] scale 35 17.5 17.5 //rotation 0.2, 0.2, 0, -3.142 translation 2010 -1975 -1100 } |
| QUOTE (alphaxav @ Jul 14 2004, 08:14 PM) |
I search to do this ( not finish) :![]() edit : the dvd drive isn't active ! |
| CODE |
if (InBoardBack) { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(1); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(500, 150, -210); theMainMenu.children[0].children[0].dvdpic1.SetAlpha(0); theMainMenu.children[0].children[0].dvdpic2.SetAlpha(0); theMainMenu.children[0].children[0].dvdpic3.SetAlpha(0); theMainMenu.children[0].children[0].dvdpic4.SetAlpha(0); theMainMenu.children[0].children[0].dvdpic5.SetAlpha(0); } else { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(0); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(2010, -1975, -1100); } if (theDiscDrive.discType == "unknown") { theMainMenu.children[0].children[0].dvdpic1.SetAlpha(1); } else if (theDiscDrive.discType == "Audio") { theMainMenu.children[0].children[0].dvdpic2.SetAlpha(1); } else if (theDiscDrive.discType == "Video") { theMainMenu.children[0].children[0].dvdpic3.SetAlpha(1); } else if (theDiscDrive.discType == "Title") { theMainMenu.children[0].children[0].dvdpic4.SetAlpha(1); } else { theMainMenu.children[0].children[0].dvdpic5.SetAlpha(1); } } } } |
| CODE |
DEF dvdpic1 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "unknown.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } DEF dvdpic2 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "Audio.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } DEF dvdpic3 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "Video.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } DEF dvdpic4 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "Title.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } DEF dvdpic5 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "NODISC.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } |
| QUOTE |
| please post the working code without clock or skinmaker panel |
| CODE |
function OnArrival() { theSkinBackground.isBound = true; } behavior { sleep 0.1; if (children[0].children.length() > 0) { if (InBoardBack) { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(1); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(500, 150, -210); } else { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(0); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(2010, -1975, -1100); } if (theDiscDrive.discType == "unknown") { c.theDVDName.text = "Disque Inconnu"; } else if (theDiscDrive.discType == "Audio") { c.theDVDName.text = "CD Audio"; } else if (theDiscDrive.discType == "Video") { c.theDVDName.text = "DVD Video"; } else if (theDiscDrive.discType == "Title") { c.theDVDName.text = "Jeux ou Appli"; } else { c.theDVDName.text = "Vide"; } } } } |
| CODE |
var a = new Array(6); a[0] = ShowFreeSpaceOn(8); a[1] = ShowFreeSpaceOn(9); a[2] = ShowFreeSpaceOn(10); a[3] = ShowTotalSpaceOn(8); a[4] = ShowTotalSpaceOn(9); a[5] = ShowTotalSpaceOn(10); if(a[0] <= 0) { theMainMenu.children[0].children[0].theFreeEText.text = "n\u002Fa"; } else { if (a[0] <= 999) { theMainMenu.children[0].children[0].theFreeEText.text = a[0] + " MB"; } else if ( a[0] > 999) { theMainMenu.children[0].children[0].theFreeEText.text = Math.round(a[0] / 1000) + " GB"; } } if(a[1] <= 0) { theMainMenu.children[0].children[0].theFreeFText.text = "n\u002Fa"; } else { if (a[1] <= 999) { theMainMenu.children[0].children[0].theFreeFText.text = a[1] + " MB"; } else if ( a[1] > 999) { theMainMenu.children[0].children[0].theFreeFText.text = Math.round(a[1] / 1000) + " GB"; } } if(a[2] <= 0) { theMainMenu.children[0].children[0].theFreeGText.text = "n\u002Fa"; } else { if (a[2] <= 999) { theMainMenu.children[0].children[0].theFreeGText.text = a[2] + " MB"; } else if ( a[2] > 999) { theMainMenu.children[0].children[0].theFreeGText.text = Math.round(a[2] / 1000) + " GB"; } } if(a[3] <= 0) { theMainMenu.children[0].children[0].theTotalEText.text = "n\u002Fa"; } else { if (a[3] <= 999) { theMainMenu.children[0].children[0].theTotalEText.text = a[3] + " MB"; } else if ( a[3] > 999) { theMainMenu.children[0].children[0].theTotalEText.text = Math.round(a[3] / 1000) + " GB"; } } if(a[4] <= 0) { theMainMenu.children[0].children[0].theTotalFText.text = "n\u002Fa"; } else { if (a[4] <= 999) { theMainMenu.children[0].children[0].theTotalFText.text = a[4] + " MB"; } else if ( a[4] > 999) { theMainMenu.children[0].children[0].theTotalFText.text = Math.round(a[4] / 1000) + " GB"; } } if(a[5] <= 0) { theMainMenu.children[0].children[0].theTotalGText.text = "n\u002Fa"; } else { if (a[5] <= 999) { theMainMenu.children[0].children[0].theTotalGText.text = a[5] + " MB"; } else if ( a[5] > 999) { theMainMenu.children[0].children[0].theTotalGText.text = Math.round(a[5] / 1000) + " GB"; } } } DEF theHDDMonitor MemoryMonitor function ShowFreeSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetTotalFreeBlocks(a); var c = (b * 16) / 1024; var d = Math.round(c); return d; } function ShowTotalSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetFreeTotalRatio(a); var c = theHDDMonitor.GetTotalFreeBlocks(a); var d = (c * 16) / 1024; var e = d / b; var f = Math.round(e); return f; } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -13 0 } Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "ItemsType"//"Typesdsafsda" } } geometry DEF theFreeEText Text { font "body" justify "middle" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -20 -13 0 } |
| CODE |
DEF theDVDText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -15 -19.5 0 } ] scale 35 17.5 17.5 //rotation 0.2, 0.2, 0, -3.142 translation 2010 -1975 -1100 } |
| CODE |
if (theDiscDrive.discType == "unknown") { theMainMenu.children[0].children[0].theDVDText.text = "unknown"; } else if (theDiscDrive.discType == "Audio") { theMainMenu.children[0].children[0].theDVDText.text = "Audio cd"; } else if (theDiscDrive.discType == "Video") { theMainMenu.children[0].children[0].theDVDText.text = "DVD Video"; } else if (theDiscDrive.discType == "Title") { theMainMenu.children[0].children[0].theDVDText.text = "GAME"; } else { theMainMenu.children[0].children[0].theDVDText.text = "NO DISC"; } } } |

| CODE |
DEF theHDDMonitor MemoryMonitor function ShowFreeSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetTotalFreeBlocks(a); var c = (b * 16) / 1024 / 1024; var d = Math.round(c); return d; } function ShowTotalSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetFreeTotalRatio(a); var c = theHDDMonitor.GetTotalFreeBlocks(a); var d = (c * 16) / 1024 / 1024; var e = d / b; var f = Math.round(e); return f; } |
| CODE |
function OnArrival() { theSkinBackground.isBound = true; } behavior //this is it xxwillisxx { sleep 0.1; if (children[0].children.length() > 0) { if (ControlPanelOut == true) { theMainMenu.children[0].children[0].theSkinName.fade =0.7; theMainMenu.children[0].children[0].theSkinName.SetAlpha(0); theMainMenu.children[0].children[0].theSkinName.SetTranslation(-200, -250, -2100); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.7; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(0); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(-500, -250, -2100); } else if (bInGameBoardView == true) { theMainMenu.children[0].children[0].theSkinName.fade =0.7; theMainMenu.children[0].children[0].theSkinName.SetAlpha(0); theMainMenu.children[0].children[0].theSkinName.SetTranslation(-1500, 0, 0); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.7; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(0); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(1500, -250, -210); } else { theMainMenu.children[0].children[0].theSkinName.fade =0.3; theMainMenu.children[0].children[0].theSkinName.SetAlpha(1); theMainMenu.children[0].children[0].theSkinName.SetTranslation(0, 0, 0); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.3; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(1); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(-360, -250, -210); } if (InBoardBack) { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(1); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(500, 150, -210); theMainMenu.children[0].children[0].theFreeEText.text = ShowFreeSpaceOn(8) + (" GB"); theMainMenu.children[0].children[0].theFreeFText.text = ShowFreeSpaceOn(9) + (" GB"); theMainMenu.children[0].children[0].theFreeGText.text = ShowFreeSpaceOn(10) + (" GB"); theMainMenu.children[0].children[0].theTotalEText.text = ShowTotalSpaceOn(8) + (" GB"); theMainMenu.children[0].children[0].theTotalFText.text = ShowTotalSpaceOn(9) + (" GB"); theMainMenu.children[0].children[0].theTotalGText.text = ShowTotalSpaceOn(10) + (" GB"); } else { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(0); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(2010, -1975, -1100); } if (theDiscDrive.discType == "unknown") { theMainMenu.children[0].children[0].theDVDText.text = "UNKNOWN"; } else if (theDiscDrive.discType == "Audio") { theMainMenu.children[0].children[0].theDVDText.text = "AUDIO CD"; } else if (theDiscDrive.discType == "Video") { theMainMenu.children[0].children[0].theDVDText.text = "DVD VIDEO"; } else if (theDiscDrive.discType == "Title") { theMainMenu.children[0].children[0].theDVDText.text = "GAME"; } else { theMainMenu.children[0].children[0].theDVDText.text = "NO DISC"; } } } } |
| CODE |
GetSubmenuText(); c.SubmenuText1.text = SubMenuItem1; c.SubmenuText2.text = SubMenuItem2; c.SubmenuText3.text = SubMenuItem3; c.SubmenuText4.text = SubMenuItem4; c.SubmenuText5.text = SubMenuItem5; |
| CODE |
GetSubmenuText(); c.SubmenuText1.text = SubMenuItem1; c.SubmenuText2.text = SubMenuItem2; c.SubmenuText3.text = SubMenuItem3; c.SubmenuText4.text = SubMenuItem4; c.SubmenuText5.text = SubMenuItem5; c.theKernelName.text = theConfig.GetROMVersion(); c.theDashName.text = theConfig.GetXdashVersion(); UpdateMainMenu(); |
| CODE |
function OnYDown() { if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } } |
| CODE |
url "MainMenu5/default.xap" function onLoad() { var a = new Array(6); a[0] = ShowFreeSpaceOn(8); // E: a[1] = ShowFreeSpaceOn(9); // F: a[2] = ShowFreeSpaceOn(10); // G: a[3] = ShowTotalSpaceOn(8); // E: a[4] = ShowTotalSpaceOn(9); // F: a[5] = ShowTotalSpaceOn(10); // G: var c = theMainMenu.children[0].children[0]; if( g_bXOnDashExists ) |
| CODE |
DEF ExtraPanel Transform { children [ DEF theScoreBoardPanelTwo_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_02" } texture ImageTexture { url "panel8.tga" alpha true } } geometry DEF theScoreBoardPanelTwo_backing_mesh Mesh { url "panel02_backing-FACES.xm" } } ] scale 0.95 1 0.98 rotation -1.000000 0.004363 -0.004363 -1.571000 translation -23.900000 14.000000 2.360000 } DEF PanelTwo_header_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_header_A_mesh Mesh { url "panel02_header-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation -6.646000 -7.603000 2.330000 } DEF PanelTwo_header_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF PanelTwo_header_B_mesh Mesh { url "panel02_header-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation -6.646000 -7.603000 2.330000 } DEF Tube_One_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Tubes" } } geometry DEF Tube_One_A_mesh Mesh { url "tube_01-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation 17.680000 -18.459999 13.620000 } DEF Tube_Two_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Tubes" } } geometry DEF Tube_Two_B_mesh Mesh { url "tube_02-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation 17.680000 -19.990000 13.620000 } DEF PanelTwo_support_01_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_support_01_A_mesh Mesh { url "panel02_support_01-FACES.xm" } } ] rotation -0.003085 0.707100 0.707100 -3.148000 translation -17.750000 0.642600 2.228000 } DEF PanelTwo_support_01_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF PanelTwo_support_01_B_mesh Mesh { url "panel02_support_01-FACES.xm" } } ] rotation -0.003085 0.707100 0.707100 -3.148000 translation -17.750000 0.642600 2.228000 } DEF PanelTwo_support_03_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_support_03_A_mesh Mesh { url "panel02_support_03-FACES.xm" } } ] rotation 0.575700 -0.575700 0.580700 -2.089000 translation -24.100000 -6.927000 2.178000 } DEF PanelTwo_support_03_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF panelTwo_support_03_B_mesh Mesh { url "panel02_support_03-FACES.xm" } } ] rotation 0.575700 -0.575700 0.580700 -2.089000 translation -24.100000 -6.927000 2.178000 } DEF theAvatar Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "avatar.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Kernel :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -18.2 -1.3 0 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -3.3 0 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Dash :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -18.2 -5.3 0 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -7.3 0 } DEF theLine Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GameHilite" } } geometry Text { font "Heading" text "___________" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -8.6 0 } DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD PARTITION" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -24 -11 0 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -13 0 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "middle" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -20 -13 0 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "middle" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -13 -13 0 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -15 0 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "middle" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -20 -15 0 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "middle" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -13 -15 0 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -17 0 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "middle" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -20 -17 0 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "middle" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -13 -17 0 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -22 -19.5 0 } DEF theDVDText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -15 -19.5 0 } ] scale 35 17.5 17.5 //rotation 0.2, 0.2, 0, -3.142 translation 2010 -1975 -1100 } |
| QUOTE (coltxL2717 @ Jul 16 2004, 03:45 AM) |
| I have a problem. i've gotten the text to work but the paneling does not appear. Looks wierd, theres just floating text on my screen. help. |
| QUOTE |
panel02_backing-FACES.xm panel02_header-FACES.xm tube_01-FACES.xm tube_02-FACES.xm panel02_support_01-FACES.xm panel02_support_03-FACES.xm |

| CODE |
DEF theScoreBoardPanelTwo_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Inner" //name "InnerWall_02" } texture ImageTexture { url "panel8.tga" alpha true } } geometry DEF theScoreBoardPanelTwo_backing_mesh Mesh { url "panel02_backing-FACES.xm" } } ] //scale 0.95 1 0.98 scale 1 0 1 rotation -1.000000 0.004363 -0.004363 -1.571000 //translation -23.900000 14.000000 2.360000 translation -24.20000 14.000000 2.360000 |

| QUOTE |
| function OnYDown() { StartGameBoardView(); if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } |

| QUOTE |
| SSChevy2001 i see yours is for Original..cant wait to see it done |
| QUOTE |
| i think that panel u guys used is really ugly and doesn't match the other panels in the dash |


| QUOTE (SSChevy2001 @ Jul 16 2004, 05:02 PM) |
| The picture your looking at is Lite not Original, but when I'm done it will work on both dashs. What do you think about mine same or not, of course keep in mind it's not finished. |
| QUOTE |
| DEF theHDDMonitor MemoryMonitor function ShowFreeSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetTotalFreeBlocks(a); var c = b * 16; return c; } function ShowTotalSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetFreeTotalRatio(a); var c = theHDDMonitor.GetTotalFreeBlocks(a); var d = c * 16; var e = d / b; return e; } |
| QUOTE |
| function initialize() |
| QUOTE |
| var bInGameBoardView; var CurrentGameBoardAltViewpoint; var InBoardBack; var DDSpace; var DDType; var DD; var freespace; var totalspace; function initialize() { DDSpace = new Array(6); DDType = new Array(6); InBoardBack = false; bInGameBoardView = false; |
| QUOTE |
| function OnArrival() { theSkinBackground.isBound = true; } |
| QUOTE |
| function OnArrival() { theSkinBackground.isBound = true; } behavior { sleep 0.1; if (children[0].children.length() > 0) { if (ControlPanelOut == true) { theMainMenu.children[0].children[0].theSkinName.fade =0.7; theMainMenu.children[0].children[0].theSkinName.SetAlpha(0); theMainMenu.children[0].children[0].theSkinName.SetTranslation(330, 255, -2100); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.7; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(0); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(-500, -250, -2100); } else if (bInGameBoardView == true) { theMainMenu.children[0].children[0].theSkinName.fade =0.7; theMainMenu.children[0].children[0].theSkinName.SetAlpha(0); theMainMenu.children[0].children[0].theSkinName.SetTranslation(-1500, 255, -210); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.7; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(0); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(1500, -250, -210); } else { theMainMenu.children[0].children[0].theSkinName.fade =0.3; theMainMenu.children[0].children[0].theSkinName.SetAlpha(1); theMainMenu.children[0].children[0].theSkinName.SetTranslation(330, 255, -210); theMainMenu.children[0].children[0].theMainMenuClock.fade =0.3; theMainMenu.children[0].children[0].theMainMenuClock.SetAlpha(1); theMainMenu.children[0].children[0].theMainMenuClock.SetTranslation(-360, -250, -210); } if (InBoardBack) { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(1); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(500, 150, -210); theMainMenu.children[0].children[0].theFreeEText.text = DDSpace[1] + DDType[1]; theMainMenu.children[0].children[0].theFreeFText.text = DDSpace[3] + DDType[3]; theMainMenu.children[0].children[0].theFreeGText.text = DDSpace[5] + DDType[5]; theMainMenu.children[0].children[0].theTotalEText.text = DDSpace[2] + DDType[2]; theMainMenu.children[0].children[0].theTotalFText.text = DDSpace[4] + DDType[4]; theMainMenu.children[0].children[0].theTotalGText.text = DDSpace[6] + DDType[6]; } else { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(0); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(2010, -1975, -1100); } if (theDiscDrive.discType == "unknown") { theMainMenu.children[0].children[0].theDVDText.text = "INCONNU"; } else if (theDiscDrive.discType == "Audio") { theMainMenu.children[0].children[0].theDVDText.text = "CD AUDIO"; } else if (theDiscDrive.discType == "Video") { theMainMenu.children[0].children[0].theDVDText.text = "DVD VIDEO"; } else if (theDiscDrive.discType == "Title") { theMainMenu.children[0].children[0].theDVDText.text = "JEUX"; } else { theMainMenu.children[0].children[0].theDVDText.text = "NO DISC"; } } } |
| QUOTE |
| control DEF theMainMenuJoy Joystick |
| QUOTE |
| function OnYDown() |
| QUOTE |
| function OnYDown() { if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } } |
| QUOTE |
| DEF theMainMenu Level |
| QUOTE |
| function onLoad() |
| QUOTE |
| function onLoad() { DD = 8; for (var ii = 1; ii < 7; ii = ii + 2) { freespace = ShowFreeSpaceOn(DD); totalspace = ShowTotalSpaceOn(DD); DDType[ii] = "Ko"; DDType[ii+1] = "Ko"; DDSpace[ii] = Math.round(freespace); DDSpace[ii+1] = Math.round(totalspace); if (freespace >= 1048576) { DDSpace[ii] = Math.round((freespace / 1024)/1024); DDType[ii] = "Go"; } else if (freespace < 1048576 & freespace > 1024) { DDSpace[ii] = Math.round(freespace / 1024); DDType[ii] = "Mo"; } if (totalspace >= 1048576) { DDSpace[ii+1] = Math.round((totalspace / 1024)/1024); DDType[ii+1] = "Go"; } else if (totalspace < 1048576 & totalspace > 1024) { DDSpace[ii+1] = Math.round(totalspace / 1024); DDType[ii+1] = "Mo"; } DD = DD + 1; } var c = theMainMenu.children[0].children[0]; if( g_bXOnDashExists ) |
| QUOTE |
| GetSubmenuText(); c.SubmenuText1.text = SubMenuItem1; c.SubmenuText2.text = SubMenuItem2; c.SubmenuText3.text = SubMenuItem3; c.SubmenuText4.text = SubMenuItem4; c.SubmenuText5.text = SubMenuItem5; |
| QUOTE |
| GetSubmenuText(); c.SubmenuText1.text = SubMenuItem1; c.SubmenuText2.text = SubMenuItem2; c.SubmenuText3.text = SubMenuItem3; c.SubmenuText4.text = SubMenuItem4; c.SubmenuText5.text = SubMenuItem5; c.theKernelName.text = theConfig.GetROMVersion(); c.theDashName.text = theConfig.GetXdashVersion(); UpdateMainMenu(); |
| QUOTE |
| DEF ExtraPanel Transform { children [ DEF theScoreBoardPanelTwo_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_02" } texture ImageTexture { url "panel8.tga" alpha true } } geometry DEF theScoreBoardPanelTwo_backing_mesh Mesh { url "panel02_backing-FACES.xm" } } ] scale 0.95 1 0.98 rotation -1.000000 0.004363 -0.004363 -1.571000 translation -23.900000 14.000000 2.360000 } DEF PanelTwo_header_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_header_A_mesh Mesh { url "panel02_header-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation -6.646000 -7.603000 2.330000 } DEF PanelTwo_header_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF PanelTwo_header_B_mesh Mesh { url "panel02_header-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation -6.646000 -7.603000 2.330000 } DEF Tube_One_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Tubes" } } geometry DEF Tube_One_A_mesh Mesh { url "tube_01-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation 17.680000 -18.459999 13.620000 } DEF Tube_Two_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Tubes" } } geometry DEF Tube_Two_B_mesh Mesh { url "tube_02-FACES.xm" } } ] rotation -0.575700 -0.575700 -0.580700 -2.089000 translation 17.680000 -19.990000 13.620000 } DEF PanelTwo_support_01_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_support_01_A_mesh Mesh { url "panel02_support_01-FACES.xm" } } ] rotation -0.003085 0.707100 0.707100 -3.148000 translation -17.750000 0.642600 2.228000 } DEF PanelTwo_support_01_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF PanelTwo_support_01_B_mesh Mesh { url "panel02_support_01-FACES.xm" } } ] rotation -0.003085 0.707100 0.707100 -3.148000 translation -17.750000 0.642600 2.228000 } DEF PanelTwo_support_03_A Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" } } geometry DEF PanelTwo_support_03_A_mesh Mesh { url "panel02_support_03-FACES.xm" } } ] rotation 0.575700 -0.575700 0.580700 -2.089000 translation -24.100000 -6.927000 2.178000 } DEF PanelTwo_support_03_B Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF panelTwo_support_03_B_mesh Mesh { url "panel02_support_03-FACES.xm" } } ] rotation 0.575700 -0.575700 0.580700 -2.089000 translation -24.100000 -6.927000 2.178000 } DEF theAvatar Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "avatar.tga" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 scale 4 8 4 translation -21 -5 2 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen"}} geometry Text{ font "Heading" text "Kernel :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -18.2 -1.3 0 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -3.3 0 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen"}} geometry Text{ font "Heading" text "Dash :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -18.2 -5.3 0 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -7.3 0 } DEF theLine Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen" } } geometry Text { font "Heading" text "___________" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -18.2 -8.6 0 } DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen"}} geometry Text{ font "Heading" text "HDD PARTITION" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -24 -11 0 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -13 0 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -20.5 -13 0 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -16 -13 0 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -15 0 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -20.5 -15 0 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -16 -15 0 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -23 -17 0 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -20.5 -17 0 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 1.3 1.5 1.5 //rotation -1 0 0 -1.571 translation -16 -17 0 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "XBoxGreen"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 1.4 1.6 1.6 //rotation -1 0 0 -1.571 translation -22 -19.5 0 } DEF theDVDText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] //rotation 0 0 0.1 0.02 scale 1.4 1.6 1.6 translation -15 -19.5 0 } ] scale 35 17.5 17.5 //rotation 0.2, 0.2, 0, -3.142 translation 2010 -1975 -1100 } |

| QUOTE |
| and the other panels i posted will go along just like that. will look great... if someone can do it... |
| QUOTE (SSChevy2001 @ Jul 16 2004, 10:46 PM) |
| New Updated Picture Check Above |

| QUOTE |
| function onLoad() { DD = 8; for (var ii = 1; ii < 7; ii = ii + 2) { freespace = ShowFreeSpaceOn(DD); totalspace = ShowTotalSpaceOn(DD); DDType[ii] = "KB"; DDType[ii+1] = "KB"; DDSpace[ii] = Math.round(freespace); DDSpace[ii+1] = Math.round(totalspace); if (freespace >= 1048576) { DDSpace[ii] = Math.round((freespace / 1024)/1024); DDType[ii] = "GB"; } else if (freespace < 1048576 & freespace > 1024) { DDSpace[ii] = Math.round(freespace / 1024); DDType[ii] = "MB"; } if (totalspace >= 1048576) { DDSpace[ii+1] = Math.round((totalspace / 1024)/1024); DDType[ii+1] = "GB"; } else if (totalspace < 1048576 & totalspace > 1024) { DDSpace[ii+1] = Math.round(totalspace / 1024); DDType[ii+1] = "MB"; } DD = DD + 1; } var c = theMainMenu.children[0].children[0]; if( g_bXOnDashExists ) |
| QUOTE |
function OnYDown() { if((LeftTrigger == true) & (RightTrigger == true)) { PlaySoundA(); QuickLaunch("Y"); } else { PlaySoundA(); SystemPanel("SSChevy2001's XBOX" + "\r \rBIOS: " + theConfig.GetROMVersion() + "\rDASH: " + theConfig.GetXdashVersion() + "\r----------------------------" + "\rHDD FREE TOTAL " + "\rE: " + DDSpace[1] + DDType[1] + " " + DDSpace[2] + DDType[2] + "\rF: " + DDSpace[3] + DDType[3] + " " + DDSpace[4] + DDType[4] + "\rG: " + DDSpace[5] + DDType[5] + " " + DDSpace[6] + DDType[6] +"\rDVD: " + theDiscDrive.discType, "theMainMenu.GoTo()"); } } |
| QUOTE |
| function AskQuestion(strQuestion, strYesFunction, strNoFunction, nDefaultButton) { // Defer disc insertion/removal notification theDiscDrive.locked = true; BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.MessagePanel.SetRotation(0, 0, 1, 0); c.MessagePanel.SetAlpha(1); strMessageText = strQuestion; strMessageYesFunction = strYesFunction; strMessageNoFunction = strNoFunction; c.button_yes.visible = true; c.button_no.visible = true; c.button_center.visible = false; c.slider_slot.visible = false; c.slider.visible = false; c.SystemPanel.visible = false; c.MessageText.text = strQuestion; nCurMessageButton = nDefaultButton; nMessageButtonCount = 2; UpdateMessageButtonHighlight(); if (g_bPanelDisplayed == false) { theMessageJoystick.isBound = true; } theMessageLayer.transparency = 0.25; g_bPanelDisplayed = true; } function SystemPanel(strMessage, strDoneFunction) { theDiscDrive.locked = true; BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.MessagePanel.SetRotation(0, 0, 1, 0); c.MessagePanel.SetAlpha(1); strMessageText = strMessage; strMessageYesFunction = strDoneFunction; strMessageNoFunction = strDoneFunction; c.button_yes.visible = false; c.button_no.visible = false; c.button_center.visible = false; c.slider_slot.visible = false; c.slider.visible = false; c.SystemPanel.visible = true; c.MessageText.text = strMessage; nCurMessageButton = 0; nMessageButtonCount = 1; UpdateMessageButtonHighlight(); if (g_bPanelDisplayed == false) { theMessageJoystick.isBound = true; } theMessageLayer.transparency = 0.50; g_bPanelDisplayed = true; } function TellUser(strMessage, strDoneFunction) { // Defer disc insertion/removal notification theDiscDrive.locked = true; BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.MessagePanel.SetRotation(0, 0, 1, 0); c.MessagePanel.SetAlpha(1); strMessageText = strMessage; strMessageYesFunction = strDoneFunction; strMessageNoFunction = strDoneFunction; c.button_yes.visible = false; c.button_no.visible = false; c.button_center.visible = true; c.slider_slot.visible = false; c.slider.visible = false; c.SystemPanel.visible = false; c.MessageText.text = strMessage; nCurMessageButton = 0; nMessageButtonCount = 1; UpdateMessageButtonHighlight(); if (g_bPanelDisplayed == false) { theMessageJoystick.isBound = true; } theMessageLayer.transparency = 0.25; g_bPanelDisplayed = true; } // This function will display message panel without OK button function BlockUser(strMessage) { // // NOTE: We don't defer disc insertion/removal notification here. // For example, if user is trying to play DVD without dongle. We // will display message panel without okay button and wait for // user to remove the disc // BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.MessagePanel.SetRotation(0, 0, 1, 0); c.MessagePanel.SetAlpha(1); strMessageText = strMessage; strMessageYesFunction = ""; strMessageNoFunction = ""; c.button_yes.visible = false; c.button_no.visible = false; c.button_center.visible = false; c.slider_slot.visible = false; c.slider.visible = false; c.SystemPanel.visible = false; c.MessageText.text = strMessage; nCurMessageButton = -1; nMessageButtonCount = 0; UpdateMessageButtonHighlight(); if (g_bPanelDisplayed == false) { theMessageJoystick.isBound = true; } theMessageLayer.transparency = 0.25; g_bPanelDisplayed = true; } function ShowProgress(strMessage) { // Defer disc insertion/removal notification theDiscDrive.locked = true; BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.MessagePanel.SetRotation(0, 0, 1, 0); c.MessagePanel.SetAlpha(1); c.button_yes.visible = false; c.button_no.visible = false; c.button_center.visible = false; c.slider_slot.visible = true; c.slider.visible = true; c.MessageText.text = strMessage; c.SystemPanel.visible = false; SetProgress(0); nCurMessageButton = -1; nMessageButtonCount = 0; theMessageJoystick.isBound = true; theMessageLayer.transparency = 0.25; // REVIEW: the progress "noise" is now disabled // theProgressSound.Play(); g_bPanelDisplayed = true; } |
| QUOTE |
| var DDSpace; var DDType; var DD; var freespace; var totalspace; function initialize() { DDSpace = new Array(6); DDType = new Array(6); bInGameBoardView = false; |
| QUOTE |
DEF theHDDMonitor MemoryMonitor function ShowFreeSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetTotalFreeBlocks(a); var c = b * 16; return c; } function ShowTotalSpaceOn(drive) { var a = drive; var b = theHDDMonitor.GetFreeTotalRatio(a); var c = theHDDMonitor.GetTotalFreeBlocks(a); var d = c * 16; var e = d / b; return e; } |
| QUOTE |
| DEF message_metapanel_back Transform DEF Rectangle01 Transform DEF text_frame Transform DEF slider_slot Transform DEF slider Transformsee edit |
| QUOTE |
| DEF SystemPanel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "InnerWall_01" } texture ImageTexture { url "SystemPanel.xbx" alpha true } } geometry Box { size 1 1 0 } } ] rotation -6.5 0 0 3.15 translation 2.15 0 4.822000 } |
| QUOTE |
| DEF message_metapanel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "CellEgg/Parts" } } geometry DEF message_metapanel-FACES Mesh { url "message_metapanel-FACES.xm" } } |

| QUOTE |
| function OnBDown() { if (InBoardBack == true) { InBoardBack = false; StopGameBoardView(); } else if (InBoardBack == false) { InBoardBack = true; StartGameBoardView(); } } |
| QUOTE (SSChevy2001 @ Jul 17 2004, 10:53 AM) |
New Update -> Item Count Added |
| CODE |
function OnArrival() { theSkinBackground.isBound = true; } behavior { sleep 0.1; if (children[0].children.length() > 0) { if (InBoardBack) { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(1); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(500, 150, -210); theMainMenu.children[0].children[0].Main_pod_backing02.fade =0.3; theMainMenu.children[0].children[0].Main_pod_backing02.SetAlpha(0); theMainMenu.children[0].children[0].Main_pod_backing02.SetTranslation(1500, -250, -210); } else if (bInGameBoardView == true) { theMainMenu.children[0].children[0].Main_pod_backing02.fade =0.3; theMainMenu.children[0].children[0].Main_pod_backing02.SetAlpha(0); theMainMenu.children[0].children[0].Main_pod_backing02.SetTranslation(1500, -250, -210); } else { theMainMenu.children[0].children[0].ExtraPanel.fade = 0.3; theMainMenu.children[0].children[0].ExtraPanel.SetAlpha(0); theMainMenu.children[0].children[0].ExtraPanel.SetTranslation(2010, -1975, -1100); theMainMenu.children[0].children[0].Main_pod_backing02.fade =0.3; theMainMenu.children[0].children[0].Main_pod_backing02.SetAlpha(1); theMainMenu.children[0].children[0].Main_pod_backing02.SetTranslation(-0.001126, 0.002803, 1.007000); } if (theDiscDrive.discType == "unknown") { c.theDVDName.text = "Disque Inconnu"; } else if (theDiscDrive.discType == "Audio") { c.theDVDName.text = "CD Audio"; } else if (theDiscDrive.discType == "Video") { c.theDVDName.text = "DVD Video"; } else if (theDiscDrive.discType == "Title") { c.theDVDName.text = "Jeux ou Appli"; } else { c.theDVDName.text = "Vide"; } } } } |
| QUOTE |
| nice skin, |
| QUOTE (xxwillisxx @ Jul 17 2004, 11:14 PM) | ||
try this -WebSurfer-
|
| QUOTE (SSChevy2001 @ Jul 18 2004, 08:22 AM) |
| Thanks New Update System Panel for tHc Original done. ![]() |