Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Zonked CoolGuyJones's Avatar
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
    Gamer IDs

    Gamertag: thatonedude19 PSN ID: CoolGuyJones420 Wii Code: Cannibal666

    Contact info:

    Kik Username: CannibalKush

    Default [SC7E52] C666's SSB v.2 (Mod Update)

    I released a menu yesterday, and here is the update i made of it.

    New:
    Scrolling text
    Sub menu text
    Dvar Editor
    Stat Editor
    Simple menu open animation
    Credit text on connected
    and a little more...

    Video:
    http://www.youtube.com/watch?v=QVSTZXetGgA

    Code:
    #include common_scripts\utility;
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    //Cannibal666's Super Simple Base (C666's SSB) v.2
    //Menu orginaly released at:
    //www.CodeLeakers.com
    
    init()
    {
    	thread onPlayerConnect();
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill("connecting", player);
    
    		player thread onPlayerConnected();
    		wait 1;
    	}
    }
    
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    
    		player thread onPlayerSpawned();
    		player thread doRestart();
    		player CreditText( "C666's SSB v.2", "Created By", "Cannibal666" );
    		wait 1;
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill("spawned_player");
    
    		self thread SimpleMenu();
    		setDvar( "bg_fallDamageMinHeight", 9999 ); 
    		setDvar( "bg_fallDamageMaxHeight", 9999 );
    		setDvar( "dtp_fall_damage_max_height", 999 ); 
    		setDvar( "dtp_fall_damage_min_height", 999 );
    		wait 1;
    	}
    }
    
    CreditText( Line1, Line2, Line3 )
    {
    	//line 1
    	self.Credit[0] = self createFontString( "objective", 2 );
    	self.Credit[0] createTextDisplay( "center", "center", -600, 0, 1, 10 );
    	self.Credit[0].color = ( 0, 0, 0 );
    	self.Credit[0].hideWhenInMenu = true;
    	self.Credit[0] setText( Line1 );
    	self thread DeathDelete(self.Credit[0]);
    	//line 2
    	self.Credit[1] = self createFontString( "objective", 2 );
    	self.Credit[1] createTextDisplay( "center", "center", -600, 25, 1, 10 );
    	self.Credit[1].color = ( 0, 0, 0 );
    	self.Credit[1].hideWhenInMenu = true;
    	self.Credit[1] setText( Line2 );
    	self thread DeathDelete(self.Credit[1]);
    	//line 3
    	self.Credit[2] = self createFontString( "objective", 2 );
    	self.Credit[2] createTextDisplay( "center", "center", -600, 50, 1, 10 );
    	self.Credit[2].color = ( 0, 0, 0 );
    	self.Credit[2].hideWhenInMenu = true;
    	self.Credit[2] setText( Line3 );
    	self thread DeathDelete(self.Credit[2]);
    	for(;;)
    	{
    		self.Credit[0] Move( 1, 0, 100 );
    		self.Credit[0] ChangeColor( 2, ( 1, .5, 0 ) );
    		wait 3.2;
    		self.Credit[1] Move( 1, 25, 125 );
    		self.Credit[1] ChangeColor( 2, ( 1, .5, 0 ) );
    		self.Credit[0] FadeThis( 1.5, 0 );
    		wait 3.5;
    		self.Credit[2] Move( 1, 50, 150 );
    		self.Credit[2] ChangeColor( 2, ( 1, .5, 0 ) );
    		self.Credit[1] FadeThis( 1.5, 0 );
    		wait 3.5;
    		self.Credit[2] FadeThis( 1.5, 0 );
    		wait 1.6;
    		self.Credit[0] destroy();//end of 0
    		self.Credit[1] destroy();//end of 1
    		self.Credit[2] destroy();//end of 2
    	}	
    }
    
    Move( timeOnMove, x, y )
    {
    	self moveOverTime( timeOnMove );
    	self.x = x;
    	self.y = y;
    }
    
    ChangeColor(time, color)
    {
    	self FadeOverTime(time);
    	self.color = color;
    }
    
    createTextDisplay( alignX, alignY, xOffset, yOffset, alpha, sort )
    {
    	self.x = xOffset;
    	self.y = yOffset;
    	self.alignX = alignX;
    	self.alignY = alignY;
    	self.horzAlign = alignX;
    	self.vertAlign = alignY;
    	self.alpha = alpha;
    	self.sort = sort;
    }
    
    FadeThis( time, alpha )
    {
    	self fadeOverTime( time );
    	self.alpha = alpha;
    }
    
    SimpleMenu()
    {
    	self endon("death");
    	self endon("disconnect");
    	self.Menu["Status"] = 0;
    	self.StatMenu = 0;
    	self.DvarMenu = 0;
    	self._MenuShader = newClientHudElem( self );
    	self._MenuShader GenElement( (0, 0, 0), true, "center", "top", 30, 0, 0.7, 1 );
    	self._MenuShader setShader( "white", 300, 20 );
    	self thread DeathDelete(self._MenuShader);
    	wait 0.2;
    	self._MenuTitle = self createFontString( "objective", 1.5 );
    	self._MenuTitle GenElement( ( 1, 0.5, 0 ), true, "center", "top", 30, 0, 1, 2 );
    	self thread DeathDelete(self._MenuTitle);
    	self._MenuTitle setText("Crouch then [{+melee}] For Menu");
    	for(;;)
    	{
    		if(self getStance() == "crouch" && self meleeButtonPressed() && self.Menu["Status"] == 0)
    		{
    			self._MenuTitle setText(" ");
    			self._MenuShader elemMoveY(.3,1000);
    			self._MenuShader elemMoveX(.3,30);
    			self._MenuShader _scaleOverTime(.3,1000,1000);
    			self._MenuShader elemMoveY(.3,0);
    			self._MenuShader elemMoveX(.3,30);
    			self._MenuShader _scaleOverTime(.3,300,100);
    			wait 0.2;
    			self._MenuTitle setText("Main Menu");
    			self._MenuText = self createFontString( "objective", 1.5 );
    			self._MenuText GenElement( ( 1, 1, 1 ), true, "center", "top", 30, 23, 1, 2 );
    			self thread DeathDelete(self._MenuText);
    			wait 0.2;
    			self._MenuText2 = self createFontString( "objective", 1.5 );
    			self._MenuText2 GenElement( ( 1, 1, 1 ), true, "center", "top", 30, 46, 1, 2 );
    			self thread DeathDelete(self._MenuText2);
    			self._MenuInfo = self createFontString( "objective", 1.5 );
    			self._MenuInfo GenElement( ( 1, 0.5, 0 ), true, "center", "top", 30, 69, 1, 2 );
    			self thread DeathDelete(self._MenuInfo);
    			wait 0.2;
    			self._MenuScrollBar = newClientHudElem( self );
    			self._MenuScrollBar GenElement( (0, 0, 0), true, "center", "top", 30, 100, 0.7, 1 );
    			self._MenuScrollBar setShader( "white", 1000, 20 );
    			self thread DeathDelete(self._MenuScrollBar);
    			wait 0.2;
    			self._MenuScrollText = self createFontString( "objective", 1.5 );
    			self._MenuScrollText GenElement( ( 1, 0.5, 0 ), true, "center", "top", 1000, 100, 1, 2 );
    			self thread DeathDelete(self._MenuScrollText);
    			self._MenuScrollText setText("[Mod menu created by Cannibal666] <> [Visit www.CodeLeakers.com for updates and more mods/codes] <> [Cannibal666's Super Simple Base v.2]");
    			self thread MovingText();
    			self thread MenuOptions();
    			self.Scroll = 0;
    			self.Menu["Status"] = 1;
    			self._MenuText2 setText("Sub Menu Text");
    			if(self.MainMenu == 1)
    			{
    				self._MenuText2.alpha = .5;
    				self._MenuText.alpha = 1;
    				self._MenuText setText(self.Menu["Option"][self.Scroll]);
    			}
    			else if(self.MainMenu == 0)
    			{
    				self._MenuText.alpha = .5;
    				self._MenuText2.alpha = 1;
    				self._MenuText2 setText(self.Menu["Option"][self.Scroll]);
    			}
    			self._MenuInfo setText(self.Menu["Info"][self.Scroll]);
    			wait .2;
    		}
    		if(self AdsButtonPressed() || self AttackButtonPressed() && self.Menu["Status"] == 1)
    		{
    			self.Scroll -= self AdsButtonPressed();
    			self.Scroll += self AttackButtonPressed();
    			if(self.Scroll > self.Menu["Option"].size-1) self.Scroll = 0;
    			else if(self.Scroll < 0) self.Scroll = self.Menu["Option"].size-1;
    			if(self.MainMenu == 1)
    			{
    				self._MenuText2.alpha = .5;
    				self._MenuText.alpha = 1;
    				self._MenuText setText(self.Menu["Option"][self.Scroll]);
    			}
    			else if(self.MainMenu == 0)
    			{
    				self._MenuText.alpha = .5;
    				self._MenuText2.alpha = 1;
    				self._MenuText2 setText(self.Menu["Option"][self.Scroll]);
    			}
    			self._MenuInfo setText(self.Menu["Info"][self.Scroll]);
    			wait .2;
    		}
    		if(self UseButtonPressed() && self.Menu["Status"] == 1)
    		{
    			self thread [[self.Menu["Function"][self.Scroll]]](self.Menu["Input"][self.Scroll]);
    			if(self.MainMenu == 1)
    			{
    				self._MenuText2.alpha = .5;
    				self._MenuText.alpha = 1;
    				self._MenuText setText(self.Menu["Option"][self.Scroll]);
    			}
    			else if(self.MainMenu == 0)
    			{
    				self._MenuText.alpha = .5;
    				self._MenuText2.alpha = 1;
    				self._MenuText2 setText(self.Menu["Option"][self.Scroll]);
    			}
    			self._MenuInfo setText(self.Menu["Info"][self.Scroll]);
    			wait .2;
    		}
    		if(self getStance() != "crouch" && self MeleeButtonPressed() && self.Menu["Status"] == 1)
    		{
    			self thread CloseMenu();
    		}
    		if(self.StatMenu == 1 && self.Menu["Status"] == 1)
    		{
    			self thread CloseMenu();
    		}
    		if(self.DvarMenu == 1 && self.Menu["Status"] == 1)
    		{
    			self thread CloseMenu();
    		}
    		wait .001;
    	}
    }
    
    MovingText()
    {
    	self endon("StopText");
    	for(;;)
    	{
    		self._MenuScrollText Move( 20, -1000, 100 );
    		wait 20;
    		self._MenuScrollText.x = 1000;
    	}
    }
    
    CloseMenu()
    {
    	if(self.MainMenu == 1)
    	{
    		self._MenuShader _scaleOverTime(.2,300,20);
    		self._MenuTitle setText("Crouch then [{+melee}] For Menu");
    		self._MenuText delete();
    		self._MenuText destroy();
    		self._MenuText2 delete();
    		wait 0.2;
    		self._MenuText2 destroy();
    		self._MenuInfo delete();
    		self._MenuInfo destroy();
    		wait 0.2;
    		self._MenuScrollBar delete();
    		self._MenuScrollBar destroy();
    		self._MenuScrollText delete();
    		self._MenuScrollText destroy();
    		wait 0.2;
    		self.Menu["Status"] = 0;
    		self notify("StopText");
    	}
    	else if(self.MainMenu == 0)
    	{
    		self thread MenuOptions();
    		if(self.MainMenu == 1)
    		{
    			self._MenuText2.alpha = .5;
    			self._MenuText.alpha = 1;
    			self._MenuText setText(self.Menu["Option"][self.Scroll]);
    		}
    		else if(self.MainMenu == 0)
    		{
    			self._MenuText.alpha = .5;
    			self._MenuText2.alpha = 1;
    			self._MenuText2 setText(self.Menu["Option"][self.Scroll]);
    		}
    		self._MenuInfo setText(self.Menu["Info"][self.Scroll]);
    	}
    }
    
    elemMoveY(time,input)
    {
        self moveOverTime(time);
        self.Y = input;
        wait time;
    }
    
    elemMoveX(time,input)
    {
        self moveOverTime(time);
        self.X = input;
        wait time;
    }
    
    _scaleOverTime(time,width,height)
    {
        self scaleOverTime(time,width,height);
        wait time;
    }
    
    GenElement( color, hideWhenInMenu, alignX, alignY, xOffset, yOffset, alpha, sort )
    {
            self.color = color;
    	self.hideWhenInMenu = hideWhenInMenu;
    	self.x = xOffset;
    	self.y = yOffset;
    	self.alignX = alignX;
    	self.alignY = alignY;
    	self.horzAlign = alignX;
    	self.vertAlign = alignY;
    	self.alpha = alpha;
    	self.sort = sort;
    }
    
    DeathDelete(entity)
    {
    	self waittill("death");
    	entity delete();
    	entity destroy();
    }
    
    addOption(Number, Text, Function, Info, Input)
    {
    	self.Menu["Option"][Number] = Text;
    	self.Menu["Function"][Number] = Function;
    	self.Menu["Info"][Number] = Info;
    	if(IsDefined(Input)) self.Menu["Input"][Number] = Input;
    }
    
    MenuOptions()
    {
    	self.MainMenu = 1;
    	self._MenuTitle setText("Main Menu");
    	addOption(0, "Stat Editor Menu", ::MenuOptions2, "Edit specific stats");
    	addOption(1, "Dvar Editor Menu", ::MenuOptions3, "Edit specific dvars");
    	addOption(2, "Sub Menu 3", ::MenuOptions4, "Simple");
    	addOption(3, "Sub Menu 4", ::MenuOptions5, "Base");
    	addOption(4, "Sub Menu 5", ::MenuOptions6, "v.1");
    	addOption(5, "Sub Menu 6", ::MenuOptions7, "Cannibal666's");
    	addOption(6, "Sub Menu 7", ::MenuOptions8, "Super");
    	addOption(7, "Sub Menu 8", ::MenuOptions9, "Simple");
    	addOption(8, "Sub Menu 9", ::MenuOptions10, "Base");
    	addOption(9, "Player Menu", ::MenuOptions12, "Host Only"); //replace MenuOptions12 with 11 for normal sub menu
    }
    
    MenuOptions2()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Stat Editor Menu");
    	addOption(0, "Cod Points", ::StatMenu, "Edit the amount of cod points you have", "codpoints");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions3()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Dvar Editor Menu");
    	addOption(0, "Jump Height", ::DvarMenu, "Edit how high you can jump", "jump_height");
    	addOption(1, "Gravity", ::DvarMenu, "Edit the strength of the gravity", "bg_gravity");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions4()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 3");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions5()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 4");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions6()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 5");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions7()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 6");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions8()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 7");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions9()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 8");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions10()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 9");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions11()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Sub Menu 10");
    	addOption(0, "Sub Option 1", ::Test, "Cannibal666's");
    	addOption(1, "Sub Option 2", ::Test, "Super");
    	addOption(2, "Sub Option 3", ::Test, "Simple");
    	addOption(3, "Sub Option 4", ::Test, "Base");
    	addOption(4, "Sub Option 5", ::Test, "v.1");
    	addOption(5, "Sub Option 6", ::Test, "Cannibal666's");
    	addOption(6, "Sub Option 7", ::Test, "Super");
    	addOption(7, "Sub Option 8", ::Test, "Simple");
    	addOption(8, "Sub Option 9", ::Test, "Base");
    	addOption(9, "Sub Option 10", ::Test, "v.1");
    }
    
    MenuOptions12()
    {
    	self.MainMenu = 0;
    	self._MenuTitle setText("Player Menu ");
    	addOption(0, "^1Kick: ^7" + level.players[1].name, ::kick, "" + level.players[1] GetXUID(), "player");
    	addOption(1, "^1Kick: ^7" + level.players[2].name, ::kick, "" + level.players[2] GetXUID(), "player");
    	addOption(2, "^1Kick: ^7" + level.players[3].name, ::kick, "" + level.players[3] GetXUID(), "player");
    	addOption(3, "^1Kick: ^7" + level.players[4].name, ::kick, "" + level.players[4] GetXUID(), "player");
    	addOption(4, "^1Kick: ^7" + level.players[5].name, ::kick, "" + level.players[5] GetXUID(), "player");
    	addOption(5, "^1Kick: ^7" + level.players[6].name, ::kick, "" + level.players[6] GetXUID(), "player");
    	addOption(6, "^1Kick: ^7" + level.players[7].name, ::kick, "" + level.players[7] GetXUID(), "player");
    	addOption(7, "^1Kick: ^7" + level.players[8].name, ::kick, "" + level.players[8] GetXUID(), "player");
    	addOption(8, "^1Kick: ^7" + level.players[9].name, ::kick, "" + level.players[9] GetXUID(), "player");
    	addOption(9, "^1Kick: ^7" + level.players[10].name, ::kick, "" + level.players[10] GetXUID(), "player");
    }
    
    Test()
    {
    	self iPrintln("Running Operation...");
    }
    
    kick( player )
    {
    	kick( player getEntityNumber() );
    }
    
    doRestart()
    {
    	for(;;)
    	{
    		if(self getStance() == "prone" && self meleeButtonPressed() && self FragButtonPressed())
    		{
    			level notify( "map_restarting" );
    			self notify( "map_restarting" );
    			map_restart( true );
    		}
    		wait 1;
    	}
    }
    
    StatMenu( stat )
    {
    	self endon("death");
    	self endon("disconnect");
    	self endon("closed");
    	self.StatMenu = 1;
    	self.StatSet = 0;
    	wait 0.2;
    	self._StatShader = newClientHudElem( self );
    	self._StatShader GenElement( (0, 0, 0), true, "center", "top", 10, 146, 0.7, 1 );
    	self._StatShader setShader( "white", 1000, 80 );
    	self thread DeathDelete(self._StatShader);
    	self._StatChosen = self createFontString( "objective", 1.5 );
    	self._StatChosen GenElement( ( 1, 0.5, 0 ), true, "center", "top", 10, 146, 1, 2 );
    	self thread DeathDelete(self._StatChosen);
    	wait 0.2;
    	self._StatChosen setText( stat );
    	self._StatValue = self createFontString( "objective", 1.5 );
    	self._StatValue GenElement( ( 1, 1, 1 ), true, "center", "top", 10, 169, 1, 2 );
    	self thread DeathDelete(self._StatValue);
    	self._StatValue setText(self.StatSet);
    	wait 0.2;
    	self._StatInfo = self createFontString( "objective", 1.2 );
    	self._StatInfo GenElement( ( 1, 0.5, 0 ), true, "center", "top", 10, 192, 1, 2 );
    	self thread DeathDelete(self._StatInfo);
    	self._StatInfo setText("Melee:Close ADS:-100 Shoot:+100 Smoke:-10000 Frag:+10000 Use:Set Stat \n Stat Editor Made By Cannibal666");
    	wait 3;
    	for(;;)
    	{
    		if(self AdsButtonPressed() && self.StatMenu == 1)
    		{
    			self.StatSet -= 100;
    			self._StatValue setText(self.StatSet);
    			wait .2;
    		}
    		if(self AttackButtonPressed() && self.StatMenu == 1)
    		{
    			self.StatSet += 100;
    			self._StatValue setText(self.StatSet);
    			wait .2;
    		}
    		if(self secondaryOffHandButtonPressed() && self.StatMenu == 1)
    		{
    			self.StatSet -= 10000;
    			self._StatValue setText(self.StatSet);
    			wait .2;
    		}
    		if(self FragButtonPressed() && self.StatMenu == 1)
    		{
    			self.StatSet += 10000;
    			self._StatValue setText(self.StatSet);
    			wait .2;
    		}
    		if(self UseButtonPressed() && self.StatMenu == 1)
    		{
    			self._StatShader destroy();
    			self._StatShader delete();
    			self._StatChosen destroy();
    			self._StatChosen delete();
    			self._StatValue destroy();
    			self._StatValue delete();
    			self._StatInfo destroy();
    			self._StatInfo delete();
    			self setClientdvar( "activeaction", "vstr statt" );
    			self setClientdvar( "statt", "statwriteddl playerstatslist " + stat + " " + int( self.StatSet ) + ";vstr us" );
    			self setClientdvar( "us", "updategamerprofile;uploadstats" );
    			self iPrintlnBold( stat + " Set to: " + self.StatSet );
    			self.StatMenu = 0;
    			self notify("closed");
    			wait .2;
    		}
    		if(self MeleeButtonPressed() && self.StatMenu == 1)
    		{
    			self._StatShader destroy();
    			self._StatShader delete();
    			self._StatChosen destroy();
    			self._StatChosen delete();
    			self._StatValue destroy();
    			self._StatValue delete();
    			self._StatInfo destroy();
    			self._StatInfo delete();
    			self.StatMenu = 0;
    			self notify("closed");
    			wait .2;
    		}
    		wait .001;
    	}
    }
    
    DvarMenu( dvar )
    {
    	self endon("death");
    	self endon("disconnect");
    	self endon("closed");
    	self.DvarMenu = 1;
    	self.DvarSet = 0;
    	wait 0.2;
    	self._DvarShader = newClientHudElem( self );
    	self._DvarShader GenElement( (0, 0, 0), true, "center", "top", 10, 146, 0.7, 1 );
    	self._DvarShader setShader( "white", 1000, 80 );
    	self thread DeathDelete(self._DvarShader);
    	self._DvarChosen = self createFontString( "objective", 1.5 );
    	self._DvarChosen GenElement( ( 1, 0.5, 0 ), true, "center", "top", 10, 146, 1, 2 );
    	self thread DeathDelete(self._DvarChosen);
    	self._DvarChosen setText( dvar );
    	wait 0.2;
    	self._DvarValue = self createFontString( "objective", 1.5 );
    	self._DvarValue GenElement( ( 1, 1, 1 ), true, "center", "top", 10, 169, 1, 2 );
    	self thread DeathDelete(self._DvarValue);
    	self._DvarValue setText(self.DvarSet);
    	wait 0.2;
    	self._DvarInfo = self createFontString( "objective", 1.2 );
    	self._DvarInfo GenElement( ( 1, 0.5, 0 ), true, "center", "top", 10, 192, 1, 2 );
    	self thread DeathDelete(self._DvarInfo);
    	self._DvarInfo setText("Melee:Close ADS:-10 Shoot:+10 Smoke:-1000 Frag:+1000 Use:Set Stat \n Stat Editor Made By Cannibal666");
    	wait 3;
    	for(;;)
    	{
    		if(self AdsButtonPressed() && self.DvarMenu == 1)
    		{
    			self.DvarSet -= 10;
    			self._DvarValue setText(self.DvarSet);
    			wait .2;
    		}
    		if(self AttackButtonPressed() && self.DvarMenu == 1)
    		{
    			self.DvarSet += 10;
    			self._DvarValue setText(self.DvarSet);
    			wait .2;
    		}
    		if(self secondaryOffHandButtonPressed() && self.DvarMenu == 1)
    		{
    			self.DvarSet -= 1000;
    			self._DvarValue setText(self.DvarSet);
    			wait .2;
    		}
    		if(self FragButtonPressed() && self.DvarMenu == 1)
    		{
    			self.DvarSet += 1000;
    			self._DvarValue setText(self.DvarSet);
    			wait .2;
    		}
    		if(self UseButtonPressed() && self.DvarMenu == 1)
    		{
    			self._DvarShader destroy();
    			self._DvarShader delete();
    			self._DvarChosen destroy();
    			self._DvarChosen delete();
    			self._DvarValue destroy();
    			self._DvarValue delete();
    			self._DvarInfo destroy();
    			self._DvarInfo delete();
    			self setClientdvar( "" + dvar, "" + self.DvarSet );
    			self iPrintlnBold( dvar + " Set to: " + self.DvarSet );
    			self.DvarMenu = 0;
    			self notify("closed");
    			wait .2;
    		}
    		if(self MeleeButtonPressed() && self.DvarMenu == 1)
    		{
    			self._DvarShader destroy();
    			self._DvarShader delete();
    			self._DvarChosen destroy();
    			self._DvarChosen delete();
    			self._DvarValue destroy();
    			self._DvarValue delete();
    			self._DvarInfo destroy();
    			self._DvarInfo delete();
    			self.DvarMenu = 0;
    			self notify("closed");
    			wait .2;
    		}
    		wait .001;
    	}
    }
    Enjoy, and please give feed back. i want suggestions and what not. tell me what you want and ill make it happen.

    5 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  2. #2
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default

    Cool

    0 Not allowed! Not allowed!

  3. #3
    http://xat.com/cleaker
    Dv0id's Avatar
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
    Gamer IDs

    Wii Code: 3213-373-1827

    Default

    The text bar, Make it shorter the width of the box shader?
    Other than that I like it KIU

    0 Not allowed! Not allowed!

  4. #4
    Zonked CoolGuyJones's Avatar
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
    Gamer IDs

    Gamertag: thatonedude19 PSN ID: CoolGuyJones420 Wii Code: Cannibal666

    Contact info:

    Kik Username: CannibalKush

    Default

    Quote Originally Posted by SewerToast View Post
    The text bar, Make it shorter the width of the box shader?
    Other than that I like it KIU
    Make the shaders the same size? I don't know how to make the text end as the shader does so it would look weird having the text run off the shader.

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  5. #5
    http://xat.com/cleaker
    Dv0id's Avatar
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Taking a shit... On my toilet
    Posts
    1,312
    Points
    1,275
    Gamer IDs

    Wii Code: 3213-373-1827

    Default

    Yea, I meant so the text ends at that point to. I can look into that if you want?

    0 Not allowed! Not allowed!

  6. #6
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Looks very nice. Organized and well.


    KIU!

    0 Not allowed! Not allowed!
    #gamedevelopment


  7. #7
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default

    Quote Originally Posted by link View Post
    Looks very nice. Organized and well.


    KIU!
    I really need to change. I love it when people say things like this to me

    -1 Not allowed! Not allowed!

  8. #8
    Zonked CoolGuyJones's Avatar
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
    Gamer IDs

    Gamertag: thatonedude19 PSN ID: CoolGuyJones420 Wii Code: Cannibal666

    Contact info:

    Kik Username: CannibalKush

    Default

    Quote Originally Posted by SewerToast View Post
    Yea, I meant so the text ends at that point to. I can look into that if you want?
    Yea that would be nice, thanks.

    @Slink, thanks bro.

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  9. #9
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    After a quick glance, I'm just going to say it's a heavy edit. Someone else feel free to verify whether or not it is.

    0 Not allowed! Not allowed!

  10. #10
    Zonked CoolGuyJones's Avatar
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
    Gamer IDs

    Gamertag: thatonedude19 PSN ID: CoolGuyJones420 Wii Code: Cannibal666

    Contact info:

    Kik Username: CannibalKush

    Default

    Quote Originally Posted by Kazzababe View Post
    After a quick glance, I'm just going to say it's a heavy edit. Someone else feel free to verify whether or not it is.
    Its not, but ok. Fell free to go ever it as much as you wish.

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

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 01:16 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.