Help - Search - Members - Calendar
Full Version: New Orb Code
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official Team UIX Forums > User.Interface.X (UIX) Code
Pages: 1, 2
t1x2irc2
Just a friendly suggestion when testing code i find it safe to use a 2nd install of uix so i don't mess up my box
if you deside to do this too remember it will still use the same cache as the default uix install...it helps sometimes to clear this prior to running the
the 2nd uix install

ie: e:\dashboards\UIX.test.copy\

..on with the code



NEW ORB MENU CODE

user posted image


default.xip/default.xap

STEP #1
find
CODE

DEF theSkinInline Inline

and change this
CODE

DEF theSkinsInline Inline
{
 visible false
 url "skins.xap"
 function onLoad() {
 theSkinsInline.children[0].theSkinsMenu.GoTo();
}

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

to this
CODE

DEF theSkinsInline Inline
{
 visible false
 url "skins.xap"
 function onLoad() { theSkinsInline.children[0].theSkinsMenu.GoTo(); }
}

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

DEF theOrbsInline Inline
{
 visible false
 url "orbs.xap"
 function onLoad() { theOrbsInline.children[0].theOrbsMenu.GoTo(); }
}

function GoToOrbs()
{
 theSettingsMenuIn.Play();
 if( theOrbsInline.visible ) { theOrbsInline.children[0].theOrbsMenu.GoTo(); }
 else { theOrbsInline.visible = true; }
}

its just a copy of the DEF theSkinsInline Inline and function GoToSkins() with Skins renamed to Orbs then pasted
This should allow you to set up an orbs directory and get into it.


Then this...

find
CODE

function MainMenuAttract()

look for
CODE

c.Modded_Orb.fade = a;

and under this add
CODE

c.gasorb.fade = a;

now look for
CODE

c.Modded_Orb.SetScale(43,43,43);

under that add
CODE

 var OrbName=GetOrbName();
 var info = new Settings;
 info.file = OrbName + ".xbx";
 info.section = "Orb";
 var scalex;
 var scaley;
 var scalez;
 scalex = info.GetValue("Scalex");
 scaley = info.GetValue("Scaley");
 scalez = info.GetValue("Scalez");
 c.gasorb.SetScale(scalex,scaley,scalez);
 c.Rotating_Large_X.fade = 0.43;
 ChangeTheOrb( OrbName + ".xm" );




SAVE CHANGES AND INSERT INTO default.xip

STEP #2


default.xip/orbs.xap

in default.xip

Extract the file - skin.xap and rename that to orbs.xap
Change all instances of Skins to Orbs, Skin to Orb, skins to orbs and skin to orb

WATCH THE CASES!!

After all instances have been changed Continue On..

in
CODE

function initialize()

find
CODE

nCurPlayerMenuItem = 1;

and change to
CODE

nCurPlayerMenuItem = 5;

find
CODE

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

underneath add
CODE

 c.MU_L3_button_games.children[0].appearance.material.name = "FlatSurfaces";
 c.MU_L3_button_apps.children[0].appearance.material.name = "FlatSurfaces";
 c.MU_L3_button_emus.children[0].appearance.material.name = "FlatSurfaces";
 c.MU_L3_button_dash.children[0].appearance.material.name = "FlatSurfaces";

find
CODE

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

underneath add
CODE

 c.S_Home_text_games.children[0].appearance.material.name = "NavType";
 c.S_Home_text_apps.children[0].appearance.material.name = "NavType";
 c.S_Home_text_emus.children[0].appearance.material.name = "NavType";
 c.S_Home_text_dash.children[0].appearance.material.name = "NavType";

find
CODE
   
   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";
 }

Change to
CODE

   if (nCurPlayerMenuItem == 1)
   {
   c.MU_L3_button_games.children[0].appearance.material.name = "GameHilite";
   c.S_Home_text_games.children[0].appearance.material.name = "Material #133";
   }
   if (nCurPlayerMenuItem == 2)
   {
   c.MU_L3_button_apps.children[0].appearance.material.name = "GameHilite";
   c.S_Home_text_apps.children[0].appearance.material.name = "Material #133";
   }
   if (nCurPlayerMenuItem == 3)
   {
   c.MU_L3_button_emus.children[0].appearance.material.name = "GameHilite";
   c.S_Home_text_emus.children[0].appearance.material.name = "Material #133";
   }
   if (nCurPlayerMenuItem == 4)
   {
   c.MU_L3_button_dash.children[0].appearance.material.name = "GameHilite";
   c.S_Home_text_dash.children[0].appearance.material.name = "Material #133";
   }
   if (nCurPlayerMenuItem == 5)
   {
   c.MU_L3_button_no.children[0].appearance.material.name = "GameHilite";
   c.S_Home_text_no.children[0].appearance.material.name = "Material #133";
   }

in
CODE

function StartOrbMenu()

find
CODE

nCurPlayerMenuItem = 1;

and change to
CODE

nCurPlayerMenuItem = 5;

find
CODE

if (nCurPlayerMenuItem == 1) { ShowOrbInfo(); }

change to
CODE

if (nCurPlayerMenuItem == 5) { ShowOrbInfo(); }


FIND
CODE

DEF theOrbsMenu Level

GOTO
CODE

DEF theOrbsMenu Level
{
   archive "Settings_Panel.xip"

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

           function onLoad()
           {
               StartOrbMenu();
               GetOrbs();
               UpdateOrbMenu();
           }
       }
   ]

AND CHANGE TO
CODE

DEF theOrbsMenu Level
{
   archive "Settings_Panel.xip"

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

           function onLoad()
           {
               StartOrbMenu();
               GetOrbs();
               UpdateOrbMenu();
           }
       }
   ]

go to
CODE

function DoAction()
{
   var c = theOrbsMenu.children[0].children[0];
   var info = new Settings;
   info.file = "A:\\system\\uix.ini";
   info.section = "Dashboard Settings";
   if (nCurPlayerMenuItem == 5) { ShowOrbInfo(); }
   else if (nCurPlayerMenuItem == 0)
{
 var IniFile = new Settings;
 IniFile.SetIniSection( "Dashboard Settings" );
 IniFile.SetIniValue( "Current Orb", OrbMenuList[orbSelect]);
 AskQuestion("Orb change will not take full effect until you restart the
dash.  Would you like to restart now?", "ReStartDash();", "", 0);
}

change to
CODE

function DoAction()
{
   var c = theOrbsMenu.children[0].children[0];
   var info = new Settings;
   info.file = "A:\\system\\uix.ini";
   info.section = "Dashboard Settings";
   if (nCurPlayerMenuItem == 5) { ShowOrbInfo(); }
   else if (nCurPlayerMenuItem == 0)
{
 TellUser("Main Orb has been changed to " + OrbMenuList[orbSelect],"");
 var IniFile = new Settings;
 IniFile.SetIniSection( "Dashboard Settings" );
 IniFile.SetIniValue( "Current Orb", OrbMenuList[orbSelect]);
}
else if (nCurPlayerMenuItem == 1)
{
 TellUser("Games Orb has been changed to " + OrbMenuList[orbSelect],"");
 var IniFile = new Settings;
 IniFile.SetIniSection( "Dashboard Settings" );
 IniFile.SetIniValue( "Games Orb", OrbMenuList[orbSelect]);
}
else if (nCurPlayerMenuItem == 2)
{
 TellUser("Applications Orb has been changed to " +
OrbMenuList[orbSelect],"");
 var IniFile = new Settings;
 IniFile.SetIniSection( "Dashboard Settings" );
 IniFile.SetIniValue( "Apps Orb", OrbMenuList[orbSelect]);
}
else if (nCurPlayerMenuItem == 3)
{
 TellUser("Emulators Orb has been changed to " +
OrbMenuList[orbSelect],"");
 var IniFile = new Settings;
 IniFile.SetIniSection( "Dashboard Settings" );
 IniFile.SetIniValue( "Emus Orb", OrbMenuList[orbSelect]);
}
else if (nCurPlayerMenuItem == 4)
{
 TellUser("Dashboards Orb has been changed to " +
OrbMenuList[orbSelect],"");
 var IniFile = new Settings;
 IniFile.SetIniSection( "Dashboard Settings" );
 IniFile.SetIniValue( "Dash Orb", OrbMenuList[orbSelect]);
 }


find
CODE

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

change to
CODE
       
      function OnLeftThumbMoveLeft()
       {
           if (nCurPlayerMenuItem == 0) { return; }
           else { nCurPlayerMenuItem = nCurPlayerMenuItem - 1; }
           UpdateOrbMenu();
       }

find
CODE

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

change to
CODE

       function OnLeftThumbMoveRight()
       {
           if (nCurPlayerMenuItem == 5) { return; }
           else { nCurPlayerMenuItem = nCurPlayerMenuItem + 1; }
           UpdateOrbMenu();
       }




SAVE CHANGES AND INSERT INTO default.xip

STEP #3

settings_panel.xip/hard_drive.xap

find
CODE

c.MEM_L1_controller4_panel.children[0].appearance.texture.url = "outline.xbx";

and immediately under that enter
CODE

 ChangeOrbs("Apps Orb", c.Controller1Unit1);
 ChangeOrbs("Games Orb", c.Controller2Unit1);
 ChangeOrbs("Dash Orb", c.Controller3Unit1);
 ChangeOrbs("Emus Orb", c.Controller4Unit1);

and then at the very bottom of the routine add this..
CODE

function ChangeOrbs(Section,OrbRef)
{
var OrbName = GetOrbName(Section);

var info = new Settings;
info.file = OrbName + ".xbx";
info.section = "HD Orbs";
var scalex;
var scaley;
var scalez;
scalex = info.GetValue("Scalex");
scaley = info.GetValue("Scaley");
scalez = info.GetValue("Scalez");

if (scalex == "") { scalex = 1.75; }
if (scaley == "") { scaley = 1.75; }
if (scalez == "") { scalez = 1.75; }
OrbRef.SetScale(scalex,scaley,scalez);
OrbRef.children[0].children[0].geometry.url=OrbName + ".xm";
}
function GetOrbName(Section)
{
var IniFile = new Settings;
IniFile.SetIniSection( "Dashboard Settings" );
var OrbName = IniFile.GetIniValue( Section );
IniFile.CloseIniFile();
OrbName = "A:\\orbs\\" + OrbName + "\\" + OrbName;
return OrbName;
}


SAVE CHANGES AND INSERT INTO default.xip

STEP #4

settings_panel.xip/default4.xap

copy settings_panel/default3.xap to settings_panel/default4.xip

(extract,rename)

in default4.xip

find
CODE

DEF thePanel1Text Transform

look for
CODE

DEF SkinNames Transform

change to
CODE

DEF OrbNames Transform

also find
CODE

DEF S_Home_text_no Transform

look for
CODE

geometry DEF PanelHeading Text { font "heading" translate false text "Skins" width -12.2 }

and change to
CODE

geometry DEF PanelHeading Text { font "heading" translate false text "Orbs" width -12.2 }

find
CODE

       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
       }

Change to
CODE

       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 1 0.65
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation -4.286000 -0.900000 -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 1 0.65
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation 2.6000 -2.10000 -0.629200
       }
       DEF MU_L3_button_games Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox03-FACES Mesh { url "ChamferBox01-FACES.xm" }
               }
           ]
           scale 1 1 0.65
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation -1.536000 -0.900000 -0.629200
       }
       DEF MU_L3_button_apps Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox04-FACES Mesh { url "ChamferBox01-FACES.xm" }
               }
           ]
           scale 1 1 0.65
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation 1.214000 -0.900000 -0.629200
       }
       DEF MU_L3_button_emus Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox05-FACES Mesh { url "ChamferBox01-FACES.xm" }
               }
           ]
           scale 1 1 0.65
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation 3.964 -0.900000 -0.629200
       }
       DEF MU_L3_button_dash Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "GameHilite"
                       }
                       texture ImageTexture
                       {
                           url "menu_hilight.xbx"
                       }
                   }
                   geometry DEF ChamferBox06-FACES Mesh { url "ChamferBox02-FACES.xm" }
               }
           ]
           scale 1 1 0.65
           rotation -1.000000 0.000000 0.000000 -1.571000
           translation -2.911000 -2.10000 -0.629200
       }

NEXT FIND
CODE

       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 "Select Orb" }
               }
           ]
           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 "Orb Info" }
               }
           ]

           scale 0.85 0.85 0
           translation 2.684000 -1.685700 0.233100
       }

and change to
CODE
   
   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 "Main" }
               }
           ]
           scale 0.85 0.85 0
           translation -4.264000 -1.05 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 "Info" }
               }
           ]
           scale 0.85 0.85 0
           translation 2.584000 -2.25 0.233100
       }
       DEF S_Home_text_games Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the3rdPlayerTab Text { font "Body" translate true justify "middle" text "Games" }
               }
           ]
           scale 0.85 0.85 0
           translation -1.514000 -1.05 0.233100
       }
       DEF S_Home_text_apps Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the4thPlayerTab Text { font "Body" translate true justify "middle" text "Apps" }
               }
           ]
           scale 0.85 0.85 0
           translation 1.114000 -1.05 0.233100
       }
       DEF S_Home_text_emus Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the5thPlayerTab Text { font "Body" translate true justify "middle" text "Emus" }
               }
           ]
           scale 0.85 0.85 0
           translation 3.764000 -1.05 0.233100
       }
       DEF S_Home_text_dash Transform
       {
           children
           [
               Shape
               {
                   appearance Appearance
                   {
                       material MaxMaterial
                       {
                           name "NavType"
                       }
                   }
                   geometry DEF the6thPlayerTab Text { font "Body" translate true justify "middle" text "Dash" }
               }
           ]

           scale 0.85 0.85 0
           translation -2.811000 -2.25 0.233100
       }





SAVE CHANGES AND INSERT INTO settings_panel.xip


STEP #5


memory.xip/default2.xap

GO TO
CODE

DEF Controller1Unit1 Transform
       {
           children
           [
                       DEF theImage1 Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "MainMenuOrb"

                               }
                               texture ImageTexture
                               {
                                   url "xbox4.tga"
                               }
                           }
                           geometry Mesh { url "Main_pod_backing01-FACES.xm" }
                       }
                   ]
                   rotation -0.993700 -0.088440 0.068970 -1.576000
                   scale 0.08000 0.08000 0.08000
                   scaleOrientation 0.036530 0.975200 0.218400 -0.396500
           translation -1.697883 7.146551 0.03574
       }

CHANGE TO
CODE

DEF Controller1Unit1 Transform
{
    children
    [
 Waver
 {
     axis 0 1 0
     rpm 5
     field 0.392

     children
                   [
  Shape
                       {
      appearance Appearance
                           {
   material MaxMaterial
       {
    name "MenuCell"
       }
      }
                  geometry Mesh { url "OrbCell-FACES.xm" } // applications
  }
     ]
 }
    ]
    rotation -0.993700 -0.088440 0.068970 -1.576000
    scale 1.5 1.5 1.5
    scaleOrientation 0.120700 0.716400 0.687200 -0.105500
    translation -1.697883 7.146551 0.03574
       }

GO TO
CODE

DEF Controller2Unit1 Transform
               {
                           children
                           [
                                       DEF theImage1 Shape
                                       {
                                           appearance Appearance
                                           {
                                               material MaxMaterial
                                               {
                                                   name "MainMenuOrb"

                                               }
                                               texture ImageTexture
                                               {
                                                   url "xbox4.tga"
                                               }
                                           }
                                           geometry Mesh { url "Main_pod_backing01-FACES.xm" }
                                       }
                                   ]
                                   rotation -0.993700 -0.088440 0.068970 -1.576000
                                   scale 0.08000 0.08000 0.08000
                                   scaleOrientation 0.036530 0.975200 0.218400 -0.396500
                                   translation -2.438001 2.828 -0.3863
               }

AND CHANGE TO
CODE

DEF Controller2Unit1 Transform
{
    children
    [
 Waver
 {
     axis 0 1 0
     rpm 5
     field 0.392

     children
                   [
  Shape
                       {
      appearance Appearance
                           {
   material MaxMaterial
       {
    name "MenuCell"
       }
      }
                   geometry Mesh { url "OrbCell-FACES.xm" } // games
  }
     ]
 }
    ]
           rotation  1.993700 -0.098440 0.068970 -1.576000
           scale 2 2 2
           scaleOrientation 0.036530 0.975200 0.218400 -0.396500
           translation -2.438001 2.828 -0.3863
           }

GO TO
CODE

DEF Controller4Unit1 Transform
               {
                           children
                           [
                                       DEF theImage1 Shape
                                       {
                                           appearance Appearance
                                           {
                                               material MaxMaterial
                                               {
                                                   name "MainMenuOrb"

                                               }
                                               texture ImageTexture
                                               {
                                                   url "xbox4.tga"
                                               }
                                           }
                                           geometry Mesh { url "Main_pod_backing01-FACES.xm" }
                                       }
                                   ]
                                   rotation -1.1637 0.12656 -0.03103 -1.576
                                   scale 0.08000 0.08000 0.08000
                                   scaleOrientation 0.036530 0.975200 0.218400 -0.396500
                   translation 2.107999 6.324 0.0275
               }

AND CHANGE TO
CODE

DEF Controller4Unit1 Transform
{
    children
    [
 Waver
 {
     axis 0 1 0
     rpm 5
     field 0.392

     children
                   [
  Shape
                       {
      appearance Appearance
                           {
   material MaxMaterial
       {
    name "MenuCell"
       }
      }
                           geometry Mesh { url "OrbCell-FACES.xm" } // dashboards
  }
     ]
 }
    ]
           rotation  1.993700 -0.098440 0.068970 -1.576000
           scale 2 2 2
           scaleOrientation 0.036530 0.975200 0.218400 -0.396500
           translation 2.107999 6.324 0.0275
           }

t1x2irc2
....sorry here's more


would not fit in last post
GO TO
CODE

DEF Controller3Unit1 Transform
       {
           children
           [
                       DEF theImage1 Shape
                       {
                           appearance Appearance
                           {
                               material MaxMaterial
                               {
                                   name "MainMenuOrb"
                               }
                               texture ImageTexture
                               {
                                   url "xbox4.tga"
                               }
                           }
                           geometry Mesh { url "Main_pod_backing01-FACES.xm" }
                       }
                   ]
                   rotation -0.7937 0.09656 -0.12103 -1.756
                   scale 0.08000 0.08000 0.08000
                   scaleOrientation 0.036530 0.975200 0.218400 -0.396500
           translation 1.2601 3.189 0.072
       }  

AND CHANGE TO
CODE

DEF Controller3Unit1 Transform
{
    children
    [
 Waver
 {
     axis 0 1 0
     rpm 5
     field 0.392

     children
                   [
  Shape
                       {
      appearance Appearance
                           {
   material MaxMaterial
       {
    name "MenuCell"
       }
      }
                   geometry Mesh { url "OrbCell-FACES.xm" } // emulators
  }
     ]
 }
    ]
           rotation -0.7937 0.09656 -0.12103 -1.756
           scale 2 2 2
           scaleOrientation 0.036530 0.975200 0.218400 -0.396500
           translation 1.2601 3.189 0.072
       }


////////////////////////////////////////////////////////////////////////////////////////////
// //
// SAVE CHANGES AND INSERT INTO memory.xip //
// //
////////////////////////////////////////////////////////////////////////////////////////////

STEP #6

////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////main_menu.xip/default.xap///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////

add this at the end

CODE

//DEF Modded_Orb Transform




DEF gasorb Transform  
{
   children
   [
           Spinner
       {
            rpm 5
       axis 0 2 2
               children
               [
           Shape
                   {
           appearance Appearance
                       {
               material MaxMaterial
                           {
                           name "MenuCell"
                           }

                       }
                       geometry Mesh { url "gasorb.xm" } //and this
                   }
       ]
       }
   ]

   rotation -0.993700 -0.088440 0.068970 -1.576000
    scale 43.000000 43.000000 43.000000
   scaleOrientation 0.036530 0.975200 0.218400 -0.396500
    translation -54.880000 -15.100000 29.980000
}




   ]    



////////////////////////////////////////////////////////////////////////////////////////////
// //
// SAVE CHANGES AND INSERT INTO main_menu.xip //
// //
////////////////////////////////////////////////////////////////////////////////////////////

STEP #7

////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////~ORB DIRECTORY SETUP~///////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////



Create a dir in user.interface.x.dash called orbs
inside that create a folder for each orb and rename to the same name as your orb.
(just like the skins folder but orbs)

Example: user.interface.x.dash/spikes/spikes.xm

You should now have a working directory structure.

Now if you peeps want to add a corrisponding xbx file to your orbs such as Author, Credits, ect.

you can make a txt file place in orbs folder rename to orbname.xbx
for instance (spikey.xbx)

and add something like this

#
# Xbox Dash Orb Data
#
# Orb Name - spikey
#
#
#

[OrbInfo]
Author=gasclown
DateCreated=17-Jan-05
Version=1.0
MadeUsing=
Credits=gasclown

[Orb]

Scalex=43

Scaley=43

Scalez=43

********************************************************************************
*********************************



Hope i got every thing strait it's late and i'm burnt out ...let me know how it works out
thesbk
try it asap !
great !!!
t1x2irc2
if the xbx files you guy create for your xm's don't work out try this as a xbx

#
#
# Xbox Dash Orb Data
#
# Orb Name - globe
#
#

[OrbInfo]
Author=gasclown
DateCreated=17-Jan-05
Version=1.0
MadeUsing=
Credits=gasclown

[Orb]
Scalex=10
Scaley=10
Scalez=10

[HD Orbs]
Scalex=4
Scaley=4
Scalez=4

.. if you see anything else let me know
t1x2irc2
here are a few things i forgot to include
..sorry

THINGS MISSING:

STEP #1
default.xip/settings.xap

Find
CODE

sSettingsMenu[index] = theTranslator.Translate("SKINS");
index = index + 1;

ADD
CODE

sSettingsMenu[index] = theTranslator.Translate("Orbs");
index = index + 1;

Find
CODE

else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("SKINS")) { SetVideoModeIcon(nCurVideoMode); }

ADD
CODE

else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("Orbs)) { SetVideoModeIcon(nCurVideoMode); }

Next Find
CODE

else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("SKINS"))  { metaString =
theTranslator.Translate("SKINS"); }

insert
CODE

else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("Orbs"))  { metaString =
theTranslator.Translate("Orbs"); }

Next Find
CODE

 else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("SKINS"))
 {
  strCurMenu = "SKINS";
  GoToSkins();
 }

and add
CODE

 else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("Orbs"))
 {
  strCurMenu = "Orbs";
  GoToOrbs();
 }


STEP #2

default.xip/orbs.xap

Comment out the remaining 3 lines containing
CODE

theConfig.ChangeOrb(


STEP #3

default.xip/default.xap

Need to add these to the bottom
CODE

function ChangeTheOrb(e)
{
var c = theMainMenu.children[0].children[0];
      c.Modded_Orb.visible = false;
      c.Stock_Orb.visible = false;

c.gasorb.visible = false;
c.gasorb.children[0].children[0].geometry.url = e;
c.gasorb.visible = true;
}

function GetOrbName()
{
var IniFile = new Settings;
IniFile.SetIniSection( "Dashboard Settings" );
var OrbName = IniFile.GetIniValue( "Current Orb" );
IniFile.CloseIniFile();
OrbName = "A:\\orbs\\" + OrbName + "\\" + OrbName;

return OrbName;
}



STEP #4

The placement of the gasorb function in main_menu.xip may be wrong!

It needs to be:

Find
CODE

}//DEF Modded_Orb Transform

then insert
CODE

DEF gasorb Transform
{
 children
 [
         Spinner
     {
          rpm 5
     axis 0 2 2
             children
             [
         Shape
                 {
         appearance Appearance
                     {
             material MaxMaterial
                         {
                         name "MenuCell"
                         }

                     }
                     geometry Mesh { url "gasorb.xm" } //and this
                 }
     ]
     }
 ]

 rotation -0.993700 -0.088440 0.068970 -1.576000
  scale 43.000000 43.000000 43.000000
 scaleOrientation 0.036530 0.975200 0.218400 -0.396500
  translation -54.880000 -15.100000 29.980000
}

The 2 lines after this should read
CODE

]
}//DEF theMainMenuCam Transform


this should be it
with all the code changes in from this topic it should all work just fine.

last bit of code
CODE

****************THANX A MILLION DAZZA!!****************

tongue.gif
scimitar116
kay....got all of your first two posts complete, and steps 3 and 4 of your things i forgot post complete

as for 1 and 2 of ur update post,

in part1.
i am unable to find any instances of

sSettingsMenu[index] = theTranslator.Translate("SKINS");
index = index + 1;

in fact, i only get two instances of the word skins, both of them near the end of settings.xap


as for part 2,

what exactly do you mean by "comment out the remaining three lines containing theconfig.changeorb("?

#1 in my default.xip\orbs.xap there are only two instances of 'theconfig.changeorb('
#2 how do i 'comment out' something?

blade_boy1
QUOTE(scimitar116 @ Jan 28 2005, 01:11 AM)
kay....got all of your first two posts complete, and steps 3 and 4 of your things i forgot post complete

as for 1 and 2 of ur update post,

in part1.
i am unable to find any instances of

sSettingsMenu[index] = theTranslator.Translate("SKINS");
index = index + 1;

in fact, i only get two instances of the word skins, both of them near the end of settings.xap
as for part 2,

what exactly do you mean by "comment out the remaining three lines containing theconfig.changeorb("?

#1 in my default.xip\orbs.xap there are only two instances of 'theconfig.changeorb('
#2 how do i 'comment out' something?
*



For the first thing, Search default.xip/settings.xap for this:
CODE
function StartSettingsMenu()

Just under that you will find the first thing you are looking for.

As for the second thing, just search default.xip/orbs.xap for:
CODE
theConfig.ChangeOrb

There should be 3 or 4 of them in the entire file in these locations if Im not mistaken:
1. In the function DoAction()
2. In the function OnBDown()
3. In the function OnLeftThumbMoveUp()
4. In the function OnLeftThumbMoveDown()

Just scan through the file and look for them...you might have better luck that way and then you will be sure you got them all. As for commenting them out, you can just put two forward slashes right before the line (ie. //) For example:
CODE
//theConfig.ChangeSkin( SkinMenuList[skinSelect] );
theConfig.ChangeSkin( SkinMenuList[skinSelect] );


The top line is commented out, and the bottom is not. You can also just delete the line too but I would only do that when you are sure that the code will work without it. Hope this helps!
dvdronn
well i put in all stuff, boot up the uix with just the cellwall visible in back. i can hear me navigating the menu. my music doesn't start, and i can only access music tab.

mad.gif

but, let me add, it is either a copy and paste issue, or i have the orb changing code in my dash config and uix.ini, so they might conflict.
blade_boy1
QUOTE(dvdronn @ Jan 28 2005, 02:37 AM)
well i put in all stuff, boot up the uix with just the cellwall visible in back. i can hear me navigating the menu. my music doesn't start, and i can only access music tab.

mad.gif

but, let me add, it is either a copy and paste issue, or i have the orb changing code in my dash config and uix.ini, so they might conflict.
*



When that happens it usually means a semicolon was missed or a bracket of some sort was not properly opened and closed. The only thing I could notice was in Post #5 this code:
CODE
else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("Orbs)) { SetVideoModeIcon(nCurVideoMode); }

as you can see it is missing a ". The code should be this:
CODE
else if(sSettingsElements[nCurSettingsMenuItem] ==
theTranslator.Translate("Orbs")) { SetVideoModeIcon(nCurVideoMode); }

Try that first and see if it fixes the problem.

If not, you are right in saying that it could be your change orb code because it might be conflicting where it is still trying to load the old orb and the new gasorb code! (Not sure if that would conflict or not tho. I would think not and the output would be having to Orbs! LOL I dont know for sure tho)

I guess depending on what change orb code you are speaking of, there is probably a way around it. Are you using the code where you can select between the modded and stock (or xbox4.xbx) orbs?
billybobxxx
ok everything seems to go well but when i go to settings and chose orbs a menu appear but i cant see nothing, just a blue screen without cell???
blade_boy1
QUOTE(billybobxxx @ Jan 28 2005, 04:58 AM)
ok everything seems to go well but when i go to settings and chose orbs a menu appear but i cant see nothing, just a blue screen without cell???
*


That would say to me there is something wrong with the orbs.xap located in default.xip. The one thing I must STRESS to you the same way t1x2 did, is to make sure you changed all instances of Skins to Orbs, skins to orbs, Skin to Orb, and skin to orb. You CANT use the Replace all command...you must enter Skins in the find and Orbs in the replace and go through each, one by one ensuring you are replacing the correct code. Also for skins/orbs and Skin/Orb and skin/orb. Retry the orbs.xap creation part ensuring you properly replace the words and comment out/modify any required lines of code.
DvD2DvDR
good news and bad news

1# i think its working i can see the orb folder in settings and i can select different orbs but.......i have spikes in hard drive folder by default that is the way it was when i dl from gasclown i believe anyways the orb i select merges on with the spikes what can i do to remove the spikes.

2# my main menu is the globe orb by default.....it never changes to an orb i select from the orb folder i have the xbox4.xbx orbs



if you can help i gratefull thanx and keep up the great work guys very nice stuff.
dvdronn
Well, i am now guessing that i am incompitent. I took out my other orb codes, and started over. get the same thing, no f'n orb, no f'n tabs. I can hear it navigate up and down and i can enter my submenus. go to ny new orbs tab in settings and i get a menu that i can't navigate that says testing testing testing over and over, but it does have the 6 tabs at the bottom.


oh yeah and it still doesn't autoplay my music.
billybobxxx
ok everything works except my main orb doesnt change...anybody can help me?

thanks
dvdronn
QUOTE
STEP #3

settings_panel.xip/hard_drive.xap


is this supposed to be default.xip/hard_drive.xap

and


QUOTE
and then at the very bottom of the routine add this..
CODE
function ChangeOrbs(Section,OrbRef)
{
var OrbName = GetOrbName(Section);

var info = new Settings;
info.file = OrbName + ".xbx";
info.section = "HD Orbs";
var scalex;
var scaley;
var scalez;
scalex = info.GetValue("Scalex");
scaley = info.GetValue("Scaley");
scalez = info.GetValue("Scalez");

if (scalex == "") { scalex = 1.75; }
if (scaley == "") { scaley = 1.75; }
if (scalez == "") { scalez = 1.75; }
OrbRef.SetScale(scalex,scaley,scalez);
OrbRef.children[0].children[0].geometry.url=OrbName + ".xm";
}
function GetOrbName(Section)
{
var IniFile = new Settings;
IniFile.SetIniSection( "Dashboard Settings" );
var OrbName = IniFile.GetIniValue( Section );
IniFile.CloseIniFile();
OrbName = "A:\\orbs\\" + OrbName + "\\" + OrbName;
return OrbName;
}


my C++ skills are copy paste, what is the very bottom of routine?

kickin my self in my own ass over here.
Percy
OK, to answer a few questions the

function ChangeOrbs(Section,OrbRef)
does need to go in the default.xip/hard_drive.xap

If you are getting the orbs menu appearing and can hear sounds when moving up and down but can not see anything changing then you have probably NOT commented out all of the

theConfig.ChangeOrb(

bits.

If you are not seeing the main orb change then it coul be a few things but usually...
You have not placed the gasorb code in the right spot
If you typed it all in then check the case of gasorb
or you possibly have to refs to gasorb in the settings_panel.xip

The testing testing testing bit appeared when I had not changed the reference to default3 in orbs.xap into default4.
t1x2irc2
hope this helps some of you:


settings_panel.xip/hard_drive.xap = default.xip/hard_drive.xap

~ORB DIRECTORY SETUP~
Example: user.interface.x.dash/spikes/spikes.xm

SHOULD OF COURSE BE....
Example: user.interface.x.dash/orbs/spikes/spikes.xm



very bottom of the routine = at the very bottom

CODE

DEF AlternatefileListView Viewpoint
{
   fieldOfView 1.287000
   orientation 1 0 0 -0.579
   position 34.529999 15.290000 -212.300003
   jump false
}  

<------right here




theConfig.ChangeOrb has not been implemented yet into the xbe...

version 2 of uix will most likely be using it

so in the meantime it just should be left out

if you look in the readme of uix it shows the

theConfig.ChangeSkin

but not

theConfig.ChangeOrb


later beerchug.gif
scimitar116
k.. thx bladeboy..all working now.

@dvdronn, ya, thats located in default.xip, not settings_panel.xip.

also, just for reference, i had not commented out any of 'theconfig.changeorb' but my dash worked fine. i commented them out (thx again bladeboy, my comp skills end at hexing and batch laugh.gif ) and found no noticable difference.
t1x2irc2
also.....
gasclown pack of orbs are great!

but, some of these are differant sizes if you resize them to the same as
the original OrbCell-FACES.xm then they will look better.. it's not the code

you can play with the waver,spinner and axis code of each orb in main_menu.xip to what suits you the best


the middle console orb was still being worked on...so if you can get it working..
please post your code cool.gif

the preview on-the-fly is still up for grabs....mabey version 2 of UIX will have it who knows... wink.gif

if there is anything else about this project let me know ...
and thanx for everyone for helping the ones in need ...i'm glade it worked for ya
beerchug.gif

blade_boy1
Thats no problem, Im just glad to help out whenever I can. I took a stab at the preview code and I came to the conclusion that its not possible AS OF YET to have a preview of the orb. (But I could be wrong) I was only able to show one of the orbs by changing the waivering console into an orb, but its not changeable on the fly, again, as far as I know. I was also looking at replacing the 4 identical icons in the games, apps, etc menus, and I was able to put some text their, but was unable to change the text at all except for what I hardcoded into the xap itself. Ohwell, like t1x2irc2 says, hopefully in V2. tongue.gif
LeftNut
Nice piece of code you got going here.

It took me awhile but I now have the orb change operating smoothly on my XBOX. The main menu orb gave me the most trouble. To get the main menu orb working I had to create those orb info files with the .xbx extension like t1x2irc2 had mentioned earlier. In those files you will need the [HD Orbs] section along with the [Orb] section. The first one is for setting the orb scale in the hard drive menu. The [Orb] section is essential for main menu orb operation so be sure to include it in the .xbx files you WILL create. The [Orb] part is to set the proper scale for the orbs set to the main menu.

With gasclown's golfball orb, to have a near exact fill of the orb areas, needs to have a setting of:

(Now don't quote me on this. I just found that it worked on by box and all the stuff I don't know what I did to it.)

[Orb]

Scalex=0.39

Scaley=0.39

Scalez=0.39

[HD Orbs]

Scalex=0.0212

Scaley=0.0212

Scalez=0.0212

But thats one of the four larger orbs that I have of gasclowns. The others being gashexorb, flavorb, and the big version of the globe orb. In order to have a nearly exact fill of the orb areas with an orb like rings you would need these scalex,y, and z dimensions:

[Orb]

Scalex=42

Scaley=42

Scalez=42

[HD Orbs]

Scalex=2.45

Scaley=2.45

Scalez=2.45

Input these sections into the orbname.xbx and include them in your orb folders and they should be the final piece to the puzzle.

Thanks all for your coding abilities.
Dazza
Yes, if you look at the code thers is a default value built into the HD Orb section.
If the orbname.xbx file is missing it sets the 3 scale values to 1.75.
Unfortunately there is not an equivalent for the main orb code but it is easy to add this.

Open default.xip/default.xap and find:
CODE

scalex = info.GetValue("Scalex");
scaley = info.GetValue("Scaley");
scalez = info.GetValue("Scalez");


and under that add:
CODE

if (scalex == "") { scalex = 43; }
if (scaley == "") { scaley = 43; }
if (scalez == "") { scalez = 43; }


Then you should only need to create the xbx file if these are not right ie for the golfball one.
Most of the new ones appear to need a scale size of 43.

If the default value of 1.75 is too small this can be changed in default.xip/hard_drip.xap

look for
CODE

if (scalex == "") { scalex = 1.75; }
if (scaley == "") { scaley = 1.75; }
if (scalez == "") { scalez = 1.75; }

and change the 1.75 to something else.

Of course the xbx file also has orb and author information in it.
blu3_v2
I'm also having a few troubles.

I added all of the code from the above posts and have the orbs tab in the settings menu but when I press A nothing happens.
I have checked by orbs.xap and everything appears to be in order there, and it also links to the default4.xap I made.

BUT:

When I add the following entries to the uix.ini I can choose the orbs for the HDD menu manually but cannot get the main orb to work.
[Dashboard Settings]
Games Orb=bubbles
Apps Orb=globe
Emus Orb=wireframe
Dash Orb=newspikes

Current Orb=twirly => doesn;t do anything to the main orb....

Any help from you guys who have mastered this code before I go back to square 1 and re-enter all code.

Cheers....

P.S. I have made info.xbx for all orbs with scales for main orb but still nothing
ImOkRuOk
Ok, I as well have it show in sys menu, hear the menus change, and can change HD orbs, but main menu orb has yet to change, and all I can see in the orb menu is "TEST" on every line cept bottom, where says "apps, dashes, emu and games" Then "Info and i think apply" I commented out three (3) instances of "theConfig.ChangeOrb " (only three were found)... any ideas?
ImOkRuOk
hmm, we cant edit our own posts anymore? damn
OK... update.. I got the menu to show up right this time, but no my HD menu has no menu_hilight, and those orbs no longer show~ main menu orb doesnt show, but i might just need to go through em all..... I think my main problem is either in the main menu file, or hard_drive~ i'll keep tryin:)
ryoku
I seem to be able to change HDD orbs as well as the main orb. Would it be possible to add the Material information in the ".xbx" file for the orb. ex. MenuCell, ReflectSurface... Then when you load the orb, it will also load the Material surface you want for that orb.
Dazza
QUOTE(ryoku @ Feb 1 2005, 08:27 AM)
I seem to be able to change HDD orbs as well as the main orb. Would it be possible to add the Material information in the ".xbx" file for the orb. ex. MenuCell, ReflectSurface...  Then when you load the orb, it will also load the Material surface you want for that orb.
*



Of course you can and quite easily.

Look for
CODE

var scalez;


and insert under this
CODE

var sMaterial;
sMaterial = info.GetValue("Material");


Then find
CODE

ChangeTheOrb( OrbName + ".xm");


and change it so it looks like this
CODE

ChangeTheOrb( OrbName + ".xm", sMaterial);


Finally find
CODE

function ChangeTheOrb(e)
{
       var c = theMainMenu.children[0].children[0];
       c.Modded_Orb.visible = false;
       c.Stock_Orb.visible = false;

       c.gasorb.visible = false;
       c.gasorb.children[0].children[0].geometry.url = e;
       c.gasorb.visible = true;
}


And change that so it looks like this.
CODE

function ChangeTheOrb(orb, sMaterial, sTexture)
{
       var c = theMainMenu.children[0].children[0];
       c.Modded_Orb.visible = false;
       c.Stock_Orb.visible = false;

       c.gasorb.visible = false;
       c.gasorb.children[0].children[0].geometry.url = orb;
       if (sMaterial != "")
       {
           c.gasorb.children[0].children[0].appearance.material.name = sMaterial;
       }
       c.gasorb.visible = true;
}


Then all you need to do is open the orbs/orbname/orbname.xbx file and in the [Orbs] section add

Material=GameHilite

For example my globe.xbx looks like this
CODE

#
#
#
#
# Xbox Dash Orb Data
#
# Orb Name - globe
#
#
#

[OrbInfo]
Author=gasclown
DateCreated=17-Jan-05
Version=1.0
MadeUsing=
Credits=gasclown

[Orb]
Scalex=43
Scaley=43
Scalez=43
Material=GameHilite

[HD Orbs]
Scalex=10
Scaley=10
Scalez=10


This will allow for the main orb to be changed if it is really necessary to change the other orbs then let me know.
ryoku
Thanks, this is just what i wanted, some orbs need a different material to show up better
ersatz
I got the orbs to show even in the main menu. Other orbs change by selecting them but the main menu orb wil only change when the dash is rebooted, is this common? Also I can no longer click on my skins tab. I've gone over it three times now and still the same result.
R33F3R
hey guys lookin like a great code here but I got an issue that seems to be popular. I get no main menu at all on boot i can surf around and all the buttons work cept for hdd-main which it sounds like takes me to the uix main menu. I can get into boot and look at the orb menu it says testing in each on of the spots cept for at the bottom theres games, emu etc... but i noticed that at the top of this page Percy says to change the reference in orb.xap from default3.xip to default4.xip but its already set. Is that the only reason...obviously not but anyone got any ideas???thx
gasclown
You've made an error in mainmenu.xip/default.xap - if you'd made an error in default.xip's xaps (heh) you'd get error 21 - check yr mainmenu code wink.gif.
Zyphoon
Hey, why can't you just upload the modified files here? That would be nice. smile.gif
Outworld1
hello,
after modifications the settings panel doesn't work
help me please
Dazza
I have found another reason for the menu appearing with just testing, testing, testing in it.

If you don't watch the case of the skin and orb changes in orb.xap it can cause the problem. For example if you accidentally change one occurence of orbScroll (capital S) to orbscroll(lower case s).

You really must be careful with the case. Change Skin to Orb and skin to orb.
If you are editing the xap files using notepad then tick the Match Case checkbox.
rhythmeister
I'm baffled! Any chance of gettin sum workin .xips and other files to try out? I'd like a fancy dash as ImokRuok's:

http://www.mbrs.createck.org/pics/pages/C-White01.html
philbug69
Alright, I have been working on this code to no avail and although I am making small progress I still need a push in the right direction. I currently can get the Main Menu Orb to display however the rest of the Main Menu (i.e. the Tabs) are not showing up. Also I cannot get the Main Menu Orb to change. I had a hard enough time to get the Orb to show. Could someone who has this code working give some insight as it would be greatly appreciated. I am pretty sure the error is stemming from my default.xip/default.xap or my main_menu.xip/default.xap. Thank You.
haz8989
I'm a bit confused with all the posts everywhere. it would be really good if someone could make one post with all the changes made in it. I think that would help a lot of people. It does look like it would work really well though.
blitzburrgh
I too cannot get it to work correctly. I have no main menu, but can hear it navigate, When I get to settings, I have the Orbs tab, upon entering, I get testing on all orbs w/all 6 buttons on bottom highlighted.

Just to try to get something to work, I double checked my work, redid it all infact, and still the same. I have commented out, made sure default3 was default4, etc.

Like the prior poster stated, its a bit confussing with edits here and there. Is there any way to get a finalized version of this? Or possibly a zip file with all the xips?
blitzburrgh
Also, bit confussed on this..

QUOTE
STEP #4

settings_panel.xip/default4.xap

copy settings_panel/default3.xap to settings_panel/default4.xip



should it be

copy settings_panel/default3.xap to settings_panel/default4.XAP ?
blitzburrgh
Alright, I completely redid everything.. even hooked up the wifes monitor so I can use 2 at once, made it alot easier as well as changing the font in notepad to something that had a major difference between cap's and lower case.

Heres what I got now:

Still no main menu, but can navigate and get to orbs. I have the orb menu working and it lets me choose any one I want for everything. But when I go to the HDD menu, the only orb that seems to work is the dashboard orb. The other 3 (emu's, games, and apps) are blank.

Im about to hit the sack, so Im done for tonight.. any help will be greatly appreciated. beerchug.gif
blitzburrgh
QUOTE
But when I go to the HDD menu, the only orb that seems to work is the dashboard orb. The other 3 (emu's, games, and apps) are blank.


Fixed this by making the xbx's for each orb. Still no main menu, definately going to bed now.
t1x2irc2
Dazza,i refuse to give up !


this might work:
CODE

function UpdateOrb()
{
var c = theOrbsMenu.children[0].children[0];
var filename = "A:\\orbs\\" + OrbMenuList[orbSelect] + "\\" + OrbMenuList[orbSelect] + ".xm";
c.ConsoleIcon.children[0].children[0].geometry.url = filename;
c.ConsoleIcon.children[0].children[0].visible="true";
UpdateOrbMenu();
}


and this
CODE

DEF theOrbsMenu Level
{
   archive "Settings_Panel.xip"

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

           function onLoad()
           {
               var c = theOrbsMenu.children[0].children[0];  <--
               c.ConsoleIcon.SetAlpha(0);                            <--
               c.ConsoleIcon.SetScale(1, 1, 1);                     <--
               StartOrbMenu();
               GetOrbs();
               UpdateOrbMenu();
           }
       }
   ]




[code ]
function OnLeftThumbMoveUp()
{
if (orbSelect <= 0) { return; }
PlaySoundMenuChange();
orbSelect = orbSelect - 1;
if (orbButton == 0) { orbScroll = orbScroll - 1; }
else { orbButton = orbButton - 1; }
UpdateOrbMenu();
UpdateOrb(); <----
}

function OnLeftThumbMoveDown()
{
if (orbSelect >= orbCount - 1) { return; }
PlaySoundMenuChange();
orbSelect = orbSelect + 1;
if (orbButton == 8) { orbScroll = orbScroll + 1; }
else { orbButton = orbButton + 1; }
UpdateOrbMenu();
UpdateOrb(); <---
}
}
[/code]
thaswiftness
QUOTE(blitzburrgh @ Feb 26 2005, 02:14 AM)
Also, bit confussed on this..
should it be

copy settings_panel/default3.xap to settings_panel/default4.XAP ?
*




im stuck here also. and if it is supposed to be default4.xap , there is already a default4.xap in my settings_panel.xip ... do i replace it? or.... blink.gif
thaswiftness
:: wonders if anyone is still reading this thread ::

well i used slick50's 6 menu tabs code which uses default4.xap in settings_panel.xip , so what I did was change the step in this process to naming it default5.xap and I changed the reference to Settings\default4.xap or whatever it was to default5. will this not work?


but when my xbox boots up and loads uix, it seems to freeze before any menus or anything, i only have a cellwall. the good thing is the ftp still works so i can make changes/updates. i can hear the ambient bg sounds but other than that.. nothing.

i guess ill start over.. maybe theres a paste mistake or something somewhere sad.gif
im open to other suggestions on how to fix it

thanks

-thaswiftness

*edit*
my xbox is rebooting itself now too ohmy.gif
Entrepraninja
Ok everything works except I can't acess the systems tab. I press A nothing happens, all the obs show up, main orb and HDD menu. please let me know what might be wrong.
Entrepraninja
I thought it may of been a paste error, but I seriously doubt it. Just went through the entire process again. Still came to the same results, I am unable to select the systems menu. I did document out all 3 "theConfig.ChangeOrb" lines. And I made sure all my changes to orbs.xap file Skins to Orbs skin to orb were matching, manually, But still i am unable to view the system options.
Xsmurf
First of all, GREAT code

You guys do a great job beerchug.gif


I have but one question:

When I choose a new orb for main menu or hd menu, i have to manaully reboot the dash.

Since I'am a newby, which code do i have to add to reboot the dash automaticly like the skins menu.


Hope you can help me guys.



KEEP UP THE GOOD WORK
tgeorgo
nice code but for me it works not...

what it doesn't work...

1. i enter the menu of orbs and i press a to get into the menu, but then i don't get into the orbs menu, still on settings.
2. now i have problems with the remotte controler. the 4 green buttons for moving around don't work. used to work.

" i have some thoughts on the //A:...orbs folder..."
i'm not good at programming, i thing it's java right?

i hope the next version of the uix will include all those goodies

that's all

good news it hasn't crashed.

thanks
NeoNitiPheus
hello!!!

the orbs of the hdmenu are in waver I would like to put them in spinner but it does not go I have a beautiful blue page I would like to make them turn from left to right into 360 and also the orb of the mainmenu to make it turn from left to right and not from top to bottom... I block thus if you can help me thank you...
Xsmurf
Hi,


Is it possible to see a preview on the right, of the orb you are selecting.
That way you can see your choosen orb, in the orb on the right ( handy if you have a lot of orbs).
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.