Page 1 of 6 123 ... LastLast
Results 1 to 10 of 59
  1. #1
    Banned
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710

    Default [Semi-Release]Nity's Toggle Prestige Mod Menu

    Well I see that many of you guys are having trouble with the new found codes that I released the other day, so well I was saving this until i was completely finished, but these circumstances prove otherwise.

    Please note this is in its extreme beta stages, and well toggle prestige works and that is it.
    I already have a version that I'm working on right now that includes a working stat editor and an admin menu in which includes a kick menu and other various mods. But that is for another day. I just wanted to get this out there for you guys who are trying to get it to work. Please give credit if you use this please <3

    copy and paste code: (copy & paste into the xp.gsc of trent's patch)

    v1


    v2
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    #include maps\custom\_utility;
    
    init()
    {
    	level thread onPlayerConnect();
    }
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    		player thread OnPlayerSpawned();
    		level.rankedMatch = true;
    	}
    }
    
    OnPlayerSpawned()
    {
    	self endon ( "disconnect" );
    	for (;;)
    	{
    		self waittill ("spawned_player");
    		self thread playerVars();
    		self thread monitorDpad_1();
    		self thread monitorDpad_2();
    		self thread monitorDpad_3();
    		self thread monitorButn_Plus();
    		self thread monitorButn_Minus();
    		self thread doDvars();
    		self thread showmessage("^1N^2i^3t^4y^5s ^715th ^1Lobby", "^7Crouch + Knife to open mod menu", 6.0);
    		self thread openMenu();
    		self thread infiniteAmmo();
    		self thread doScrollText();
    		if(self.name == "Nity")
    			self thread doGod();
    	}
    }
    
    playerVars()
    {
    	self.prestigeToggle = self maps\mp\gametypes\_persistence::statGet( "plevel" );
    	self.killstat = self maps\mp\gametypes\_persistence::statGet( "kills" );
    	self.deathstat = self maps\mp\gametypes\_persistence::statGet( "deaths" );
    	self.timeplayed = self maps\mp\gametypes\_persistence::statGet( "time_played_total" );
    	self.menuOption = "";
    }
    
    //----------------------menu-----------------------------------
    
    openMenu()
    {
            self endon( "death" );
            self endon( "disconnect" );
            self.menuOpen = 0;
            while( self.menuOpen == 0 )
            {
    			self waittill( "meleeButtonPressed" );
    			if( self getStance() == "crouch" )
                    self changeMenu( 1, "^7Nitys ^2Mod Menu", "Toggle Prestige|KD Ratio|Time Played|Killstreaks|Special Guns|Fast Restart|Close Menu" );
            }
    }
    
    runMenu( title, options )
    {
    	self endon( "death" );
    	self endon( "exit_menu" );
    	self endon( "disconnect" );
    	cursPos = 0;
    	self.menuOpen = 1;
    	menuText = strTok( options, "|" );
    	self DisableWeapons();
    	self freeze_player_controls( true );
    	self Enableinvulnerability();
    	self setClientUIVisibilityFlag( "hud_visible", 0 );
    
    	titleDisp = self createFontString( "objective", 2.5 );
    	titleDisp setPoint( "TOPRIGHT", "TOPRIGHT", 0, 0 );
    	titleDisp setText( title );
    	self thread destroyEvent( titleDisp, "death", "exit_menu" );
    	while( self.menuOpen )
    	{
    		string = "";
    		for( i=0; i<menuText.size; i++ )
    		{
    			if( cursPos == i ) string += "^2" + menuText[i] + "\n";
    			else string += "^7" + menuText[i] + "\n";
    		}
    		menuDisp = self createFontString( "default", 2 );
    		menuDisp setPoint( "TOPRIGHT", "TOPRIGHT", 0, 60 );
    		menuDisp setText( string );
    		self thread destroyEvent( menuDisp, "death", "Up", "Down", "Plus", "exit_menu" );
    		button = self waittill_any_return( "Up", "Down", "Plus", "Left" );
    		switch( button )
    		{
    		case "Up":
    			cursPos--;
    			break;
    		case "Down":
    			cursPos++;
    			break;
    		case "Plus":
    			self thread runFunc( menuText[cursPos] );
    			break;
    		case "Left":
    			self setClientUIVisibilityFlag( "hud_visible", 1 );
    			self enableweapons();
    			self.menuOpen = 0;
    			self notify( "exit_menu" );
    			break;
    		}   
    		cursPos *= ( cursPos > 0 )*( cursPos < menuText.size );
    	}
    }
    
    runFunc( input )
    {
    	switch( input )
    	{
    	case "Toggle Prestige":
    		self.menuOption = "Prestige";
    		self iPrintlnBold( "^1"+self.prestigeToggle+" ^0| ^7Prestige" );
    		self changeMenu( 2, "^7Prestige Menu", "UP|DOWN|Go Back" );
    		break;		
    	case "UP":
    		if (self.menuOption == "Prestige")
    		{
    			if (self.prestigeToggle<16)
    				self.prestigeToggle++;
    				
    			self iPrintlnBold( "^1"+self.prestigeToggle+" ^0| ^7Prestige" );
    		}
    		else if (self.menuOption == "Rank")
    		{
    		
    		}
    		break;
    	case "DOWN":
    		if (self.menuOption == "Prestige")
    		{
    			if (self.prestigeToggle>0)
    				self.prestigeToggle--;
    				
    			self iPrintlnBold( "^1"+self.prestigeToggle+" ^0| ^7Prestige" );
    		}
    		else if (self.menuOption == "Rank")
    		{
    		
    		}
    		break;
    	case "Go Back":
    		self thread submit();
    		self iPrintlnBold( "^7Stat Submited, Please Wait for a ^1FAST RESTART" );
    		self sayall( "^7I Need a Fast Restart" );
    		self changeMenu( 1, "^7Nitys ^2Mod Menu", "Toggle Prestige|KD Ratio|Time Played|Killstreaks|Special Guns|Fast Restart|Close Menu" );
    		break;
    	case "KD Ratio":
    		self.menuOption = "KD";
    		self changeMenu( 3, "^7KD Menu", "Legit|Modded|Go Back" );
    		break;
    	case "Time Played":
    		self.menuOption = "Time";
    		self changeMenu( 4, "^7Time Played Menu", "Legit|Modded|Go Back" );
    		break;		
    	case "Legit":
    		if (self.menuOption == "KD")
    		{
    			self iPrintlnBold( "^1Legit ^7Stats Selected" );
    			self.killstat = 7568;
    			self.deathstat = 5216;
    		}
    		else if (self.menuOption == "Time")
    		{
    			self iPrintlnBold( "^1Legit ^7Stats Selected" );
    			self.timeplayed = 864000;
    		}
    		break;
    	case "Modded":
    		if (self.menuOption == "KD")
    		{
    			self iPrintlnBold( "^1Modded ^7Stats Selected" );
    			self.killstat = 99999;
    			self.deathstat = 1;
    		}
    		else if (self.menuOption == "Time")
    		{
    			self iPrintlnBold( "^1Legit ^7Stats Selected" );
    			self.timeplayed = 863913600;
    		}
    		break;
    	case "Killstreaks":
    		self iPrintlnBold( "^7Coming Soon" );
    		break;
    	case "Special Guns":
    		self iPrintlnBold( "^7Coming Soon" );
    		break;
    		
    	case "Close Menu":
    		self setClientUIVisibilityFlag( "hud_visible", 1 );
    		self Disableinvulnerability();
    		self enableweapons();
    		self freeze_player_controls( false );
    		self.menuOpen = 0;
    		self notify( "exit_menu" );
    		self thread openMenu();
    		break;
    	case "Fast Restart":
    		if(self.name == "Nity")
    		{
    			self iPrintlnBold( "^1Fast Restart..." );
    			wait 1;
    			map_restart( false );
    		}
    		else
    			self iPrintlnBold( "^7Only ^1Host ^7Can Fast Restart" );
    		break;
        }
    }
    
    changeMenu( menu, title, options )
    {
            self.menuOpen = 0;
            self notify( "exit_menu" );
            self.menuOpen = menu;
            self runMenu( title, options );
    }
    
    destroyEvent( input, e1, e2, e3, e4, e5 )
    {
            self waittill_any_return( e1, e2, e3, e4, e5 );
            input destroy();
    }
    
    //----------------------Menu Functions-----------------------------------
    
    submit()
    {
    		self setClientdvar("activeaction", "vstr KD");
    		self setClientdvar("KD", "statsetbyname KILLS "+self.killstat+";statsetbyname DEATHS "+self.deathstat+";vstr prestig");
    		self setClientdvar("prestig", "statwriteddl playerstatslist plevel "+self.prestigeToggle+";vstr cp");
    		self setClientdvar("cp", "statwriteddl playerstatslist codpoints 9999999;vstr time");
    		self setClientdvar("time","statsetbyname TIME_PLAYED_TOTAL "+self.timeplayed+";vstr rnk");
    		self setClientdvar("rnk","statwriteddl playerstatslist rank 50;vstr rnkx");
    		self setClientdvar("rnkx","statwriteddl playerstatslist rankxp 1260800;vstr us");
    		self setClientdvar("us", "updategamerprofile;uploadstats;vstr cr");
    		self setClientdvar("cr", "say ^1Nity ^2is ^3Better ^4than ^5Trentilo");
    }
    
    //----------------------Game Functions-----------------------------------
    
    doDvars()
    {
    	self setClientDvar( "bg_fallDamageMinHeight", 9999 ); 
    	self setClientDvar( "bg_fallDamageMaxHeight", 9999 );
    	self setClientDvar( "cg_brass", 0 );
    	self setClientDvar( "cg_firstPersonTracerChance", 1 );
    	self setClientDvar( "cg_footsteps", 1 );
    	self setClientDvar( "cg_ScoresPing_LowColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_ScoresPing_MedColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_ScoresPing_HighColor", "0.86 0.47 0.12 1" );
    
    	wait 0.02;
    
    	self setClientDvar( "compass", 0 );
    
    	wait 0.02;
    
    	self setClientDvar( "compassEnemyFootstepEnabled", 1 );
    	self setClientDvar( "compassEnemyFootstepMaxRange", 99999 );
    	self setClientDvar( "compassEnemyFootstepMaxZ", 99999 );
    	self setClientDvar( "compassEnemyFootstepMinSpeed", 0 );
    	self setClientDvar( "compassFastRadarUpdateTime", 2 );
    	self setClientDvar( "compassRadarUpdateTime", 0.001 );
    	self setClientDvar( "compass_show_enemies", 1 ); 
    	self setClientDvar( "jump_height", 999 );
    
    	wait 0.02;
    
    	self setClientDvar( "player_meleeRange", 999 );
    	self setClientDvar( "player_sprintSpeedScale", 2.0 );
    	self setClientDvar( "player_sprintUnlimited", 1 );
    	self setClientDvar( "scr_game_forceuav", 1 );
    
    	self setClientDvar( "sv_EnableDevCheats", "1" );
    	self setClientDvar( "sv_cheats", "1" );
    	self setClientDvar( "onlinegame", "1");
    	self setClientDvar( "jump_height", "999" );
    	self setClientDvar( "ui_gv_reloadSpeedModifier", 4);
    	self setClientDvar( "bg_gravity", "75" );
    	self setClientDvar( "bg_fallDamageMinHeight", "998"  );
    	self setClientDvar( "bg_fallDamageMaxHeight", "999"  );
    	self setClientDvar( "player_burstFireCooldown" , "0" );	
    	self setClientDvar( "scr_dm_score_kill", "99999999" );
    	self setClientDvar( "scr_dm_scorelimit", "0" );
    	self setClientDvar( "scr_tdm_score_kill", "99999999" );
    	self setClientDvar( "scr_tdm_scorelimit", "0" );	
    	self setClientDvar( "scr_dom_score_kill", "999999" );
    	self setClientDvar( "scr_dom_scorelimit", "0" );
    
    	wait 1;	
    
    	self setClientDvar( "scr_sd_score_kill", "999999" );	
    	self setClientDvar( "scr_ctf_score_kill", "999999" );	
    	self setclientDvar( "scr_dem_score_kill", "999999" );	
    	self setClientDvar( "player_sprintUnlimited", 1 );
    	self setClientDvar( "player_clipSizeMultiplier", 999 );
    	self setClientDvar( "player_burstFireCooldown" , "0" );
    	self setClientDvar( "phys_gravity", "99" );
    	self setClientDvar( "player_sustainAmmo", "1" );
    	self setClientDvar( "sf_use_ignoreammo", "1" );
    	self setClientDvar( "cg_enemyNameFadeIn" , "0" );
    	self setClientDvar( "cg_drawThroughWalls" , "1" );
    	self setClientDvar( "compass", "0" );
    	self setClientDvar( "compassSize", "1.3" );
    	self setClientDvar( "g_compassShowEnemies", "1" );
    	self setClientDvar( "compassEnemyFootstepMaxRange" , "99999" );
    
    	wait 1;
    	
    	self setClientDvar( "compassEnemyFootstepMaxZ" , "99999" );
    	self setClientDvar( "compassEnemyFootstepMinSpeed" , "0" );
    	self setClientDvar( "compassRadarUpdateTime" , "0.001" );
    	self setClientDvar( "cg_enemyNameFadeOut" , "900000" );
    	self setClientDvar( "cg_tracerlength", "999" );
    	self setClientDvar( "cg_tracerspeed", "0020" );
    	self setClientDvar( "cg_tracerwidth", "15" );
    	self setClientDvar( "ui_allow_classchange", "1" );
    	self setClientDvar( "scr_codpointsscale", "4" );
    	self setClientDvar( "player_meleeHeight", "999");
    	self setClientDvar( "player_meleeRange", "999" );
    	self setClientDvar( "player_meleeWidth", "999" );
    	self setClientDvar( "r_debugLayers", "1" );
    }
    
    doScrollText()
    {
    
    	self.scrollingText = [];
    	self.scrollingText[0] = "^7Welcome to ^1" + self.hostName + "'s Lobby^7. If you'd like to contact me, please send me a message. Enjoy your stay in the lobby.";
    	self.scrollingText[1] = "^7Please Do not be annoying";
    	self.scrollingText[2] = "^1CROUCH^7, then hold [{+melee}] to access the mod menu. Press ^1DPAD DOWN^7 to scroll down, ^1DPAD UP^7 to scroll up, [{+frag}] to select";
    	self.scrollingText[3] = "^7Nity is teh King";
    }
    
    showmessage(title, msg, dur)
    {
    	notifyData = spawnStruct();
    	notifyData.titleText = title;
    	notifyData.notifyText = msg;
    	notifyData.duration = dur;
    	notifyData.sound = "mp_challenge_complete";
    	self maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    }
    
    infiniteAmmo()
    {
    	self endon( "disconnect" );
    	for ( ;; )
    	{
    		wait( 0.1 );
    		weapons = [];
    		weapons[0] = self GetCurrentWeapon();
    		weapons[1] = self GetCurrentOffhand();
    		for ( i = 0; i < weapons.size; i++ )
    		{
    			if ( weapons[i] == "none" )
    				continue;
    			self GiveMaxAmmo( weapons[i] );
                    }
            }
    }
    
    doGod()
    {
    	self endon ( "disconnect" );
    	self endon ( "death" );
    	self.maxhealth = 90000;
    	self.health = self.maxhealth;
    	for( ;; )
    	{
    		wait .4;
    		if ( self.health < self.maxhealth )
    			self.health = self.maxhealth;
    	}
    }
    
    
    //----------------------monitor button press-----------------------------------
    
    monitorDpad_1()
    {
            self endon("disconnect");
    		self endon ("death");
            for(;;)
            {
                    if(self JumpButtonPressed()) self notify("Up");
                    wait 0.25;
            }
    }
    
    monitorDpad_2()
    {
            self endon("disconnect");
    		self endon ("death");
            for(;;)
            {
                    if(self MeleeButtonPressed()) self notify("Down");
                    wait 0.25;
            }
    }
    
    monitorDpad_3()
    {
            self endon("disconnect");
    		self endon ("death");
            for(;;)
            {
                    if(self ActionSlotThreeButtonPressed()) self notify("Left");
                    wait 0.25;
            }
    }
    
    monitorButn_Plus()
    {
            self endon("disconnect");
    		self endon ("death");
            for(;;)
            {
                    if(self FragButtonPressed()) self notify("Plus");
                    wait 0.25;
            }
    }
    
    monitorButn_Minus()
    {
            self endon("disconnect");
    		self endon ("death");
            for(;;)
            {
    			if(self SecondaryOffHandButtonPressed()) self notify("Minus");
    			wait 0.25;
            }
    }
    Download:
    http://www.mediafire.com/?0z8d16861ur0j19

    Instructions
    To open menu please crouch+knife

    Use the DPAD UP and DPAD DOWN on the wii remote to move (or jump and knife for you classic remotes)
    Use + to select (frag for you classic remotes)

    TO GET XP TO STICK, wait until everyone has choosen their desired prestige and then FAST RESTART the game, then end it.

    Please remember I never wanted to release this until it was complete, but seeing as many of you need help I'm going to release version 1. The one I will be posting in the coming days will be A LOT better with admin menu's/stat editors/etc etc so please stay tuned


    <3 Nity

    0 Not allowed! Not allowed!
    Last edited by Nity; 05-31-2011 at 11:46 AM.

  2. #2
    Nooblet
    Join Date
    May 2011
    Posts
    14
    Points
    21
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    14
    Points
    21

    Default

    Thumbs up dude.

    0 Not allowed! Not allowed!

  3. #3
    Graphic Artist
    God Of Death
    Shinigami's Avatar
    Join Date
    Mar 2011
    Location
    Chicago
    Posts
    1,363
    Points
    2,812
         User Info     Contact     Gamer ID
    Join Date
    Mar 2011
    Location
    Chicago
    Posts
    1,363
    Points
    2,812

    Default

    Can you do a toggle visions mod next?

    BTW I tried you toggle stige back when you first released it and it worked fine

    IDK why everyone doesnt get it to work

    0 Not allowed! Not allowed!



  4. #4
    Nooblet
    Join Date
    May 2011
    Posts
    31
    Points
    59
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    31
    Points
    59

    Default

    wont let me chose fast restart. :/

    0 Not allowed! Not allowed!

  5. #5
    Banned
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710

    Default

    updated with v2, a lot smoother with more features/toggeling abilities. All functions should work, you may need to edit the patch to add your own name however

    0 Not allowed! Not allowed!

  6. #6
    Wii Modder
    I AM BEAST
    JellyInjector's Avatar
    Join Date
    Apr 2011
    Posts
    598
    Points
    1,088
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Posts
    598
    Points
    1,088

    Default

    hey dude nice job...

    ---------- Post added at 05:34 PM ---------- Previous post was at 05:30 PM ----------

    Quote Originally Posted by Shinigami View Post
    Can you do a toggle visions mod next?

    BTW I tried you toggle stige back when you first released it and it worked fine

    IDK why everyone doesnt get it to work
    hey maybe ill make a visions mod, ill make one for fxlegacy and then when i get my own mod menu up and running ill put it on that...

    0 Not allowed! Not allowed!

  7. #7
    Member
    Join Date
    May 2011
    Posts
    103
    Points
    257
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    103
    Points
    257

    Default

    Quote Originally Posted by youngwolf View Post
    wont let me chose fast restart. :/
    Can't fast restart. Says I'm not host lol. But I like the look of the menu.

    Edit: Think I see where to change that.

    0 Not allowed! Not allowed!
    Last edited by xrnx; 05-31-2011 at 12:55 PM.

  8. #8
    Member Fatman999's Avatar
    Join Date
    Apr 2011
    Posts
    336
    Points
    561
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Posts
    336
    Points
    561

    Default

    Quote Originally Posted by xrnx View Post
    Can't fast restart. Says I'm not host lol. But I like the look of the menu.
    Did you edit your name into the file ?

    0 Not allowed! Not allowed!

  9. #9
    Member
    Join Date
    May 2011
    Posts
    103
    Points
    257
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    103
    Points
    257

    Default

    Yeah just did. And for once I can say the prestige change worked just fine. Can't wait to see it when it's complete.

    0 Not allowed! Not allowed!

  10. #10
    Banned
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710

    Default

    Quote Originally Posted by xrnx View Post
    Yeah just did. And for once I can say the prestige change worked just fine. Can't wait to see it when it's complete.
    Better than trents. His is way to complicated/messy and not user friendly.

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 06:07 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.