xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
2 Pages V  1 2 >  
Reply to this topicStart new topic
> Dna, Squiggles, Chain, And Corkscrew, change in config
CompFreak07
post Jan 22 2005, 07:29 AM
Post #1


X-S Senior Member
**

Group: Members
Posts: 216
Joined: 20-January 04
From: Dayton, OH
Member No.: 93597
Xbox Version: v1.6
360 version: v1 (xenon)



Here is the code to change between DNA, SQUIGGLES, CHAIN, and CORKSCREW or none in the background of the main menu. Credits go to the update pack from #Xbox-noobs.

Open up Default.xip/Config.xap
Search for :
CODE

configList[i] = "Music Initial Volume:";
configValues[i] = "c-Music On Boot-volume";
configSelect[i] = "ConfigKeyB()";
i = i + 1;


Right below this add :
CODE

configList[i] = "Enable DNA on Startup:";
configValues[i] = "c-DNA On Boot-Enabled";
configSelect[i] = "ToggleDSN()";
i = i + 1;



Now at the end of Default.xip/Config.xap add :
CODE

function ToggleDSN()
{
   var c = theConfigPanel.children[0].children[0];
   var b = c.theRightSlots.children[LV2Item].children[0].geometry.text;
   if(b.toLowerCase() == "dna") { RefreshMenu("squigles"); }
   else if(b.toLowerCase() == "squigles") { RefreshMenu("chains"); }
   else if(b.toLowerCase() == "chains") { RefreshMenu("corkscrews"); }
   else if(b.toLowerCase() == "corkscrews") { RefreshMenu("none"); }
  else if(b.toLowerCase() == "none") { RefreshMenu("dna"); }
}


Now close and save Default.xip/Config.xap.

Now open Default.xip/Default.xap
Search for :
CODE

function QuickLaunchA()


Right above this add :
CODE

function SDOnBootCheck()
{
var IniFile = new Settings;
IniFile.SetIniSection( "DNA On Boot" );
var a = IniFile.GetIniValue( "Enabled" );
IniFile.CloseIniFile();

    if( a == "dna" ) { ShowDNA(); HideChains(); HideSquigles(); HideCorkscrews(); }
else if( a == "squigles" ) { ShowSquigles(); HideChains(); HideDNA(); HideCorkscrews(); }
else if( a == "chains" ) { ShowChains(); HideDNA(); HideSquigles(); HideCorkscrews(); }
else if( a == "corkscrews" ) { ShowCorkscrews(); HideDNA(); HideSquigles(); HideChains(); }
else if( a == "none" ) { HideSquigles(); HideChains(); HideDNA(); HideCorkscrews(); }
else { return; }
}


Now find :
CODE

var bBackToDVDPlayer;


Right below it add :
CODE

var bDNAVisable;
var bSquiglesVisable;
var bChainsVisable;
var bCorkscrewsVisable;


Now find :
CODE

b_InWireFrame = false;


Right above it add :
CODE

bDNAVisable = true;
bSquiglesVisable = true;
bChainsVisable  = true;
bCorkscrewsVisable  = true;


Now find :
CODE

DEF theXboxLogo4x3Background Background


Right above it add :
CODE

function HideDNA()
{
bDNAVisable = false;
var x = theMainMenu.children[0].children[0];
x.theDNA1.SetAlpha(0);
x.theDNA3.SetAlpha(0);
x.theDNA5.SetAlpha(0);
}

function ShowDNA()
{
bDNAVisable = true;
var x = theMainMenu.children[0].children[0];
x.theDNA1.SetRotation(0, 0, .5, 0.1745330);
x.theDNA3.SetRotation(0, 0, 1, -.523599);
x.theDNA5.SetRotation(0, 0, .3, -0.1745330);
x.theDNA1.fade = 1.0;
x.theDNA3.fade = 1.0;
x.theDNA5.fade = 1.0;
x.theDNA1.SetTranslation(-5400, 0, -5100);
x.theDNA3.SetTranslation(0, 0, -5000);
x.theDNA5.SetTranslation(4000, 0, -5100);
x.theDNA1.fade = 0.75;
x.theDNA3.fade = 0.75;
x.theDNA5.fade = 0.75;
x.theDNA1.SetAlpha(1);
x.theDNA3.SetAlpha(1);
x.theDNA5.SetAlpha(1);
thePlayerPanelOut.Play();
}

function HideSquigles()
{
bSquiglesVisable = false;
var x = theMainMenu.children[0].children[0];
x.theSquigles1.SetAlpha(0);
x.theSquigles3.SetAlpha(0);
x.theSquigles5.SetAlpha(0);
}

function ShowSquigles()
{
bSquiglesVisable = true;
var x = theMainMenu.children[0].children[0];
x.theSquigles1.SetRotation(0, 0, .5, 0.6345330);
x.theSquigles3.SetRotation(0, 0, 1, -.523599);
x.theSquigles5.SetRotation(0, 0, .5, -0.1245330);
x.theSquigles1.fade = 1.0;
x.theSquigles3.fade = 1.0;
x.theSquigles5.fade = 1.0;
x.theSquigles1.SetTranslation(-5400, 0, -5100);
x.theSquigles3.SetTranslation(0, 0, -5000);
x.theSquigles5.SetTranslation(4000, 0, -5100);

x.theSquigles1.fade = 0.75;
x.theSquigles3.fade = 0.75;
x.theSquigles5.fade = 0.75;

x.theSquigles1.SetAlpha(1);
x.theSquigles3.SetAlpha(1);
x.theSquigles5.SetAlpha(1);
}

function HideChains()
{
bChainsVisable = false;
var x = theMainMenu.children[0].children[0];
x.theChains1.SetAlpha(0);
x.theChains3.SetAlpha(0);
x.theChains5.SetAlpha(0);
}

function ShowChains()
{
bChainsVisable = true;
var x = theMainMenu.children[0].children[0];
x.theChains1.SetRotation(0, 0, .5, 0.1745330);
x.theChains3.SetRotation(0, 0, 1, -.523599);
x.theChains5.SetRotation(0, 0, .3, -0.1745330);
x.theChains1.fade = 1.0;
x.theChains3.fade = 1.0;
x.theChains5.fade = 1.0;
x.theChains1.SetTranslation(-5400, 0, -5100);
x.theChains3.SetTranslation(0, 0, -5000);
x.theChains5.SetTranslation(4000, 0, -5100);

x.theChains1.fade = 0.75;
x.theChains3.fade = 0.75;
x.theChains5.fade = 0.75;

x.theChains1.SetAlpha(1);
x.theChains3.SetAlpha(1);
x.theChains5.SetAlpha(1);
thePlayerPanelOut.Play();
}

function HideCorkscrews()
{
bCorkscrewsVisable = false;
var x = theMainMenu.children[0].children[0];
x.theCorkscrews1.SetAlpha(0);
x.theCorkscrews3.SetAlpha(0);
x.theCorkscrews5.SetAlpha(0);
}

function ShowCorkscrews()
{
bCorkscrewsVisable = true;
var x = theMainMenu.children[0].children[0];
x.theCorkscrews1.SetRotation(0, 0, .5, 0.1745330);
x.theCorkscrews3.SetRotation(0, 0, 0, 0.1745330);
x.theCorkscrews5.SetRotation(0, 0, .3, -0.1745330);
x.theCorkscrews1.fade = 1.0;
x.theCorkscrews3.fade = 1.0;
x.theCorkscrews5.fade = 1.0;
x.theCorkscrews1.SetTranslation(-5700, 0, -5100);
x.theCorkscrews3.SetTranslation(0, 0, -5000);
x.theCorkscrews5.SetTranslation(4300, 0, -5100);

x.theCorkscrews1.fade = 0.75;
x.theCorkscrews3.fade = 0.75;
x.theCorkscrews5.fade = 0.75;

x.theCorkscrews1.SetAlpha(1);
x.theCorkscrews3.SetAlpha(1);
x.theCorkscrews5.SetAlpha(1);
thePlayerPanelOut.Play();
}


Now find :
CODE

EnableAudio();


Right above it add :
CODE

SDOnBootCheck();


Now close and save Default.xip/Default.xap.

Now open Main_Menu.xip/Default.xap
Now at the very top paste this :
CODE

DEF theCorkscrews1 Transform
{

children
[
Spinner

             {
               rpm -3
               axis 0 1 0
               children
               [

DEF Corkscrews1 Transform
             {
                 children
                 [
                     Shape
                     {
                         appearance Appearance
                         {
                             material MaxMaterial
                             {
                                 name "MenuCell"
                             }
                         }
                         geometry DEF Corkscrews1_Mesh Mesh { url "Backing_Corkscrews.xm" }
                     }
                 ]

translation 0 0 0
             }

DEF CorkscrewsString1 Transform
             {
                 children
                 [
                     Shape
                     {
                         appearance Appearance
                         {
                             material MaxMaterial
                             {
                                 name "FlatSrfc/PodParts"
                             }
                         }
                         geometry DEF CorkscrewsString1_Mesh Mesh { url "Corkscrews.xm" }
                     }
                 ]
translation 0 0 0

             }
]
}
]
scale 24 24 24
rotation 0 0 .5 0.1745330
//translation -4400 0 -5100
translation -5400 0 -5100
}



DEF theCorkscrews3 Transform
{
children
[

Spinner
             {
               rpm -3
               axis 0 1 0
               children
               [

DEF Corkscrews3 Transform
             {
                 children
                 [
                     Shape
                     {
                         appearance Appearance
                         {
                             material MaxMaterial
                             {
                                 name "MenuCell"
                             }
                         }
                         geometry DEF Corkscrews3_Mesh Mesh { url "Backing_Corkscrews.xm" }
                     }
                 ]

translation 0 0 0
             }

DEF CorkscrewsString3 Transform
             {
                 children
                 [


                     Shape
                     {
                         appearance Appearance
                         {
                             material MaxMaterial
                             {
                                 name "FlatSrfc/PodParts"
                             }
                         }
                         geometry DEF CorkscrewsString3_Mesh Mesh { url "Corkscrews.xm" }
                     }


                 ]
translation 0 0 0

             }
]
                     }


]
scale 24 24 24
rotation 0 0 1 -.523599
translation 0 0 -5000
}



DEF theCorkscrews5 Transform
{
children
[
Spinner
             {
               rpm -3
               axis 0 1 0
               children
               [

DEF Corkscrews5 Transform
             {
                 children
                 [
                     Shape
                     {
                         appearance Appearance
                         {
                             material MaxMaterial
                             {
                                 name "MenuCell"
                             }
                         }
                         geometry DEF Corkscrews5_Mesh Mesh { url "Backing_Corkscrews.xm" }
                     }
                 ]

translation 0 0 0
             }

DEF CorkscrewsString5 Transform
             {
                 children
                 [
                     Shape
                     {
                         appearance Appearance
                         {
                             material MaxMaterial
                             {
                                 name "FlatSrfc/PodParts"
                             }
                         }
                         geometry DEF CorkscrewsString5_Mesh Mesh { url "Corkscrews.xm" }
                     }
                 ]
translation 0 0 0

             }
]
}

]
scale 24 24 24
rotation 0 0 .3 -0.1745330
//translation 3000 0 -5100
translation 4000 0 -5100
}
DEF theChains1 Transform
{

children
[
Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF Chains1 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA1_Mesh Mesh { url "chains.xm" }
                    }
                ]

translation 0 0 0
            }

DEF ChainsString1 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString1_Mesh Mesh { url "chain.xm" }
                    }
                ]
translation 0 0 0

            }
]
}
]
scale 24 24 24
rotation 0 0 .5 0.1745330
//translation -4400 0 -5100
translation -5400 0 -5100
}



DEF theChains3 Transform
{
children
[

Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF Chains3 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA3_Mesh Mesh { url "chains.xm" }
                    }
                ]

translation 0 0 0
            }

DEF ChainsString3 Transform
            {
                children
                [


                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString3_Mesh Mesh { url "chain.xm" }
                    }


                ]
translation 0 0 0

            }
]
                    }


]
scale 24 24 24
rotation 0 0 1 -.523599
translation 0 0 -5000
}



DEF theChains5 Transform
{
children
[
Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF Chains5 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA5_Mesh Mesh { url "chains.xm" }
                    }
                ]

translation 0 0 0
            }

DEF ChainsString5 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString5_Mesh Mesh { url "chain.xm" }
                    }
                ]
translation 0 0 0

            }
]
}

]
scale 24 24 24
rotation 0 0 .3 -0.1745330
//translation 3000 0 -5100
translation 4000 0 -5100
}
DEF theSquigles1 Transform
{

children
[
Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF Squigles1 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA1_Mesh Mesh { url "Backing_squigles.xm" }
                    }
                ]

translation 0 0 0
            }

DEF SquiglesString1 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString1_Mesh Mesh { url "Backing_squigles_SIDES.xm" }
                    }
                ]
translation 0 0 0

            }
]
}
]
scale 24 24 24
rotation 0 0 .5 0.1745330
//translation -4400 0 -5100
translation -5400 0 -5100
}



DEF theSquigles3 Transform
{
children
[

Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF Squigles3 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA3_Mesh Mesh { url "Backing_squigles.xm" }
                    }
                ]

translation 0 0 0
            }

DEF SquiglesString3 Transform
            {
                children
                [


                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString3_Mesh Mesh { url "Backing_squigles_SIDES.xm" }
                    }


                ]
translation 0 0 0

            }
]
                    }


]
scale 24 24 24
rotation 0 0 1 -.523599
translation 0 0 -5000
}



DEF theSquigles5 Transform
{
children
[
Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF Squigles5 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA5_Mesh Mesh { url "Backing_squigles.xm" }
                    }
                ]

translation 0 0 0
            }

DEF SquiglesString5 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString5_Mesh Mesh { url "Backing_squigles_SIDES.xm" }
                    }
                ]
translation 0 0 0

            }
]
}

]
scale 24 24 24
rotation 0 0 .3 -0.1745330
//translation 3000 0 -5100
translation 4000 0 -5100
}
DEF theDNA1 Transform
{

children
[
Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF DNA1 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA1_Mesh Mesh { url "Backing_dna.xm" }
                    }
                ]

translation 0 0 0
            }

DEF DNAString1 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString1_Mesh Mesh { url "Backing_dna_SIDES.xm" }
                    }
                ]
translation 0 0 0

            }
]
}
]
scale 24 24 24
rotation 0 0 .5 0.1745330
//translation -4400 0 -5100
translation -5400 0 -5100
}



DEF theDNA3 Transform
{
children
[

Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF DNA3 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA3_Mesh Mesh { url "Backing_dna.xm" }
                    }
                ]

translation 0 0 0
            }

DEF DNAString3 Transform
            {
                children
                [


                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString3_Mesh Mesh { url "Backing_dna_SIDES.xm" }
                    }


                ]
translation 0 0 0

            }
]
                    }


]
scale 24 24 24
rotation 0 0 1 -.523599
translation 0 0 -5000
}



DEF theDNA5 Transform
{
children
[
Spinner
            {
              rpm 2
              axis 0 1 0
              children
              [

DEF DNA5 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "MenuCell"
                            }
                        }
                        geometry DEF DNA5_Mesh Mesh { url "Backing_dna.xm" }
                    }
                ]

translation 0 0 0
            }

DEF DNAString5 Transform
            {
                children
                [
                    Shape
                    {
                        appearance Appearance
                        {
                            material MaxMaterial
                            {
                                name "FlatSrfc/PodParts"
                            }
                        }
                        geometry DEF DNAString5_Mesh Mesh { url "Backing_dna_SIDES.xm" }
                    }
                ]
translation 0 0 0

            }
]
}

]
scale 24 24 24
rotation 0 0 .3 -0.1745330
//translation 3000 0 -5100
translation 4000 0 -5100
}


Now close and save Main_Menu.xip/Default.xap

Now add Backing_dna.xm to Main_Menu.xip
Now add Backing_dna_sides.xm to Main_Menu.xip
Now add Backing_squigles.xm to Main_Menu.xip
Now add Backing_squigles_sides.xm to Main_Menu.xip
Now add Chain.xm to Main_Menu.xip
Now add Corkscrews.xm to Main_Menu.xip
(You can find these in the usaul places)

Restart your Xbox and enjoy
Please post to tell me if this worked for ya.

This post has been edited by CompFreak07: Jan 22 2005, 07:30 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CompFreak07
post Jan 22 2005, 08:48 AM
Post #2


X-S Senior Member
**

Group: Members
Posts: 216
Joined: 20-January 04
From: Dayton, OH
Member No.: 93597
Xbox Version: v1.6
360 version: v1 (xenon)



Sorry, it wouldnt let me edit post but I forgot to add what goes in the ini file
Add this on the bottom of your uix.ini :
CODE

[DNA On Boot]
Enabled=dna
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DaBeast77
post Jan 22 2005, 09:03 AM
Post #3


X-S X-perience
**

Group: Members
Posts: 313
Joined: 16-April 03
From: Richmond, Virginia
Member No.: 32489
Xbox Version: v1.0



Exactly where dos this go SDOnBootCheck();? There are like 5 EnableAudio();'s.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CompFreak07
post Jan 22 2005, 09:11 AM
Post #4


X-S Senior Member
**

Group: Members
Posts: 216
Joined: 20-January 04
From: Dayton, OH
Member No.: 93597
Xbox Version: v1.6
360 version: v1 (xenon)



Sorry about that where I said search for :
CODE

EnableAudio();


search for :
CODE

MainMenuAttract();


instead and do the same from there on out.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DaBeast77
post Jan 22 2005, 09:20 AM
Post #5


X-S X-perience
**

Group: Members
Posts: 313
Joined: 16-April 03
From: Richmond, Virginia
Member No.: 32489
Xbox Version: v1.0



thanks a lot, it works great. but is there any way to make the dna smaller?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CompFreak07
post Jan 22 2005, 09:26 AM
Post #6


X-S Senior Member
**

Group: Members
Posts: 216
Joined: 20-January 04
From: Dayton, OH
Member No.: 93597
Xbox Version: v1.6
360 version: v1 (xenon)



If you would like to make the DNA, Chains, Squiggles, or Corkscrews smaller/bigger open up Main_Menu.xip/Default.xap.
Search for :
CODE

scale 24 24 24


Where it says 24 24 24 that is the size. Change it to whatever you want on all of them (example 12 12 12 - for half the size of what it is now)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DaBeast77
post Jan 22 2005, 09:39 AM
Post #7


X-S X-perience
**

Group: Members
Posts: 313
Joined: 16-April 03
From: Richmond, Virginia
Member No.: 32489
Xbox Version: v1.0



Now its perfect (i used 16 16 16 for dna, 20 20 20 for squiglies, 12 12 12 for chains, and 14 14 14 for corkscrews)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ImOkRuOk
post Feb 4 2005, 03:30 PM
Post #8


X-S Senior Member
**

Group: Members
Posts: 264
Joined: 26-February 03
From: USA
Member No.: 25355
Xbox Version: v1.1
360 version: v4.0 (jasper)



tried this and all of them show on main screen at once!! lol , any idea what i did wrong 5 times?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ImOkRuOk
post Feb 4 2005, 03:49 PM
Post #9


X-S Senior Member
**

Group: Members
Posts: 264
Joined: 26-February 03
From: USA
Member No.: 25355
Xbox Version: v1.1
360 version: v4.0 (jasper)



Ok, got it working, but now.. how would i asign a key to it.. like onXdown ...
I've tried ...

CODE

function OnXDown()
{
if(bDNAVisable == false)
{
 ShowDNA();
}
else if(bDNAVisable == true)
{
 HideDNA();
}
else if(bCorkscrewsVisable == fales)
{
 ShowCorkscrews();
}
else if(bCorkscrewsVisable == true)
{
 HideCorkscrews();
}
else if(bChainsVisable == fales)
{
 ShowChains();
}
else if(bChainsVisable == true)
{
 HideChains();
}
else if(bSquiglesVisable == fales)
{
 ShowSquigles();
}
else if(bSquiglesVisable == true)
{
 HideSquigles();
}
}


but didnt work... any help?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dazza
post Feb 4 2005, 03:52 PM
Post #10


X-S Young Member
*

Group: Members
Posts: 30
Joined: 6-December 02
From: Rugby, England
Member No.: 12411
Xbox Version: v1.2



Have you got

CODE

[DNA On Boot]
Enabled=dna


in your uix.ini file?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ImOkRuOk
post Feb 4 2005, 03:56 PM
Post #11


X-S Senior Member
**

Group: Members
Posts: 264
Joined: 26-February 03
From: USA
Member No.: 25355
Xbox Version: v1.1
360 version: v4.0 (jasper)



yes:)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dazza
post Feb 4 2005, 04:05 PM
Post #12


X-S Young Member
*

Group: Members
Posts: 30
Joined: 6-December 02
From: Rugby, England
Member No.: 12411
Xbox Version: v1.2



I recoded all of this yesterday to make it easier to work with but I think you want...

CODE

function OnXDown()
{
if(bDNAVisable == false)
{
ShowDNA();
}
else if(bDNAVisable == true)
{
HideDNA();
}
if(bCorkscrewsVisable == false)
{
ShowCorkscrews();
}
else if(bCorkscrewsVisable == true)
{
HideCorkscrews();
}
if(bChainsVisable == false)
{
ShowChains();
}
else if(bChainsVisable == true)
{
HideChains();
}
if(bSquiglesVisable == false)
{
ShowSquigles();
}
else if(bSquiglesVisable == true)
{
HideSquigles();
}
}

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dazza
post Feb 4 2005, 04:09 PM
Post #13


X-S Young Member
*

Group: Members
Posts: 30
Joined: 6-December 02
From: Rugby, England
Member No.: 12411
Xbox Version: v1.2



Oops, that won't work.

Give me 20 mins and I'll dig out my changes.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dazza
post Feb 4 2005, 04:18 PM
Post #14


X-S Young Member
*

Group: Members
Posts: 30
Joined: 6-December 02
From: Rugby, England
Member No.: 12411
Xbox Version: v1.2



Change the SDOnBootCheck so it looks like this one.

CODE

function SDOnBootCheck()
{
var IniFile = new Settings;
IniFile.SetIniSection( "DNA On Boot" );
var a = IniFile.GetIniValue( "Enabled" );
IniFile.CloseIniFile();

// Hide everything to start with

HideDNA();
HideChains();
HideSquigles();
HideCorkscrews();

sDNAType = a;
bDNAVisible = true;

if( a == "dna" ) { ShowDNA(); }
else if( a == "squigles" ) { ShowSquigles(); }
else if( a == "chains" ) { ShowChains(); }
else if( a == "corkscrews" ) { ShowCorkscrews(); }
else { return; }
}



Find
CODE

var currentTrack;


and under that add
CODE

var sDNAType;
var bDNAVisible;


Your OnXDown function should look like this

CODE

function OnXDown()
{
 if (bDNAVisible == true )
 {
  if( sDNAType == "dna" ) { HideDNA(); }
  else if( sDNAType == "squigles" ) { HideSquigles(); }
  else if( sDNAType == "chains" ) { HideChains(); }
  else if( sDNAType == "corkscrews" ) { HideCorkscrews(); }
  bDNAVisible = false;
 }
 else if (bDNAVisible == false )
 {
  if( sDNAType == "dna" ) { ShowDNA(); }
  else if( sDNAType == "squigles" ) { ShowSquigles(); }
  else if( sDNAType == "chains" ) { ShowChains(); }
  else if( sDNAType == "corkscrews" ) { ShowCorkscrews(); }
  bDNAVisible = true;
 }
}


I think thats all the changes you should need.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
rhythmeister
post Feb 9 2005, 01:32 AM
Post #15


X-S Enthusiast


Group: Members
Posts: 16
Joined: 23-August 04
Member No.: 141027



Ummm, why do I not have these files?! I have .xip files but NO .xap files to be found in my UIX folder, I want fancy skins!
unsure.gif
Whoops, please delete this message mods, went back 2 add email notification, sorry

This post has been edited by rhythmeister: Feb 9 2005, 01:34 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





2 Pages V  1 2 >
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 22nd May 2013 - 05:14 AM