first open default/defualt
put this at the bottom
CODE
function ChangeDisplay()
{
var nMaxDisplay = 8;
if (nDisplayNum > nMaxDisplay) { nDisplayNum = 1; }
if (nDisplayNum < 1) { nDisplayNum = nMaxDisplay; }
var sTopText = "";
var sBotText = "";
var sMainText = "";
if (nDisplayNum == 1)
{
var sTrackName = theMusicCollection.GetSoundtrackSongName(currentAlbum, currentTrack);
sTopText = "Artist";
sBotText = "Title";
sMainText = sTrackName;
}
else if (nDisplayNum == 2)
{
var sIPAddress = theXboxNetwork.GetXboxIP();
sTopText = "IP";
sMainText = sIPAddress;
}
else if (nDisplayNum == 3)
{
sTopText = "C:";
sBotText = "FREE";
sMainText = DriveSpace(sTopText);
}
else if (nDisplayNum == 4)
{
sTopText = "E:";
sBotText = "FREE";
sMainText = DriveSpace(sTopText);
}
else if (nDisplayNum == 5)
{
sTopText = "F:";
sBotText = "FREE";
sMainText = DriveSpace(sTopText);
if (sMainText == "")
}
else if (nDisplayNum == 6)
{
sTopText = "BIOS";
sMainText = theConfig.GetROMVersion();
}
else if (nDisplayNum == 7)
{
sTopText = "DASH";
sMainText = theConfig.GetXdashVersion();
}
else if (nDisplayNum == 8)
{
var nIntTemp = theConfig.GetInternalTemp();
var nCPUTemp = theConfig.GetCPUTemp();
var sScale = "C";
// var IniFile = new Settings;
// IniFile.SetIniSection( "Settings" );
// var e = IniFile.GetIniValue( "temp" );
// IniFile.CloseIniFile();
// mine is setable from the config screen
var e = "fahrenheit";
if( e == "fahrenheit" )
{
sScale = "F";
nIntTemp = Math.round(nIntTemp * 9/5 + 32);
nCPUTemp = Math.round(nCPUTemp * 9/5 + 32);
}
else if( e == "kelvin" )
{
sScale = "K";
nIntTemp = nIntTemp + 273;
nCPUTemp = nCPUTemp + 273;
}
sTopText = "MB Temp";
sBotText = "CPU";
sMainText = nIntTemp + " " + sScale + " "+ nCPUTemp + " " + sScale;
}
var c = theMainMenu.children[0].children[0];
c.theClock_text.children[0].children[0].geometry.text = sMainText;
c.Clock_panel_header_text.text = sTopText;
c.Clock_panel_support_03_text.text = sBotText;
}
function DriveSpace( sDrive )
{
var nFreeSpace = theHardDrive.GetFreeSpace(sDrive + "\\");
var nTotalSpace = theHardDrive.GetTotalSpace(sDrive + "\\");
if (nTotalSpace == 0) { return ""; }
return nFreeSpace + "MB of " + nTotalSpace + "MB";
}
Then find:
CODE
function MusicPlayerPlay()
{
theMusicPlayer.url = "st:" + theMusicCollection.GetSoundtrackSongID( currentAlbum, currentTrack );
log("Playing " + theMusicPlayer.url);
DisableAmbientAudio();
theMusicPlayer.Play();
}
and add another line so it looks like this:
CODE
function MusicPlayerPlay()
{
theMusicPlayer.url = "st:" + theMusicCollection.GetSoundtrackSongID( currentAlbum, currentTrack );
log("Playing " + theMusicPlayer.url);
DisableAmbientAudio();
theMusicPlayer.Play();
if (nDisplayNum == 10) { ChangeDisplay(); }
}
next find
CODE
var currentAlbum;
var currentTrack;
and put this under:
CODE
var nDisplayNum;
scroll down a few lines to find:
CODE
currentAlbum = 0;
currentTrack = 0;
and add this right after:
CODE
nDisplayNum = 1;
now find:
CODE
control DEF theMainMenuJoy Joystick
{
and put this after that slash
CODE
function OnLeftThumbDown()
{
PlaySoundB();
nDisplayNum = nDisplayNum + 1;
ChangeDisplay();
}
function OnRightThumbDown()
{
PlaySoundB();
nDisplayNum = nDisplayNum - 1;
ChangeDisplay();
}
ok thats all for the default/default
now open Main_Menu/default
and put this at the bottom:
CODE
DEF theMainMenuClock Transform
{
children
[
DEF Clock_panel_backing Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "PanelBacking_01"
}
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 "DATE" }
}
]
rotation 0.000000 0.000000 0.000000 0.000000
scale 0.490400 0.490400 0.490400
translation -0.960000 -0.167000 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 "FlatSurfaces"
}
}
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 Clock_panel_support_03_text Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "NavType"
}
}
geometry DEF Clock_panel_support_03_text Text { font "Body" text "TIME" }
}
]
rotation 0.000000 0.000000 0.000000 0.000000
scale 0.490400 0.490400 0.490400
translation 2.779000 -1.947000 1.657000
}
DEF theClock_text Transform
{
children
[
Transform
{
rotation 1 0 0 -1.571
scale 0.55 1.1 0.9
translation 0 0 0
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "NavType"
}
}
geometry Text { font "body" justify "middle" translate false text "<clock>" }
}
]
}
]
rotation -90.000000 0.002966 0.000000 -1.551000
scale 1.000000 1.000000 1.000000
translation 1.500000 -1.239800 1.654000
}
]
rotation 0 0 -1000.1 0.02
scale 40.000000 40.000000 40.000000
translation 170.1900002 -250.261000 -210.399994
}
DEF theMainMenuClock Transform
{
children
[
DEF Clock_panel_backing Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "PanelBacking_01"
}
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 "XBOX" }
}
]
rotation 0.000000 0.000000 0.000000 0.000000
scale 0.490400 0.490400 0.490400
translation -0.960000 -0.167000 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 "FlatSurfaces"
}
}
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 Clock_panel_support_03_text Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "NavType"
}
}
geometry DEF Clock_panel_support_03_text Text { font "Body" text "NAME" }
}
]
rotation 0.000000 0.000000 0.000000 0.000000
scale 0.490400 0.490400 0.490400
translation 2.779000 -1.947000 1.657000
}
DEF theClock_text Transform
{
children
[
Transform
{
rotation 1 0 0 -1.571
scale 0.55 1.1 0.9
translation 0 0 0
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "NavType"
}
}
geometry Text { font "body" justify "middle" translate false text ".:ImOlAtE:." }
}
]
}
]
rotation -90.000000 0.002966 0.000000 -1.551000
scale .700000 .700000 .700000
translation 1.500000 -1.239800 1.654000
}
]
rotation 0 0 0.1 0.02
scale 60.000000 40.000000 40.000000
translation -360.1900002 -250.261000 -210.399994
}
save up and ftp back to xbox




there will be many more code to come!
Sorry Hozy Just thought i would finish it


