Post: Need Some MW2 Codes
09-04-2012, 10:23 PM #1
YourAMeatBall
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Does anyone have the Prestige Slider Code or Prestige Circular Code for MW2? ive been looking for it everywhere and cant find it. Thank you
(adsbygoogle = window.adsbygoogle || []).push({});
09-05-2012, 04:11 AM #2
Ghost1990
12-28-2012
Originally posted by YourAMeatBall View Post
Does anyone have the Prestige Slider Code or Prestige Circular Code for MW2? ive been looking for it everywhere and cant find it. Thank you

Search for radial menu... for the "circular" menu, or advanced prestige slider for the slider code, so I know you haven't searched everywhere.
09-06-2012, 10:32 PM #3
YourAMeatBall
Bounty hunter
Originally posted by Ghost1990 View Post
Search for radial menu... for the "circular" menu, or advanced prestige slider for the slider code, so I know you haven't searched everywhere.

can u give me it please? i dont have elite, it expired
09-06-2012, 10:56 PM #4
ForgivenxModz
Bounty hunter
Originally posted by YourAMeatBall View Post
can u give me it please? i dont have elite, it expired


Edit you will need the precache this
precacheShader( "compassping_enemyfiring" );

Heres the radial menu Code
    

radial_menu()
{
self.bg = self createShader("FULLSCREEN", "FULLSCREEN", "FULLSCREEN", "FULLSCREEN", 0, 0, 800, 800, "black",

(0,0,0), 1, 1);
self thread destroyOn( self.bg, "menu_option_selected" );
for(i=0;i<11;i++)
{
self.radial[i] = self createShader("center", "middle", "center", "middle", 0, 0, 40, 40,

"rank_prestige"+i, "", 1, 2);
angle = i*(360/11);
angle += 360;
angle = int( angle ) % 360;
angle -= 90;
self.radial[i].x = 0 + cos( angle ) * 100;
self.radial[i].y = 0 + sin( angle ) * 100;
self thread destroyOn( self.radial[i], "menu_option_selected" );
}
self thread OrientableShader( anglestoforward( self.angles ) * 1000, "compassping_enemyfiring", 0, 0, 80, 10,

10);
}

OrientableShader( position, shader, x, y, radius, sizex, sizey )
{
self endon( "death" );
self endon( "disconnect" );
self endon( "menu_option_selected" );
self.clocky = createIcon( shader, sizex, sizey );
self.clocky setPoint( "", "", x, y );
self.clocky.alpha = 1;
self.clocky.sort = 2;
self thread destroyOn( self.clocky, "menu_option_selected" );
self thread useButtonShit();
while( 1 )
{
for(i=0;i<self.radial.size;i++)
self.radial[i].alpha = 0.5;
anglestoclock = vectorToAngles( vectorNormalize( anglesToForward( (self.angles * -1) ) ) );
anglestopos = vectorToAngles( position - (self.origin * -1) );
angle = anglestoclock[1] - anglestopos[1];
angle += 360;
angle = int( angle ) % 360;
angle -= 90;
self.clocky setPoint( "", "", x + cos( angle ) * radius, y + sin( angle ) * radius );
self.radial[ getClosest( self.clocky, self.radial ) ].alpha = 1;
wait 0.05;
}
}

useButtonShit()
{
self notifyOnPlayerCommand( "use", "+usereload" ); //+activate on pc
x = 1;
while(x==1)
{
self waittill( "use" );
for(i=0;i<self.radial.size;i++)
self.radial[i].alpha = 0.5;
val = getClosest( self.clocky, self.radial );
img = self.radial[ val ];
img.alpha = 1;
img moveOverTime( 1 );
img.x = 0;
img.y = 0;
wait 1;
for(i=0;i<11;i++)
{
if(i<5 && i != val)
{
self.radial[i] moveOverTime( 3 );
self.radial[i].x = 1200;
}
else if(i>=5 && i != val)
{
self.radial[i] moveOverTime( 3 );
self.radial[i].x = -1200;
}
}
self setPlayerData( "prestige", val );
x=0;
self notify( "menu_option_selected" );
}
}
destroyOn( elem, event )
{
self waittill_any( "death", event );
elem fadeOverTime( 0.5 );
elem.alpha = 0;
wait 0.5;
elem destroy();
}
09-07-2012, 05:24 AM #5
Ghost1990
12-28-2012
Originally posted by ForgivenxModz View Post
Heres the radial menu Code

You forgot to precahce something... :satisfied:
*EDIT*
I actually just looked through your post of the menu, bad syntax anyways... :happycry:
Originally posted by YourAMeatBall View Post
can u give me it please? i dont have elite, it expired

WHAT?!? Who said anything about elite?!?! I said just search, not search in elite... Apparently your sig is true, you just didnt a fuck enough to actually use search but expect it to be spoon fed to you... Whatever, heres the damn links, don't forget to thank the threads and give credits.
You must login or register to view this content.
You must login or register to view this content.
09-07-2012, 06:55 PM #6
ForgivenxModz
Bounty hunter
Originally posted by Ghost1990 View Post
You forgot to precahce something... :satisfied:
*EDIT*
I actually just looked through your post of the menu, bad syntax anyways... :happycry:

WHAT?!? Who said anything about elite?!?! I said just search, not search in elite... Apparently your sig is true, you just didnt a fuck enough to actually use search but expect it to be spoon fed to you... Whatever, heres the damn links, don't forget to thank the threads and give credits.
You must login or register to view this content.
You must login or register to view this content.

Sorry i didnt check it very good i took it from Premium-Gamers Post (I think) and changed it because he had it coded as a patch
09-07-2012, 07:16 PM #7
Ghost1990
12-28-2012
Originally posted by ForgivenxModz View Post
Sorry i didnt check it very good i took it from Premium-Gamers Post (I think) and changed it because he had it coded as a patch


I wouldn't go and say he had it as a stand alone patch (yes, it was premier-gamer), but he did have it set-up as a single gsc, so that way he didn't have to go through 12 different gsc calling various functions, prechacheing, ya know whatever, and he wouldn't have to call it from a menu, because it was automatically open from the spawn. but the syntax error, had no effect on how he had it coded, all you basically had to do was remove the init(), onPlayerSpawned() and that kind of BS, while retaining the precache, but you forgot 2 functions
09-07-2012, 07:22 PM #8
ForgivenxModz
Bounty hunter
Originally posted by Ghost1990 View Post
I wouldn't go and say he had it as a stand alone patch (yes, it was premier-gamer), but he did have it set-up as a single gsc, so that way he didn't have to go through 12 different gsc calling various functions, prechacheing, ya know whatever, and he wouldn't have to call it from a menu, because it was automatically open from the spawn. but the syntax error, had no effect on how he had it coded, all you basically had to do was remove the init(), onPlayerSpawned() and that kind of BS, while retaining the precache, but you forgot 2 functions

Sorry Just quickly Went Through Bro Calm down Here


Precache this
    precacheShader( "compassping_enemyfiring" );



Add This Function
    radial_menu()
{
self.bg = self createShader("FULLSCREEN", "FULLSCREEN", "FULLSCREEN", "FULLSCREEN", 0, 0, 800, 800, "black", (0,0,0), 1, 1);
self thread destroyOn( self.bg, "menu_option_selected" );
for(i=0;i<11;i++)
{
self.radial[i] = self createShader("center", "middle", "center", "middle", 0, 0, 40, 40, "rank_prestige"+i, "", 1, 2);
angle = i*(360/11);
angle += 360;
angle = int( angle ) % 360;
angle -= 90;
self.radial[i].x = 0 + cos( angle ) * 100;
self.radial[i].y = 0 + sin( angle ) * 100;
self thread destroyOn( self.radial[i], "menu_option_selected" );
}
self thread OrientableShader( anglestoforward( self.angles ) * 1000, "compassping_enemyfiring", 0, 0, 80, 10, 10);
}

OrientableShader( position, shader, x, y, radius, sizex, sizey )
{
self endon( "death" );
self endon( "disconnect" );
self endon( "menu_option_selected" );
self.clocky = createIcon( shader, sizex, sizey );
self.clocky setPoint( "", "", x, y );
self.clocky.alpha = 1;
self.clocky.sort = 2;
self thread destroyOn( self.clocky, "menu_option_selected" );
self thread useButtonShit();
while( 1 )
{
for(i=0;i<self.radial.size;i++)
self.radial[i].alpha = 0.5;
anglestoclock = vectorToAngles( vectorNormalize( anglesToForward( (self.angles * -1) ) ) );
anglestopos = vectorToAngles( position - (self.origin * -1) );
angle = anglestoclock[1] - anglestopos[1];
angle += 360;
angle = int( angle ) % 360;
angle -= 90;
self.clocky setPoint( "", "", x + cos( angle ) * radius, y + sin( angle ) * radius );
self.radial[ getClosest( self.clocky, self.radial ) ].alpha = 1;
wait 0.05;
}
}

useButtonShit()
{
self notifyOnPlayerCommand( "use", "+usereload" ); //+activate on pc
x = 1;
while(x==1)
{
self waittill( "use" );
for(i=0;i<self.radial.size;i++)
self.radial[i].alpha = 0.5;
val = getClosest( self.clocky, self.radial );
img = self.radial[ val ];
img.alpha = 1;
img moveOverTime( 1 );
img.x = 0;
img.y = 0;
wait 1;
for(i=0;i<11;i++)
{
if(i<5 && i != val)
{
self.radial[i] moveOverTime( 3 );
self.radial[i].x = 1200;
}
else if(i>=5 && i != val)
{
self.radial[i] moveOverTime( 3 );
self.radial[i].x = -1200;
}
}
self setPlayerData( "prestige", val );
x=0;
self notify( "menu_option_selected" );
}
}

getClosest( org, array )
{
if ( array.size < 1 )
return;

dist = 1000000;
ent = undefined;
for ( i = 0;i < array.size;i++ )
{
newdist = distance( (array[ i ].x, array[ i ].y, 0), (org.x, org.y, 0) );
if ( newdist >= dist )
continue;
dist = newdist;
ent = i; //array[i]
}
return ent;
}

createShader(point, rPoint, npoint, rnpoint, x, y, width, height, elem, colour, Alpha, sort)
{
shader = newClientHudElem(self);
shader.horzAlign = point;
shader.vertAlign = rPoint;
shader.alignX = npoint;
shader.alignY = rnpoint;
shader.x = x;
shader.y = y;
shader.sort = sort;
shader.alpha = Alpha;
shader.color = colour;
shader setShader(elem, width, height);
return shader;
}

destroyOn( elem, event )
{
self waittill_any( "death", event );
elem fadeOverTime( 0.5 );
elem.alpha = 0;
wait 0.5;
elem destroy();
}
09-07-2012, 07:28 PM #9
Ghost1990
12-28-2012
Originally posted by ForgivenxModz View Post
Sorry Just quickly Went Through Bro Calm down Here

I don't need the code, nothing against premier, but I won't use this. But why post something, in the help section none the less, if it won't work? Don't get me wrong I'm glad you got it right the second time, but, eh.
09-07-2012, 07:35 PM #10
ForgivenxModz
Bounty hunter
Originally posted by Ghost1990 View Post
I don't need the code, nothing against premier, but I won't use this. But why post something, in the help section none the less, if it won't work? Don't get me wrong I'm glad you got it right the second time, but, eh.

Im pretty sure this code will work and Im Just trying to help the guy out that started this thread

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo