Help - Search - Members - Calendar
Full Version: Quik Power Off Button Help
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > User.Interface.X (UIX) Code
Pages: 1, 2
*LEGEND*
ok i got the xbox working to where if i press B, i have the option of turning off the xbox or not...(Props to craKkeD OuT)

but i was thinkin maybe u can put the otion of either Turning the xbox off, rebooting, or niether...

i know it has to be in the code somewhere but i didnt really take c++ classes to kno...i took visual basic so i dont really understand this language

CODE
function OnBDown()
    {
 PlaySoundB();
 if AskQuestion(theTranslator.Translate("\n" + "\n" + " Turn off Legend's Xbox ? "), "theConfig.PowerOff()", "", 1);
     }
 {
 PlaySoundB();
 else If AskQuestion(theTranslator.Translate("\n" + "\n" + " Reboot Legend's Xbox ? "), "theConfig.Reset()", "", 1);
     }


this is what i got but i kno its wrong cuz i tried it and it didnt even load the dash...

thanx for any help given...
vintster
opps hit wrong button tongue.gif
vintster
QUOTE(*LEGEND* @ Jan 29 2005, 02:38 PM)
ok i got the xbox working to where if i press B, i have the option of turning off the xbox or not...(Props to craKkeD OuT)

but i was thinkin maybe u can put the otion of either Turning the xbox off, rebooting, or niether...

i know it has to be in the code somewhere but i didnt really take c++ classes to kno...i took visual basic so i dont really understand this language

CODE
function OnBDown()
    {
 PlaySoundB();
 if AskQuestion(theTranslator.Translate("\n" + "\n" + " Turn off Legend's Xbox ? "), "theConfig.PowerOff()", "", 1);
     }
 {
 PlaySoundB();
 else If AskQuestion(theTranslator.Translate("\n" + "\n" + " Reboot Legend's Xbox ? "), "theConfig.Reset()", "", 1);
     }


this is what i got but i kno its wrong cuz i tried it and it didnt even load the dash...

thanx for any help given...
*




Theres no need to put the if statement in there. Try this.

CODE
function OnBDown()
    {
        PlaySoundB();
        AskQuestion(theTranslator.Translate("\n" + "\n" + " Turn off Legend's Xbox ? "), "theConfig.PowerOff()", "", 1);
     }


then if you want to be able to have the option of reset, you can do something like this:

CODE
function OnBDown()
    {
       if((RightTrigger == true) & (LeftTrigger == false))
        {
           PlaySoundB();
           AskQuestion(theTranslator.Translate("\n" + "\n" + " Reboot Legend's Xbox ? "), "theConfig.Reset()", "", 1);
         }
         else
         {
            PlaySoundB();
            AskQuestion(theTranslator.Translate("\n" + "\n" + " Turn off Legend's Xbox ? "), "theConfig.PowerOff()", "", 1);
          }
     }



***Just realized that in UIX they didn't include the same joystick code as in THC. so you might need to add this:
CODE
function OnLeftDown()
{
 LeftTrigger = true;
}
function OnLeftUp()
{
 LeftTrigger = false;
}
function OnRightDown()
{
 RightTrigger = true;
}
function OnRightUp()
{
 RightTrigger = false;
}
CrakkedOut
thas a good lil thing vinister, but i think he wants a menu for the options......i told him to just goto the settings but the sleeping.gif lazy fuck dont want too rotfl.gif
*LEGEND*
QUOTE(CrakkedOut @ Jan 29 2005, 05:35 PM)
thas a good lil thing vinister, but i think he wants a menu for the options......i told him to just goto the settings but the  sleeping.gif  lazy fuck dont want too    rotfl.gif
*


yeah pretty much...i hate scrolling ALL the way down and then finally rebooting and then scrolling all the way down to turn off...

this is good times anyways...if yall get a code for poppin out a menu when u press b that says something like:

QUOTE
What Would U like To Do Legend?

Reboot
Turn Off
Restart Dash

Yes      No


this will do for now tho...thanx alot to the both of u
mrmodem
Hey legend.. i got the code working to do basically what you want..

from the main screen you press Y and a menu comes up with your options

Reboot XBOX
Turn Off XBOX
Restart Dash

YES NO

i will post the code up later when i reach home from work
CrakkedOut
good job mrmodem beerchug.gif
*LEGEND*
QUOTE(mrmodem @ Jan 31 2005, 07:03 AM)
Hey legend.. i got the code working to do basically what you want..

from the main screen you press Y and a menu comes up with your options

Reboot XBOX
Turn Off XBOX
Restart Dash

YES NO

i will post the code up later when i reach home from work
*


good fuckin looks on that dawg!!!!!

much appreciated
mrmodem
ok this is how its done :

to accomplish this i worked with three files :

1) default.xip/default.xap

2) default.xip/power_opts.xap

3) settings_panel.xip/default4.xap


the later two files are files that i created from existing files. the first file default.xap you would already be familiar with.

make sure and make copies of files your are changing in case u make an error so you can always restore

open default.xip/default.xap

look for this section

CODE


function GoToSkins()
{
   theSettingsMenuIn.Play();
   if( theSkinsInline.visible ) { theSkinsInline.children[0].theSkinsMenu.GoTo(); }
   else { theSkinsInline.visible = true; }
}                                



and add this right below it

CODE


DEF thePowerOptsInline Inline
{
 visible false
 url "power_opts.xap"
 function onLoad() { thePowerOptsInline.children[0].thePowerOptsMenu.Goto();}

}

function GoToPowerOpts()
{

theSettingsMenuIn.Play();
if( thePowerOptsInline.visible )
 { thePowerOptsInline.children[0].thePowerOptsMenu.GoTo(); }
   else { thePowerOptsInline.visible = true; }

}



Then scroll down within this same file and look for

CODE


control DEF theMainMenuJoy Joystick
   {
       function OnADown()
       {
           PlaySoundA();
           if(nCurMainMenuItem == 0)
           {
               theMusicMenuIn.Play();
               GoToMusic();
           }
           else if(nCurMainMenuItem == 1)
           {
               theSettingsMenuIn.Play();
               GoToHardDrive();
           }
           else if(nCurMainMenuItem == 2)
           {
           }
           else if(nCurMainMenuItem == 3)
           {
               theSettingsMenuIn.Play();
               GoToSettings();
           }
       }



now add this function right below it

CODE


 function OnYDown()
        {
          PlaySoundA();
          theSettingsMenuIn.Play();
           GoToPowerOpts();
        }                  



save the file , insert it back into default.xip

mrmodem
Part 2 .....

open settings_panel.xip/default3.xap

save this file as default4.xap

we will now be working with default4.xap

delete everything from default4.xap
and put this code in it

CODE



DEF auto_off Transform
{
   children
   [
       DEF Group02 Transform
       {
           children
           [
               DEF S_Home_tube_attachment_03 Transform
               {
                   children
                   [
                       DEF S_Home_GameModule_142 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "CellEgg/Parts"
                                       }
                                   }
                                   geometry DEF S_Home_GameModule_142-FACES Mesh { url "S_Home_GameModule_142-FACES.xm" }
                               }
                           ]
                           rotation 0.000000 1.000000 0.000000 -0.130900
                           translation 2.746000 1.800000 -22.650000
                       }
                   ]
                   rotation -0.354300 0.293000 -0.888100 -1.419000
                   scale 0.374500 0.374500 0.374500
                   scaleOrientation 0.029130 -0.153900 -0.987700 -0.608200
                   translation 4.310000 -19.330000 0.284600
               }
               DEF S_Home_tube_attachment_02 Transform
               {
                   children
                   [
                       DEF S_Home_GameModule_144 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "CellEgg/Parts"
                                       }
                                   }
                                   geometry DEF S_Home_GameModule_144-FACES Mesh { url "S_Home_GameModule_144-FACES.xm" }
                               }
                           ]
                           rotation 0.000000 1.000000 0.000000 -0.130900
                           translation 2.746000 1.800000 -22.650000
                       }
                   ]
                   rotation 0.368300 0.338400 0.865900 -1.470000
                   scale 0.374500 0.374500 0.374500
                   scaleOrientation 0.295600 0.074390 0.952400 -0.431000
                   translation 4.818000 8.342000 0.115900
               }
               DEF S_Home_tube_attachment_01 Transform
               {
                   children
                   [
                       DEF S_Home_GameModule_140 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "CellEgg/Parts"
                                       }
                                   }
                                   geometry DEF S_Home_GameModule_140-FACES Mesh { url "S_Home_GameModule_140-FACES.xm" }
                               }
                           ]
                           rotation 0.000000 1.000000 0.000000 -0.130900
                           translation 2.746000 1.800000 -22.650000
                       }
                   ]
                   rotation 0.346500 0.324300 0.880200 -1.609000
                   scale 0.374500 0.374500 0.374500
                   scaleOrientation 0.000000 -0.993200 0.116600 -0.315100
                   translation 7.463000 8.638000 1.084000
               }
               DEF S_Home_podsocket_inner Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_podsocket_inner-FACES Mesh { url "S_Home_podsocket_inner-FACES.xm" }
                       }
                   ]
                   rotation -0.862900 -0.357400 -0.357400 -1.718000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation -0.889300 0.000000 0.457400 -0.081080
                   translation 8.557000 -5.004000 -9.018000
               }
               DEF S_Home_pod_shell_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_shell_01-FACES Mesh { url "S_Home_pod_shell_01-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   translation 8.048000 -5.057000 -0.194300
               }
               DEF S_Home_tube_04 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_04-FACES Mesh { url "S_Home_tube_04-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   translation 0.947700 -18.690001 11.560000
               }
               DEF S_Home_pod_support_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_02-FACES Mesh { url "S_Home_pod_support_02-FACES.xm" }
                       }
                   ]
                   rotation -0.923900 -0.382700 0.000000 -3.142000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.000000 0.000000 -1.000000 -0.477700
                   translation 3.985000 -12.040000 -8.418000
               }
       /*        DEF S_Home_videopod_backing Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "DarkenBacking"
                               }
                           }
                           geometry DEF S_Home_videopod_backing-FACES Mesh { url "S_Home_videopod_backing-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   scale 1.420000 1.420000 1.420000
                   scaleOrientation 1.000000 0.000000 0.000000 0.000000
                   translation 10.780000 -5.057000 -6.674000
               }
       */
               DEF S_Home_tube_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_01-FACES Mesh { url "S_Home_tube_01-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   translation -2.796000 3.084000 6.168000
               }
               DEF S_Home_tube_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_03-FACES Mesh { url "S_Home_tube_03-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   translation 0.344100 -18.690001 11.510000
               }
               DEF S_Home_tube_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_02-FACES Mesh { url "S_Home_tube_02-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   translation -5.189000 3.084000 7.115000
               }
               DEF S_Home_pod_support_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_01-FACES Mesh { url "S_Home_pod_support_01-FACES.xm" }
                       }
                   ]
                   rotation -0.382700 -0.923900 0.000000 -3.142000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.215500 0.448200 -0.867600 -0.100800
                   translation 15.680000 -9.062000 -8.418000
               }
               DEF S_Home_pod_support_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_03-FACES Mesh { url "S_Home_pod_support_03-FACES.xm" }
                       }
                   ]
                   rotation 0.000000 0.000000 -1.000000 -0.785400
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.001085 0.003347 1.000000 -0.307700
                   translation 15.680000 -0.338300 -8.418000
               }
       /*        DEF S_Home_videopod_backing01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "DarkenBacking"
                               }
                           }
                           geometry DEF S_Home_videopod_backing01-FACES Mesh { url "S_Home_videopod_backing01-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   scale 1.380000 0.537000 1.380000
                   translation 12.040000 -5.057000 -9.169000
               }
       */
               DEF S_Home_podsocket_outer Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_podsocket_outer-FACES Mesh { url "S_Home_podsocket_outer-FACES.xm" }
                       }
                   ]
                   rotation -0.862900 -0.357400 -0.357400 -1.718000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation -0.889300 0.000000 0.457400 -0.081080
                   translation 8.557000 -5.004000 -9.018000
               }
               DEF S_Home_pod_support_04 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_04-FACES Mesh { url "S_Home_pod_support_04-FACES.xm" }
                       }
                   ]
                   rotation 0.000000 0.000000 1.000000 -3.927000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.105500 -0.014910 -0.994300 -0.050620
                   translation 3.985000 2.638000 -8.418000
               }

               DEF ConsoleIcon Transform
               {
                   fade 0.25
                   translation 9.409000 -5.418000 -0.554700
                   rotation 0 1 0 -0.35
                   children
                   [
                       Waver
                       {
                           axis 0 1 0
                           rpm 5
                           field 0.392
                           children
                           [
                               Transform
                               {
                                   scale 1.9 1.9 1.9
                                   children
                                   [
                                       DEF Console Transform
                                       {
                                           children
                                           [
                                               Shape
                                               {
                                                   appearance Appearance
                                                   {
                                                       material MaxMaterial
                                                       {
                                                           name "IconParts"
                                                       }
                                                   }
                                                   geometry DEF console-FACES Mesh { url "console-FACES.xm" }
                                               }
                                           ]
                                           rotation -0.013930 -0.925800 -0.377700 -3.633000
                                           scale 0.010248 0.010248 0.010248
                                           //scaleOrientation -0.673100 -0.699600 -0.239800 -0.693000
                                           translation -2.3 0 0
                                       }
                                       DEF ConsoleShell Transform
                                       {
                                           children
                                           [
                                               Shape
                                               {
                                                   appearance Appearance
                                                   {
                                                       material MaxMaterial
                                                       {
                                                           //name "FlatSurfaces"
                                                           name "Metal_Chrome"
                                                       }
                                                   }
                                                   geometry USE console-FACES
                                               }
                                           ]
                                           rotation -0.013930 -0.925800 -0.377700 -3.633000
                                           scale 0.010248 0.010248 0.010248
                                           //scaleOrientation -0.673100 -0.699600 -0.239800 -0.693000
                                           translation -2.3 0 0
                                       }
                                   ]
                               }
                           ]
                       }
                   ]
               }
               DEF S_Home_videopod Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_videopod-FACES Mesh { url "S_Home_videopod-FACES.xm" }
                       }
                   ]
                   rotation -0.707100 0.000000 0.707100 -3.142000
                   scale 0.900900 0.900900 0.900900
                   scaleOrientation 0.000000 1.000000 0.000000 -0.785400
                   translation 8.409000 -5.418000 -0.554700
               }
           ]
           translation 3.595000 5.057000 46.650002
       }

       DEF Group01 Transform
       {
           children
           [
               DEF S_Home_Arm_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_01-FACES Mesh { url "S_Home_Arm_01-FACES.xm" }
                       }
                   ]
                   rotation 0.000000 -1.000000 0.000000 -0.008727
                   scale 0.847500 0.847500 0.847500
                   scaleOrientation 0.000000 -1.000000 0.000000 -0.111000
                   translation -8.632000 -1.429000 11.550000
               }
               DEF S_Home_Arm_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_02-FACES Mesh { url "S_Home_Arm_02-FACES.xm" }
                       }
                   ]
                   rotation -0.889000 0.000000 0.457900 -3.142000
                   scale 1.330000 1.000000 1.000000
                   scaleOrientation 0.000000 -1.000000 0.000000 -0.253100
                   translation 14.230000 -3.380000 -10.150000
               }
               DEF S_Home_Arm_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_03-FACES Mesh { url "S_Home_Arm_03-FACES.xm" }
                       }
                   ]
                   rotation -0.908000 -0.018280 0.418600 -3.221000
                   scale 0.862100 0.862100 0.862100
                   scaleOrientation -0.009588 1.000000 0.000000 -0.784900
                   translation 1.047000 -1.080000 1.023000
               }
               DEF S_Home_Arm_05 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_05-FACES Mesh { url "S_Home_Arm_05-FACES.xm" }
                       }
                   ]
                   rotation -0.889000 0.000000 0.457900 -3.142000
                   scale 1.330000 1.000000 1.000000
                   scaleOrientation 0.000000 -1.000000 0.000000 -0.253100
                   translation 14.230000 -2.030000 -10.150000
               }
               DEF S_Home_Arm_04 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_04-FACES Mesh { url "S_Home_Arm_04-FACES.xm" }
                       }
                   ]
                   rotation -0.678800 0.000000 0.734300 -3.142000
                   scale 0.775200 0.775200 0.775200
                   translation -2.954000 -0.496800 4.478000
               }


             
mrmodem
part 2 code continued.....

CODE


 DEF S_Home_panel_backing Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "PanelBacking_01"
                               }
                               texture ImageTexture
                               {
                                   url "clock_bgpanel.xbx"
                                   alpha true
                               }
                           }
                           geometry DEF S_Home_panel_backing-FACES Mesh { url "S_Home_panel_backing-FACES.xm" }
                       }
                   ]
                   rotation -0.577400 0.577400 0.577400 -2.094000
                   scale 1.000000 1.000000 1.120000
                   scaleOrientation 0.000000 0.000000 -1.000000 -0.440200
                   translation -4.591000 -3.625000 9.429000
               }
               DEF S_Home_panel_header Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Home_panel_header-FACES Mesh { url "S_Home_panel_header-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -1.571000
                   translation 10.880000 4.996000 9.700000
               }
               DEF S_Home_panel_support_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Home_panel_support_03-FACES Mesh { url "S_Home_panel_support_03-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -1.571000
                   translation 7.363000 -8.224000 9.582000
               }


               DEF S_Aud_panel_support_22 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Aud_panel_support_22-FACES Mesh { url "S_Aud_panel_support_22-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.001253 -0.007420 -1.555000
                   scale 0.478500 0.478500 0.478500
                   scaleOrientation 0.740900 0.612500 0.275500 -0.055200
                   translation 2.775000 3.079000 9.310000
               }

               DEF S_Home_panel_support_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Home_panel_support_02-FACES Mesh { url "S_Home_panel_support_02-FACES.xm" }
                       }
                   ]
                   rotation -0.577400 0.577400 0.577400 -2.094000
                   translation -4.192000 -3.625000 9.584000
               }
           ]
           translation -9.331000 -1.420000 51.580002
       }

       DEF Group02_supports Transform
       {
           children
           [
               DEF panel_supports Transform
               {
                   children
                   [
                       DEF S_Home_panel_support_04 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF S_Home_panel_support_04-FACES Mesh { url "S_Home_panel_support_04-FACES.xm" }
                               }
                           ]
                           rotation -1.000000 0.000000 0.000000 -1.571000
                           translation 0.078160 -3.173000 0.000019
                       }
                       DEF S_Home_panel_support_05 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF S_Home_panel_support_05-FACES Mesh { url "S_Home_panel_support_05-FACES.xm" }
                               }
                           ]
                           rotation -1.000000 0.000000 0.000000 -1.571000
                           translation 0.078160 -1.765000 0.000019
                       }
                   ]
                   translation 0.000000 1.625000 0.387100
               }
           ]
           translation -6.150000 0.377300 61.650002
       }
       DEF Group03 Transform
       {
           children
           [
               DEF text_auto_off Transform
               {
                   children
                   [
                       DEF S_Home_text_games01 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width 10 height 8 scrollRate 0.1 scrollDelay 5 text "" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.8 -0.60000 0.000000
                       }

                       DEF S_Home_text_games Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF PanelHeading Text { font "heading" translate false text "Power Options" width -12.2 }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           scale 0.955 0.955 0.955
                           translation -5.580000 1.700000 0.000000
                       }
                   ]
                   translation 0.000000 1.625000 0.387100
               }
           ]
           translation -6.150000 0.377300 61.650002
       }
       DEF Group06 Transform
       {
           children
           [
               DEF MU_back_probearm Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_back_probearm-FACES Mesh { url "MU_back_probearm-FACES.xm" }
                       }
                   ]
                   rotation 0.753300 0.386200 -0.532400 -1.747000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.981300 0.180300 0.067500 -0.715500
                   translation 20.680000 14.960000 6.071000
               }
               DEF MU_back_probe Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_back_probe-FACES Mesh { url "MU_back_probe-FACES.xm" }
                       }
                   ]
                   rotation 0.753300 0.386200 -0.532400 -1.747000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.981300 0.180300 0.067500 -0.715500
                   translation 19.790001 14.110000 6.235000
               }
               DEF MU_back_pod_inner Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_back_pod_inner-FACES Mesh { url "MU_back_pod_inner-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   scale 0.465000 0.465000 0.465000
                   translation 11.010000 -11.290000 3.150000
               }
               DEF MU_Text_b Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "NavType"
                               }
                           }
                           geometry Text { font "heading" justify "middle" translate false text "B" }
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.605000 0.605000 0.000
                   //scaleOrientation 0.000000 0.000000 1.000000 -0.005973
                   translation 1.889000 2.422000 -0.409200
               }
               DEF MU_Text_back Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "XBOXgreen"
                               }
                           }
                           geometry Text { font "Body" text "BACK" justify "end"}
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.375000 0.475000 0.00
                   //scaleOrientation 0.000000 0.000000 1.000000 -0.005973
                   translation 1.183300 2.156 -0.409200
               }
               DEF MU_back_pod_outer Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_back_pod_outer-FACES Mesh { url "MU_back_pod_outer-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   scale 0.465000 0.465000 0.465000
                   translation 11.010000 -11.290000 3.150000
               }
               DEF MU_back_tube Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "TubesFade"
                               }
                           }
                           geometry DEF MU_back_tube-FACES Mesh { url "MU_back_tube-FACES.xm" }
                       }
                   ]
                   rotation 0.990900 -0.095410 -0.095410 -1.580000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.010380 -0.285600 0.958300 -0.080610
                   translation -22.030001 -27.750000 9.817000
               }
               DEF MU_back_pod_HL Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "EggGlow"
                               }
                           }
                           geometry DEF MU_back_pod_HL-FACES Mesh { url "MU_back_pod_HL-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   scale 0.465000 0.465000 0.465000
                   translation 11.010000 -11.290000 3.150000
               }
           ]
           rotation 0.000000 -1.000000 0.000000 -0.034910
           scale 2.171000 2.171000 2.171000
           scaleOrientation 0.000000 1.000000 0.000000 -0.033020
           translation -16.490000 -18.490000 58.980000
       }
       DEF Group07 Transform
       {
           children
           [
               DEF MU_Text_a Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "NavType"
                               }
                           }
                           geometry Text { font "heading" justify "middle" translate false text "A" }
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.605000 0.605000 0.000
                   //scaleOrientation 0.000000 0.000000 -1.000000 -0.045050
                   translation -1.959000 2.391000 -0.443200
               }
               DEF MU_select_probearm Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_select_probearm-FACES Mesh { url "MU_select_probearm-FACES.xm" }
                       }
                   ]
                   rotation -0.786500 0.499900 0.362600 -1.910000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.000000 0.005536 1.000000 -0.474500
                   translation -9.489000 15.920000 6.071000
               }

mrmodem
part continued ... again....

CODE


 DEF MU_text_select Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "XBOXgreen"
                               }
                           }
                           geometry Text { font "Body" text "SELECT" }
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.375000 0.475000 0.00
                   //scaleOrientation 0.000000 0.000000 -1.000000 -0.097740
                   translation -1.238900 2.156000 -0.409300
               }
               DEF MU_select_probe Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_select_probe-FACES Mesh { url "MU_select_probe-FACES.xm" }
                       }
                   ]
                   rotation -0.786500 0.499900 0.362600 -1.910000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.000000 0.005536 1.000000 -0.474500
                   translation -8.603000 15.060000 6.235000
               }
               DEF MU_select_pod_inner Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_select_pod_inner-FACES Mesh { url "MU_select_pod_inner-FACES.xm" }
                       }
                   ]
                   scale 0.465000 0.465000 0.465000
                   translation 0.178000 -10.330000 3.150000
               }
               DEF MU_select_pod_outer Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_select_pod_outer-FACES Mesh { url "MU_select_pod_outer-FACES.xm" }
                       }
                   ]
                   scale 0.465000 0.465000 0.465000
                   translation 0.178000 -10.330000 3.150000
               }
               DEF MU_select_tube Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "TubesFade"
                               }
                           }
                           geometry DEF MU_select_tube-FACES Mesh { url "MU_select_tube-FACES.xm" }
                       }
                   ]
                   rotation -0.990900 0.095410 -0.095410 -1.580000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation -0.011110 0.412400 0.911000 -0.088980
                   translation 33.220001 -26.790001 9.817000
               }
               DEF MU_select_pod_HL Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "EggGlow"
                               }
                           }
                           geometry DEF MU_select_pod_HL-FACES Mesh { url "MU_select_pod_HL-FACES.xm" }
                       }
                   ]
                   scale 0.465000 0.465000 0.465000
                   translation 0.178000 -10.330000 3.150000
               }
           ]
           rotation 0.000000 1.000000 0.000000 -0.183300
           scale 2.171000 2.171000 2.171000
           scaleOrientation 0.000000 -1.000000 0.000000 -0.148100
           translation 8.965000 -19.209999 60.529999
       }
   ]
   scale 0.202100 0.202100 0.202100
   translation 98.070000 5.357000 -264.000000
}

DEF ButtonGroup Transform
{
   children
   [
       DEF MU_L3_button_yes Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox01-FACES Mesh { url "ChamferBox01-FACES.xm" }
               }
           ]
           scale 1.8 1 1
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation -2.286000 -1.500000 -0.629200
       }
       DEF MU_L3_button_no Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox02-FACES Mesh { url "ChamferBox02-FACES.xm" }
               }
           ]
           scale 1.8 1 1
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation 2.706000 -1.500000 -0.629200
       }
       DEF S_Home_text_yes Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the1stPlayerTab Text { font "Body" translate true justify "middle" text "Yes" }
               }
           ]
           scale 0.85 0.85 0
           translation -2.264000 -1.685700 0.233100
       }
       DEF S_Home_text_no Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the2ndPlayerTab Text { font "Body" translate true justify "middle" text "No" }
               }
           ]

           scale 0.85 0.85 0
           translation 2.684000 -1.685700 0.233100
       }
   ]
   scale 0.200500 0.200500 0.200500
   translation 96.839996 4.207000 -251.600006
}
DEF thePanel1Text Transform
{
   children
   [
       DEF Group03 Transform
       {
           children
           [
               DEF OptNames Transform
               {
                   children
                   [
                       DEF S_Home_text_games01 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width -8 height 8 scrollRate 0.1 scrollDelay 5 text "Testing" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.2 -1.60000 0.000000
                       }
                       DEF S_Home_text_games02 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width -8 height 8 scrollRate 0.1 scrollDelay 5 text "Testing" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.2 -2.60000 0.000000
                       }
                       DEF S_Home_text_games03 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width -8 height 8 scrollRate 0.1 scrollDelay 5 text "Testing" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.2 -3.60000 0.000000
                       }
                       
                       

                   ]
                   //translation 0.000000 1.625000 0.387100
               }
           ]
           //translation -6.150000 0.377300 61.650002
       }
   ]
   rotation 0.06 0.37 -0.04 -0.07
   translation 95.419716 11.507019 -264.599854
}



save this file default4.xap and insert int settings_panel.xip
mrmodem
and this last part

open default.xip/skins.xap

save as power_opts.xap

delete everything from inside power_opts.xap

and paste this code ....

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[i].visible = false;
       }
       else
       {
               var str;
               str = OptsMenuList[n];
                       c.OptNames.children[i].visible = true;
                       c.OptNames.children[i].visible = true;
                       c.OptNames.children[i].children[0].appearance.material.name =

"CellEgg/Partsz";
                       c.OptNames.children[i].children[0].geometry.text = str;
                   
                       if(i == optsButton)
                       {
                               c.OptNames.children[i].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 == 8) { optsScroll = optsScroll + 1; }
                       else { optsButton = optsButton + 1; }
                       UpdatePowerOptsMenu();
       }
   }

   function OnActivate()
   {
       EnableAudio();
   }
}


Save this file... insert it into default.xip

FTP default.xip and settings_panel.xip to your XBOX

restart your xbox and you should now have your power options menu.. by pressing Y on the main menu screen
mrmodem
this is what is should look like peeps...

user posted image

enjoy

mrmodem...

smile.gif ph34r.gif wink.gif
*LEGEND*
QUOTE(mrmodem @ Jan 31 2005, 06:46 PM)
this is what is should look like peeps...

user posted image

enjoy

mrmodem...

smile.gif  ph34r.gif  wink.gif
*


U ARE A GENIUS!!!!!!!

ho wu worte all that code is BEYOND my comprehension but thanx dawg... i really appreciate it

ima try this in a lil bit and get at u to see if it works

thanx again
mrmodem
lol lol..... hey i didnt have to write all the code... i modified existing code... thing is .. i understood what the code was doing so it was just to make it do what i wanted it to do...

hope it works for you...
HoBoz
QUOTE(mrmodem @ Feb 1 2005, 04:34 AM)
lol lol..... hey i didnt have to write all the code... i modified existing code... thing is .. i understood what the code was doing so it was just to make it do what i wanted it to do...

hope it works for you...
*




On this code:
CODE
function OnYDown()
       {
         PlaySoundA();
         theSettingsMenuIn.Play();
          GoToPowerOpts();
       }                  


Could I replace the
function OnYDown()
with
function OnBDown()

So that I could use the B button instead of the Y button?
The reason that I ask, is that I already have a menu assigned to the Y button.
mrmodem
of course you can do that

the code for that part will now be

CODE


function OnBDown()
      {
        PlaySoundA();
        theSettingsMenuIn.Play();
         GoToPowerOpts();
      }                



thats it !! ph34r.gif
HoBoz
Thanks for the reply. I thought it would work, but just wanted to check first. beerchug.gif
b0oGy
Hi nice work mrmodem I have added your code to UIX and have changed default4.xap to default5.xap because i use the Orb Change Mod and there is default4.xap in use.

If i press Y now the new Menu comes but if i change "Reboot XBOX" it will go back to the Main Menu if i take "Shutdown XBOX" its the same.
Only "Restart Dash" will work for me.

HoBoz
Thanks mrmodem,

Everything works great. I change it to the "B" button since I have another menu
for the "Y" button. biggrin.gif

However there is one very minor bug in mine, I have to hit the "B" button twice on
the main menu screen to get to the options for the power menu. I think that maybe
it's in the playsound on the "B" button in the main menu, I prob. wrong on this matter
since I am not a coder. sad.gif

Any ideas?

Once again thanks for the code, it's great. beerchug.gif
billybobxxx
solution to the bug press 2 times 'b' button

open default.xip/default.xap

search for CODE

DEF thePowerOptsInline Inline
{
visible false
url "power_opts.xap"
function onLoad() { thePowerOptsInline.children[0].thePowerOptsMenu.Goto();}
}


erase 'visible false' line
HoBoz
QUOTE(billybobxxx @ Feb 2 2005, 06:12 PM)
solution to the bug press 2 times 'b' button

open default.xip/default.xap

search for CODE

DEF thePowerOptsInline Inline
{
visible false
url "power_opts.xap"
function onLoad() { thePowerOptsInline.children[0].thePowerOptsMenu.Goto();}
}
erase 'visible false' line
*




Didn't work, it disabled the controller. I couldn't use any of the buttons, dpad or joy sticks. sad.gif
mrmodem
QUOTE

solution to the bug press 2 times 'b' button

open default.xip/default.xap

search for CODE

DEF thePowerOptsInline Inline
{
visible false
url "power_opts.xap"
function onLoad() { thePowerOptsInline.children[0].thePowerOptsMenu.Goto();}
}


erase 'visible false' line



that definitely doesnt work...
i am currently working on the fix for that bug...
should be finshed by tommorow..
billybobxxx
works great for me xbox v1.0 & 1.4
*LEGEND*
damn good shit either way....thanx mrmodem
paper
what does it mean by insert back into original code?
paper
anyone? lol
HoBoz
QUOTE(paper @ Feb 7 2005, 08:19 PM)
what does it mean by insert back into original code?
*



What part are you talking about?
paper
Save this file... insert it into default....that part lol, does it mean copy the code back into the file or?...
cheezwiz
paper, editing to xip/xap is first off done with a prog. called winXip downloadable from xbox-scene's tools menu. This program opens the, for example default.xip, up in a nice ordered fashion that allows to see files called **.xap. When you edit code like default.xip/default.xap you extract the default.xap and view in any word program. the one mostly used would probably be MSs notepad because its so simple. Anyways thats where all this code goes.Open the .xap file up in notepad edit away and save the notepad file as default.xap. Now you can go back and "insert" that notepad saved file into your default.xip and ftp it to your xbox...
paper
allrighty...thanks
Outworld1
hello,
how to make to add "power cycle sytem" please

thx
mrmodem
ok folks... i FINALLY fixed the IRRITATING BUG in my Shutdown menu where you had to press the button twice for the menu to come up.. Its fixed now and I also added in the Power Cycle option as requested by some users...

To get it working properly i worked with fresh xaps instead of the existing ones i had previously..

the files that are going to be used are

default.xip/default.xap

default.xip/power_options.xap

settings_panel/default5.xap

The first file default.xap you will have already , the others you will have to create..

Part 1 ------------------------

Open default.xip/default.xap

scroll down till you see this...

CODE

function GoToSkins()
{
   theSettingsMenuIn.Play();
   if( theSkinsInline.visible ) { theSkinsInline.children[0].theSkinsMenu.GoTo(); }
   else { theSkinsInline.visible = true; }
}            



and directly below this put in this code

CODE

DEF theOptsInline Inline
{
 visible false
 url "power_options.xap"
 function onLoad() { theOptsInline.children[0].thePowerOptionsMenu.GoTo();}

}

function GoToPowerOpts()
{
   theSettingsMenuIn.Play();
   if( theOptsInline.visible ) { theOptsInline.children[0].thePowerOptionsMenu.GoTo(); }
   else { theOptsInline.visible = true; }

}


if you had my previous code you can delete the old def and function.. if your not to sure about it just leave it in... but make sure you only have one

CODE


function GoToPowerOpts()



which is the new function above..

next scroll down in the default.xap file till you see this ...

CODE

function OnRightThumbMoveLeft()
{          


and right ABOVE this paste this code..

CODE

function OnYDown()
        {

          theSettingsMenuIn.Play();
          GoToPowerOpts();
        }              



if you had the old one just edit it so it looks Like the function above...

you can change this to any un assigned button e.g. OnXDown()


ok.. save this file and re-insert it back into the default.xip file..


--part 1--
mrmodem
part 2---

next ... open up default.xip/skins.xap

and SAVE AS power_options.xap

delete everything from inside this file and paste this code

CODE

var nCurPlayerMenuItem;
var PowerOptCount;
var PowerOptMenuList;
var PowerOptScroll;
var PowerOptButton;
var PowerOptSelect;
var currentPowerOpt;

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";
    IniFile.CloseIniFile();
}

function initialize()
{
   GetCellWallType();
   PowerOptSelect = 0;
   PowerOptScroll = 0;
   PowerOptButton = 0;
   nCurPlayerMenuItem = 1;
}

function GetPowerOpts()
{

   PowerOptCount = 4;
   var PowerOptsArray = new Array();



       PowerOptsArray[0] = "Restart Dash";
       PowerOptsArray[1] = "Reboot XBOX";
       PowerOptsArray[2] = "Power Cycle XBOX";
       PowerOptsArray[3] = "Power Off XBOX";

   PowerOptMenuList = PowerOptsArray;
}

function UpdatePowerOptMenu()
{
       var c = thePowerOptionsMenu.children[0].children[0];
       
   for(var i = 0; i < 4; i = i + 1)
   {
            var n = PowerOptScroll + i;
           
       if(n >= PowerOptCount)
       {
               c.PowerOptions.children[i].visible = false;
       }
       else
       {
               var str;
               str = PowerOptMenuList[n];
                       c.PowerOptions.children[i].visible = true;
                       c.PowerOptions.children[i].visible = true;
                       c.PowerOptions.children[i].children[0].appearance.material.name = "CellEgg/Partsz";
                       c.PowerOptions.children[i].children[0].geometry.text = str;

                       if(i == PowerOptButton)
                       {
                               c.PowerOptions.children[i].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 StartPowerOptMenu()
{
   var c = thePowerOptionsMenu.children[0].children[0];
   nCurPlayerMenuItem = 1;
}


function DoReset()
{
   theRestartLevel.GoTo();
}

function DoAction()
{

//    var c = thePowerOptionsMenu.children[0].children[0];
//    var info = new Settings;
//    info.file = "A:\\system\\uix.ini";
//   info.section = "Dashboard Settings";
//   if (nCurPlayerMenuItem == 1) { ShowPowerOptInfo(); }
//   else if (nCurPlayerMenuItem == 0)
//   {
 //      theConfig.ChangePowerOpt( PowerOptMenuList[PowerOptSelect] );
 //      AskQuestion("PowerOpt change will not take full effect until you restart the dash.  Would you like to restart now?", "thePowerOptionsInline.children[0].DoReset()", "", 0);
//   }

if (nCurPlayerMenuItem == 1) {  PlaySoundB();
                        theMainMenu.GoBackTo();
           theGamesSubMenuOut.Play(); }
   else if (nCurPlayerMenuItem == 0)
   {

               if (PowerOptSelect==0) {theConfig.ReStartDash();}
               if (PowerOptSelect==1) {theConfig.Reset();}
               if (PowerOptSelect==2) {theConfig.PowerCycle();}
               if (PowerOptSelect==3) {theConfig.PowerOff();}
   }

}

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 thePowerOptionsMenu Level
{
   archive "Settings_Panel.xip"

   children
   [
       Inline
       {
           url "Settings_Panel/default5.xap"

           function onLoad()
           {
               StartPowerOptMenu();
               GetPowerOpts();
               UpdatePowerOptMenu();
           }
       }
   ]

   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()
       {
                       DoAction();
       }

       function OnBDown()
       {
                 //      theConfig.ChangePowerOpt( currentPowerOpt );
           PlaySoundB();
                       theMainMenu.GoBackTo();
                       theMusicSubMenuOut.Play();
       }

       function OnLeftThumbMoveLeft()
       {
           if (nCurPlayerMenuItem == 0) { return; }
           else { nCurPlayerMenuItem = 0; }
           UpdatePowerOptMenu();
       }

       function OnLeftThumbMoveRight()
       {
           if (nCurPlayerMenuItem == 1) { return; }
           else { nCurPlayerMenuItem = 1; }
           UpdatePowerOptMenu();
       }

       function OnLeftThumbMoveUp()
       {
                       if (PowerOptSelect <= 0) { return; }
                       PlaySoundMenuChange();
                       PowerOptSelect = PowerOptSelect - 1;
                       if (PowerOptButton == 0) { PowerOptScroll = PowerOptScroll - 1; }
                       else { PowerOptButton = PowerOptButton - 1; }
                 //      theConfig.ChangePowerOpt( PowerOptMenuList[PowerOptSelect] );
                       UpdatePowerOptMenu();
       }

       function OnLeftThumbMoveDown()
       {
               if (PowerOptSelect >= PowerOptCount - 1) {  return; }
                       PlaySoundMenuChange();
                       PowerOptSelect = PowerOptSelect + 1;
                       if (PowerOptButton == 8) { PowerOptScroll = PowerOptScroll + 1; }
                       else { PowerOptButton = PowerOptButton + 1; }
                   //    theConfig.ChangePowerOpt( PowerOptMenuList[PowerOptSelect] );
                       UpdatePowerOptMenu();
       }
   }

   function OnActivate()
   {
       EnableAudio();
   }
}  


save power_options.xap and insert into default.xip


-- part 2 --
mrmodem
part 2---

next ... open up default.xip/skins.xap

and SAVE AS power_options.xap

delete everything from inside this file and paste this code

CODE

var nCurPlayerMenuItem;
var PowerOptCount;
var PowerOptMenuList;
var PowerOptScroll;
var PowerOptButton;
var PowerOptSelect;
var currentPowerOpt;

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";
    IniFile.CloseIniFile();
}

function initialize()
{
   GetCellWallType();
   PowerOptSelect = 0;
   PowerOptScroll = 0;
   PowerOptButton = 0;
   nCurPlayerMenuItem = 1;
}

function GetPowerOpts()
{

   PowerOptCount = 4;
   var PowerOptsArray = new Array();



       PowerOptsArray[0] = "Restart Dash";
       PowerOptsArray[1] = "Reboot XBOX";
       PowerOptsArray[2] = "Power Cycle XBOX";
       PowerOptsArray[3] = "Power Off XBOX";

   PowerOptMenuList = PowerOptsArray;
}

function UpdatePowerOptMenu()
{
       var c = thePowerOptionsMenu.children[0].children[0];
       
   for(var i = 0; i < 4; i = i + 1)
   {
            var n = PowerOptScroll + i;
           
       if(n >= PowerOptCount)
       {
               c.PowerOptions.children[i].visible = false;
       }
       else
       {
               var str;
               str = PowerOptMenuList[n];
                       c.PowerOptions.children[i].visible = true;
                       c.PowerOptions.children[i].visible = true;
                       c.PowerOptions.children[i].children[0].appearance.material.name = "CellEgg/Partsz";
                       c.PowerOptions.children[i].children[0].geometry.text = str;

                       if(i == PowerOptButton)
                       {
                               c.PowerOptions.children[i].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 StartPowerOptMenu()
{
   var c = thePowerOptionsMenu.children[0].children[0];
   nCurPlayerMenuItem = 1;
}


function DoReset()
{
   theRestartLevel.GoTo();
}

function DoAction()
{

//    var c = thePowerOptionsMenu.children[0].children[0];
//    var info = new Settings;
//    info.file = "A:\\system\\uix.ini";
//   info.section = "Dashboard Settings";
//   if (nCurPlayerMenuItem == 1) { ShowPowerOptInfo(); }
//   else if (nCurPlayerMenuItem == 0)
//   {
 //      theConfig.ChangePowerOpt( PowerOptMenuList[PowerOptSelect] );
 //      AskQuestion("PowerOpt change will not take full effect until you restart the dash.  Would you like to restart now?", "thePowerOptionsInline.children[0].DoReset()", "", 0);
//   }

if (nCurPlayerMenuItem == 1) {  PlaySoundB();
                        theMainMenu.GoBackTo();
           theGamesSubMenuOut.Play(); }
   else if (nCurPlayerMenuItem == 0)
   {

               if (PowerOptSelect==0) {theConfig.ReStartDash();}
               if (PowerOptSelect==1) {theConfig.Reset();}
               if (PowerOptSelect==2) {theConfig.PowerCycle();}
               if (PowerOptSelect==3) {theConfig.PowerOff();}
   }

}

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 thePowerOptionsMenu Level
{
   archive "Settings_Panel.xip"

   children
   [
       Inline
       {
           url "Settings_Panel/default5.xap"

           function onLoad()
           {
               StartPowerOptMenu();
               GetPowerOpts();
               UpdatePowerOptMenu();
           }
       }
   ]

   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()
       {
                       DoAction();
       }

       function OnBDown()
       {
                 //      theConfig.ChangePowerOpt( currentPowerOpt );
           PlaySoundB();
                       theMainMenu.GoBackTo();
                       theMusicSubMenuOut.Play();
       }

       function OnLeftThumbMoveLeft()
       {
           if (nCurPlayerMenuItem == 0) { return; }
           else { nCurPlayerMenuItem = 0; }
           UpdatePowerOptMenu();
       }

       function OnLeftThumbMoveRight()
       {
           if (nCurPlayerMenuItem == 1) { return; }
           else { nCurPlayerMenuItem = 1; }
           UpdatePowerOptMenu();
       }

       function OnLeftThumbMoveUp()
       {
                       if (PowerOptSelect <= 0) { return; }
                       PlaySoundMenuChange();
                       PowerOptSelect = PowerOptSelect - 1;
                       if (PowerOptButton == 0) { PowerOptScroll = PowerOptScroll - 1; }
                       else { PowerOptButton = PowerOptButton - 1; }
                 //      theConfig.ChangePowerOpt( PowerOptMenuList[PowerOptSelect] );
                       UpdatePowerOptMenu();
       }

       function OnLeftThumbMoveDown()
       {
               if (PowerOptSelect >= PowerOptCount - 1) {  return; }
                       PlaySoundMenuChange();
                       PowerOptSelect = PowerOptSelect + 1;
                       if (PowerOptButton == 8) { PowerOptScroll = PowerOptScroll + 1; }
                       else { PowerOptButton = PowerOptButton + 1; }
                   //    theConfig.ChangePowerOpt( PowerOptMenuList[PowerOptSelect] );
                       UpdatePowerOptMenu();
       }
   }

   function OnActivate()
   {
       EnableAudio();
   }
}  


save power_options.xap and insert into default.xip


-- part 2 --
mrmodem
next open settings_panel/default3.xap

SAVE AS default5.xap

delete everything inside default5.xap and insert this code ..


CODE

DEF auto_off Transform
{
   children
   [
       DEF Group02 Transform
       {
           children
           [
               DEF S_Home_tube_attachment_03 Transform
               {
                   children
                   [
                       DEF S_Home_GameModule_142 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "CellEgg/Parts"
                                       }
                                   }
                                   geometry DEF S_Home_GameModule_142-FACES Mesh { url "S_Home_GameModule_142-FACES.xm" }
                               }
                           ]
                           rotation 0.000000 1.000000 0.000000 -0.130900
                           translation 2.746000 1.800000 -22.650000
                       }
                   ]
                   rotation -0.354300 0.293000 -0.888100 -1.419000
                   scale 0.374500 0.374500 0.374500
                   scaleOrientation 0.029130 -0.153900 -0.987700 -0.608200
                   translation 4.310000 -19.330000 0.284600
               }
               DEF S_Home_tube_attachment_02 Transform
               {
                   children
                   [
                       DEF S_Home_GameModule_144 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "CellEgg/Parts"
                                       }
                                   }
                                   geometry DEF S_Home_GameModule_144-FACES Mesh { url "S_Home_GameModule_144-FACES.xm" }
                               }
                           ]
                           rotation 0.000000 1.000000 0.000000 -0.130900
                           translation 2.746000 1.800000 -22.650000
                       }
                   ]
                   rotation 0.368300 0.338400 0.865900 -1.470000
                   scale 0.374500 0.374500 0.374500
                   scaleOrientation 0.295600 0.074390 0.952400 -0.431000
                   translation 4.818000 8.342000 0.115900
               }
               DEF S_Home_tube_attachment_01 Transform
               {
                   children
                   [
                       DEF S_Home_GameModule_140 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "CellEgg/Parts"
                                       }
                                   }
                                   geometry DEF S_Home_GameModule_140-FACES Mesh { url "S_Home_GameModule_140-FACES.xm" }
                               }
                           ]
                           rotation 0.000000 1.000000 0.000000 -0.130900
                           translation 2.746000 1.800000 -22.650000
                       }
                   ]
                   rotation 0.346500 0.324300 0.880200 -1.609000
                   scale 0.374500 0.374500 0.374500
                   scaleOrientation 0.000000 -0.993200 0.116600 -0.315100
                   translation 7.463000 8.638000 1.084000
               }
               DEF S_Home_podsocket_inner Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_podsocket_inner-FACES Mesh { url "S_Home_podsocket_inner-FACES.xm" }
                       }
                   ]
                   rotation -0.862900 -0.357400 -0.357400 -1.718000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation -0.889300 0.000000 0.457400 -0.081080
                   translation 8.557000 -5.004000 -9.018000
               }
               DEF S_Home_pod_shell_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_shell_01-FACES Mesh { url "S_Home_pod_shell_01-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   translation 8.048000 -5.057000 -0.194300
               }
               DEF S_Home_tube_04 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_04-FACES Mesh { url "S_Home_tube_04-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   translation 0.947700 -18.690001 11.560000
               }
               DEF S_Home_pod_support_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_02-FACES Mesh { url "S_Home_pod_support_02-FACES.xm" }
                       }
                   ]
                   rotation -0.923900 -0.382700 0.000000 -3.142000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.000000 0.000000 -1.000000 -0.477700
                   translation 3.985000 -12.040000 -8.418000
               }
       /*        DEF S_Home_videopod_backing Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "DarkenBacking"
                               }
                           }
                           geometry DEF S_Home_videopod_backing-FACES Mesh { url "S_Home_videopod_backing-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   scale 1.420000 1.420000 1.420000
                   scaleOrientation 1.000000 0.000000 0.000000 0.000000
                   translation 10.780000 -5.057000 -6.674000
               }
       */
               DEF S_Home_tube_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_01-FACES Mesh { url "S_Home_tube_01-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   translation -2.796000 3.084000 6.168000
               }
               DEF S_Home_tube_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_03-FACES Mesh { url "S_Home_tube_03-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   translation 0.344100 -18.690001 11.510000
               }
               DEF S_Home_tube_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Tubes"
                               }
                           }
                           geometry DEF S_Home_tube_02-FACES Mesh { url "S_Home_tube_02-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   translation -5.189000 3.084000 7.115000
               }
               DEF S_Home_pod_support_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_01-FACES Mesh { url "S_Home_pod_support_01-FACES.xm" }
                       }
                   ]
                   rotation -0.382700 -0.923900 0.000000 -3.142000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.215500 0.448200 -0.867600 -0.100800
                   translation 15.680000 -9.062000 -8.418000
               }
               DEF S_Home_pod_support_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_03-FACES Mesh { url "S_Home_pod_support_03-FACES.xm" }
                       }
                   ]
                   rotation 0.000000 0.000000 -1.000000 -0.785400
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.001085 0.003347 1.000000 -0.307700
                   translation 15.680000 -0.338300 -8.418000
               }
       /*        DEF S_Home_videopod_backing01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "DarkenBacking"
                               }
                           }
                           geometry DEF S_Home_videopod_backing01-FACES Mesh { url "S_Home_videopod_backing01-FACES.xm" }
                       }
                   ]
                   rotation 1.000000 0.000000 0.000000 -1.571000
                   scale 1.380000 0.537000 1.380000
                   translation 12.040000 -5.057000 -9.169000
               }
       */
               DEF S_Home_podsocket_outer Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_podsocket_outer-FACES Mesh { url "S_Home_podsocket_outer-FACES.xm" }
                       }
                   ]
                   rotation -0.862900 -0.357400 -0.357400 -1.718000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation -0.889300 0.000000 0.457400 -0.081080
                   translation 8.557000 -5.004000 -9.018000
               }
               DEF S_Home_pod_support_04 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_pod_support_04-FACES Mesh { url "S_Home_pod_support_04-FACES.xm" }
                       }
                   ]
                   rotation 0.000000 0.000000 1.000000 -3.927000
                   scale 0.393400 0.393400 0.393400
                   scaleOrientation 0.105500 -0.014910 -0.994300 -0.050620
                   translation 3.985000 2.638000 -8.418000
               }

               DEF ConsoleIcon Transform
               {
                   fade 0.25
                   translation 9.409000 -5.418000 -0.554700
                   rotation 0 1 0 -0.35
                   children
                   [
                       Waver
                       {
                           axis 0 1 0
                           rpm 5
                           field 0.392
                           children
                           [
                               Transform
                               {
                                   scale 1.9 1.9 1.9
                                   children
                                   [
                                       DEF Console Transform
                                       {
                                           children
                                           [
                                               Shape
                                               {
                                                   appearance Appearance
                                                   {
                                                       material MaxMaterial
                                                       {
                                                           name "IconParts"
                                                       }
                                                   }
                                                   geometry DEF console-FACES Mesh { url "console-FACES.xm" }
                                               }
                                           ]
                                           rotation -0.013930 -0.925800 -0.377700 -3.633000
                                           scale 0.010248 0.010248 0.010248
                                           //scaleOrientation -0.673100 -0.699600 -0.239800 -0.693000
                                           translation -2.3 0 0
                                       }
                                       DEF ConsoleShell Transform
                                       {
                                           children
                                           [
                                               Shape
                                               {
                                                   appearance Appearance
                                                   {
                                                       material MaxMaterial
                                                       {
                                                           //name "FlatSurfaces"
                                                           name "Metal_Chrome"
                                                       }
                                                   }
                                                   geometry USE console-FACES
                                               }
                                           ]
                                           rotation -0.013930 -0.925800 -0.377700 -3.633000
                                           scale 0.010248 0.010248 0.010248
                                           //scaleOrientation -0.673100 -0.699600 -0.239800 -0.693000
                                           translation -2.3 0 0
                                       }
                                   ]
                               }
                           ]
                       }
                   ]
               }
               DEF S_Home_videopod Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSrfc/PodParts"
                               }
                           }
                           geometry DEF S_Home_videopod-FACES Mesh { url "S_Home_videopod-FACES.xm" }
                       }
                   ]
                   rotation -0.707100 0.000000 0.707100 -3.142000
                   scale 0.900900 0.900900 0.900900
                   scaleOrientation 0.000000 1.000000 0.000000 -0.785400
                   translation 8.409000 -5.418000 -0.554700
               }
           ]
           translation 3.595000 5.057000 46.650002
       }

       DEF Group01 Transform
       {
           children
           [
               DEF S_Home_Arm_01 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_01-FACES Mesh { url "S_Home_Arm_01-FACES.xm" }
                       }
                   ]
                   rotation 0.000000 -1.000000 0.000000 -0.008727
                   scale 0.847500 0.847500 0.847500
                   scaleOrientation 0.000000 -1.000000 0.000000 -0.111000
                   translation -8.632000 -1.429000 11.550000
               }
               DEF S_Home_Arm_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_02-FACES Mesh { url "S_Home_Arm_02-FACES.xm" }
                       }
                   ]
                   rotation -0.889000 0.000000 0.457900 -3.142000
                   scale 1.330000 1.000000 1.000000
                   scaleOrientation 0.000000 -1.000000 0.000000 -0.253100
                   translation 14.230000 -3.380000 -10.150000
               }



--- code continued in next post..
mrmodem
-- code continued...

CODE


DEF S_Home_Arm_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_03-FACES Mesh { url "S_Home_Arm_03-FACES.xm" }
                       }
                   ]
                   rotation -0.908000 -0.018280 0.418600 -3.221000
                   scale 0.862100 0.862100 0.862100
                   scaleOrientation -0.009588 1.000000 0.000000 -0.784900
                   translation 1.047000 -1.080000 1.023000
               }
               DEF S_Home_Arm_05 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_05-FACES Mesh { url "S_Home_Arm_05-FACES.xm" }
                       }
                   ]
                   rotation -0.889000 0.000000 0.457900 -3.142000
                   scale 1.330000 1.000000 1.000000
                   scaleOrientation 0.000000 -1.000000 0.000000 -0.253100
                   translation 14.230000 -2.030000 -10.150000
               }
               DEF S_Home_Arm_04 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "Cell_Light"
                               }
                           }
                           geometry DEF S_Home_Arm_04-FACES Mesh { url "S_Home_Arm_04-FACES.xm" }
                       }
                   ]
                   rotation -0.678800 0.000000 0.734300 -3.142000
                   scale 0.775200 0.775200 0.775200
                   translation -2.954000 -0.496800 4.478000
               }
               DEF S_Home_panel_backing Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "PanelBacking_01"
                               }
                               texture ImageTexture
                               {
                                   url "clock_bgpanel.xbx"
                                   alpha true
                               }
                           }
                           geometry DEF S_Home_panel_backing-FACES Mesh { url "S_Home_panel_backing-FACES.xm" }
                       }
                   ]
                   rotation -0.577400 0.577400 0.577400 -2.094000
                   scale 1.000000 1.000000 1.120000
                   scaleOrientation 0.000000 0.000000 -1.000000 -0.440200
                   translation -4.591000 -3.625000 9.429000
               }
               DEF S_Home_panel_header Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Home_panel_header-FACES Mesh { url "S_Home_panel_header-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -1.571000
                   translation 10.880000 4.996000 9.700000
               }
               DEF S_Home_panel_support_03 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Home_panel_support_03-FACES Mesh { url "S_Home_panel_support_03-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -1.571000
                   translation 7.363000 -8.224000 9.582000
               }


               DEF S_Aud_panel_support_22 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Aud_panel_support_22-FACES Mesh { url "S_Aud_panel_support_22-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.001253 -0.007420 -1.555000
                   scale 0.478500 0.478500 0.478500
                   scaleOrientation 0.740900 0.612500 0.275500 -0.055200
                   translation 2.775000 3.079000 9.310000
               }

               DEF S_Home_panel_support_02 Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF S_Home_panel_support_02-FACES Mesh { url "S_Home_panel_support_02-FACES.xm" }
                       }
                   ]
                   rotation -0.577400 0.577400 0.577400 -2.094000
                   translation -4.192000 -3.625000 9.584000
               }
           ]
           translation -9.331000 -1.420000 51.580002
       }

       DEF Group02_supports Transform
       {
           children
           [
               DEF panel_supports Transform
               {
                   children
                   [
                       DEF S_Home_panel_support_04 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF S_Home_panel_support_04-FACES Mesh { url "S_Home_panel_support_04-FACES.xm" }
                               }
                           ]
                           rotation -1.000000 0.000000 0.000000 -1.571000
                           translation 0.078160 -3.173000 0.000019
                       }
                       DEF S_Home_panel_support_05 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF S_Home_panel_support_05-FACES Mesh { url "S_Home_panel_support_05-FACES.xm" }
                               }
                           ]
                           rotation -1.000000 0.000000 0.000000 -1.571000
                           translation 0.078160 -1.765000 0.000019
                       }
                   ]
                   translation 0.000000 1.625000 0.387100
               }
           ]
           translation -6.150000 0.377300 61.650002
       }
       DEF Group03 Transform
       {
           children
           [
               DEF text_auto_off Transform
               {
                   children
                   [
                       DEF S_Home_text_games01 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width 10 height 8 scrollRate 0.1 scrollDelay 5 text "" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.8 -0.60000 0.000000
                       }

                       DEF S_Home_text_games Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF PanelHeading Text { font "heading" translate false text "Power Options" width -12.2 }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           scale 0.955 0.955 0.955
                           translation -5.580000 1.700000 0.000000
                       }
                   ]
                   translation 0.000000 1.625000 0.387100
               }
           ]
           translation -6.150000 0.377300 61.650002
       }
       DEF Group06 Transform
       {
           children
           [
               DEF MU_back_probearm Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_back_probearm-FACES Mesh { url "MU_back_probearm-FACES.xm" }
                       }
                   ]
                   rotation 0.753300 0.386200 -0.532400 -1.747000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.981300 0.180300 0.067500 -0.715500
                   translation 20.680000 14.960000 6.071000
               }
               DEF MU_back_probe Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_back_probe-FACES Mesh { url "MU_back_probe-FACES.xm" }
                       }
                   ]
                   rotation 0.753300 0.386200 -0.532400 -1.747000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.981300 0.180300 0.067500 -0.715500
                   translation 19.790001 14.110000 6.235000
               }
               DEF MU_back_pod_inner Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_back_pod_inner-FACES Mesh { url "MU_back_pod_inner-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   scale 0.465000 0.465000 0.465000
                   translation 11.010000 -11.290000 3.150000
               }
               DEF MU_Text_b Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "NavType"
                               }
                           }
                           geometry Text { font "heading" justify "middle" translate false text "B" }
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.605000 0.605000 0.000
                   //scaleOrientation 0.000000 0.000000 1.000000 -0.005973
                   translation 1.889000 2.422000 -0.409200
               }
               DEF MU_Text_back Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "XBOXgreen"
                               }
                           }
                           geometry Text { font "Body" text "BACK" justify "end"}
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.375000 0.475000 0.00
                   //scaleOrientation 0.000000 0.000000 1.000000 -0.005973
                   translation 1.183300 2.156 -0.409200
               }
               DEF MU_back_pod_outer Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_back_pod_outer-FACES Mesh { url "MU_back_pod_outer-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   scale 0.465000 0.465000 0.465000
                   translation 11.010000 -11.290000 3.150000
               }
               DEF MU_back_tube Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "TubesFade"
                               }
                           }
                           geometry DEF MU_back_tube-FACES Mesh { url "MU_back_tube-FACES.xm" }
                       }
                   ]
                   rotation 0.990900 -0.095410 -0.095410 -1.580000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.010380 -0.285600 0.958300 -0.080610
                   translation -22.030001 -27.750000 9.817000
               }
               DEF MU_back_pod_HL Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "EggGlow"
                               }
                           }
                           geometry DEF MU_back_pod_HL-FACES Mesh { url "MU_back_pod_HL-FACES.xm" }
                       }
                   ]
                   rotation -1.000000 0.000000 0.000000 -3.142000
                   scale 0.465000 0.465000 0.465000
                   translation 11.010000 -11.290000 3.150000
               }
           ]
           rotation 0.000000 -1.000000 0.000000 -0.034910
           scale 2.171000 2.171000 2.171000
           scaleOrientation 0.000000 1.000000 0.000000 -0.033020
           translation -16.490000 -18.490000 58.980000
       }
       DEF Group07 Transform
       {
           children
           [
               DEF MU_Text_a Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "NavType"
                               }
                           }
                           geometry Text { font "heading" justify "middle" translate false text "A" }
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.605000 0.605000 0.000
                   //scaleOrientation 0.000000 0.000000 -1.000000 -0.045050
                   translation -1.959000 2.391000 -0.443200
               }
               DEF MU_select_probearm Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_select_probearm-FACES Mesh { url "MU_select_probearm-FACES.xm" }
                       }
                   ]
                   rotation -0.786500 0.499900 0.362600 -1.910000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.000000 0.005536 1.000000 -0.474500
                   translation -9.489000 15.920000 6.071000
               }          



-- code continued in next post --
mrmodem
-- code continued...

CODE


 DEF MU_text_select Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "XBOXgreen"
                               }
                           }
                           geometry Text { font "Body" text "SELECT" }
                       }
                   ]
                   //rotation -1.000000 0.000000 0.000000 -1.571000
                   scale 0.375000 0.475000 0.00
                   //scaleOrientation 0.000000 0.000000 -1.000000 -0.097740
                   translation -1.238900 2.156000 -0.409300
               }
               DEF MU_select_probe Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "FlatSurfaces"
                               }
                           }
                           geometry DEF MU_select_probe-FACES Mesh { url "MU_select_probe-FACES.xm" }
                       }
                   ]
                   rotation -0.786500 0.499900 0.362600 -1.910000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation 0.000000 0.005536 1.000000 -0.474500
                   translation -8.603000 15.060000 6.235000
               }
               DEF MU_select_pod_inner Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_select_pod_inner-FACES Mesh { url "MU_select_pod_inner-FACES.xm" }
                       }
                   ]
                   scale 0.465000 0.465000 0.465000
                   translation 0.178000 -10.330000 3.150000
               }
               DEF MU_select_pod_outer Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "CellEgg/Parts"
                               }
                           }
                           geometry DEF MU_select_pod_outer-FACES Mesh { url "MU_select_pod_outer-FACES.xm" }
                       }
                   ]
                   scale 0.465000 0.465000 0.465000
                   translation 0.178000 -10.330000 3.150000
               }
               DEF MU_select_tube Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "TubesFade"
                               }
                           }
                           geometry DEF MU_select_tube-FACES Mesh { url "MU_select_tube-FACES.xm" }
                       }
                   ]
                   rotation -0.990900 0.095410 -0.095410 -1.580000
                   scale 0.465000 0.465000 0.465000
                   scaleOrientation -0.011110 0.412400 0.911000 -0.088980
                   translation 33.220001 -26.790001 9.817000
               }
               DEF MU_select_pod_HL Transform
               {
                   children
                   [
                       Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "EggGlow"
                               }
                           }
                           geometry DEF MU_select_pod_HL-FACES Mesh { url "MU_select_pod_HL-FACES.xm" }
                       }
                   ]
                   scale 0.465000 0.465000 0.465000
                   translation 0.178000 -10.330000 3.150000
               }
           ]
           rotation 0.000000 1.000000 0.000000 -0.183300
           scale 2.171000 2.171000 2.171000
           scaleOrientation 0.000000 -1.000000 0.000000 -0.148100
           translation 8.965000 -19.209999 60.529999
       }
   ]
   scale 0.202100 0.202100 0.202100
   translation 98.070000 5.357000 -264.000000
}

DEF ButtonGroup Transform
{
   children
   [
       DEF MU_L3_button_yes Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox01-FACES Mesh { url "ChamferBox01-FACES.xm" }
               }
           ]
           scale 1.8 1 1
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation -2.286000 -1.500000 -0.629200
       }
       DEF MU_L3_button_no Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox02-FACES Mesh { url "ChamferBox02-FACES.xm" }
               }
           ]
           scale 1.8 1 1
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation 2.706000 -1.500000 -0.629200
       }
       DEF S_Home_text_yes Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the1stPlayerTab Text { font "Body" translate true justify "middle" text "Yes" }
               }
           ]
           scale 0.85 0.85 0
           translation -2.264000 -1.685700 0.233100
       }
       DEF S_Home_text_no Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the2ndPlayerTab Text { font "Body" translate true justify "middle" text "No" }
               }
           ]

           scale 0.85 0.85 0
           translation 2.684000 -1.685700 0.233100
       }
   ]
   scale 0.200500 0.200500 0.200500
   translation 96.839996 4.207000 -251.600006
}
DEF thePanel1Text Transform
{
   children
   [
       DEF Group03 Transform
       {
           children
           [
               DEF PowerOptions Transform
               {
                   children
                   [
                       DEF S_Home_text_games01 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width -8 height 8 scrollRate 0.1 scrollDelay 5 text ""}
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.2 -1.60000 0.000000
                       }
                       DEF S_Home_text_games02 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width -8 height 8 scrollRate 0.1 scrollDelay 5 text "" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.2 -2.60000 0.000000
                       }
                       DEF S_Home_text_games03 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width -8 height 8 scrollRate 0.1 scrollDelay 5 text "" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.2 -3.60000 0.000000
                       }
                       DEF S_Home_text_games04 Transform
                       {
                           children
                           [
                               Shape
                               {
                                   appearance Appearance
                                   {
                                       material MaxMaterial
                                       {
                                           name "NavType"
                                       }
                                   }
                                   geometry DEF QuestionText Text { font "body" translate false width -8 height 8 scrollRate 0.1 scrollDelay 5 text "" }
                               }
                           ]
                           //rotation -1.000000 0.000000 0.000000 -1.571000
                           translation -4.2 -4.60000 0.000000
                       }


                 

                   ]
                   //translation 0.000000 1.625000 0.387100
               }
           ]
           //translation -6.150000 0.377300 61.650002
       }
   ]
   rotation 0.06 0.37 -0.04 -0.07
   translation 95.419716 11.507019 -264.599854
}                                                                      


save this file and insert into settings_panel.xip

upload default.xip and settings_panel.xip back to your xbox and thats it...


--MrModem--

mrmodem
sorry..

--part 2-- of my post was added twice.... please ignore the repeat... would be great if one of the moderators can delete the repeated part 2 of my post

thanks....

MrModem

SpiderWeb
Thx for the code... dude

Nice Job..!


user posted image


Any code to test send an E-mail 24/24 7/7
haz8989
I' sorry, i' must be missing something here.
I can't find "function OnRightThumbMoveLeft()[B]" andy where in my default.xap. seeing as i'm the only one to have this problem, it must be a conflict with the other codes i've put in. I've currently go the info panel and the 4th tab. Any help woud be great.

EDIT: I've just checked my vigin default.xap file and i can't find it in that either. I'm either an insufferablt noob or there was a mistake made somewhere. I think it is the first. tongue.gif
SpiderWeb
Open default.xip/default.xap


look only for (function OnRightThumbMoveLeft) whit the search button

dont need 2 write the whole command some times it dont show up.. beerchug.gif
haz8989
no luck, can't find it. In Xap editor, I ran a search on just "Function" and it only found function ChangeDisplay() and function MenuLaunch(x). Its really wierd.
In notepad, it found heaps but not the one i'm looking for.
Acronomic
I can't find the "function OnRightThumbMoveLeft" either... huh.gif Can find it with neither the search feature, nor by manual search.
mrmodem
sorry about that guys... most people might not have that function.. i got that from gas's tut for the button mapped viewpoints... basically you want to put the function in the same section that you have your controls for the main menu....


so search for this....

CODE

 control DEF theMainMenuJoy Joystick
   {                                      


and put the function OnYDown() inside this DEF

You can put it after your OnADown() function.

hope this clears it up for you guys..


mrmodem
Acronomic
Thanks, that helps. smile.gif
Acronomic
Well, I sort of got it working, when I press Y, the main menu disappears, but nothing replaces it... I press A or B, the main menu appears... I probably screwed up somewhere!

Any idea what I did wrong, so I can save some time?

It has to be the default.xbe, maybe the default5.xbe from settings_panel.xip? Cause I don't have a default4.xbe...
Acronomic
Sorry for all the posts, but there's no problem after all... I accidentally loaded default5.xap into default.xip...
HoBoz
Great code mrmodem, beerchug.gif

The only glitch on the first code was that it had that 2 button press thing. sad.gif I put in
your new code and it works like a charm. biggrin.gif
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.