Jump to content


Photo

Just Noticed...


  • Please log in to reply
4 replies to this topic

#1 blitzburrgh

blitzburrgh

    X-S Enthusiast

  • Members
  • 19 posts

Posted 22 March 2005 - 06:33 AM

Not sure if it was like this when I added the orb menu months ago, but just noticed it yesterday when testing some skins/orb combos. There is no cellwall in the orb menu. All I get is a blank BG. Is it something I did or didn't do when adding the orb menu, or something I missed in the code?


Pics here to show you what I mean...

Skin Menu Screenshot
Orb Menu Screenshot

ps.. figured this is a code problem, not a general question prob, so I posted here, not sure if it's in the correct forum. unsure.gif

#2 t1x2irc2

t1x2irc2

    X-S Member

  • Members
  • Pip
  • 68 posts

Posted 22 March 2005 - 03:14 PM

in each xap in defalt.xip you'll notice the following at the top
CODE

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



maybe your orbs.xap is missing this

you can also get fancy and try

CODE


function GetCellWallType()
{
   var IniFile = new Settings;
   IniFile.SetIniSection( "Dashboard Settings" );
   var a = IniFile.GetIniValue( "Current Orb" );  // 5 to choose from
   theCellWallMesh.url = "A:/orbs/" + a + "/" + a + ".xm";



- dazza's code -

#3 blitzburrgh

blitzburrgh

    X-S Enthusiast

  • Members
  • 19 posts

Posted 22 March 2005 - 03:32 PM

hmm, I have all that.. heres the top of the orbs.xap..

CODE
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 Orb" );
theCellWallMesh.url = "A:/orbs/" + a + "/cellwall.xm";
}

function initialize()
{
   GetCellWallType();
   orbSelect = 0;
   orbScroll = 0;
   orbButton = 0;
   nCurPlayerMenuItem = 5;
}


everything seems to be in order. unsure.gif

#4 t1x2irc2

t1x2irc2

    X-S Member

  • Members
  • Pip
  • 68 posts

Posted 22 March 2005 - 07:22 PM

is the cellwall you want to use in the skins dir or orbs?

look at your code

#5 blitzburrgh

blitzburrgh

    X-S Enthusiast

  • Members
  • 19 posts

Posted 22 March 2005 - 08:00 PM

Yup, it's there. That was the first thing I checked when I noticed it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users