Results 1 to 10 of 10
  1. #1
    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 [SC7E52]New Menu Base (ELEMENTAL)

    That's what this menu is called. Elements menu. I take No credit for this but since this is not a port, it should be posted here. Originally made for black ops 360.

    Creatoro Not Remember(sorry)
    Controls:
    *hold reload to go into menu
    *Aim at a option and let loose of the re-load button To pick it.

    menu:
    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 );
    		player thread onPlayerSpawned();
    	}
    }
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    	}
    }
    onPlayerSpawned()
    {
        self endon("disconnect");
        self.menuAbuse = 0;
        self.menuAbuseTime = 0;
        self.menuSadist = 0;
        for(;;)
        {
            self waittill("spawned_player");
            //The default HUD code was removed for this example
            self thread createHUD();
            self thread detectRadialMenu();
        }
    }
    
    detectRadialMenu()
    {
        self endon("death");
        self endon("disconnect");
        while(1) {
            if(!self.inRoundFreeze) {
                if(self UseButtonPressed() && isAlive(self) && !self.justSpawned && !self.ignoreF) {
                    if(!self.textVisible){
                        for(i = 0; i < self.text.size; i++) {
                            self.text[i] showElem();
                        }
                        self.textVisible = true;
                        self.currentAngles = self getPlayerAngles();
                    }
                    self thread scanRadialPos();
                } else if(isAlive(self) && !self.justSpawned && !self.ignoreF) {
                    if(self.textVisible){
                        for(i = 0; i < self.text.size; i++) {
                            self.text[i] hideElem();
                        }
                        self doSelectionChoice(self.selection);
                        self processMenuChallenge(0, "menu_challenge_quick", self.menuAbuseTime);
                        self processMenuChallenge(1, "menu_challenge_abuse", self.menuAbuse);
                        self processMenuChallenge(2, "menu_challenge_sadist", self.menuSadist);
                        self.menuAbuseTime = 0;
                        self SetMoveSpeedScale(1);
                        self allowJump(true);
                        self.textVisible = false;
                    }
                    self.menuAbuseTime += 0.01;
                }
            }
            wait 0.01;
        }
    }
    
    processMenuChallenge(challengeID, challenge, challengeValue)
    {
        if(challenge == "menu_challenge_quick") {
            if(challengeValue < 0.1 && !self.pers["menu"]["challenge"][challengeID]) {
                self popupChallenge("Speed Freak", "^1I think you need to calm down a little....");
                self.pers["menu"]["challenge"][challengeID] = true;
            }
        }
        
        if(challenge == "menu_challenge_abuse" && !self.pers["menu"]["challenge"][challengeID] ) {
            if(challengeValue >= 50) {
                self popupChallenge("Mr Menu Abuse", "^1Now, get a life!");
                self.pers["menu"]["challenge"][challengeID] = true;
            }
        }
        
        if(challenge == "menu_challenge_sadist" && !self.pers["menu"]["challenge"][challengeID] ) {
            if(challengeValue >= 10) {
                self popupChallenge("Are you a Sadist or Emo?", "^1Stop analing yourself now!");
                self.pers["menu"]["challenge"][challengeID] = true;
            }
        }
        
    }
    
    popupChallenge(firstText, secondText)
    {
        notifyData = spawnStruct();
        notifyData.titleText = &"MP_CHALLENGE_COMPLETED";
        notifyData.sound = "mus_challenge_complete";
        notifyData.notifyText = firstText;
        notifyData.notifyText2 = secondText;
        self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    }
    
    doSelectionChoice(selectionInt)
    {
            switch(selectionInt) {
                case 0:
                    self thread _SMS();
                    self.menuSadist++;
                break;
                case 1:
                    closest_ally = self maps\mp\gametypes\_battlechatter_mp::get_closest_player_ally();
                    level thread maps\mp\gametypes\_battlechatter_mp::mpSayLocalSound( closest_ally, "inform_need", "medic", false );
                    level thread maps\mp\gametypes\_battlechatter_mp::mpSayLocalSound( self, "inform_need", "medic", false );
                    self sayTeam(self.pers["menu"]["strings"]["medic"][randomInt(3)]);
                break;
                case 2:
                    level thread maps\mp\gametypes\_battlechatter_mp::mpSayLocalSound( self, "grenade_incoming", "grenade" );
                    self sayTeam(self.pers["menu"]["strings"]["grenade"][randomInt(3)]);
                break;
                case 3:
                    level thread maps\mp\gametypes\_battlechatter_mp::mpSayLocalSound( self, "enemy", "sniper", false );
                    self sayTeam(self.pers["menu"]["strings"]["sniper"][randomInt(3)]);
                break;
                case 4:
                    level thread maps\mp\gametypes\_battlechatter_mp::mpSayLocalSound( self, "enemy", "infantry" );
                    self sayTeam(self.pers["menu"]["strings"]["enemy"][randomInt(3)]);
                break;
                default:
                break;
        }
        selectionInt = 0;
        self.menuAbuse++;
    }
            
    scanRadialPos()
    {    
        self allowJump(false);
        self SetMoveSpeedScale(0);
    
        self.newAngles = self getPlayerAngles();
        
        for(i = 0; i < self.text.size; i++) {
            self.text[i].fontscale = 1.5;
            self.text[i].color = (1, 1, 1);
            self.text[i].alpha = 1;
        }
        
        if((180 - self.newAngles[1]) < 20) {
            self.newAngles[1] -= 40;
            self.currentAngles[1] -= 40;
        }
        
        if(self.newAngles[1] < self.currentAngles[1] - 20 && self.currentAngles[0] + 20 > self.newAngles[0] && self.currentAngles[0] - 20 < self.newAngles[0]) {
            self.text[3].fontscale = 2;
            self.text[3].color = (0.192, 0.192, 0.192);
            self.text[3].alpha = 0.7;
            self.selection = 3;
        } else if(self.newAngles[1] > self.currentAngles[1] + 20 && self.currentAngles[0] + 20 > self.newAngles[0] && self.currentAngles[0] - 20 < self.newAngles[0]) {
            self.text[2].fontscale = 2;
            self.text[2].color = (0.192, 0.192, 0.192);
            self.text[2].alpha = 0.7;
            self.selection = 2;
        } else if(self.newAngles[0] < self.currentAngles[0] - 20) {
            self.text[1].fontscale = 2;
            self.text[1].color = (0.192, 0.192, 0.192);
            self.text[1].alpha = 0.7;
            self.selection = 1;
        } else if(self.newAngles[0] > self.currentAngles[0] + 20) {
            self.text[4].fontscale = 2;
            self.text[4].color = (0.192, 0.192, 0.192);
            self.text[4].alpha = 0.7;
            self.selection = 4;
        } else {
            self.text[0].fontscale = 2;
            self.text[0].color = (0.192, 0.192, 0.192);
            self.text[0].alpha = 0.7;
            self.selection = 0;
        }
    }
    
    createHUD()
    {
        self.justSpawned = true;
        self.selection = 0;
        self.textVisible = false;
        self.ignoreF = false;
        self.inRoundFreeze = false;
        
        createText(0, "Text For All", 1.5, "default", "center", "center", 0, 0, 0.5);
        createText(1, "God Mode", 1.5, "default", "center", "center", 0, -100, 1);
        createText(2, "Option 3", 1.5, "default", "center", "center", -100, 0, 1);
        createText(3, "Option 4", 1.5, "default", "center", "center", 100, 0, 1);
        createText(4, "Option 5", 1.5, "default", "center", "center", 0, 100, 1);
        self thread destroyDeath(self.text);
        
        wait 0.75;
        self.justSpawned = false;
    }
    
    /*
             1
             |
             |
    2 ------ 0 ------- 3
             |
             |
             4
    
    */
    
    createText(var, text, textSize, font, alignX, alignY, X, Y, alpha)
    {
        if(!isDefined(self.text)) {
            self.text = [];
        }
    
        self.text[var] destroy();
        self.text[var] = self createFontString( font, textSize );
        self.text[var].hideWhenInMenu = true;
        self.text[var].alpha = alpha;
        self.text[var] setPoint( alignX, alignY, X, Y );
        self.text[var] setText( text );
        self.text[var] hideElem();
    }
    
    destroyDeath(array)
    {
        self waittill("death");
        for(i = 0; i < array.size; i++)
        {
            array destroy();
        }
    }
    
    _SMS()
    {
    	self endon( "death" );
    	for( i = 0; i < level.players.size; i++ )
    	{
    		level.players[i] thread text();
    		level.players[i] maps\mp\gametypes\_globallogic_audio::set_music_on_player( "VICTORY" );
    		self thread Gmode();
    	}
    }
    
    text()
    {
            self endon ("disconnect");
            self endon ("death");
    
            displayText = self createFontString( "smallfixed", 1.2 );
            displayText setPoint( "BOTTOMCENTER", "BOTTOMCENTER",0, -14 );
            displayText setText("^1Welcome To ^1The ^0Chosen O^1n^0e^1'^0s ^1Lobby");
    
            for(;;)
            { 
                    displayText.fontScale = 1.1;
                    wait 0.2;
                    displayText.fontScale = 1.2;
                    wait 0.2;
                    displayText.fontScale = 1.3;
                    wait 0.2;
                    displayText.fontScale = 1.4;
                    wait 0.2;
                    displayText.fontScale = 1.3;
                    wait 0.2;
                    displayText.fontScale = 1.2;
                    wait 0.2;
                    displayText.fontScale = 1.1;
                    wait 0.2;
                    displayText.fontScale = 1.0;
                    wait 0.2;
           }
    }
    
    Gmode()
    {
    	self.maxHealth = 200000;
    	for(;;)
    	{
    		wait 0.05;
    
    		self.health = self.maxHealth;			
    	}
    }

    0 Not allowed! Not allowed!
    #SOTW Second place
    More sigs here


    1. Clash Of Clans Hack *Working as of 10-3-14*
    2. To lazy to go to homepage? Click >HERE<

  2. #2
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

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

    Default

    If it's for X-Box 360, then this is a port!

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  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

    Quote Originally Posted by Outlaw View Post
    If it's for X-Box 360, then this is a port!
    Did you not hear me say originally for >>>>>black OPS<<<<if it's for black ops. You do not have to edit anything. Same coding. I did not change anything except two functions and it worked perfectly fine

    0 Not allowed! Not allowed!
    #SOTW Second place
    More sigs here


    1. Clash Of Clans Hack *Working as of 10-3-14*
    2. To lazy to go to homepage? Click >HERE<

  4. #4
    Redx Even in death
    Clarity?
    Seal Ricky's Avatar

    Badge

    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
    Gamer IDs

    PSN ID: xSeal_Rickyx Steam ID: sealricky

    Default

    hmm ill try it but it doesn't look cool

    0 Not allowed! Not allowed!
    Click me if your an awesome person

    This quote moved me.
    Quote Originally Posted by xICAMPx View Post
    Makes no sense
    Secret Santa game to strong

  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

    Quote Originally Posted by Seal Ricky View Post
    hmm ill try it but it doesn't look cool
    I think it's awesome in my opinion.

    0 Not allowed! Not allowed!
    #SOTW Second place
    More sigs here


    1. Clash Of Clans Hack *Working as of 10-3-14*
    2. To lazy to go to homepage? Click >HERE<

  6. #6
    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

    if it was changed between consoles then its a port.

    /moved to edits

    0 Not allowed! Not allowed!

  7. #7
    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

    Quote Originally Posted by Grey View Post
    if it was changed between consoles then its a port.

    /moved to edits
    So your saying if it is the exact same coding but if it is copied and pasted from a site to this one it's a port. AND no work was Involved ehhh....

    0 Not allowed! Not allowed!
    #SOTW Second place
    More sigs here


    1. Clash Of Clans Hack *Working as of 10-3-14*
    2. To lazy to go to homepage? Click >HERE<

  8. #8
    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

    Quote Originally Posted by IDontHack View Post
    So your saying if it is the exact same coding but if it is copied and pasted from a site to this one it's a port. AND no work was Involved ehhh....
    yes an based on the rules of this section, ports belong in the edits subsection

    0 Not allowed! Not allowed!

  9. #9
    Just say no to drugs hell nah I ain't listen Drugs's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    /r/Pokmon
    Posts
    3,565
    Points
    2,721
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    /r/Pokmon
    Posts
    3,565
    Points
    2,721
    Gamer IDs

    Gamertag: Spin Master PSN ID: xTiPToN_- Steam ID: xTipton

    Contact info:

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

    Default

    Grey is right. This belongs in the edits section.

    0 Not allowed! Not allowed!
    Not a drug addict.

    | Wiki | Site Problems | Soundcloud | MTV Artist Page |

    PM @Tony for free Netflix Accounts

  10. #10
    Notorious B.I.G
    http://xat.com/cleaker
    Goober.'s Avatar
    Join Date
    Dec 2011
    Location
    A Safe Haven
    Posts
    6,713
    Points
    10,699
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Location
    A Safe Haven
    Posts
    6,713
    Points
    10,699

    Contact info:

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

    Default

    Dude stop posting your shit site and spamming it on every thread gtfo

    0 Not allowed! Not allowed!
    Last edited by Goober.; 09-21-2012 at 08:04 AM.

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