Results 1 to 4 of 4
  1. #1
    TXT .:l ToXiC l:.'s Avatar
    Join Date
    Oct 2011
    Location
    that place beside that place
    Posts
    250
    Points
    187
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    that place beside that place
    Posts
    250
    Points
    187

    Default [Help]editing a menu

    Say wanted to change the background color of the mod menu to red and the shader to green would I do this and sorry I know it is simple but I wasnt 100% sure and I didnt wanna waste 40 min

    Original
    createElements( Buttons, Actions )
    {
    self.menuElement["title"] = createText( "left", "top", 300, 10, "objective", 3, 1, 2, 0, 0 );
    for( i = 0; i <= 13; i++ ) self.menuElement["text"][i] = createText( "left", "top", 300, 45 + ( 22 * i ), "objective", 2, 1, 3, 1, ( 0, 1, 0 ) );
    self.menuElement["instructions"] = createText( "center", "bottom", 0, -10, "objective", 1.5, 1, 3, 0, 0 );
    self.menuElement["instructions"] setText( "[{" + Buttons[0] + "}] " + Actions[0] + " | [{" + Buttons[1] + "}] " + Actions[1] + " | [{" + Buttons[2] + "}] " + Actions[2] );
    self.menuElement["background"] = createShader( "center", "center", 0, 0, ( 0, 0, 0 ), 1000, 1000, 0.79, 0 );
    self.menuElement["background_2"] = createShader( "left", "top", 285, -50, ( 0, 0, 0 ), 800, 1000, 0.5, 1 );
    self.menuElement["shader"] = createShader( "left", "top", 285, 46, ( 1, 0, 0 ), 800, 25, 0.8, 2 );

    self thread refreshText();
    }

    Changed

    createElements( Buttons, Actions )
    {
    self.menuElement["title"] = createText( "left", "top", 300, 10, "objective", 3, 1, 2, 0, 0 );
    for( i = 0; i <= 13; i++ ) self.menuElement["text"][i] = createText( "left", "top", 300, 45 + ( 22 * i ), "objective", 2, 1, 3, 1, ( 0, 1, 0 ) );
    self.menuElement["instructions"] = createText( "center", "bottom", 0, -10, "objective", 1.5, 1, 3, 0, 0 );
    self.menuElement["instructions"] setText( "[{" + Buttons[0] + "}] " + Actions[0] + " | [{" + Buttons[1] + "}] " + Actions[1] + " | [{" + Buttons[2] + "}] " + Actions[2] );
    self.menuElement["background"] = createShader( "center", "center", 0, 0, ( 1, 0, 0 ), 1000, 1000, 0.79, 0 );
    self.menuElement["background_2"] = createShader( "left", "top", 285, -50, ( 0, 0, 0 ), 800, 1000, 0.5, 1 );
    self.menuElement["shader"] = createShader( "left", "top", 285, 46, ( 2, 0, 0 ), 800, 25, 0.8, 2 );

    self thread refreshText();
    }

    0 Not allowed! Not allowed!
    Last edited by .:l ToXiC l:.; 12-23-2011 at 08:07 AM.


    PSN ID : ToX1C_Aciid


    Quote Originally Posted by eXtr3m3 View Post
    Nothing is really excused from hacking, doesn't mean it won't be hard though.
    Quote Originally Posted by apples.tk View Post
    Then no more Deepthroating for you bigboy.

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

    r u sure ( 2, 0, 0 ) is a color rest is good

    its all good but if ( 2, 0, 0 ) i dont know

    ( 0, 255, 0 )

    0 Not allowed! Not allowed!

  3. #3
    Active Member DEUS's Avatar
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Ur WiFi
    Posts
    617
    Points
    1,402

    Default

    Try (1,1,1) for bgrnd I didn't know you was using menus take mine
    I'll pm it to you later. This just reminds how awesome Tlpwnzer is lol.

    0 Not allowed! Not allowed!

    Ignorance is contagious. It should be avoided at all times!!

  4. #4
    Nooblet
    Join Date
    Jul 2011
    Posts
    2
    Points
    3
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    2
    Points
    3

    Default

    personally I think you would want to go with (0, 6, 0,) for the shader and (3, 0, 0,) for your background. Just keep it simple try not to make it to complicated for yourself that's when it gets difficuilt.

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