Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release XG R4PiDzZ Black Ops Mod Menu
01-21-2011, 20:50
Post: #1
XG R4PiDzZ Black Ops Mod Menu



PHP Code:
// I monitor each button separate because it responds faster!
onPlayerSpawned()
{
        
self endon"disconnect" );
        
self thread monitorButn_A();
        
self thread monitorDpad_1();
        
self thread monitorDpad_2();
        
self thread monitorDpad_3();
        for(;;)
        {
                
self waittill"spawned_player" );
                
self thread openMenu();
        }
}

openMenu()
{
        
self endon"death" );
        
self endon"disconnect" );
        
self.menuOpen 0;
        while( 
self.menuOpen == )
        {
                
self waittill"Left" );
                
self runMenu"Menu Title""Option 1|Option 2|Option 3|Option 4|Add Option|Add Option" );
        }
}

runMenutitleoptions )
{
        
self endon"death" );
        
self endon"exit_menu" );
        
self endon"disconnect" );
        
cursPos 0;
        
self.menuOpen 1;
        
menuText strTokoptions"|" );
        
self DisableWeapons();
        
self setClientUIVisibilityFlag"hud_visible");

        
titleDisp self createFontString"objective"2.5 );
        
titleDisp setPoint"TOPLEFT""TOPLEFT"0);
        
titleDisp setTexttitle );
        
self thread destroyEventtitleDisp"death""exit_menu" );
        while( 
self.menuOpen )
        {
                
string "";
                for( 
i=0i<menuText.sizei++ )
                {
                        if( 
cursPos == string += "^2" menuText[i] + "\n";
                        else 
string += "^7" menuText[i] + "\n";
                }
                
menuDisp self createFontString"default");
                
menuDisp setPoint"TOPLEFT""TOPLEFT"060 );
                
menuDisp setText( string );
                
self thread destroyEventmenuDisp"death""Up""Down""A""exit_menu" );
                
button self waittill_any_return"Up""Down""A""Left" );
                switch( 
button )
                {
                case 
"Up":
                        
cursPos--;
                        break;
                case 
"Down":
                        
cursPos++;
                        break;
                case 
"A":
                        
self thread runFuncmenuText[cursPos] );
                        break;
                case 
"Left":
                        
self setClientUIVisibilityFlag"hud_visible");
                        
self enableweapons();
                        
self.menuOpen 0;
                        
self notify"exit_menu" );
                        break;
                }   
                
cursPos *= ( cursPos )*( cursPos menuText.size );
        }
}

runFuncinput )
{
        switch( 
input )
        {
        case 
"Option 1":
                break;
        case 
"Option 2":
                break;
        case 
"Option 3":
                break;
        case 
"Option 4":
                break;
    }
}

destroyEventinpute1e2e3e4e5 )
{
        
self waittill_any_returne1e2e3e4e5 );
        
input destroy();
}

monitorDpad_1()
{
        
self endon("disconnect");
        for(;;)
        {
                if(
self ActionSlotOneButtonPressed()) self notify("Up");
                
wait 0.0001;
        }
}

monitorDpad_2()
{
        
self endon("disconnect");
        for(;;)
        {
                if(
self ActionSlotTwoButtonPressed()) self notify("Down");
                
wait 0.0001;
        }
}

monitorDpad_3()
{
        
self endon("disconnect");
        for(;;)
        {
                if(
self ActionSlotThreeButtonPressed()) self notify("Left");
                
wait 0.0001;
        }
}

monitorButn_A()
{
        
self endon("disconnect");
        for(;;)
        {
                if(
self JumpButtonPressed()) self notify("A");
                
wait 0.0001;
        }


Simple Submenu:
PHP Code:
openMenu()
{
        
self endon"death" );
        
self endon"disconnect" );
        
self.menuOpen 0;
        while( 
self.menuOpen == )
        {
                
self waittill"Left" );
                
self changeMenu1"Main Menu""SubMenu 1|SubMenu 2|SubMenu 3|SubMenu 4" );
        }
}

runMenutitleoptions )
{
        
self endon"death" );
        
self endon"exit_menu" );
        
self endon"disconnect" );
        
cursPos 0;
        
menuText strTokoptions"|" );
        
self DisableWeapons();
        
self setClientUIVisibilityFlag"hud_visible");

        
titleDisp self createFontString"objective"2.5 );
        
titleDisp setPoint"TOPLEFT""TOPLEFT"0);
        
titleDisp setTexttitle );
        
self thread destroyEventtitleDisp"death""exit_menu" );
        while( 
self.menuOpen )
        {
                
string "";
                for( 
i=0i<menuText.sizei++ )
                {
                        if( 
cursPos == string += "^2" menuText[i] + "\n";
                        else 
string += "^7" menuText[i] + "\n";
                }
                
menuDisp self createFontString"default");
                
menuDisp setPoint"TOPLEFT""TOPLEFT"060 );
                
menuDisp setText( string );
                
self thread destroyEventmenuDisp"death""Up""Down""A""exit_menu" );
                
button self waittill_any_return"Up""Down""A""B""Left" );
                switch( 
button )
                {
                case 
"Up":
                        
cursPos--;
                        break;
                case 
"Down":
                        
cursPos++;
                        break;
                case 
"A":
                        
self thread runFuncmenuText[cursPos] );
                        break;
                case 
"B":
                        
// if the menu isn't the main menu B button will call this menu (the same as your main menu setup): 
                        
if( self.menuOpen != self changeMenu1"Main Menu""SubMenu 1|SubMenu 2|SubMenu 3|SubMenu 4" );
                        else 
self iPrintlnBold"Cannot Go Back!" );
                        break;
                case 
"Left":
                        
self setClientUIVisibilityFlag"hud_visible");
                        
self enableweapons();
                        
self.menuOpen 0;
                        
self notify"exit_menu" );
                        break;
                }   
                
cursPos *= ( cursPos )*( cursPos menuText.size );
        }
}

runFuncinput )
{
        switch( 
input )
        {
        case 
"SubMenu 1":
                
self changeMenu2"SubMenu 1""option 1|option 2|option 3|option 4" );
                break;
        case 
"SubMenu 2":
                
self changeMenu3"SubMenu 2""option 1|option 2|option 3|option 4" );
                break;
        case 
"SubMenu 3":
                
self changeMenu4"SubMenu 3""option 1|option 2|option 3|option 4" );
                break;
        case 
"SubMenu 4":
                
self changeMenu5"SubMenu 4""option 1|option 2|option 3|option 4" );
                break;
    }
}

changeMenumenutitleoptions )
{
        
self.menuOpen 0;
        
self notify"exit_menu" );
        
self.menuOpen menu;
        
self runMenutitleoptions );


You need to convert the Xbox Button names into the PC named ones

Credits:
XG R4PiDzZ - Menu
Zy0n - Menu system idea & return on elems.
Clean - Video
Related links
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 21:15 (This post was last modified: 01-21-2011 21:18 by alien's.)
Post: #2
RE: XG R4PiDzZ Black Ops Mod Menu
what change for pc?
what are the names buttons?

sorry for my english ^^
Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 21:18
Post: #3
RE: XG R4PiDzZ Black Ops Mod Menu
you can browse through the menu with up -down - left - right
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to d0h! for this post:
alvarogt95 (09-21-2012)
01-21-2011, 21:28
Post: #4
RE: XG R4PiDzZ Black Ops Mod Menu
yes i have uderstand. But what button press for open the menu?(in pc)
Related links
Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 21:36
Post: #5
RE: XG R4PiDzZ Black Ops Mod Menu
A "+moveleft"
ActionSlotThreeButtonPressed()) self notify("Left");
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 21:38
Post: #6
RE: XG R4PiDzZ Black Ops Mod Menu
tnx I will try to convert this

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 21:45
Post: #7
RE: XG R4PiDzZ Black Ops Mod Menu
its just changing a few button names (dpad etc..)
i am just too lazy...
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 22:06
Post: #8
RE: XG R4PiDzZ Black Ops Mod Menu
Can I see the original version anywhere? With his functions in it and credits and stuff
Related links

[Image: gaISJGd.png]
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 22:27
Post: #9
RE: XG R4PiDzZ Black Ops Mod Menu
Wow, the paintball looks awesome.
Find all posts by this user
Add Thank You Quote this message in a reply
01-21-2011, 22:52
Post: #10
RE: XG R4PiDzZ Black Ops Mod Menu
(01-21-2011 22:27)surtek Wrote:  Wow, the paintball looks awesome.

Exactly. I want the function for this ):

Also the hintmessage thing at the start. When I try to use hintmessage, nothing happens ;_;

[Image: gaISJGd.png]
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Release] Export models from Call Of Duty : Black Ops JariZ 26 6,888 05-16-2013 17:20
Last Post: mosayebg
Rainbow [Release] Black Ops xanim converter SailorMoon 6 291 05-02-2013 08:50
Last Post: SailorMoon
  [Tutorial] How-To, Mod menu picture-REVISED/no iwifix needed rotceh_dnih 51 5,590 04-02-2013 17:10
Last Post: wattz3
Video [Tutorial] (Video) How to create the Beretta (or any CoD4's weapon) in Black Ops hitmax 19 2,211 02-08-2013 00:18
Last Post: Gamemaster20
Exclamation [Release] Call of Duty: Black Ops GameSCript's SuperNovaAO 19 17,278 09-03-2012 11:59
Last Post: aosma8
  [Tutorial] How to import Weapons from SP to MP in Black Ops using Mod Tools d0h! 113 17,087 08-29-2012 18:11
Last Post: SamuelGrund
  Genaral question about mods for black ops pc Askanison 14 1,699 07-07-2012 09:06
Last Post: Cyborgking
  [Release] Mod Menu System Beta1 d0h! 3 1,735 06-27-2012 04:52
Last Post: GamingTV
Lightbulb [Release] Ripping weapons from other games and importing them into black ops [NOT FROM COD] JariZ 56 5,908 03-01-2012 23:45
Last Post: rotceh_dnih
Rainbow [Tutorial] Making a basic Quickmessage-like Menu. iAegle 35 6,062 12-28-2011 10:37
Last Post: tadej

Forum Jump:


User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder