and paste this code ....
var nCurPlayerMenuItem;
var optsCount;
var OptsMenuList;
var optsScroll;
var optsButton;
var optSelect;
var currentSkin;
DEF theGlobal Transform
{
visible false
children
[
Shape
{
appearance Appearance { material Material { } }
geometry DEF theCellWallMesh Mesh
}
]
scale 0 0 0
translation 500 0 0
}
function GetCellWallType()
{
var IniFile = new Settings;
IniFile.SetIniSection( "Dashboard Settings" );
var a = IniFile.GetIniValue( "Current Skin" );
theCellWallMesh.url = "A:/skins/" + a + "/cellwall.xm";
}
function initialize()
{
GetCellWallType();
optSelect = 0;
optsScroll = 0;
optsButton = 0;
nCurPlayerMenuItem = 1;
}
function GetOpts()
{
optsCount = 3;
var optsArray = new Array();
var a;
var IniFile = new Settings;
IniFile.SetIniSection( "Dashboard Settings" );
currentSkin = IniFile.GetIniValue( "Current Skin" );
optsArray[0] = "Reboot XBOX";
optsArray[1] = "Turn Off XBOX";
optsArray[2] = "Restart Dash";
OptsMenuList = optsArray;
}
function UpdatePowerOptsMenu()
{
var c = thePowerOptsMenu.children[0].children[0];
for (var i = 0; i < 3; i = i + 1)
{
var n = optsScroll + i;
if(n >= optsCount)
{
c.OptNames.children
.visible = false;
}
else
{
var str;
str = OptsMenuList[n];
c.OptNames.children.visible = true;
c.OptNames.children.visible = true;
c.OptNames.children.children[0].appearance.material.name =
"CellEgg/Partsz";
c.OptNames.children.children[0].geometry.text = str;
if(i == optsButton)
{
c.OptNames.children.children[0].appearance.material.name
= "NavType";
}
}
}
c.MU_L3_button_no.children[0].appearance.material.name = "FlatSurfaces";
c.MU_L3_button_yes.children[0].appearance.material.name = "FlatSurfaces";
c.S_Home_text_no.children[0].appearance.material.name = "NavType";
c.S_Home_text_yes.children[0].appearance.material.name = "NavType";
if (nCurPlayerMenuItem == 0)
{
c.MU_L3_button_yes.children[0].appearance.material.name = "GameHilite";
c.S_Home_text_yes.children[0].appearance.material.name = "Material #133";
}
if (nCurPlayerMenuItem == 1)
{
c.MU_L3_button_no.children[0].appearance.material.name = "GameHilite";
c.S_Home_text_no.children[0].appearance.material.name = "Material #133";
}
}
function StartPowerOptsMenu()
{
var c = thePowerOptsMenu.children[0].children[0];
nCurPlayerMenuItem = 1;
}
function DoReset()
{
theRestartLevel.GoTo();
}
function DoAction()
{
if (nCurPlayerMenuItem == 1) { PlaySoundB();
theMainMenu.GoBackTo();
theGamesSubMenuOut.Play(); }
else if (nCurPlayerMenuItem == 0)
{
if (optSelect==0) {theConfig.Reset();}
if (optSelect==1) {theConfig.PowerOff();}
if (optSelect==2) {theConfig.ReStartDash();}
}
}
var restarting;
DEF theRestartLevel Level
{
function OnArrival()
{
DisableAmbientAudio();
ClosePopup();
restarting = true;
if(theConfig.GetVideoMode() == 2) { theXboxLogo16x9Background.isBound = true; }
else { theXboxLogo4x3Background.isBound = true; }
}
behavior
{
sleep 1.1;
if(restarting) { theConfig.ReStartDash(); }
}
function OnActivate()
{
DisableAmbientAudio();
ClosePopup();
if(theConfig.GetVideoMode() == 2) { theXboxLogo16x9Background.isBound = true; }
else { theXboxLogo4x3Background.isBound = true; }
}
}
DEF thePowerOptsMenu Level
{
archive "Settings_Panel.xip"
children
[
Inline
{
url "Settings_Panel/default4.xap"
function onLoad()
{
StartPowerOptsMenu();
GetOpts();
UpdatePowerOptsMenu();
}
}
]
path Viewpoint
{
fieldOfView 1.287000
orientation 0.103700 0.994600 0.006310 -0.122200
position 96.940002 4.728000 -248.600006
jump false
}
shell Transform
{
scale 6.15 6.15 6.15
translation 97.67 4.819000 -251.870003
children
[
DEF theSettingsMenuShellSpinner Spinner
{
rpm 0
axis 0 0 0
children
[
DEF theSettingsMenuShellWaver Waver
{
rpm 2.25//rpm 0.75
children
[
Shape
{
appearance Appearance
{
material MaxMaterial { name "InnerWall_01" }
texture ImageTexture { alpha true url "shell.xbx" }
}
geometry USE theCellWallMesh
}
Shape
{
appearance MaxMaterial { name "InnerWall_02" }
geometry Sphere
}
]
}
]
}
]
}
control DEF theMusicPlayJoystick Joystick
{
function OnADown()
{
PlaySoundB();
DoAction();
}
function OnBDown()
{
PlaySoundB();
theMainMenu.GoBackTo();
theGamesSubMenuOut.Play();
}
function OnLeftThumbMoveLeft()
{
if (nCurPlayerMenuItem == 0) { return; }
else { nCurPlayerMenuItem = 0; }
UpdatePowerOptsMenu();
}
function OnLeftThumbMoveRight()
{
if (nCurPlayerMenuItem == 1) { return; }
else { nCurPlayerMenuItem = 1; }
UpdatePowerOptsMenu();
}
function OnLeftThumbMoveUp()
{
if (optSelect <= 0) { return; }
PlaySoundMenuChange();
optSelect = optSelect - 1;
if (optsButton == 0) { optsScroll = optsScroll - 1; }
else { optsButton = optsButton - 1; }
UpdatePowerOptsMenu();
}
function OnLeftThumbMoveDown()
{
if (optSelect >= optsCount - 1) { return; }
PlaySoundMenuChange();
optSelect = optSelect + 1;
if (optsButton == { optsScroll = optsScroll + 1; }
else { optsButton = optsButton + 1; }
UpdatePowerOptsMenu();
}
}
function OnActivate()
{
EnableAudio();
}
}
Save this file... insert it into default.xip
restart your xbox and you should now have your power options menu.. by pressing Y on the main menu screen