///////////////////////////////////////////DNA//////////////////////////////////////
function LoadBGMeshValues()
{
var IniFile = new Settings;
IniFile.SetIniSection( "BGMesh" );
var c = theBGMeshInline.children[0];
///dna spinner
var x = IniFile.GetIniValue( "BGMesh1-rpm" );
var y = IniFile.GetIniValue( "BGMesh2-rpm" );
var z = IniFile.GetIniValue( "BGMesh3-rpm" );
//if((x == "") | (y == "") | (z == "")) { x = 2; y = 2; z = 2; }
if((x == "") & (y == "") & (z == "")) { x = 2; y = 2; z = 2; }
c.theDNA1.children[0].rpm = x;
c.theDNA3.children[0].rpm = y;
c.theDNA5.children[0].rpm = z;
///mesh and alpha
var theDNA = IniFile.GetIniValue( "BGMesh" );
var DNAAlpha = IniFile.GetIniValue( "Alpha" );
if (theDNA == "chains")
{
c.DNA1_Mesh.url = "chain.xm";
c.DNA3_Mesh.url = "chain.xm";
c.DNA5_Mesh.url = "chain.xm";
c.theDNA1.SetTranslation(-5400, 0, -5100);
c.theDNA3.SetTranslation(0, 0, -5000);
c.theDNA5.SetTranslation(4000, 0, -5100);
c.theDNA1.SetAlpha(DNAAlpha);
c.theDNA3.SetAlpha(DNAAlpha);
c.theDNA5.SetAlpha(DNAAlpha);
}
else if (theDNA == "spirals")
{
c.DNA1_Mesh.url = "spirals.xm";
c.DNA3_Mesh.url = "spirals.xm";
c.DNA5_Mesh.url = "spirals.xm";
c.theDNA1.SetAlpha(DNAAlpha);
c.theDNA3.SetAlpha(DNAAlpha);
c.theDNA5.SetAlpha(DNAAlpha);
}
else if (theDNA == "off")
{
c.theDNA1.SetAlpha(0);
c.theDNA3.SetAlpha(0);
c.theDNA5.SetAlpha(0);
}
else if (theDNA == "dna")
{
c.DNA1_Mesh.url = "Backing_dna.xm";
c.DNA3_Mesh.url = "Backing_dna.xm";
c.DNA5_Mesh.url = "Backing_dna.xm";
c.DNAString1_Mesh.url = "Backing_dna_SIDES.xm";
c.DNAString3_Mesh.url = "Backing_dna_SIDES.xm";
c.DNAString5_Mesh.url = "Backing_dna_SIDES.xm";
c.theDNA1.SetAlpha(DNAAlpha);
c.theDNA3.SetAlpha(DNAAlpha);
c.theDNA5.SetAlpha(DNAAlpha);
}
else if (theDNA == "squigles")
{
c.DNA1_Mesh.url = "Backing_squigles.xm";
c.DNA3_Mesh.url = "Backing_squigles.xm";
c.DNA5_Mesh.url = "Backing_squigles.xm";
c.DNAString1_Mesh.url = "Backing_squigles_sides.xm";
c.DNAString3_Mesh.url = "Backing_squigles_sides.xm";
c.DNAString5_Mesh.url = "Backing_squigles_sides.xm";
c.theDNA1.SetAlpha(DNAAlpha);
c.theDNA3.SetAlpha(DNAAlpha);
c.theDNA5.SetAlpha(DNAAlpha);
}
else if (theDNA == "corkscrews")
{
c.DNA1_Mesh.url = "corkscrews.xm";
c.DNA3_Mesh.url = "corkscrews.xm";
c.DNA5_Mesh.url = "corkscrews.xm";
c.theDNA1.SetAlpha(DNAAlpha);
c.theDNA3.SetAlpha(DNAAlpha);
c.theDNA5.SetAlpha(DNAAlpha);
}
IniFile.CloseIniFile();
}
///////////////////////////////////////////DNA END//////////////////////////////////
DEF orb_and_arm Transform
{
children
[
DEF S_Home_podsocket_outer Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "FlatSrfc/PodParts"
}
}
geometry DEF S_Home_podsocket_outer-FACES Mesh { url "S_Home_podsocket_outer-FACES.xm" }
}
]
rotation 0.862900 -0.357400 0.357400 -1.718000
scale 0.448500 0.448500 0.448500
scaleOrientation -0.904900 0.000000 -0.425600 -0.286900
translation -12.850000 -4.989000 -10.460000
}
DEF S_Home_Arm_02 Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "Cell_Light"
}
}
geometry DEF S_Home_Arm_02-FACES Mesh { url "S_Home_Arm_02-FACES.xm" }
}
]
rotation 0.000000 1.000000 0.000000 -0.881400
scale 1.330000 1.000000 1.000000
scaleOrientation 0.000000 -1.000000 0.000000 -0.253100
translation -6.863000 -9.317000 -5.357000
}
DEF S_Home_Arm_01 Transform
{
children
[
Shape
{
appearance Appearance
{
material MaxMaterial
{
name "Cell_Light"
}
}
geometry DEF S_Home_Arm_01-FACES Mesh { url "S_Home_Arm_01-FACES.xm" }
}
]
rotation 0.000000 1.000000 0.000000 -0.881400
scale 1.330000 1.000000 1.000000
scaleOrientation 0.000000 -1.000000 0.000000 -0.253100
translation -6.863000 -7.967000 -5.357000
}
DEF S_Home_tube_attachment_03 Transform
{
children
[
DEF S_Home_GameModule_142 Transform
{
children
[
Shape
{
appearance Appearance
{
&nb
to save stupidly large posts.... http://pastebin.com/f53390490
and finally add "MEM_L2_sc_pod_icon-FACES.xm" from music_play_edit.xip to settings.xip.
--------------
to toggle whether background images are on or off read on:
replace CODE
DEF theBackground
with CODE
DEF theBackground Group
{
children
[
DEF background0 Background{ skyColor 0 0 0 }
DEF background1 Background{ skyColor 0 0 0 backdrop ImageTexture { url "background.xbx" }}
]
}
function LoadBackground()
{
var IniFile = new Settings;
IniFile.SetIniSection( "Backgrounds" );
var a = IniFile.GetIniValue( "On" );
IniFile.CloseIniFile();
if( a == "true" )
{
theBackground.children[0].isBound = false;
theBackground.children[1].isBound = true;
}
else if( a == "false" )
{
theBackground.children[0].isBound = true;
theBackground.children[1].isBound = false;
}
}
then search for CODE
ApplyDashStyle();
and add CODE
LoadBackground();
beneath.
then in default.xip / config.xap add [/code]CODE
configList = "Enable Backgrounds:";
configValues = "c-Backgrounds-On";
configSelect = "ToggleTF()";
i = i + 1;[code]
to CODE
BuildMainList()
and finally in uix.ini add CODE
[Backgrounds]
On = True"
--------------
this will toggle the amount of floating in the dash and submenus, to simply on or off.....
in default.xip / default.xap search for CODE
function ApplyDashStyle()
and just after the first bracket of the function add CODE
WaverCheck();
then comment out all of the instances of CODE
theScreen.MotionStart();
below.
then add CODE
function WaverCheck()
{
var IniFile = new Settings;
IniFile.SetIniSection( "Dash Waver" );
var a = IniFile.GetIniValue( "On" );
IniFile.CloseIniFile();
if( a == "true" ) { theScreen.MotionStart(); }
else if( a == "false" ) { theScreen.MotionStop(); }
}
to the bottom of the .xap
next is config.xap, and you'll need to add CODE
configList = "Floating Dash:";
configValues = "c-Dash Waver-On";
configSelect = "ToggleTF()";
i = i + 1;
and finally in uix.ini add CODE
[Dash Waver]
On = true
see http://forums.xbox-scene.com/index.php?showtopic=634001 for how to get the Music_play_ediit_with_subs working and have the old dropdown menus
This post has been edited by Little-G: Feb 3 2009, 12:40 AM
Ok, hope someone reads this. I've decided to reinstall UIX as my default dash, because it looks so great and reminds me of the original!
I love the look of the games menu above, and made the modification to the files as explained, but it hasn't changed the menu in UIX.
Is there some way I have to alter UIX to "activate" this menu, or is that built in to the code above already?
Thanks,
Ted
I haven't worked with it for a while, but do try clearing the cache first
This post has been edited by Mattie: Dec 19 2009, 08:08 PM