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 ! anyone know ? |
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 @ 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 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 (xxwillisxx @ Jul 17 2004, 11:14 PM) | ||
try this -WebSurfer-
|
QUOTE |
var BGMoldVol; var DDSpace; var DDType; var DD; var freespace; var totalspace; |
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 |
{ 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; } |
QUOTE |
function OnYDown() { if((RightTrigger == true) & (LeftTrigger == true)) { QuickLaunch(theDashSettings[73],theDashSettings[74],theDashSettings[75]); } else { PlaySoundA(); theMenuGlobal = ReadValues(theDashSettings[107]); var nTracks0; nTracks0 = theMenuGlobal.length; theMenuGlobal = ReadValues(theDashSettings[108]); var nTracks1; nTracks1 = theMenuGlobal.length; theMenuGlobal = ReadValues(theDashSettings[109]); var nTracks2; nTracks2 = theMenuGlobal.length; theMenuGlobal = ReadValues(theDashSettings[110]); var nTracks3; nTracks3 = theMenuGlobal.length; theMenuGlobal = ReadValues(theDashSettings[111]); var nTracks4; nTracks4 = theMenuGlobal.length; SystemPanel("SSChevy2001's XBOX" + "\r \rBIOS: " + theConfig.GetROMVersion() + "\rDASH: " + theConfig.GetXdashVersion() + "\r" + "\r ..::XBOX HDD INFO::.." + "\r FREE TOTAL " + theDashSettings[101] + "(" + nTracks0 + ")" + "\rE: " + DDSpace[1] + DDType[1] + " " + DDSpace[2] + DDType[2] + " " + theDashSettings[102] + "(" + nTracks1 + ")" + "\rF: " + DDSpace[3] + DDType[3] + " " + DDSpace[4] + DDType[4] + " " + theDashSettings[103] + "(" + nTracks2 + ")" + "\rG: " + DDSpace[5] + DDType[5] + " " + DDSpace[6] + DDType[6] + " " + theDashSettings[104] + "(" + nTracks3 + ")" + "\rDVD: " + theDiscDrive.discType + " " + theDashSettings[105] + "(" + nTracks4 + ")", "theMainMenu.GoTo()"); //theGamesSubMenuOut.Play(); //BackgroundMusicOff(); } } |
QUOTE |
function initialize() { DDSpace = new Array(6); DDType = new Array(6); datapath = "Y:\\tHc.data\\" |
QUOTE |
function AskQuestion(strQuestion, strYesFunction, strNoFunction, nDefaultButton) { // Defer disc insertion/removal notification theDiscDrive.locked = true; BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.AudioPlayer_01.SetAlpha(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.message_Text01.visible = true; c.SystemPanel.visible = false; c.SystemPanel_Text.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.AudioPlayer_01.SetAlpha(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.SystemPanel_Text.visible = true; c.message_Text01.visible = false; c.SystemPanelText.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.AudioPlayer_01.SetAlpha(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.message_Text01.visible = true; c.SystemPanel.visible = false; c.SystemPanel_Text.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; } function BlockUser(strMessage) { BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.AudioPlayer_01.SetAlpha(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.message_Text01.visible = true; c.SystemPanel.visible = false; c.SystemPanel_Text.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) { theDiscDrive.locked = true; BlockMemoryUnitInsert(); var c = theMessageInline.children[0]; c.AudioPlayer_01.SetAlpha(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.message_Text01.visible = true; c.SystemPanel.visible = false; c.SystemPanel_Text.visible = false; SetProgress(0); nCurMessageButton = -1; nMessageButtonCount = 0; theMessageJoystick.isBound = true; theMessageLayer.transparency = 0.25; g_bPanelDisplayed = true; } |
QUOTE |
DEF message_metapanel_back Transform DEF Rectangle01 Transform DEF slider_slot Transform DEF text_frame Transform |
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.2 4.822000 } |
QUOTE |
DEF SystemPanel_Text Transform { children [ Transform { rotation 1 0 0 -1.571 children [ Shape { appearance Appearance { material MaxMaterial { name "Navtype" } } geometry DEF SystemPanelText Text { font "Body" width 16 } } ] } ] rotation -0.000271 1.000000 0.000089 -1.581000 scale 1.65 1.65 1.65 scaleOrientation -0.453300 0.861000 0.230700 -0.208100 //translation 1.892000 0.143700 13.340000 translation 9.5 0.177200 2 //8 0.177200 3.6 } |
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 |
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 slider_slot Transform /*{ children [ Shape { appearance Appearance { material MaxMaterial { name "ReflectSurface" } texture ImageTexture { url "metal.xbx" } } geometry DEF slider_slot-FACES Mesh { url "slider_slot-FACES.xm" } } ] rotation -0.000275 1.000000 0.000087 -1.564000 scale 1.282000 1.282000 1.282000 scaleOrientation 0.994700 -0.102100 -0.010510 -0.759200 translation 6.574000 -0.254200 17.260000 }*/ |
QUOTE (SSChevy2001 @ Jul 18 2004, 10:53 PM) |
|
QUOTE |
damn, i have been waiting for something like that for some time now. ^^^^ |
QUOTE |
whoa! chevy that is stunning! have i been under a rock! that playlist/soundtracks is the way it should have been. u gotta release 'chevydash' man. |
QUOTE |
var TempTitleList; TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks1; nTracks1 = TempTitleList.length; TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks2; nTracks2 = TempTitleList.length; TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks3; nTracks3 = TempTitleList.length; TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks4; nTracks4 = TempTitleList.length; |
QUOTE (Darkzone @ Jul 27 2004, 08:58 AM) |
Willis, make the font Size a little bit smaller, i think it looks better ! |
QUOTE | ||
Try this out
|
CODE |
FillMenuList(GetSectionTitles(0)); |
CODE |
theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); |
CODE |
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; } |
CODE |
function initialize() |
CODE |
var bInGameBoardView; var CurrentGameBoardAltViewpoint; var InBoardBack; { DDSpace = new Array(6); DDType = new Array(6); InBoardBack = false; bInGameBoardView = false; |
CODE |
function OnArrival() { theSkinBackground.isBound = true; } |
CODE |
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(-180.1900002, 80.261000, -260.399994); 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]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); } 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"; } } } |
CODE |
control DEF theMainMenuJoy Joystick |
CODE |
function OnYDown() |
CODE |
function OnYDown() { if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } } |
CODE |
DEF theMainMenu Level |
CODE |
function onLoad() |
CODE |
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; } //thx to SSChevy2001 for his help with this code var ca = theMainMenu.children[0].children[0]; var TempTitleList; TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; ca.Menu1Text.text = ("=") + nTracks0; TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks1; nTracks1 = TempTitleList.length; ca.Menu2Text.text = ("=") + nTracks1; TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks2; nTracks2 = TempTitleList.length; ca.Menu3Text.text = ("=") + nTracks2; TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks3; nTracks3 = TempTitleList.length; ca.Menu4Text.text = ("=") + nTracks3; TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks4; nTracks4 = TempTitleList.length; ca.Menu5Text.text = ("=") + nTracks4; var c = theMainMenu.children[0].children[0]; if( g_bXOnDashExists ) |
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 |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Kernel :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.800000 -0.50000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.70000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Dash :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.90000 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.2 0.2 0.2 translation -0.8 -1.1000 1.654000 } DEF theline1Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.5000 1.654000 } DEF theline2Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.6000 1.654000 } DEF theline3Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.7000 1.654000 } DEF theline4Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.8000 1.654000 } DEF theline5Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.9000 1.654000 } DEF theline6Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -1.000 1.654000 } DEF theline7Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -1.1000 1.654000 } DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.5000 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.7000 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.9000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.1000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.3000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.5000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -0.5000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -0.7000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -0.9000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -1.1000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -1.3000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.8 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 0.2 -1.4 1.654 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
QUOTE |
/* DEF Rectangle01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "Material #1336" } } geometry DEF Rectangle01-FACES Mesh { url "Rectangle01-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 translation 1.179000 -0.374900 4.822000 } */ |
QUOTE |
DEF Rectangle01 Transform /*{ children [ Shape { appearance Appearance { material MaxMaterial { name "Material #1336" } } geometry DEF Rectangle01-FACES Mesh { url "Rectangle01-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 translation 1.179000 -0.374900 4.822000 } */ |
QUOTE (xxwillisxx @ Jul 30 2004, 09:48 AM) |
ok here it is ill put up the code soon |
QUOTE (ScOrPiOn-X @ Jul 31 2004, 02:17 AM) |
Dude if you don't like it take the code out or make your own. I for one like the way this is coming along xxwillisxx and SSChevy2001 keep up the good work. Once some of the bugs are ironed out and it becomes pretier I will be using this mod on my dash at the moment I'm getting error 21 everytime i try to do it. Maybe I'm missing something but I will keep working on it. GreetZ |
QUOTE |
um... Instead of "Games=89 Applications=9 blahblah=4" you should have "89 Games" "9 Applications" ect that looks too home made with the "=" o and also, most people don't care about kernal and dash version... so u could probably take that out and make room for an avatar. |
CODE |
//thx to SSChevy2001 for his help with this code var ca = theMainMenu.children[0].children[0]; var TempTitleList; TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; ca.Menu1Text.text = ("=") + nTracks0; TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks1; nTracks1 = TempTitleList.length; ca.Menu2Text.text = ("=") + nTracks1; TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks2; nTracks2 = TempTitleList.length; ca.Menu3Text.text = ("=") + nTracks2; TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks3; nTracks3 = TempTitleList.length; ca.Menu4Text.text = ("=") + nTracks3; TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks4; nTracks4 = TempTitleList.length; ca.Menu5Text.text = ("=") + nTracks4; |
CODE |
//thx to SSChevy2001 for his help with this code var ca = theMainMenu.children[0].children[0]; var TempTitleList; TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; ca.Menu1Text.text = nTracks0; TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks1; nTracks1 = TempTitleList.length; ca.Menu2Text.text = nTracks1; TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks2; nTracks2 = TempTitleList.length; ca.Menu3Text.text = nTracks2; TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks3; nTracks3 = TempTitleList.length; ca.Menu4Text.text = nTracks3; TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks4; nTracks4 = TempTitleList.length; ca.Menu5Text.text = nTracks4; |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Kernel :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.800000 -0.50000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.70000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "Dash :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.90000 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.2 0.2 0.2 translation -0.8 -1.1000 1.654000 } DEF theline1Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.5000 1.654000 } DEF theline2Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.6000 1.654000 } DEF theline3Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.7000 1.654000 } DEF theline4Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.8000 1.654000 } DEF theline5Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -0.9000 1.654000 } DEF theline6Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -1.000 1.654000 } DEF theline7Menu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -21 } } ] scale 0.2 0.2 0.2 translation 0.6 -1.1000 1.654000 } DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.5000 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.7000 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.9000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.1000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.3000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.5000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -0.5000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -0.7000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -0.9000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -1.1000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 3.6 -1.3000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.8 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 0.2 -1.4 1.654 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF 3dxbox Transform { children [ Transform { rotation 0 1.5 0.5 -3.1 translation -3 -0.3 -2 scale 0.0040 0.0040 0.0040 children [ Spinner { rpm 0 axis 0 1 0 children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" //name "MenuCell" } } geometry DEF console-FACES Mesh { url "console-FACES.xm" } } ] } ] } ] scale 0.5 0.5 0.5 translation 0.1 -0.5000 1.5000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.5000 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.7000 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.9000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.1000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.3000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.5000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.5000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.7000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.9000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.1000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.3000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.8 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 0.2 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.4 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.4 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
CODE |
var c = theMainMenu.children[0].children[0]; var musicCount; musicCount = theMusicCollection.GetSoundtrackCount(); c.MusicCountText.text = musicCount + " " + theTranslator.Translate("ALBUMS"); |
CODE |
//thx to SSChevy2001 for his help with this code var ca = theMainMenu.children[0].children[0]; var TempTitleList; TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; ca.Menu1Text.text = ("=") + nTracks0; TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks1; nTracks1 = TempTitleList.length; ca.Menu2Text.text = ("=") + nTracks1; TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks2; nTracks2 = TempTitleList.length; ca.Menu3Text.text = ("=") + nTracks2; TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks3; nTracks3 = TempTitleList.length; ca.Menu4Text.text = ("=") + nTracks3; TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks4; nTracks4 = TempTitleList.length; ca.Menu5Text.text = ("=") + nTracks4; |
CODE |
DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.5000 1.654000 } |
CODE |
DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.5000 1.654000 } |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF 3dxbox Transform { children [ Transform { rotation 0 1.5 0.5 -3.1 translation -3 -0.3 -2 scale 0.0040 0.0040 0.0040 children [ Spinner { rpm 0 axis 0 1 0 children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" //name "MenuCell" } } geometry DEF console-FACES Mesh { url "console-FACES.xm" } } ] } ] } ] scale 0.5 0.5 0.5 translation 0.1 -0.5000 1.5000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.8 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 0.2 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
CODE |
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; } |
CODE |
function initialize() |
CODE |
var bInGameBoardView; var CurrentGameBoardAltViewpoint; var InBoardBack; { DDSpace = new Array(6); DDType = new Array(6); InBoardBack = false; bInGameBoardView = false; |
CODE |
function OnArrival() { theSkinBackground.isBound = true; } |
CODE |
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(-180.1900002, 80.261000, -260.399994); 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]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); } 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 |
control DEF theMainMenuJoy Joystick |
CODE |
function OnYDown() |
CODE |
function OnYDown() { if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } } |
CODE |
DEF theMainMenu Level |
CODE |
function onLoad() |
CODE |
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; } //thx to SSChevy2001 for his help with this code var ca = theMainMenu.children[0].children[0]; var TempTitleList; TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; ca.Menu1Text.text = nTracks0; TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks1; nTracks1 = TempTitleList.length; ca.Menu2Text.text = nTracks1; TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks2; nTracks2 = TempTitleList.length; ca.Menu3Text.text = nTracks2; TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks3; nTracks3 = TempTitleList.length; ca.Menu4Text.text = nTracks3; TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks4; nTracks4 = TempTitleList.length; ca.Menu5Text.text = nTracks4; var c = theMainMenu.children[0].children[0]; var musicCount; musicCount = theMusicCollection.GetSoundtrackCount(); c.MusicCountText.text = musicCount + " " + theTranslator.Translate("ALBUMS"); var c = theMainMenu.children[0].children[0]; if( g_bXOnDashExists ) |
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 |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF 3dxbox Transform { children [ Transform { rotation 0 1.5 0.5 -3.1 translation -3 -0.3 -2 scale 0.0040 0.0040 0.0040 children [ Spinner { rpm 0 axis 0 1 0 children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" //name "MenuCell" } } geometry DEF console-FACES Mesh { url "console-FACES.xm" } } ] } ] } ] scale 0.5 0.5 0.5 translation 0.1 -0.5000 1.5000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation -0.8 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 0.2 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
QUOTE (Jezz_X @ Aug 7 2004, 12:19 PM) |
hrmm well i can get it to only half work maybe it rely's on some other mod I get the window to display but drive sizes are blank counts are Ok but no text next to them dask and kernal and time are also OK |
CODE |
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(-180.1900002, 80.261000, -260.399994); 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]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); } 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 |
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(-180.1900002, 80.261000, -260.399994); 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]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); } 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"; } } } } |
QUOTE (xxwillisxx @ Aug 9 2004, 11:53 AM) |
well i got the code and it looks cood now to work on the avatar |
QUOTE (coltxL2717 @ Aug 9 2004, 05:09 AM) |
Damn that looks so much more awesome. You have really created beautiful code with this info panel. Kudos to u xxwillisxx and with those small modifications, in my opinion, it looks way better. |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } 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 1.0 1.0 1.0 translation -0.1500 -0.9 1.600000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.340000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.440000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.240000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.140000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.040000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.940000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.840000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.740000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.640000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.540000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.440000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF 3dxbox Transform { children [ Transform { rotation 0 1.5 0.5 -3.1 translation -3 -0.3 -2 scale 0.0040 0.0040 0.0040 children [ Spinner { rpm 0 axis 0 1 0 children [ Shape { appearance Appearance { material MaxMaterial { name "MenuCell" //name "MenuCell" } } geometry DEF console-FACES Mesh { url "console-FACES.xm" } } ] } ] } ] scale 0.5 0.5 0.5 translation 0.1 -0.5000 1.5000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.340000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.440000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.240000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.140000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.040000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.940000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.840000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.740000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.640000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.540000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.440000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
QUOTE (coltxL2717 @ Aug 9 2004, 05:35 AM) |
Now THAT is an info panel! |
CODE |
if (nCurVideoMode == 0) { theMainMenu.children[0].children[0].theVIDEOText.text = "NORMAL"; } else if (nCurVideoMode == 1) { theMainMenu.children[0].children[0].theVIDEOText.text = "LETTERBOX"; } else if (nCurVideoMode == 2) { theMainMenu.children[0].children[0].theVIDEOText.text = "WIDESCREEN"; } } } } |
CODE |
if (nCurAudioMode == 0) { theMainMenu.children[0].children[0].theAUDIOText.text = "MONO"; } else if (nCurAudioMode == 1) { theMainMenu.children[0].children[0].theAUDIOText.text = "STEREO"; } else if (nCurAudioMode == 2) { theMainMenu.children[0].children[0].theAUDIOText.text = "DOLBY SURROUND"; } } } } |
CODE |
if (bDolbyDigital) { theMainMenu.children[0].children[0].theDDText.text = "YES"; } else { theMainMenu.children[0].children[0].theDDText.text = "NO"; } } } } |
CODE |
if (bDTS) { theMainMenu.children[0].children[0].theDTSText.text = "YES"; } else { theMainMenu.children[0].children[0].theDTSText.text = "NO"; } } } } |
CODE |
if (theConfig.GetAVRegion() == "PAL_I") { theMainMenu.children[0].children[0].theAVText.text = "PAL 60"; } else { theMainMenu.children[0].children[0].theAVText.text = "NTSC"; } } } } |
CODE |
var nMoviePCLevel, nGamePCLevel; nMoviePCLevel = theConfig.GetMoviePCFlags(); nGamePCLevel = theConfig.GetGamePCFlags(); theMainMenu.children[0].children[0].theMoviePCText.text = nMoviePCLevel; theMainMenu.children[0].children[0].theGamePCText.text = nGamePCLevel; |
QUOTE (Darkzone @ Aug 10 2004, 05:29 AM) |
Hi willis, i don't have luck to replace the old Infopanel with the new one, always get an Error 21 ! I have the audioviz. Code that Cevy post in my lite. |
QUOTE (coltxL2717 @ Aug 10 2004, 06:14 AM) |
Wow xxwillisxx, that new update your working on looks very promissing. On question though, are you still going to use the clock panel or something else, because i dont see how you will be able to fit all that in. |
QUOTE (xxwillisxx @ Aug 9 2004, 12:17 PM) |
|
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(-180.1900002, 80.261000, -260.399994); 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]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); } 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 |
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(-180.1900002, 80.261000, -260.399994); 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]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); var c = theMainMenu.children[0].children[0]; c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, SSChevy2001, xxwillisxx, 2gam, aweelz, JbOnE, fuckDB and xbox-scene"; } 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 = "GAMES"; } else { theMainMenu.children[0].children[0].theDVDText.text = "NO DISC"; } if (theConfig.GetAVRegion() == "PAL_I") { theMainMenu.children[0].children[0].theAVText.text = "AV Region: PAL 60"; } else { theMainMenu.children[0].children[0].theAVText.text = "AV Region: NTSC"; } if (theConfig.Get480Support()) { theMainMenu.children[0].children[0].the480Text.text = "480p: YES"; } else { theMainMenu.children[0].children[0].the480Text.text = "480p: NO"; } if (theConfig.Get720Support()) { theMainMenu.children[0].children[0].the720Text.text = "720p: YES"; } else { theMainMenu.children[0].children[0].the720Text.text = "720p: NO"; } if (theConfig.Get1080Support()) { theMainMenu.children[0].children[0].the1080Text.text = "1080i: YES"; } else { theMainMenu.children[0].children[0].the1080Text.text = "1080i: NO"; } if (theConfig.GetDolbyDigitalSupport()) { theMainMenu.children[0].children[0].TheDDText.text = "DOLBY.D..: YES"; } else { theMainMenu.children[0].children[0].TheDDText.text = "DOLBY.D..: NO"; } if (theConfig.GetDTSSupport()) { theMainMenu.children[0].children[0].TheDTSText.text = "DTS: YES"; } else { theMainMenu.children[0].children[0].TheDTSText.text = "DTS: NO"; } if (theConfig.GetAudioMode() == 0) { theMainMenu.children[0].children[0].TheAudioText.text = "AUDIO: MONO"; } else if (theConfig.GetAudioMode() == 1) { theMainMenu.children[0].children[0].TheAudioText.text = "AUDIO: STEREO"; } else if (theConfig.GetAudioMode() == 2) { theMainMenu.children[0].children[0].TheAudioText.text = "AUDIO: SURROUND"; } } } } |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF thescrollingtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF QuestionText Text { font "body" translate false width 7 height 4.1 scrollRate 0.1 scrollDelay 6 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.5000 1.654000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.340000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.440000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.240000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.140000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.040000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.940000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.840000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.740000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.640000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.540000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.440000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
QUOTE |
c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, SSChevy2001, xxwillisxx, 2gam, aweelz, JbOnE, fuckDB and xbox-scene"; |
QUOTE |
c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, SSChevy2001, xxwillisxx, 2gam, aweelz, JbOnE, fuckDB and xbox-scene" + "AV Region: PAL 60" + "AV Region: NTSC" + "480p: YES" + "480p: NO" + "720p: YES" + "720p: NO" + "1080i: YES" + "1080i: NO" + "DOLBY.D..: YES" + "DOLBY.D..: NO" + "DTS: YES" + "DTS: NO" + "AUDIO: MONO" + "AUDIO: STEREO" + "AUDIO: SURROUND"; |
QUOTE |
c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, SSChevy2001, xxwillisxx, 2gam, aweelz, JbOnE, fuckDB and xbox-scene" + "AV Region: PAL 60" + "AV Region: NTSC" + "480p: YES" + "480p: NO" + "720p: YES" + "720p: NO" + "1080i: YES" + "1080i: NO" + "DOLBY.D..: YES" + "DOLBY.D..: NO" + "DTS: YES" + "DTS: NO" + "AUDIO: MONO" + "AUDIO: STEREO" + "AUDIO: SURROUND"; |
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(-180.1900002, 80.261000, -260.399994); 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]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); var c = theMainMenu.children[0].children[0]; c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, aweelz, SSChevy2001, xxwillisxx, 2gam, JbOnE, fuckDB and xbox-scene" + "\r " + theAVText + "\r" + TheAVPACK + "\r" + the480Text + "\r" + the720Text + "\r" + the1080Text + "\r" + TheDDText + "\r" + TheDTSText + "\r" + TheAudioText + "\r" + TheVideoText; } 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"; } if (theConfig.GetAVRegion() == "PAL_I") { theAVText = "AV Region: PAL 60"; } else { theAVText = "AV Region: NTSC"; } if (theConfig.Get480Support()) { the480Text = "480p: YES"; } else { the480Text = "480p: NO"; } if (theConfig.Get720Support()) { the720Text = "720p: YES"; } else { the720Text = "720p: NO"; } if (theConfig.Get1080Support()) { the1080Text = "1080i: YES"; } else { the1080Text = "1080i: NO"; } if (theConfig.GetDolbyDigitalSupport()) { TheDDText = "DOLBY.D..: YES"; } else { TheDDText = "DOLBY.D..: NO"; } if (theConfig.GetDTSSupport()) { TheDTSText = "DTS: YES"; } else { TheDTSText = "DTS: NO"; } if (theConfig.GetAudioMode() == 0) { TheAudioText = "AUDIO: MONO"; } else if (theConfig.GetAudioMode() == 1) { TheAudioText = "AUDIO: STEREO"; } else if (theConfig.GetAudioMode() == 2) { TheAudioText = "AUDIO: SURROUND"; } if (theConfig.GetVideoMode() == 0) { TheVideoText = "VIDEO: NORMAL"; } else if (theConfig.GetVideoMode() == 1) { TheVideoText = "VIDEO: LETTERBOX"; } else if (theConfig.GetVideeoMode() == 2) { TheVideoText = "VIDEO: WIDE SCREEN"; } if (theConfig.GetAVPackType() != "RFU") { TheAVPACK = "AV Pack: RCA/RFU"; } else if(theConfig.GetAVPackType() != "HGTV") { TheAVPACK = "AV Pack: HGTV"; } else if(theConfig.GetAVPackType() != "SVIDEO") { TheAVPACK = "AV Pack: SVIDEO"; } } } } |
CODE |
var TheAVPACK; var TheVideoText; var theAVText; var the480Text; var the720Text; var the1080Text; var TheDDText; var TheDTSText; var TheAudioText; |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF thevideo Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF QuestionText Text { font "body" translate false width 7 height 4.1 scrollRate 0.1 scrollDelay 6 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.5000 1.654000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.2 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.340000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.440000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.240000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.140000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.040000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.940000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.840000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.740000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.640000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.540000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.440000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
QUOTE (Darkzone @ Aug 17 2004, 12:38 AM) |
This is awesome willis can you please add an Backgroung on some textured Dashes are the Panel a little to transparent! |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "your pic here.tag"//"clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.3 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } |
QUOTE (Darkzone @ Aug 17 2004, 05:59 AM) |
is this ok for new Background? |
QUOTE (Infamous_One @ Aug 17 2004, 04:17 PM) |
cool |
QUOTE (Darkzone @ Aug 17 2004, 06:36 AM) |
I'll give it a try and post the effekt! Thanks a lot ! |
QUOTE (xxwillisxx @ Aug 18 2004, 11:17 PM) |
put up a pic |
QUOTE (Darkzone @ Aug 19 2004, 12:08 AM) |
Sorry, but my TV are damaged for 2 days, i hear the Sound but see no picture, I'll buy a new one on Saturday! Willis, the picture for the Syssteminfo i maid has no effekt to the panel, it show transparent, can we change the Material from "Panel Backing 03" to "Flatsurfaces" or something that makes the panel a little bit more readable? |
QUOTE |
Hi, xxwillisxx you been working hard on the system panel and I know you wanted this so here it is. Now you might need to make some changes for lite, but you can handle that. |
CODE |
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; } |
CODE |
var nbconf2; var nbconf3; var nbconf4; var nomb; var lgt; DD = 8; for (var ii = 1; ii < 4; ii = ii + 1) { freespace = ShowFreeSpaceOn(DD); DDType = "Kb"; DDSpace[ii] = freespace + ".00" + DDType; if (freespace > 1024) { if (freespace >= 1024*1024) { nomb = (freespace / 1024)/1024; DDType = "Gb"; } else if (freespace < 1024*1024 & freespace > 1024) { nomb = freespace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); nbconf4 = (((nomb / nbconf2)-1)*nbconf2)*100; if (nbconf3 > nbconf4) nbconf3 = nbconf3 - 1; DDSpace[ii] = nbconf2+"."+nbconf3+DDType; } totalspace = ShowTotalSpaceOn(DD); DDType = "Kb"; DDSpace[ii+3] = totalspace + ".00" + DDType; if (totalspace > 1024) { if (totalspace >= 1024*1024) { nomb = (totalspace / 1024)/1024; DDType = "Gb"; } else if (totalspace < 1048576 & totalspace > 1024) { nomb = totalspace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); DDSpace[ii+3] = nbconf2+"."+nbconf3+DDType; } DD = DD + 1; } |
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(-180.1900002, 80.261000, -260.399994); theMainMenu.children[0].children[0].theFreeEText.text = DDSpace[1]; theMainMenu.children[0].children[0].theFreeFText.text = DDSpace[2]; theMainMenu.children[0].children[0].theFreeGText.text = DDSpace[3]; theMainMenu.children[0].children[0].theTotalEText.text = DDSpace[4]; theMainMenu.children[0].children[0].theTotalFText.text = DDSpace[5]; theMainMenu.children[0].children[0].theTotalGText.text = DDSpace[6]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); var c = theMainMenu.children[0].children[0]; c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, SSChevy2001, xxwillisxx, aweelz, 2gam, JbOnE, fuckDB and xbox-scene" + "\r " + theAVText + "\r" + TheAVPACK + "\r" + the480Text + "\r" + the720Text + "\r" + the1080Text + "\r" + TheDDText + "\r" + TheDTSText + "\r" + TheAudioText + "\r" + TheVideoText; } else |
CODE |
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 = 0; if( b > 0) { e = d / b; } return e; } |
CODE |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "avatar.tag"//"clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.3//0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF thevideo Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF QuestionText Text { font "body" translate false width 7 height 4.1 scrollRate 0.1 scrollDelay 6 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.5000 1.654000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.0 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.0 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.0 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.340000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.440000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.240000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.140000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.040000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.940000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.840000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.740000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.640000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.540000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.440000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
CODE |
var bMusicPlayWithSubsVisible0; var nPlayCursor0; var nPreviousPlayCursor0; var nPlayScroll0; var nPlayVisible0; var nCurMusicPlayWithSubsItem0; var subTitle0; var CurrentSection; var TempTitleList; var CurFillDir; |
CODE |
var DDSpace; var DDType; var DD; var freespace; var totalspace; |
CODE |
function initialize() { bMusicPlayWithSubsVisible0 = true; nCurMusicPlayWithSubsItem0 = 0; nPlayCursor0 = 0; nPreviousPlayCursor0 = 0; nPlayScroll0 = 0; nPlayVisible0 = 9; |
CODE |
DDSpace = new Array(6); DDType = new Array(6); |
CODE |
c._button_surround.visible = true; c.New_Line11.visible = true; c._button_surround_0.visible = false; |
CODE |
var nbconf2; var nbconf3; var nbconf4; var nomb; var lgt; DD = 8; for (var ii = 1; ii < 4; ii = ii + 1) { freespace = ShowFreeSpaceOn(DD); DDType = "Kb"; DDSpace[ii] = freespace + ".00" + DDType; if (freespace > 1024) { if (freespace >= 1024*1024) { nomb = (freespace / 1024)/1024; DDType = "Gb"; } else if (freespace < 1024*1024 & freespace > 1024) { nomb = freespace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); nbconf4 = (((nomb / nbconf2)-1)*nbconf2)*100; if (nbconf3 > nbconf4) nbconf3 = nbconf3 - 1; DDSpace[ii] = nbconf2+"."+nbconf3+DDType; } totalspace = ShowTotalSpaceOn(DD); DDType = "Kb"; DDSpace[ii+3] = totalspace + ".00" + DDType; if (totalspace > 1024) { if (totalspace >= 1024*1024) { nomb = (totalspace / 1024)/1024; DDType = "Gb"; } else if (totalspace < 1048576 & totalspace > 1024) { nomb = totalspace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); DDSpace[ii+3] = nbconf2+"."+nbconf3+DDType; } DD = DD + 1; } |
CODE |
c.MenuMetaText.text = v; else if (nCurMusicPlayWithSubsItem0 == 1) c.MenuMetaText.text = w; else if (nCurMusicPlayWithSubsItem0 == 2) c.MenuMetaText.text = x; else if (nCurMusicPlayWithSubsItem0 == 3) c.MenuMetaText.text = y; else if (nCurMusicPlayWithSubsItem0 == 4) c.MenuMetaText.text = z; |
CODE |
c.MenuMetaText.text = v + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[6] + (" ") + DDSpace[3] + (" "); else if (nCurMusicPlayWithSubsItem0 == 1) c.MenuMetaText.text = w + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[6] + (" ") + DDSpace[3] + (" "); else if (nCurMusicPlayWithSubsItem0 == 2) c.MenuMetaText.text = x + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[6] + (" ") + DDSpace[3] + (" "); else if (nCurMusicPlayWithSubsItem0 == 3) c.MenuMetaText.text = y + + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[6] + (" ") + DDSpace[3] + (" "); else if (nCurMusicPlayWithSubsItem0 == 4) c.MenuMetaText.text = z + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[6] + (" ") + DDSpace[3] + (" "); [/CODE} and at the end paste this : [CODE] 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 = 0; if( b > 0) { e = d / b; } return e; } |
QUOTE (coltxL2717 @ Aug 23 2004, 01:50 AM) |
Willis i have a question about your updated drive space code. What does it do exactly? Does it round the space more correctly? |
CODE |
c.MenuMetaText.text = v + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); else if (nCurMusicPlayWithSubsItem0 == 1) c.MenuMetaText.text = w + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); else if (nCurMusicPlayWithSubsItem0 == 2) c.MenuMetaText.text = x + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); else if (nCurMusicPlayWithSubsItem0 == 3) c.MenuMetaText.text = y + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); else if (nCurMusicPlayWithSubsItem0 == 4) c.MenuMetaText.text = z + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); |
QUOTE (Darkzone @ Aug 23 2004, 02:14 AM) |
will this code show how many items too? |
CODE |
if (nCurMusicPlayWithSubsItem0 == 0) { TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = theMenuGlobal.length; c.MenuMetaText.text = v + ("[") + nTracks0 + ("] ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 1) { TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks0; nTracks0 = theMenuGlobal.length; c.MenuMetaText.text = w ("[") + nTracks0 + ("] ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 2) { TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks0; nTracks0 = theMenuGlobal.length; c.MenuMetaText.text = x ("[") + nTracks0 + ("] ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 3) { TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks0; nTracks0 = theMenuGlobal.length; c.MenuMetaText.text = y + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] ("[") + nTracks0 + ("] ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 4) { TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks0; nTracks0 = theMenuGlobal.length; c.MenuMetaText.text = z ("[") + nTracks0 + ("] ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + (" ") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + (" ") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + (" ") + DDSpace[6] + (" "); } |
QUOTE (Darkzone @ Aug 23 2004, 03:37 AM) |
Very good work, keep it up ! |
QUOTE (Darkzone @ Aug 25 2004, 01:09 AM) |
willis, have you test the new code for submenues if it works? can't do it, TV allways damaged! |
QUOTE (bookofjacob @ Aug 25 2004, 10:52 PM) |
Has anybody used the code for the smaller 'Lite' panel with the 3D XBOX in tHc original. If I just patched the xbe and put all the code in the appropriate places in Original will it still work or is there some major differences in the coding of the two that will prevent this. Any help appreciated. |
QUOTE (XteticX @ Aug 28 2004, 05:50 PM) |
Ok!! I'm pretty lost whit all those codes everywhere, switching from Orig to Lite.... I know this will probebly piss you guys off but could you put the right codes for thc "LITE" from start to finish? I wanna do this mod but I'm not sure whit what codes to start. Then I'll try to keep in touch whit the updates. thx Amasing work , and keep the hacking a cuming |
CODE |
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 = 0; if( b > 0) { e = d / b; } return e; } |
CODE |
function initialize() |
CODE |
var bInGameBoardView; var CurrentGameBoardAltViewpoint; var InBoardBack; function initialize() { DDSpace = new Array(6); |
CODE |
function OnArrival() { theSkinBackground.isBound = true; } |
CODE |
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(-180.1900002, 80.261000, -260.399994); theMainMenu.children[0].children[0].theFreeEText.text = DDSpace[1]; theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); var c = theMainMenu.children[0].children[0]; c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, aweelz, SSChevy2001, xxwillisxx, 2gam, JbOnE, fuckDB and xbox-scene" + "\r " + theAVText + "\r" + TheAVPACK + "\r" + the480Text + "\r" + the720Text + "\r" + the1080Text + "\r" + TheDDText + "\r" + TheDTSText + "\r" + TheAudioText + "\r" + TheVideoText; } 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"; } if (theConfig.GetAVRegion() == "PAL_I") { theAVText = "AV Region: PAL 60"; } else { theAVText = "AV Region: NTSC"; } if (theConfig.Get480Support()) { the480Text = "480p: YES"; } else { the480Text = "480p: NO"; } if (theConfig.Get720Support()) { the720Text = "720p: YES"; } else { the720Text = "720p: NO"; } if (theConfig.Get1080Support()) { the1080Text = "1080i: YES"; } else { the1080Text = "1080i: NO"; } if (theConfig.GetDolbyDigitalSupport()) { TheDDText = "DOLBY.D..: YES"; } else { TheDDText = "DOLBY.D..: NO"; } if (theConfig.GetDTSSupport()) { TheDTSText = "DTS: YES"; } else { TheDTSText = "DTS: NO"; } if (theConfig.GetAudioMode() == 0) { TheAudioText = "AUDIO: MONO"; } else if (theConfig.GetAudioMode() == 1) { TheAudioText = "AUDIO: STEREO"; } else if (theConfig.GetAudioMode() == 2) { TheAudioText = "AUDIO: SURROUND"; } if (theConfig.GetVideoMode() == 0) { TheVideoText = "VIDEO: NORMAL"; } else if (theConfig.GetVideoMode() == 1) { TheVideoText = "VIDEO: LETTERBOX"; } else if (theConfig.GetVideeoMode() == 2) { TheVideoText = "VIDEO: WIDE SCREEN"; } if (theConfig.GetAVPackType() != "RFU") { TheAVPACK = "AV Pack: RCA/RFU"; } else if(theConfig.GetAVPackType() != "HDTV") { TheAVPACK = "AV Pack: HDTV"; } else if(theConfig.GetAVPackType() != "SVIDEO") { TheAVPACK = "AV Pack: SVIDEO"; } } } } |
CODE |
control DEF theMainMenuJoy Joystick |
CODE |
function OnYDown() |
CODE |
function OnYDown() { if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } } |
CODE |
DEF theMainMenu Level |
CODE |
DEF theMainMenu Level { archive "MainMenu5.xip" unloadable false children [ Inline { url "MainMenu5/default.xap" function onLoad() { |
CODE |
function onLoad() { var nbconf2; var nbconf3; var nbconf4; var nomb; var lgt; DD = 8; for (var ii = 1; ii < 4; ii = ii + 1) { freespace = ShowFreeSpaceOn(DD); DDType = "Kb"; DDSpace[ii] = freespace + ".00" + DDType; if (freespace > 1024) { if (freespace >= 1024*1024) { nomb = (freespace / 1024)/1024; DDType = "Gb"; } else if (freespace < 1024*1024 & freespace > 1024) { nomb = freespace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); nbconf4 = (((nomb / nbconf2)-1)*nbconf2)*100; if (nbconf3 > nbconf4) nbconf3 = nbconf3 - 1; DDSpace[ii] = nbconf2+"."+nbconf3+DDType; } totalspace = ShowTotalSpaceOn(DD); DDType = "Kb"; DDSpace[ii+3] = totalspace + ".00" + DDType; if (totalspace > 1024) { if (totalspace >= 1024*1024) { nomb = (totalspace / 1024)/1024; DDType = "Gb"; } else if (totalspace < 1048576 & totalspace > 1024) { nomb = totalspace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); DDSpace[ii+3] = nbconf2+"."+nbconf3+DDType; } DD = DD + 1; } var ca = theMainMenu.children[0].children[0]; var TempTitleList; TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; ca.Menu1Text.text = nTracks0; TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks1; nTracks1 = TempTitleList.length; ca.Menu2Text.text = nTracks1; TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks2; nTracks2 = TempTitleList.length; ca.Menu3Text.text = nTracks2; TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks3; nTracks3 = TempTitleList.length; ca.Menu4Text.text = nTracks3; TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks4; nTracks4 = TempTitleList.length; ca.Menu5Text.text = nTracks4; var c = theMainMenu.children[0].children[0]; var musicCount; musicCount = theMusicCollection.GetSoundtrackCount(); c.MusicCountText.text = musicCount + " " + theTranslator.Translate("Albums"); var c = theMainMenu.children[0].children[0]; if( g_bXOnDashExists ) |
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 |
DEF ExtraPanel Transform { children [ DEF Clock_panel_backing Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "avatar.tag"//"clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_backing-FACES Mesh { url "Clock_panel_backing-FACES.xm" } } ] rotation -0.577400 -0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.3//0.290400 scaleOrientation 0.000000 -0.813400 -0.581800 -0.339400 translation 2.992000 -2.790000 1.642000 } DEF Clock_panel_header Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_header-FACES Mesh { url "Clock_panel_header-FACES.xm" } } ] rotation -1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation 0.882600 -0.187000 1.655000 } DEF Clock_panel_header_text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF Clock_panel_header_text Text { font "Body" text " SYSTEM INFO " } } ] rotation 0.000000 0.000000 0.000000 0.000000 scale 0.3 0.3 0.3 translation -1.000 -0.08 1.600000 } DEF thevideo Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF QuestionText Text { font "body" translate false width 7 height 4.1 scrollRate 0.1 scrollDelay 6 } } ] scale 0.2 0.2 0.2 translation -0.8 -0.5000 1.654000 } DEF Clock_panel_support_01 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "FlatSurfaces" } } geometry DEF Clock_panel_support_01-FACES Mesh { url "Clock_panel_support_01-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.057000 -2.067000 1.657000 } DEF Clock_panel_support_02 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "PanelBacking_03" } texture ImageTexture { url "clock_bgpanel.tga" alpha true } } geometry DEF Clock_panel_support_02-FACES Mesh { url "Clock_panel_support_02-FACES.xm" } } ] rotation 1.000000 0.000000 0.000000 -1.571000 scale 0.290400 0.290400 0.290400 translation -0.506800 -0.529800 1.654000 } DEF Clock_panel_support_03 Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "GamePod" //name "FlatSurfaces" } } geometry DEF Clock_panel_support_03-FACES Mesh { url "Clock_panel_support_03-FACES.xm" } } ] rotation 0.577400 0.577400 0.577400 -4.189000 scale 0.290400 0.290400 0.290400 scaleOrientation 0.001685 0.000000 -1.000000 -0.031540 translation -1.519000 -1.669000 1.657000 } // DEF theSpaceMenu Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "HDD FREE TOTAL" width -21 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.5000 1.654000 } DEF theE Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "E :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.7000 1.654000 } DEF theEspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.0 -0.7000 1.654000 } DEF theEtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalEText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.7000 1.654000 } DEF theF Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "F :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -0.9000 1.654000 } DEF theFspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.0 -0.9000 1.654000 } DEF theFtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalFText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -0.9000 1.654000 } DEF theG Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "G :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.1000 1.654000 } DEF theGspace Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theFreeGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.0 -1.1000 1.654000 } DEF theGtotal Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF theTotalGText Text { font "body" justify "left" width -10 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.1000 1.654000 } DEF thetimeText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry Text{ font "Heading" text " } ] scale 0.2 0.2 0.2 //translation 0.9 -1.4 1.654 translation 1.7000 -0.08 1.600000 } DEF the0text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the0Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.4400 1.654000 } DEF the1text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.6400 1.654000 } DEF the2text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -0.84000 1.654000 } DEF the3text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.04000 1.654000 } DEF the4text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.24000 1.654000 } DEF the5text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF the5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.9 -1.44000 1.654000 } DEF the6text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF MusicCountText Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.44000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.340000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.440000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.240000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.140000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -1.040000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.940000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.840000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.740000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.640000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.540000 1.654000 } DEF thelinetext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "|" width -10 } } ] scale 0.2 0.2 0.2 translation 2.52 -0.440000 1.654000 } DEF Menu1Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu1Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.44000 1.654000 } DEF Menu2Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu2Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.64000 1.654000 } DEF Menu3Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu3Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -0.84000 1.654000 } DEF Menu4Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu4Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.04000 1.654000 } DEF Menu5Text Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry DEF Menu5Text Text { font "body" justify "left" width -21 } } ] scale 0.2 0.2 0.2 translation 2.6 -1.24000 1.654000 } DEF theDVD Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "RedType"}} geometry Text{ font "Heading" text "DVD :" width -10 } } ] scale 0.2 0.2 0.2 translation 0.7 -1.4 1.654 } DEF theDVDtext Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDVDText Text { font "body" justify "middle" width -21 } } ] scale 0.2 0.2 0.2 translation 1.8 -1.4 1.654 } DEF theKernel Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "K:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.770000 1.654000 } DEF theKernelText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theKernelName Text { font "Heading" text "Kernel" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.770000 1.654000 } DEF theDash Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType"}} geometry Text{ font "Heading" text "D:" width -10 } } ] scale 0.15 0.15 0.15 translation 2.7 -1.92 1.654000 } DEF theDASHText Transform { children [ Shape { appearance Appearance { material MaxMaterial { name "NavType" } } geometry DEF theDashName Text { font "Heading" text "Dashboard" width -21 } } ] scale 0.15 0.15 0.15 translation 2.9 -1.92 1.654000 } ] rotation 0 0 -0.3 0.02 scale 100 100 100 translation -180.1900002 80.261000 -260.399994 } |
QUOTE (XteticX @ Aug 29 2004, 11:17 PM) |
Well , thx xxwillisxx for posting that. Too bad it didn't work.... I tried all kind of combinations, looked for spacing just wont work. I keep getting a "error 21". I was thinking, maybe its because I did previous mods on my thc LITE. Here are the other codes I've added . -->DNA strands from BSX -->5th menu button -->Clock -->apps/games Icons -->Custom system info and submenu text (fuckdb's HD space patch) -->Extra ring around MainPodSupport -->Auto ask for trainers -->on "B" down ask for shutdown -->Moved Memory Manager in Settings -->Main menu Orb picture -->30mins Music Fix If you think any of these codes may collide let me know! My first bet was that the FUCKDB patch did this error21, what do you think? oh by the way, I did this on thc LITE green v.1.0 if it maters in any way thx in advance |
QUOTE (XteticX @ Sep 4 2004, 12:00 PM) |
hey wiliss, I got the chance today to try out the code and it still dont work for me. I looked for the word FIX like you said in your last post but cant seem to see it anywhere... |
CODE |
theMainMenu.children[0].children[0].theFreeEText.text = DDSpace[1]; |
QUOTE |
function OnArrival() { theSkinBackground.isBound = true; } behavior { sleep 0.1; if (children[0].children.length() > 0) { \\\\\\\\\\\from here\\\\\\\\\\\\\\\ 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); } \\\\\\\\\\\\\\\\\to here\\\\\\\\\\\\\\\\\\ 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(-180.1900002, 80.261000, -260.399994); theMainMenu.children[0].children[0].theFreeEText.text = DDSpace[1]; <fix theMainMenu.children[0].children[0].theFreeFText.text = DDSpace[2]; <fix theMainMenu.children[0].children[0].theFreeGText.text = DDSpace[3]; <fix theMainMenu.children[0].children[0].theTotalEText.text = DDSpace[4]; <fix theMainMenu.children[0].children[0].theTotalFText.text = DDSpace[5]; <fix theMainMenu.children[0].children[0].theTotalGText.text = DDSpace[6]; <fix theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); var c = theMainMenu.children[0].children[0]; c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, aweelz, SSChevy2001, xxwillisxx, 2gam, JbOnE, fuckDB and xbox-scene" + "\r " + theAVText + "\r" + TheAVPACK + "\r" + the480Text + "\r" + the720Text + "\r" + the1080Text + "\r" + TheDDText + "\r" + TheDTSText + "\r" + TheAudioText + "\r" + TheVideoText; [/CODE] |
QUOTE |
{ if (InBoardBack == true) { InBoardBack = false; StopGameBoardView(); } else if (InBoardBack == false) { InBoardBack = true; StartGameBoardView(); } } |
QUOTE (aweelz @ Sep 14 2004, 02:30 AM) |
JBone's doing (done?) a filemanager so we all may as well wait for his next release. Aweelz |
QUOTE (xxwillisxx @ Aug 29 2004, 10:33 AM) | ||||||||||||||||||||||||||||
ok so open default.xip/default.xap and at the end add this :
now search for this :
make it look like this :
go to this :
add this just after :
look for this :
then this :
make it look like this :
go to this :
look for this :
make it look like this :
just after search this :
and make it look like this :
save and now open mainmenu5.xip/default.xap go at the end and add this : CODE
|
CODE |
function OnYDown() { if (InBoardBack == true) { InBoardBack = false; } else if (InBoardBack == false) { InBoardBack = true; } } |
CODE |
function OnYDown() { if (InBoardBack == true) { InBoardBack = false; StopGameBoardView(); } else if (InBoardBack == false) { InBoardBack = true; StartGameBoardView(); } } |
QUOTE (-WebSurfer- @ Oct 5 2004, 11:33 AM) |
my infopanel is bigger and of course in german... |
CODE |
function OnArrival() { theSkinBackground.isBound = true; } |
QUOTE (XteticX @ Oct 6 2004, 09:33 PM) |
xxwillisxx you mentioned your still working on this? Glad to see this thing is still going on. Why didn't you post anything.I'de like to know what new things you added.And if maybe you tried the code in XDN. |
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(-180.1900002, 80.261000, -200.399994);<- the fix theMainMenu.children[0].children[0].theFreeEText.text = DDSpace[1]; theMainMenu.children[0].children[0].theFreeFText.text = DDSpace[2]; theMainMenu.children[0].children[0].theFreeGText.text = DDSpace[3]; theMainMenu.children[0].children[0].theTotalEText.text = DDSpace[4]; theMainMenu.children[0].children[0].theTotalFText.text = DDSpace[5]; theMainMenu.children[0].children[0].theTotalGText.text = DDSpace[6]; theMainMenu.children[0].children[0].the0Text.text = GetSectionTitles(0); theMainMenu.children[0].children[0].the1Text.text = GetSectionTitles(1); theMainMenu.children[0].children[0].the2Text.text = GetSectionTitles(2); theMainMenu.children[0].children[0].the3Text.text = GetSectionTitles(3); theMainMenu.children[0].children[0].the4Text.text = GetSectionTitles(4); var c = theMainMenu.children[0].children[0]; c.QuestionText.text = "tHc Lite Info panel V2.0 maid posible by alphaxav, SSChevy2001, xxwillisxx, 2gam, JbOnE, fuckDB, -WebSurfer- and xbox-scene" + "\r " + theAVText + "\r" + TheAVPACK + "\r" + the480Text + "\r" + the720Text + "\r" + the1080Text + "\r" + TheDDText + "\r" + TheDTSText + "\r" + TheAudioText + "\r" + TheVideoText; } |
QUOTE (Darkzone @ Oct 7 2004, 12:24 AM) |
Hey willis, nice work! I'm back from Holiday and got an new TV, i'll test the Code now for the submenues to make the Space rounder and it don't works. When the Dash Starts and you go to pressing the A Button for the Harddrive Menü they will nothing happens, can you fix the new Code ? I test to fix it, but i have no luck ! Greets Dark |
CODE |
var bMusicPlayWithSubsVisible0; var nPlayCursor0; var nPreviousPlayCursor0; var nPlayScroll0; var nPlayVisible0; var nCurMusicPlayWithSubsItem0; var subTitle0; var CurrentSection; var TempTitleList; var CurFillDir; |
CODE |
var DDSpace; var DDType; var DD; var freespace; var totalspace; var nbconf2; var nbconf3; var nbconf4; var nomb; var lgt; |
CODE |
c._button_surround.visible = true; c.New_Line11.visible = true; c._button_surround_0.visible = false; |
CODE |
DDSpace = new Array(6); DDType = new Array(6); DD = 8; for (var ii = 1; ii < 4; ii = ii + 1) { freespace = ShowFreeSpaceOn(DD); DDType = "Kb"; DDSpace[ii] = freespace + ".00" + DDType; if (freespace > 1024) { if (freespace >= 1024*1024) { nomb = (freespace / 1024)/1024; DDType = "Gb"; } else if (freespace < 1024*1024 & freespace > 1024) { nomb = freespace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); nbconf4 = (((nomb / nbconf2)-1)*nbconf2)*100; if (nbconf3 > nbconf4) nbconf3 = nbconf3 - 1; DDSpace[ii] = nbconf2+"."+nbconf3+DDType; } totalspace = ShowTotalSpaceOn(DD); DDType = "Kb"; DDSpace[ii+3] = totalspace + ".00" + DDType; if (totalspace > 1024) { if (totalspace >= 1024*1024) { nomb = (totalspace / 1024)/1024; DDType = "Gb"; } else if (totalspace < 1048576 & totalspace > 1024) { nomb = totalspace / 1024; DDType = "Mb"; } nbconf2 = Math.round(nomb); if (nbconf2 > nomb) nbconf2 = nbconf2 - 1; nbconf3 = Math.round((((nomb / nbconf2)-1)*nbconf2)*100); DDSpace[ii+3] = nbconf2+"."+nbconf3+DDType; } DD = DD + 1; } |
CODE |
if (nCurMusicPlayWithSubsItem0 == 0) |
CODE |
if (nCurMusicPlayWithSubsItem0 == 0) { TempTitleList = FillMenuList(GetSectionPaths(0)); var nTracks0; nTracks0 = TempTitleList.length; c.MenuMetaText.text = v + (" [") + nTracks0 + ("]") + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + ("/") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + ("/") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + ("/") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 1) { TempTitleList = FillMenuList(GetSectionPaths(1)); var nTracks0; nTracks0 = TempTitleList.length; c.MenuMetaText.text = w + (" [") + nTracks0 + ("]") + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + ("/") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + ("/") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + ("/") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 2) { TempTitleList = FillMenuList(GetSectionPaths(2)); var nTracks0; nTracks0 = TempTitleList.length; c.MenuMetaText.text = x + (" [") + nTracks0 + ("]") + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + ("/") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + ("/") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + ("/") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 3) { TempTitleList = FillMenuList(GetSectionPaths(3)); var nTracks0; nTracks0 = TempTitleList.length; c.MenuMetaText.text = y + (" [") + nTracks0 + ("]") + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + ("/") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + ("/") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + ("/") + DDSpace[6] + (" "); } else if (nCurMusicPlayWithSubsItem0 == 4) { TempTitleList = FillMenuList(GetSectionPaths(4)); var nTracks0; nTracks0 = TempTitleList.length; c.MenuMetaText.text = z + (" [") + nTracks0 + ("]") + (" ") + ("HDD FREE TOTAL ") + (" ") + ("E: ")+ DDSpace[1] + ("/") + DDSpace[4] + (" ") + ("F: ")+ DDSpace[2] + ("/") + DDSpace[5] + (" ") + ("G: ")+ DDSpace[3] + ("/") + DDSpace[6] + (" "); } } |
CODE |
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 = 0; if( b > 0) { e = d / b; } return e; } |
QUOTE (Darkzone @ Oct 7 2004, 03:39 AM) |
Nice work again, it works fine! Big thanks to you willis |