xboxscene.org forums

Author Topic: Quik Power Off Button Help  (Read 413 times)

*LEGEND*

  • Archived User
  • Newbie
  • *
  • Posts: 6
Quik Power Off Button Help
« on: January 29, 2005, 02:07:00 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...
Logged

vintster

  • Archived User
  • Full Member
  • *
  • Posts: 106
Quik Power Off Button Help
« Reply #1 on: January 29, 2005, 03:28:00 PM »

opps hit wrong button  :P

This post has been edited by vintster: Jan 29 2005, 11:34 PM
Logged

vintster

  • Archived User
  • Full Member
  • *
  • Posts: 106
Quik Power Off Button Help
« Reply #2 on: January 29, 2005, 03:33:00 PM »

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;
   }


This post has been edited by vintster: Jan 29 2005, 11:43 PM
Logged

CrakkedOut

  • Archived User
  • Full Member
  • *
  • Posts: 118
Quik Power Off Button Help
« Reply #3 on: January 29, 2005, 06:04:00 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  :boring:  lazy fuck dont want too    :rotfl:
Logged

*LEGEND*

  • Archived User
  • Newbie
  • *
  • Posts: 6
Quik Power Off Button Help
« Reply #4 on: January 29, 2005, 06:56:00 PM »

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  :boring:  lazy fuck dont want too    :rotfl:
*


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

This post has been edited by *LEGEND*: Jan 30 2005, 02:59 AM
Logged

mrmodem

  • Archived User
  • Newbie
  • *
  • Posts: 15
Quik Power Off Button Help
« Reply #5 on: January 31, 2005, 08:57:00 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
Logged

CrakkedOut

  • Archived User
  • Full Member
  • *
  • Posts: 118
Quik Power Off Button Help
« Reply #6 on: January 31, 2005, 11:10:00 AM »

good job mrmodem  :beer:
Logged

*LEGEND*

  • Archived User
  • Newbie
  • *
  • Posts: 6
Quik Power Off Button Help
« Reply #7 on: January 31, 2005, 12:16:00 PM »

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
Logged

mrmodem

  • Archived User
  • Newbie
  • *
  • Posts: 15
Quik Power Off Button Help
« Reply #8 on: January 31, 2005, 07:30:00 PM »

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



This post has been edited by mrmodem: Feb 1 2005, 03:34 AM
Logged

mrmodem

  • Archived User
  • Newbie
  • *
  • Posts: 15
Quik Power Off Button Help
« Reply #9 on: January 31, 2005, 07:39:00 PM »

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
                }


              

This post has been edited by mrmodem: Feb 1 2005, 03:48 AM
Logged

mrmodem

  • Archived User
  • Newbie
  • *
  • Posts: 15
Quik Power Off Button Help
« Reply #10 on: January 31, 2005, 07:52:00 PM »

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
                }

Logged

mrmodem

  • Archived User
  • Newbie
  • *
  • Posts: 15
Quik Power Off Button Help
« Reply #11 on: January 31, 2005, 07:57:00 PM »

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
Logged

mrmodem

  • Archived User
  • Newbie
  • *
  • Posts: 15
Quik Power Off Button Help
« Reply #12 on: January 31, 2005, 07:59:00 PM »

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

"CellEgg/Partsz";
                        c.OptNames.children.children[0].geometry.text = str;
                    
                        if(i == optsButton)
                        {
                                c.OptNames.children.children[0].appearance.material.name

= "NavType";
                        }
                }
        }
        c.MU_L3_button_no.children[0].appearance.material.name = "FlatSurfaces";
        c.MU_L3_button_yes.children[0].appearance.material.name = "FlatSurfaces";

        c.S_Home_text_no.children[0].appearance.material.name = "NavType";
        c.S_Home_text_yes.children[0].appearance.material.name = "NavType";

    if (nCurPlayerMenuItem == 0)
    {
                c.MU_L3_button_yes.children[0].appearance.material.name = "GameHilite";
                c.S_Home_text_yes.children[0].appearance.material.name = "Material #133";
    }
    if (nCurPlayerMenuItem == 1)
    {
                c.MU_L3_button_no.children[0].appearance.material.name = "GameHilite";
                c.S_Home_text_no.children[0].appearance.material.name = "Material #133";
        }
}

function StartPowerOptsMenu()
{
    var c = thePowerOptsMenu.children[0].children[0];
    nCurPlayerMenuItem = 1;
}



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





function DoAction()
{
    
    if (nCurPlayerMenuItem == 1) {  PlaySoundB();
                         theMainMenu.GoBackTo();
            theGamesSubMenuOut.Play(); }
    else if (nCurPlayerMenuItem == 0)
    {
        if (optSelect==0) {theConfig.Reset();}
                if (optSelect==1) {theConfig.PowerOff();}
                if (optSelect==2) {theConfig.ReStartDash();}
    }
}

var restarting;
DEF theRestartLevel Level
{
    function OnArrival()
    {
        DisableAmbientAudio();
        ClosePopup();
        restarting = true;
        if(theConfig.GetVideoMode() == 2) { theXboxLogo16x9Background.isBound = true; }
        else { theXboxLogo4x3Background.isBound = true; }
    }

    behavior
    {
        sleep 1.1;
        if(restarting) { theConfig.ReStartDash(); }
    }

    function OnActivate()
    {
        DisableAmbientAudio();
        ClosePopup();
        if(theConfig.GetVideoMode() == 2) { theXboxLogo16x9Background.isBound = true; }
        else { theXboxLogo4x3Background.isBound = true; }
    }
}

DEF thePowerOptsMenu Level
{
    archive "Settings_Panel.xip"

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

            function onLoad()
            {
                StartPowerOptsMenu();
                GetOpts();
                UpdatePowerOptsMenu();
            }
        }
    ]

    path Viewpoint
    {
        fieldOfView 1.287000
        orientation 0.103700 0.994600 0.006310 -0.122200
        position 96.940002 4.728000 -248.600006
        jump false
    }

    shell Transform
    {
        scale 6.15 6.15 6.15
        translation 97.67 4.819000 -251.870003
        children
        [
            DEF theSettingsMenuShellSpinner Spinner
            {
                rpm 0
                axis 0 0 0
                children
                [
                    DEF theSettingsMenuShellWaver Waver
                    {
                        rpm 2.25//rpm 0.75
                        children
                        [
                            Shape
                            {
                                appearance Appearance
                                {
                                    material MaxMaterial { name "InnerWall_01" }
                                    texture ImageTexture { alpha true url "shell.xbx" }
                                }
                                geometry USE theCellWallMesh
                            }
                            Shape
                            {
                                appearance MaxMaterial { name "InnerWall_02" }
                                geometry Sphere
                            }
                        ]
                    }
                ]
            }
        ]
    }

    control DEF theMusicPlayJoystick Joystick
    {
        function OnADown()
        {
                        
         PlaySoundB();
         DoAction();
        }

        function OnBDown()
        {
                        
            PlaySoundB();
                          theMainMenu.GoBackTo();
            theGamesSubMenuOut.Play();
        }

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

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

        function OnLeftThumbMoveUp()
        {
                        if (optSelect <= 0) { return; }
                        PlaySoundMenuChange();
                        optSelect = optSelect - 1;
                        if (optsButton == 0) { optsScroll = optsScroll - 1; }
                        else { optsButton = optsButton - 1; }
                        UpdatePowerOptsMenu();
        }

        function OnLeftThumbMoveDown()
        {
                if (optSelect >= optsCount - 1) {  return; }
                        PlaySoundMenuChange();
                        optSelect = optSelect + 1;
                        if (optsButton == 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  
Logged

mrmodem

  • Archived User
  • Newbie
  • *
  • Posts: 15
Quik Power Off Button Help
« Reply #13 on: January 31, 2005, 08:40:00 PM »

this is what is should look like peeps...

(IMG:http://www.etitt.org/power_opts_menu.JPG)

enjoy

mrmodem...

 :)  :ph34r:  ;)
Logged

*LEGEND*

  • Archived User
  • Newbie
  • *
  • Posts: 6
Quik Power Off Button Help
« Reply #14 on: January 31, 2005, 11:27:00 PM »

QUOTE(mrmodem @ Jan 31 2005, 06:46 PM)
this is what is should look like peeps...

(IMG:http://www.etitt.org/power_opts_menu.JPG)

enjoy

mrmodem...

 :)  :ph34r:  ;)
*


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
Logged