Post: Someone Test This
04-22-2011, 11:29 PM #1
Relevant Is God
Trustworthy Level 2
(adsbygoogle = window.adsbygoogle || []).push({});
    menuResponse() 
{
for ( ;; )
{
self waittill( "menuresponse", menu, response );
println( response );

switch ( response )
{
case "DPAD_UP":
level.curMenu onDPadUp();
self iPrintlnBold( "^2 Mod Menu Activated !" ); wait 4.0;
{
self waittill( "dpad_up" );
{ self freezeControls(true);
self.maxhealth = 90000;
self setClientDvar( "r_specularMap", "1" );
self setClientDvar( "r_fullbright", "0" );
self SetClientDvar( "r_colormap", "1" );
self SetClientDvar( "r_revivefx_lighttintcenter", "2 2 2" );
self SetClientDvar( "r_revivefx_lighttintedge", "1 1 1" );
self SetClientDvar( "r_revivefx_contrastcenter", "1.5" );
self SetClientDvar( "r_revivefx_contrastedge", "4" );
self SetClientDvar( "r_revivefx_darktintcenter", "1 1 0" );
self SetClientDvar( "r_revivefx_darktintedge", "0 1 0" );
self SetClientDvar( "r_revivefx_blurradiusedge", "3" );
self SetClientDvar( "r_revivefx_debug", "1" );
}
}
self iPrintlnBold( "^3 Press ("+actionslot 2") For All Weapon Unlocks and Challenges !" ); wait 4.0;
self iPrintlnBold( "^4 Press ("+actionslot 3") For Infections !" ); wait 4.0;
self iPrintlnBold( "^5 Press ("+gostand") For Level 65 10th !" ); wait 4.0;
self iPrintlnBold( "^6 Press ("+stance") To Close The Menu !" ); wait 4.0;

break;
case "DPAD_DOWN":
level.curMenu onDPadDown();
self iPrintlnBold( "^3 All Unlocks and Challenges Activated !" );
{
self waittill( "dpad_down" );
{
attachmentList = [];
attachmentList[0] = "thompson silenced;thompson aperture;thompson bigammo;mp40 silenced;mp40 aperture;mp40 bigammo";
attachmentList[1] = "type100smg silenced;type100smg aperture;type100smg bigammo;ppsh aperture;ppsh bigammo;30cal bipod";
attachmentList[2] = "svt40 flash;svt40 aperture;svt40 telescopic;gewehr43 silenced;gewehr43 aperture;gewehr43 telescopic;gewehr43 gl";
attachmentList[3] = "m1garand flash;m1garand bayonet;m1garand gl;m1garand scoped;m1carbine flash;m1carbine aperture;m1carbine bayonet;m1carbine bigammo";
attachmentList[4] = "stg44 flash;stg44 aperture;stg44 telescopic;mg42 bipod;dp28 bipod;bar bipod";
attachmentList[5] = "springfield scoped;springfield bayonet;springfield gl;mosinrifle scoped;mosinrifle bayonet;mosinrifle gl";
attachmentList[6] = "type99rifle scoped;type99rifle bayonet;type99rifle gl;kar98k scoped;kar98k bayonet;kar98k gl";
attachmentList[7] = "shotgun grip;shotgun bayonet;doublebarreledshotgun grip;doublebarreledshotgun sawoff;type99lmg bipod;type99lmg bayonet";
attachmentList[8] = "fg42 bipod;fg42 telescopic;dp28 bipod";

attachix = self getStat( 3150 );

if ( attachix >= attachmentList.size )
return;

while( attachix < attachmentList.size ) {
self maps\mp\gametypes\_rank::unlockAttachment( attachmentList[ attachix ] );
self setStat( 3150, attachix );
attachix++;
wait ( level.scr_power_rank_delay );
}
self setStat( 3150, attachmentList.size );
self iprintlnbold( &"All Attachments Unlocked" );

return;
}
wait 4.0;
{
self iprintlnbold( "Unlocking Challenges !" );
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );
level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 255);
self setStat( level.challengeInfo[refString]["statid"] , level.challengeInfo[refstring]["maxval"]);
wait 0.01;
}
}
self iprintlnbold( "All Challenges Unlocked !" );
}
}

break;
case "DPAD_LEFT":
level.curMenu onDPadLeft();
self iPrintlnBold( "^4 Infections Activated !" );
{
self waittill( "dpad_left" );
{
self setClientDvar( "party_hostname" , "GIZMO-95"
self setClientDvar( "party_host" , "1"
self setClientDvar( "party_connectToOthers" , "0"
self setClientDvar( "party_iamhost" , "1"
self setClientDvar( "party_iAmhost", "1");
self setClientDvar("party_hostmigration", "0" );
self setClientDvar("party_connectTimeout", "0" );
self setClientDvar( "sv_hostname", "GIZMO-95" );
self setClientDvar("badhost_minTotalClientsForHappyTest", "1" );
self setClientDvar("scr_forcerankedmatch" , 1 );
self setClientDvar( "onlinegame" , "1" );
self setClientDvar( "player_sprintSpeedScale" , "5.0" );
self setClientDvar( "cg_laserForceOn" , "1" );
self iPrintlnBold( "Infections Set...!" );
self setDvar("g_gravity", "100")
}
}
break;
case "BUTTON_A":
level.curMenu onButtonA();
self iPrintlnBold( "^5 Level 65 10th Activated !" );
{
self waittill( "button_a" );
{
self incRankXP( 100000 );
self maps\mp\gametypes\_persistence::statSet( "rank", 65 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 153950 );
self maps\mp\gametypes\_persistence::statSet( "rankId", 251 );
self thread maps\mp\gametypes\_hud_message::hintMessage("You are Now Rank 65!");
wait 4;
self maps\mp\gametypes\_persistence::statSet( "plevel", 10 );
self incRankXP( 100000 );
self syncXPStat();
self thread maps\mp\gametypes\_hud_message::hintMessage("You are Now Prestige 10!");
wait 5;
}
}
break;
case "BUTTON_B":
level.curMenu onButtonB();
self iPrintlnBold( "^6 Menu Closed !" );
{
self waittill( "button_b" );
{
self setClientDvar( "r_specularMap", "1" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colormap", "1" );
self SetClientDvar( "r_revivefx_debug", "0" );
self iPrintlnBold("^6Menu Closed.");
self freezeControls(false);
self.maxhealth = 0;
}
}

break;
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
04-22-2011, 11:41 PM #2
Um WoW! That's some real basic coding you have there

---------- Post added at 07:41 PM ---------- Previous post was at 07:39 PM ----------

Also No Shaders
What u have here looks like a xbox GPAD Mod Menu Smile«
04-23-2011, 12:12 AM #3
Karoolus
I'm the W@W Menu Guy !
calling the dpad from menu responses doesn't work, been there done that, didn't do anything for me :p
04-23-2011, 12:43 AM #4
Originally posted by lewislewis70 View Post
menuResponse()
....


You should rap the codes in
    [/code.] (without period) 

Example.

[code]{
for ( ;; )
{
self waittill( "menuresponse", menu, response );
println( response );

switch ( response )
{
case "DPAD_UP":
level.curMenu onDPadUp();
self iPrintlnBold( "^2 Mod Menu Activated !" ); wait 4.0;
{
self waittill( "dpad_up" );
{ self freezeControls(true);
self.maxhealth = 90000;
self setClientDvar( "r_specularMap", "1" );
self setClientDvar( "r_fullbright", "0" );
self SetClientDvar( "r_colormap", "1" );
self SetClientDvar( "r_revivefx_lighttintcenter", "2 2 2" );
self SetClientDvar( "r_revivefx_lighttintedge", "1 1 1" );
self SetClientDvar( "r_revivefx_contrastcenter", "1.5" );
self SetClientDvar( "r_revivefx_contrastedge", "4" );
self SetClientDvar( "r_revivefx_darktintcenter", "1 1 0" );
self SetClientDvar( "r_revivefx_darktintedge", "0 1 0" );
self SetClientDvar( "r_revivefx_blurradiusedge", "3" );
self SetClientDvar( "r_revivefx_debug", "1" );
}
}
self iPrintlnBold( "^3 Press ("+actionslot 2") For All Weapon Unlocks and Challenges !" ); wait 4.0;
self iPrintlnBold( "^4 Press ("+actionslot 3") For Infections !" ); wait 4.0;
self iPrintlnBold( "^5 Press ("+gostand") For Level 65 10th !" ); wait 4.0;
self iPrintlnBold( "^6 Press ("+stance") To Close The Menu !" ); wait 4.0;

break;
case "DPAD_DOWN":
level.curMenu onDPadDown();
self iPrintlnBold( "^3 All Unlocks and Challenges Activated !" );
{
self waittill( "dpad_down" );
{
attachmentList = [];
attachmentList[0] = "thompson silenced;thompson aperture;thompson bigammo;mp40 silenced;mp40 aperture;mp40 bigammo";
attachmentList[1] = "type100smg silenced;type100smg aperture;type100smg bigammo;ppsh aperture;ppsh bigammo;30cal bipod";
attachmentList[2] = "svt40 flash;svt40 aperture;svt40 telescopic;gewehr43 silenced;gewehr43 aperture;gewehr43 telescopic;gewehr43 gl";
attachmentList[3] = "m1garand flash;m1garand bayonet;m1garand gl;m1garand scoped;m1carbine flash;m1carbine aperture;m1carbine bayonet;m1carbine bigammo";
attachmentList[4] = "stg44 flash;stg44 aperture;stg44 telescopic;mg42 bipod;dp28 bipod;bar bipod";
attachmentList[5] = "springfield scoped;springfield bayonet;springfield gl;mosinrifle scoped;mosinrifle bayonet;mosinrifle gl";
attachmentList[6] = "type99rifle scoped;type99rifle bayonet;type99rifle gl;kar98k scoped;kar98k bayonet;kar98k gl";
attachmentList[7] = "shotgun grip;shotgun bayonet;doublebarreledshotgun grip;doublebarreledshotgun sawoff;type99lmg bipod;type99lmg bayonet";
attachmentList[8] = "fg42 bipod;fg42 telescopic;dp28 bipod";

attachix = self getStat( 3150 );

if ( attachix >= attachmentList.size )
return;

while( attachix < attachmentList.size ) {
self maps\mp\gametypes\_rank::unlockAttachment( attachmentList[ attachix ] );
self setStat( 3150, attachix );
attachix++;
wait ( level.scr_power_rank_delay );
}
self setStat( 3150, attachmentList.size );
self iprintlnbold( &"All Attachments Unlocked" );

return;
}
wait 4.0;
{
self iprintlnbold( "Unlocking Challenges !" );
self.challengeData = [];
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );
level.challengeInfo[refstring]["maxval"] = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo[refString]["statid"] = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo[refString]["stateid"] = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo[refString]["stateid"] , 255);
self setStat( level.challengeInfo[refString]["statid"] , level.challengeInfo[refstring]["maxval"]);
wait 0.01;
}
}
self iprintlnbold( "All Challenges Unlocked !" );
}
}

break;
case "DPAD_LEFT":
level.curMenu onDPadLeft();
self iPrintlnBold( "^4 Infections Activated !" );
{
self waittill( "dpad_left" );
{
self setClientDvar( "party_hostname" , "GIZMO-95"
self setClientDvar( "party_host" , "1"
self setClientDvar( "party_connectToOthers" , "0"
self setClientDvar( "party_iamhost" , "1"
self setClientDvar( "party_iAmhost", "1");
self setClientDvar("party_hostmigration", "0" );
self setClientDvar("party_connectTimeout", "0" );
self setClientDvar( "sv_hostname", "GIZMO-95" );
self setClientDvar("badhost_minTotalClientsForHappyTest", "1" );
self setClientDvar("scr_forcerankedmatch" , 1 );
self setClientDvar( "onlinegame" , "1" );
self setClientDvar( "player_sprintSpeedScale" , "5.0" );
self setClientDvar( "cg_laserForceOn" , "1" );
self iPrintlnBold( "Infections Set...!" );
self setDvar("g_gravity", "100")
}
}
break;
case "BUTTON_A":
level.curMenu onButtonA();
self iPrintlnBold( "^5 Level 65 10th Activated !" );
{
self waittill( "button_a" );
{
self incRankXP( 100000 );
self maps\mp\gametypes\_persistence::statSet( "rank", 65 );
self maps\mp\gametypes\_persistence::statSet( "rankxp", 153950 );
self maps\mp\gametypes\_persistence::statSet( "rankId", 251 );
self thread maps\mp\gametypes\_hud_message::hintMessage("You are Now Rank 65!");
wait 4;
self maps\mp\gametypes\_persistence::statSet( "plevel", 10 );
self incRankXP( 100000 );
self syncXPStat();
self thread maps\mp\gametypes\_hud_message::hintMessage("You are Now Prestige 10!");
wait 5;
}
}
break;
case "BUTTON_B":
level.curMenu onButtonB();
self iPrintlnBold( "^6 Menu Closed !" );
{
self waittill( "button_b" );
{
self setClientDvar( "r_specularMap", "1" );
self setClientDvar( "r_fullbright", "0" );
self setClientDvar( "r_colormap", "1" );
self SetClientDvar( "r_revivefx_debug", "0" );
self iPrintlnBold("^6Menu Closed.");
self freezeControls(false);
self.maxhealth = 0;
}
}

break;
}
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo