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
 
Reply to this topicStart new topic
> How To Make Dna Hide Quicker?, It's still visible as you fly through MM
mancer_247
post Jun 27 2005, 04:24 AM
Post #1


X-S Enthusiast


Group: Members
Posts: 28
Joined: 7-May 05
Member No.: 219479



I want the DNA to disapear as soon as you select a main menu item. Right now it stays on the screen untill the item you selected appears. Like when you select the Hard Drive tab the camera flies past the main menu orb but you can still see the DNA untill the HD menu pops up. I think this shoud be possible but I can't figure it out so hopefully somebody out there has what I need. Thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
midas
post Jun 27 2005, 05:44 AM
Post #2


X-S Senior Member
**

Group: Members
Posts: 271
Joined: 12-January 04
From: Galveston, TX
Member No.: 91425
Xbox Version: v1.4



If you could post the code you added the dna with (I can't find that thread), I could make this a little more accurate. Go into default.xip/default.xap and find the function OnADown. It looks like this:

CODE
control DEF theMainMenuJoy Joystick
{
function OnADown()
       {
           PlaySoundA();
           if(nCurMainMenuItem == 0)
           {
               theMusicMenuIn.Play();
               GoToMusic();
           }
           else if(nCurMainMenuItem == 1)
           {
               theSettingsMenuIn.Play();
               GoToHardDrive();
           }
           else if(nCurMainMenuItem == 2)
           {
 theSettingsMenuIn.Play();
 theHardDrive.ExecuteFile("f:\\apps\\XBMC\\default.xbe" );
           }
           else if(nCurMainMenuItem == 3)
           {
               theSettingsMenuIn.Play();
               GoToSettings();
           }
       }


and add this above PlaySoundA();
CODE
bgmesh.visible=false


Now this code isn't exact, and will only work if the DNA has been DEFed under the name "bgmesh" but maybe this will help . . . .
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mancer_247
post Jun 27 2005, 09:12 PM
Post #3


X-S Enthusiast


Group: Members
Posts: 28
Joined: 7-May 05
Member No.: 219479



Midas, heres the link to the DNA topic I used.

DNA, Squiggles, Chain, and Corkscrew Change in Config

It's a pain in the ass to find because you can't search for DNA and Squigles is spelled diffrently. Anyways all the items are DEF exactly as the DNA topic described so your code didn't do anything for me. I tried using the hide function in the spot you told me and the DNA would fade out, but it wouldn't come back when I returned to the Main Menu.

I can't figure out where I need to add this or something similar to make the DNA reappear when you return to the Main Menu.
CODE
     if( sDNAType == "dna" ) { ShowDNA(); }
else if( sDNAType == "squigles" ) { ShowSquigles(); }
else if( sDNAType == "chains" ) { ShowChains(); }
else if( sDNAType == "corkscrews" ) { ShowCorkscrews(); }
else if( sDNAType == "none" ) { HideSquigles(); HideChains(); HideDNA(); HideCorkscrews(); }
else { return; }


So if somebody knows a better way, or the location I need to add this show function to make the DNA reappear please reply. Thanks

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
midas
post Jun 29 2005, 02:51 PM
Post #4


X-S Senior Member
**

Group: Members
Posts: 271
Joined: 12-January 04
From: Galveston, TX
Member No.: 91425
Xbox Version: v1.4



Calling this function in there somewhere i know would help. If i knew the xip structure a little better i could tell you where (sorry for the lack of knowledge).

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


It would have to go in whatever function brings to main menu back on screen, i think. If you can find it just add
CODE
SDOnBootCheck();
in there somewhere.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 20th May 2013 - 02:38 PM