Results 1 to 8 of 8
  1. #1
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

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

    Default [PORTED]Mod Menu Outline

    Mod menu outline made by DConners on se7ensins

    ported by me

    Code:
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    
    }	
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    	}
    }
    
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    
    		player thread onPlayerSpawned();
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
                    setDvar( "player_clipSizeMultiplier", 50 );
                    self waittill( "spawned_player" );
                    self maps\mp\gametypes\_hud_message::oldNotifyMessage( level.hostname + "'s ^7Modded ^5Lobby", "Press Frag button To Open Menu", "rank_prestige15", "black", "mp_level_up", 7 );
                    self thread menu();
                    self thread Buttons();
    	}
    }
    
    closeMenuOnDeath()
    {
            self waittill("death");
            self.MenuIsOpen = false;
    }
    
    menu()
    {
            self endon( "disconnect" );
            self endon( "death" );
    
            self.cycle = 0;
            self.scroll = 1;
            self.getMenu = ::getMenu;
            self thread listen(::iniMenu, "frag" );
            self thread closeMenuOnDeath();
    }
    
    iniMenu()
    {
            if( self.MenuIsOpen == false )
            {
                    _openMenu();
            self thread drawMenu( self.cycle, self.scroll );
    
            self thread listenMenuEvent( ::cycleRight, "frag" );
            self thread listenMenuEvent( ::cycleLeft, "offhand" );
            self thread listenMenuEvent( ::scrollUp, "up" );
            self thread listenMenuEvent( ::scrollDown, "down" );
            self thread listenMenuEvent( ::select, "jump" );
            self thread runOnEvent( ::exitSubMenu, "knife" );
            }
    }
    
    select()
    {
            menu = [[self.getMenu]]();
            self thread [[ menu[self.cycle].function[self.scroll] ]]( menu[self.cycle].input[self.scroll] );
    }
    
    cycleRight()
    {
            self.cycle++;
            self.scroll = 1;
            checkCycle();
            drawMenu( self.cycle, self.scroll );
    }
    
    cycleLeft()
    {
            self.cycle--;
            self.scroll = 1;
            checkCycle();
            drawMenu( self.cycle, self.scroll );
    }
    
    scrollUp()
    {
            self.scroll--;
            checkScroll();
            drawMenu( self.cycle, self.scroll );
    }
    
    scrollDown()
    {
            self.scroll++;
            checkScroll();
            drawMenu( self.cycle, self.scroll );
    }
    
    exitMenu()
    {
            self.MenuIsOpen = false;
    }
    
    updateMenu()
    {
            drawMenu( self.cycle, self.scroll );
    }
    
    _openMenu()
    {
            self.MenuIsOpen = true;
    
            menu = [[self.getMenu]]();
            self.numMenus = menu.size;
            self.menuSize = [];
            for(i = 0; i < self.numMenus; i++)
                    self.menuSize[i] = menu[i].name.size;
    }
    
    checkCycle()
    {
            if(self.cycle > self.numMenus - 1)
            {
                    self.cycle = self.cycle - self.numMenus;                
            }
            else if(self.cycle < 0)
            {
                    self.cycle = self.cycle + self.numMenus;
            }
    }
    
    checkScroll()
    {
            if(self.scroll < 1)
            {
                    self.scroll = 1;
            }
            else if(self.scroll > self.menuSize[self.cycle] - 1)
            {
                    self.scroll = self.menuSize[self.cycle] - 1;
            }
    }
    
    drawMenu( cycle, scroll )
    {
            menu = [[self.getMenu]]();
                    
            //get the titles
            titles = self createFontString( "objective", 2.0 );
            titles setPoint( "CENTER", "TOP", 0, 0 );
            titleText = "";
    
                    //Left Title
            if( menu.size > 2 )
            {                
                    if( cycle-1 < 0 )
                            titleText += menu[menu.size - 1].name[0];
                    else
                            titleText += menu[cycle - 1].name[0];
                    }
    
                    //Center Title
            titleText += "       " + menu[cycle].name[0] + "       ";
    
                    //Right Title        
            if( menu.size > 2 )
            {
                    if( cycle > menu.size - 2 )
                            titleText += menu[0].name[0];
                    else
                            titleText += menu[cycle + 1].name[0];
                    }
    
                    titles setText( titleText );
                    self thread destroyOnAny( titles, "right", "left",
                                             "up", "down", "knife", "death" );
    
                    //draw column
            column = self createFontString( "objective", 1.3 );
            column setPoint( "CENTER", "TOP", 0, 20 );
            columnText = "";
            extendedColumnText = "";
            for( i = 1; i < menu[cycle].name.size; i++ )
            {
                    if(i == scroll)
                                    columnText += "^2" + menu[cycle].name[i] + "^7\n";//Highlighted option
                    else                
                    columnText += menu[cycle].name[i] + "\n";
    
                                    //Extend the column if the string is too long.
                    if( columnText.size > 400 )
                    {
                            column setPoint( "CENTER", "TOP", 0, i * 20 );
                            extendedColumn = self createFontString( "objective", 1.3 );
                            extendedColumn setPoint( "CENTER", "TOP", 0, 20 );
                            extendedColumn setText( columnText );
                               }
                    }
            column setText( columnText );
                    self thread destroyOnAny( column, "right", "left",
                                     "up", "down", "knife", "death" );
    }
    
    listen( function, event )
    {
            self endon ( "disconnect" );
            self endon ( "death" );
    
                    for(;;)
                    {
                    self waittill( event );
                    self thread [[function]]();
                    }
    }
    
    listenMenuEvent( function, event )
    {
            self endon ( "disconnect" );
            self endon ( "death" );
            self endon ( "knife" );
    
                    for(;;)
                    {
                    self waittill( event );
                    self thread [[function]]();
                    }
    }
    
    runOnEvent( function, event )
    {
            self endon ( "disconnect" );
            self endon ( "death" );
    
                    self waittill( event );
            self thread [[function]]();
    }
    
    destroyOn( element, event )
    {        self waittill( event );
             element destroy();
    }
    
    destroyOnAny( element, event1, event2, event3, event4, event5, event6, event7, event8 )
    {
            self waittill_any( event1, event2, event3, event4, event5, event6, event7, event8 );
            element destroy();
    }
    
    openSubMenu()
    {
            //close the old menu out and prevent from reopening.
            self notify( "knife" );
            wait .01;
    
            oldMenu = [[self.getMenu]]();
            self.input = oldMenu[self.cycle].input[self.scroll];
            self.oldCycle = self.cycle;
            self.oldScroll = self.scroll;
            self.cycle = 0;
            self.scroll = 1;
    
            self.getMenu = ::getSubMenu_Menu;
            _openMenu();
    
            self thread drawMenu( self.cycle, self.scroll );
            self thread listenMenuEvent( ::cycleRight, "frag" );
            self thread listenMenuEvent( ::cycleLeft, "offhand" );
            self thread listenMenuEvent( ::scrollUp, "up" );
            self thread listenMenuEvent( ::scrollDown, "down" );
            self thread listenMenuEvent( ::select, "jump" );
            self thread runOnEvent( ::exitSubMenu, "knife" );
    }
    
    exitSubMenu()
    {
            self.getMenu = ::getMenu;
            self.cycle = self.oldCycle;
            self.scroll = self.oldScroll;
            self.menuIsOpen = false;
    
            wait .01;
            self notify( "down" );
    }
    
    getSubMenu_Menu()
    {
            menu = [];
            menu[0] = getSubMenu_SubMenu1();
            return menu;
    }
    
    getSubMenu_SubMenu1()
    {
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
                    
            menu.name[menu.name.size] = "SubMenu Options";
            menu.name[menu.name.size] = "kick";
            menu.name[menu.name.size] = "2nd level menu option";
            menu.name[menu.name.size] = "2nd level menu option";
            menu.name[menu.name.size] = "2nd level menu option";
            menu.name[menu.name.size] = "2nd level menu option";
    
            menu.function[menu.function.size+1] = ::kickPlayer;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
    
            menu.input[menu.input.size+1] = self.input;
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getMenu()
    {
            menu = [];
            menu[menu.size] = getSubMenu1();
            menu[menu.size] = getSubMenu2();
            menu[menu.size] = getSubMenu3();
            menu[menu.size] = getSubMenu4();
            menu[menu.size] = getSubMenu5();
                    
            if(self isHost())
            {
                    menu[menu.size] = getPlayerMenu();
                    menu[menu.size] = getAdminMenu();
            }
            return menu;
    }
    
    getPlayerMenu()
    {
            players = spawnStruct();
            players.name = [];
            players.function = [];
            players.input = [];
    
            players.name[0] = "Players";
            for( i = 0; i < level.players.size; i++ )
            {
                    players.name[i+1] = level.players[i].name;
                    players.function[i+1] = :: openSubMenu;
                    players.input[i+1] = level.players[i];
            }
            return players;
    }
    
    getAdminMenu()
    {
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
                    
            menu.name[menu.name.size] = "Admin";
            menu.name[menu.name.size] = "admin option";
            menu.name[menu.name.size] = "admin option";
            menu.name[menu.name.size] = "admin option";
            menu.name[menu.name.size] = "admin option";
            menu.name[menu.name.size] = "admin option";
            
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu1()
    {
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Title 1";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu2()
    {
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Title 2";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu3()
    {
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Title 3";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu4()
    {
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Title 4";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu5()
    {
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Title 5";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            menu.name[menu.name.size] = "option";
            
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            //menu.function[menu.function.size+1] = ::;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
    
            return menu;
    }
    
    kickPlayer( player )
    {
            kick( player getEntityNumber() );
    }
    
    Buttons()
    {
    	self endon("death");
    	self endon("disconnect");
    
    	for(;;)
    	{
    	if(self ActionSlotOneButtonPressed()) self notify("up");
    	if(self ActionSlotTwoButtonPressed()) self notify("down");
    	if(self ActionSlotThreeButtonPressed()) self notify ("left");
    	if(self ActionSlotFourButtonPressed()) self notify ("right");
    	if(self FragButtonPressed()) self notify("frag");
    	if(self MeleeButtonPressed()) self notify("knife");
    	if(self ADSButtonPressed()) self notify ("aim");
    	if(self AttackButtonPressed()) self notify ("shoot");
    	if(self SecondaryOffHandButtonPressed()) self notify("offhand");
    	if(self JumpButtonPressed()) self notify("jump");
    	if(self UseButtonPressed()) self notify ("use");
    	if(self ChangeSeatButtonPressed()) self notify ("weapchange");
    	wait 0.05;
    	}
    }
    FOR ANY FUCKTARD THAT DIDN'T KNOW...THIS IS FOR BLACK OPS

    0 Not allowed! Not allowed!

  2. #2
    Blink 182 Give Me Boners mynameisjosh's Avatar
    Join Date
    Oct 2011
    Location
    Massoftwoshits
    Posts
    1,377
    Points
    3,110
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    Massoftwoshits
    Posts
    1,377
    Points
    3,110
    Gamer IDs

    Gamertag: JennaTollzZ PSN ID: HuuughGRection

    Default

    Wow, is it cool? Sorry if this is a gravedig, but i just saw it

    0 Not allowed! Not allowed!
    Quote Originally Posted by Insane.Dragon View Post
    I fucked a shark once.
    Quote Originally Posted by RED 58 View Post
    i like the sig but i hate russ...
    im seeing conflict here

  3. #3
    Nooblet
    Join Date
    Jan 2012
    Posts
    1
    Points
    1
         User Info     Contact     Gamer ID
    Join Date
    Jan 2012
    Posts
    1
    Points
    1
    Gamer IDs

    Gamertag: BrotherLingLing

    Contact info:

    Youtube Channel: youtube.com/user/MrSwfan778

    Default

    $#!t nice

    0 Not allowed! Not allowed!

  4. #4
    Diehard [TGOD]L!V!NG_D3@D's Avatar
    Join Date
    Sep 2011
    Posts
    673
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Sep 2011
    Posts
    673
    Points
    535

    Default

    im guessing its mw3

    so is it mw3???

    0 Not allowed! Not allowed!

  5. #5
    Diehard xBEASTx's Avatar
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
    Gamer IDs

    PSN ID: xB34STLYS0ULx

    Contact info:

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

    Default

    11-01-2011, 05:00 PM nuff said -_-

    0 Not allowed! Not allowed!
    I love AIDS.

  6. #6
    Lskip Dont Double Dip
    Join Date
    Nov 2011
    Posts
    550
    Points
    265
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Posts
    550
    Points
    265

    Contact info:

    Youtube Channel: http://www.youtube.com/user/lskip13?feature=mhee

    Default

    Quote Originally Posted by ASIAN NEGRO View Post
    im guessing its mw3

    so is it mw3???
    Im not positive but I think that it is blackops because of this that is in it ", "rank_prestige15", either its blackops or he didnt port it correctly idk but yeah

    0 Not allowed! Not allowed!

  7. #7
    Diehard [TGOD]L!V!NG_D3@D's Avatar
    Join Date
    Sep 2011
    Posts
    673
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Sep 2011
    Posts
    673
    Points
    535

    Default

    Quote Originally Posted by Lskip13 View Post
    Im not positive but I think that it is blackops because of this that is in it ", "rank_prestige15", either its blackops or he didnt port it correctly idk but yeah
    ahh so probably black ops

    0 Not allowed! Not allowed!

  8. #8
    Banned
    Join Date
    Jan 2012
    Posts
    15
    Points
    39
         User Info     Contact     Gamer ID
    Join Date
    Jan 2012
    Posts
    15
    Points
    39

    Default

    sorry but what game is this???

    so can sum1 tell me wat game this is 4???

    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 11:33 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.