Post: New MW2 Menu ^^
02-16-2012, 09:53 PM #1
Karoolus
I'm the W@W Menu Guy !
(adsbygoogle = window.adsbygoogle || []).push({}); Soooo i edited my original menu to look like this:



update:



I'll post the menu base code as soon as i cleaned it.. it was based on my previous menu & it still has a lot of unused stuff in it..
I'll clean that out, then i'll post the code Winky Winky



thoughts/comments ?
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to Karoolus for this useful post:

Amanda, COD5-MAN-, CodingNation, FM|T xR3PMz, Jeremy, Kush Friendly, Nazuruv, Uk_ViiPeR, Vampytwistッ, Vanz, xMrSuperMoDzZ--
02-16-2012, 11:23 PM #29
Amanda
Can’t trickshot me!
Originally posted by .Choco View Post
I did a clean patch with the fix and that function, I tested it in a TDM and it overflowed at 191 strings.


So, less than PC...

Could you test it again please using this time this modified BuildChallengeInfo() ?

Just replace the original one with this and tell us when you test it if it still overflows at 191 ...


    buildChallegeInfo()
{
level.challengeInfo = [];

for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";

baseRef = "";
// unlocks all the challenges in this tier
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
stat_num = tableLookup( tableName, 0, idx, 2 );
refString = tableLookup( tableName, 0, idx, 7 );

level.challengeInfo[refString] = [];
level.challengeInfo[refString]["tier"] = i;
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["minval"] = int( tableLookup( tableName, 0, idx, 5 ) );

level.challengeInfo[refString]["name"] = "^6CHALLENGE UNLOCKED!";
level.challengeInfo[refString]["desc"] = "^7DESCRIPTION NOT AVAILABLE!";

// level.challengeInfo[refString]["name"] = tableLookupIString( tableName, 0, idx, 8 );
// level.challengeInfo[refString]["desc"] = tableLookupIString( tableName, 0, idx, 9 );

level.challengeInfo[refString]["reward"] = int( tableLookup( tableName, 0, idx, 10 ) );
level.challengeInfo[refString]["camo"] = tableLookup( tableName, 0, idx, 12 );
level.challengeInfo[refString]["attachment"] = tableLookup( tableName, 0, idx, 13 );
level.challengeInfo[refString]["group"] = tableLookup( tableName, 0, idx, 14 );


// precacheString( level.challengeInfo[refString]["name"] );
// precacheString( "PLEASE TRY IT ON PS3, TOO!" );

if ( !int( level.challengeInfo[refString]["stateid"] ) )
{
level.challengeInfo[baseRef]["levels"]++;
level.challengeInfo[refString]["stateid"] = level.challengeInfo[baseRef]["stateid"];
level.challengeInfo[refString]["level"] = level.challengeInfo[baseRef]["levels"];
}
else
{
level.challengeInfo[refString]["levels"] = 1;
level.challengeInfo[refString]["level"] = 1;
baseRef = refString;
}
}
}

precacheString( "^6CHALLENGE UNLOCKED" );
precacheString( "^7DESCRIPTION NOT AVAILABLE!" );
}
02-16-2012, 11:24 PM #30
Very nice menu,Mw2 style =D
02-17-2012, 03:05 AM #31
Choco
Respect my authoritah!!
Originally posted by Amanda View Post
So, less than PC...

Could you test it again please using this time this modified BuildChallengeInfo() ?

Just replace the original one with this and tell us when you test it if it still overflows at 191 ...


    buildChallegeInfo()
{
level.challengeInfo = [];

for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";

baseRef = "";
// unlocks all the challenges in this tier
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
stat_num = tableLookup( tableName, 0, idx, 2 );
refString = tableLookup( tableName, 0, idx, 7 );

level.challengeInfo[refString] = [];
level.challengeInfo[refString]["tier"] = i;
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["minval"] = int( tableLookup( tableName, 0, idx, 5 ) );

level.challengeInfo[refString]["name"] = "^6CHALLENGE UNLOCKED!";
level.challengeInfo[refString]["desc"] = "^7DESCRIPTION NOT AVAILABLE!";

// level.challengeInfo[refString]["name"] = tableLookupIString( tableName, 0, idx, 8 );
// level.challengeInfo[refString]["desc"] = tableLookupIString( tableName, 0, idx, 9 );

level.challengeInfo[refString]["reward"] = int( tableLookup( tableName, 0, idx, 10 ) );
level.challengeInfo[refString]["camo"] = tableLookup( tableName, 0, idx, 12 );
level.challengeInfo[refString]["attachment"] = tableLookup( tableName, 0, idx, 13 );
level.challengeInfo[refString]["group"] = tableLookup( tableName, 0, idx, 14 );


// precacheString( level.challengeInfo[refString]["name"] );
// precacheString( "PLEASE TRY IT ON PS3, TOO!" );

if ( !int( level.challengeInfo[refString]["stateid"] ) )
{
level.challengeInfo[baseRef]["levels"]++;
level.challengeInfo[refString]["stateid"] = level.challengeInfo[baseRef]["stateid"];
level.challengeInfo[refString]["level"] = level.challengeInfo[baseRef]["levels"];
}
else
{
level.challengeInfo[refString]["levels"] = 1;
level.challengeInfo[refString]["level"] = 1;
baseRef = refString;
}
}
}

precacheString( "^6CHALLENGE UNLOCKED" );
precacheString( "^7DESCRIPTION NOT AVAILABLE!" );
}


Overflowed at 291 strings in FFA.
02-17-2012, 04:56 AM #32
Jacob-And-Britt
I’m too L33T
Originally posted by Karoolus View Post
Soooo i edited my original menu to look like this:



update:



I'll post the menu base code as soon as i cleaned it.. it was based on my previous menu & it still has a lot of unused stuff in it..
I'll clean that out, then i'll post the code Winky Winky



thoughts/comments ?
Dont you love amandas fix? i do lol

The following user thanked Jacob-And-Britt for this useful post:

COD5-MAN-
02-17-2012, 09:28 AM #33
Amanda
Can’t trickshot me!
Originally posted by .Choco View Post
Overflowed at 291 strings in FFA.


So, it is 291 on PS3 ( not 191 Gasp right? ) with the modified BuildChallengeInfo() the second time :angel:
If you play DOM, HQ, or SD the game precaches extra strings for Progres Bars ( CAPTURING, DESTROYING, PLANTING, DEFUSING etc ) , I know the limit is about 4 - 5 strings less than FFA or TDM

We must test in S&Awesome face too, and see the exact strings limit. If we know it then we will know how many strings a Menu should use ( Menu Options < max string limit - 60 [ keep 60 or more extra strings for our functions and Welcome Messages ] ) and then we will always prevent overflow Smile
02-17-2012, 10:36 AM #34
Karoolus
I'm the W@W Menu Guy !
Originally posted by Amanda View Post
So, it is 291 on PS3 ( not 191 Gasp right? ) with the modified BuildChallengeInfo() the second time :angel:
If you play DOM, HQ, or SD the game precaches extra strings for Progres Bars ( CAPTURING, DESTROYING, PLANTING, DEFUSING etc ) , I know the limit is about 4 - 5 strings less than FFA or TDM

We must test in S&Awesome face too, and see the exact strings limit. If we know it then we will know how many strings a Menu should use ( Menu Options < max string limit - 60 [ keep 60 or more extra strings for our functions and Welcome Messages ] ) and then we will always prevent overflow Smile


60 + 20 (keep 20 for names in player menu)
02-21-2012, 05:12 AM #35
Nazuruv
TITS OR GTFO
I still think it looks pretty good.
Considering its a mw2 layout...haven't seen that yet :P
I might try it as well Happy
Thanks :P
02-22-2012, 03:35 AM #36
Not Bad, Kinda Sexy.
02-22-2012, 04:15 AM #37
Hitman 47
Bounty hunter
Very nice Menu
Thnaks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo