Help - Search - Members - Calendar
Full Version: Song Title Seprate From Clock; Addon To Dazza
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > User.Interface.X (UIX) Code
clif
I have made a little code so now that the Song title comes up on the left and your clock is on the right. Credit goes out to Dazza for some of his code !and as i have modified some of his!

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 smile.gif here are some screenes !

user posted image
user posted image
user posted image
user posted image

there will be many more code to come!

Sorry Hozy Just thought i would finish it
CrakkedOut
sorry to be picky but, is there a way to make the clock on the left and the info on the right??? tongue.gif
SRM
how do you make the song title text start from a song title and not from "Xbox Name"

i mean obviously you need to add a ChangeDisplay(); somewhere in default.xip/default.xap, but where??
clif
well you might have somthing wrong with your code, mine starts with the song on boot, so step threw the tot and make shure you did it right if not let me know.
blade_boy1
I know its possible because I saw you did it in another post but how can I get rid of the backpanel on either display? I want to just be able to see the text with nothing behind it except the cell wall. Any help would be great!
clif
this is the easyest way to do that, replace this code in your Main_menu/Defualt xap with the one on the tot.

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 "" }
}
]
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 "
" }
}
]
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 "
" }
}
]
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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
}

heres what you get:

user posted image
if you just want to do it for the song name use this code:
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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 "" }
}
]
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
}

and hers what that gets
user posted image

if you want to get rid of the artist and title display just go your default/defualt and change:
CODE

if (nDisplayNum == 1)
{
 var sTrackName = theMusicCollection.GetSoundtrackSongName(currentAlbum, currentTrack);
  sTopText = "Artist";
   sBotText = "Title";
  sMainText = sTrackName;
}

to this:
CODE

if (nDisplayNum == 1)
{
 var sTrackName = theMusicCollection.GetSoundtrackSongName(currentAlbum, currentTrack);
    sMainText = sTrackName;
}


sorry no screeny of that one, have to go, and thats all folks.....
magicruss
Great code but the above poster was right - it starts with the xbox name (which is yours i presume) instead of the song. The box name is text. How do you start with song title.

Great post
Dazza
If looked at his code and he's moved the track name to page one but not asked for that page to be updated with the songtitle if its shown.

I'm not using this code but try and find
CODE

if (nDisplayNum == 10) { ChangeDisplay(); }


and change it to
CODE

if (nDisplayNum == 1) { ChangeDisplay(); }


This may solve your problems.
ShawniE_O
QUOTE(CrakkedOut @ Jan 21 2005, 02:00 AM)
sorry to be picky but, is there a way to make the clock on the left and the info on the right???  tongue.gif
*



for the people that want the info window and clock reversed u need to go into the default.xip/default.xap and search (cntl+f) for the word "clock"...keep hitting the enter key until u see a line with a translation of -360, something, something. you want that negitive value to be positive. (i think i put mine to 200...im doing this from memory)...then u have to go into the main_menu.xip/default.xap and search for the line "translation 170.1900002 -250.261000 -210.399994" wow i cant believe i remember that one lol thats funny...ne way this is where u want to make the 170 a negitive number....i put mine to -360, blah, blah...and thats it...ur menus are now reversed wink.gif
CrakkedOut
thanks shawn
TMG8
For all us canadians swapped to Celcius temp And have fixed track display
Open Default.xip/default.xap and find this
CODE
if (nDisplayNum == 10) { ChangeDisplay(); }

and change to
CODE
if (nDisplayNum == 1) { ChangeDisplay(); }

Find this code in Default.xip/Default.xap
CODE
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;
}

Change to this.....
CODE
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 = "C";
             nIntTemp = theConfig.GetInternalTemp();
             nCPUTemp = theConfig.GetCPUTemp();
  }
  else if( e == "kelvin" )
  {
      sScale = "K";
             nIntTemp = nIntTemp + 273;
             nCPUTemp = nCPUTemp + 273;
  }
  sTopText = "MB Temp";
  sBotText = "CPU";
  sMainText = nIntTemp + " " + sScale + "       "+ nCPUTemp + " " + sScale;
}

then you can go into main_menu.xip/default.xap and find.....
CODE

geometry Text { font "body" justify "middle" translate false text ".:ImOlAtE:." }     /// change  ".:ImOlAtE:." To What You Want or "" Blank For Nothing
geometry DEF Clock_panel_support_03_text Text { font "Body" text "NAME" }    ///change "NAME To What You Want or "" Blank For Nothing
geometry DEF Clock_panel_header_text Text { font "Body" text "XBOX" } ///change "xbox" to what you want or "" Blank for nothing

b0oGy
Hi is there a way to change the Position of the Info Panel? For me it is to much at the bottom I need it a little bit higher?
clif
double posted
clif
QUOTE(b0oGy @ Jan 21 2005, 10:35 PM)
Hi is there a way to change the Position of the Info Panel? For me it is to much at the bottom I need it a little bit higher?
*



yes there is in Main_menu/default you find these closings after each panel:

CODE

]
rotation 0 0 0.1 0.02
scale 60.000000 40.000000 40.000000
translation -360.1900002 -250.261000 -210.399994
}


and
CODE


]
rotation 0 0 -1000.1 0.02
scale 40.000000 40.000000 40.000000
translation 170.1900002 -250.261000 -210.399994
}



in the translation of each is the location, on the x,y,x cordinants it is based at if the center of the screen would be 0,0. dont really need to mess with the z cord unless you want to go infront or behind somthing.
QUOTE
sorry to be picky but, is there a way to make the clock on the left and the info on the right??? 


yes if you would like the clock to be on the left on the information on the right, then just switch the translation of the 2.
blade_boy1
QUOTE
yes if you would like the clock to be on the left on the information on the right, then just switch the translation of the 2.

I tried changing the translations so that I could have the date/time on the left and the info on the right, but only the date/time box would move and the info would not move at all. I was wondering if I had to modify the translations for each text item but it seems those numbers are slightly different and only related to the panel size and not the full screen size.

I hope that makes sense cause I am reading it over and I dont even know what I just said... tongue.gif

A little help would be great and thank you muchly for the code to get rid of the backing on one of the panels! biggrin.gif
blade_boy1
Ive kinda been playing around and figured this out myself! Im so proud...but of course none of this could have been done without all these amazing codes from Cliff....Dazza....everyone else LOL

Here is code to get the date/time on the left: (Goes at the end of the main_menu.xip/default.xap)
CODE
//Clock 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 0.1 0.02
   scale 40.000000 40.000000 40.000000
   translation -360.1900002 -250.261000 -210.399994
}


And here is the code for the info panel on the right. Notice the changing of the words from Clock to Info...less confusing that way...atleast for me tongue.gif (This goes underneath the code above)
CODE
//Custom Info Panel Code
DEF theMainMenuInfo Transform
{
   children
   [
       DEF Info_panel_backing Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "PanelBacking_01"
                       }
                       texture ImageTexture
                       {
                           url "clock_bgpanel.tga"
                           alpha true
                       }
                   }
                   geometry DEF Info_panel_backing-FACES Mesh { url "" }
               }
           ]
           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 Info_panel_header Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "FlatSurfaces"
                       }
                   }
                   geometry DEF Info_panel_header-FACES Mesh { url "" }
               }
           ]
           rotation -1.000000 0.000000 0.000000 -1.571000
           scale 0.290400 0.290400 0.290400
           translation 0.882600 -0.187000 1.655000
       }
       DEF Info_panel_header_text Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF Info_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 Info_panel_support_01 Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "FlatSurfaces"
                       }
                   }
                   geometry DEF Info_panel_support_01-FACES Mesh { url "" }
               }
           ]
           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 Info_panel_support_02 Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "FlatSurfaces"
                       }
                   }
                   geometry DEF Info_panel_support_02-FACES Mesh { url "" }
               }
           ]
           rotation 1.000000 0.000000 0.000000 -1.571000
           scale 0.290400 0.290400 0.290400
           translation -0.506800 -0.529800 1.654000
       }
       DEF Info_panel_support_03 Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GamePod"
                           //name "FlatSurfaces"
                       }
                   }
                   geometry DEF Info_panel_support_03-FACES Mesh { url "" }
               }
           ]
           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 Info_panel_support_03_text Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF Info_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 theInfo_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
}


Then in order for the thumbstick buttons to change the info panel text and not the date/time you need to modify the default.xip/default.xap function ChangeDisplay().

Change this part:
CODE
   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;

To this:
CODE
   var c = theMainMenu.children[0].children[0];
   c.theInfo_text.children[0].children[0].geometry.text = sMainText;
   c.Info_panel_header_text.text = sTopText;
   c.Info_panel_support_03_text.text = sBotText;


And that should do it for you! Cause it worked for me anyway! biggrin.gif

P.S. Maybe if someone knows how the Rotation values work they could explain it to me, please and thank you!
DaBeast77
clif, where can i get that skin?
EBear
Okay. . . just about have this how I want it (info panel on left that has it all & no clock on the right). However now my info panel is the same size as the clock was. . .could anyone point out the part of the code I can change to have the info panel be wider/larger than the clock so I can fit more info? (like in these pics)
clif
QUOTE(EBear @ Jan 22 2005, 09:05 PM)
Okay. . . just about have this how I want it (info panel on left that has it all & no clock on the right). However now my info panel is the same size as the clock was. . .could anyone point out the part of the code I can change to have the info panel be wider/larger than the clock so I can fit more info? (like in these pics)
*



to make it longer find this code:
CODE

  ]
  rotation 0 0 -1000.1 0.02
  scale 40.000000 40.000000 40.000000
  translation 170.1900002 -250.261000 -210.399994
}

at the bottom of the whole clock code( your numbers may be diffrent), but change the scal form:

CODE

scale 40.000000 40.000000 40.000000

to
CODE

scale 60.000000 40.000000 40.000000

and that should do it.
clif
QUOTE(DaBeast77 @ Jan 22 2005, 11:29 AM)
clif, where can i get that skin?
*

pm me on #teamuix
DaBeast77
when will you be on?
EBear
Thanks Clif!
clif
no problem, but got any other ideas for somethen that would look cool in uix?
CrakkedOut
i seriously have no idea whats wrong. my problem lies in the default.xap i know that. cuz when i put in my original it boots up fine and i get the 2 display boxes, only thing is nothing changes just stays at the Xbox name.

ive copy and pasted went thru the code numerous times. idk whats up with it. im thinking it might be conflicting with another code i have that when u press Y it displays info about that xbox. cud that be the problem?

and yes ive tried clearing the cache

do i have to use the coding from this thread http://forums.xbox-scene.com/index.php?showtopic=343247

and then add the coding from this thread?

ImOkRuOk
Ok, I love this;) I also did the hide clock code with this, witch makes the panel hide, now just need to update to hide the clock in the opposite direction;) (hint hint)
Dazza
QUOTE(ImOkRuOk @ Feb 3 2005, 01:09 AM)
Ok, I love this;) I also did the hide clock code with this, witch makes the panel hide, now just need to update to hide the clock in the opposite direction;) (hint hint)
*



Well assuming you are using evil_teds code to hide the clock and assuming you are using the info_panel code from above ( starts with //Custom Info Panel Code) then this should sort it out

find
CODE

function HideClock()
{
bClockVisable = false;
var w = theMainMenu.children[0].children[0];
w.theMainMenuClock.SetRotation(0, 2, 0, -3);
w.theMainMenuClock.fade = 1.0;
w.theMainMenuClock.SetTranslation(285.900002, -89.261000, -40.399994);
w.theMainMenuClock.fade = 0.75;
w.theMainMenuClock.SetAlpha(0);
thePlayerPanelIn.Play();
}

function ShowClock()
{
bClockVisable = true;
var w = theMainMenu.children[0].children[0];
w.theMainMenuClock.SetRotation(0, 0, 0, 0);
w.theMainMenuClock.fade = 1.0;
w.theMainMenuClock.SetTranslation(-360.1900002, -250.261000, -210.399994);
w.theMainMenuClock.fade = 0.75;
w.theMainMenuClock.SetAlpha(1);
thePlayerPanelOut.Play();
}


and change it to look like this:
CODE

function HideClock()
{
bClockVisable = false;
var w = theMainMenu.children[0].children[0];
w.theMainMenuClock.SetRotation(0, 2, 0, -3);
w.theMainMenuClock.fade = 1.0;
w.theMainMenuClock.SetTranslation(285.900002, -89.261000, -40.399994);
w.theMainMenuClock.fade = 0.75;
w.theMainMenuClock.SetAlpha(0);

w.theMainMenuInfo.SetRotation(0, 2, 0, -3);
w.theMainMenuInfo.fade = 1.0;
w.theMainMenuInfo.SetTranslation(-475.900002, -89.261000, -40.399994);
w.theMainMenuInfo.fade = 0.75;
w.theMainMenuInfo.SetAlpha(0);
thePlayerPanelIn.Play();
}

function ShowClock()
{
bClockVisable = true;
var w = theMainMenu.children[0].children[0];
w.theMainMenuClock.SetRotation(0, 0, 0, 0);
w.theMainMenuClock.fade = 1.0;
w.theMainMenuClock.SetTranslation(-360.1900002, -250.261000, -210.399994);
w.theMainMenuClock.fade = 0.75;
w.theMainMenuClock.SetAlpha(1);

w.theMainMenuInfo.SetRotation(0, 0, 0, 0);
w.theMainMenuInfo.fade = 1.0;
w.theMainMenuInfo.SetTranslation(170.1900002, -250.261000, -210.399994);
w.theMainMenuInfo.fade = 0.75;
w.theMainMenuInfo.SetAlpha(1);

thePlayerPanelOut.Play();
}


If in the HideClock function you change this line
CODE

w.theMainMenuInfo.SetTranslation(-475.900002, -89.261000, -40.399994);


to be
CODE

w.theMainMenuInfo.SetTranslation(285.900002, -89.261000, -40.399994);


Then both panels appear from and disappear to the same spot.

I prefer to use the info panel code with the urls back again so I get a backing panel on my info box.
clif
thanks dazza
Entrepraninja
Now how would i get the clock to display on the info panel and make it semi-transparent?
clif
um look back into the fourms theres one with clock and everything in one and for transparencies you have to adjust it in your skin ini, i cant quite remeber how but i think it goes rgb then the transparency, maby i dont know i cant remeber but just try it ask if you need anymore help.
Retromortal
Is there a way to get the soundtrack name above the song title? I would like it to be in two lines in the main body but putting the soundtrack name in the panel heading would be ok also. I am kinda getting into this stuff but haven't been able to figure out where to pull the soundtrack name from and how to implement it where I want. Hope someone can do this for me.
clif
you could do it, to code it you would have to have one code to get the album name and another code to get the song name, you will have to tinker around with the placement a little bit to make it work but its possssible.
petermac
I am also working on this too, i just need the code for theMusicCollection.GetSoundtrackSong?????(currentAlbum, currentTrack);
sounds like a job for clif the great uix code man
clif
heh but work calls, and the truck needs gas money. um might be awile before i can get back, i start school again on monday and thats just going to be alot of fun. maby be able to do it after work but other then that im buisy. But thanks for beings so patient with me. beerchug.gif
conners
is there away to straighten the panels out, so they run parallel with the tabs, at the moment they`re angled, and trying to make them look stock if you know what i mean.
clif
in your menu xip were you put the phisical code for the meshes for the panels you will have this code twice

CODE

]
rotation 0 0 0.1 0.02
scale 60.000000 40.000000 40.000000
translation -360.1900002 -250.261000 -210.399994
}



1 for each menu, if you mess around with the rotation like set them all to 0 it will probly work. i have no way to test this as my xbox whent caput. hope this helps
petermac
haha thats funny, i used to live in germany, for 5 years, i also take german in high school,
caput means broke right?opps gotto go get ready for finals,
off topic...
Is the code for album display out yet, because i am still looking for that, to display album right aboves the song track.
thanks and auf wiedersehen und ich liebe diener mutter
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.