GUI's: Moving the menu/changing the color

Credits

Submitter
  • P6: Merchant
    Points: 238,118
  • E1: Helper
    EF: 4
  • C1: Member
  • A6: Elder
    Account Age: 6 years
manslayer111 (Creator/Co-creator)
Key Authors
manslayer111
creator

Rating

9.7/10
Based off 12 rating(s)

Additional Info

Genre
Other/Misc
Difficulty Level
Intermediate

Stats

Post Count
35
ViewCount
13,181
Date Added
5 years ago
Date Modified
2 years ago

Share

Embed Code
Code to use:

More embeddable images

REQUIREMENTS

Download this to get the RES file required for this tutorial the link above gois to the best menu background maker there is, Naomi, in the download, you will find "clientscheme.res" and "sourcescheme.res" that are needed. place them here: cstrike/resource

INTRO

This tutorial will teach you how to move the menu around and also how to change the color of the menu.

**NOTE** most of this is trial and error until you are happy with your work.

CHANGING THE COLOR OF THE MENU

Screenshot B

changing the color of the menu is fairly simple, first open "sourcescheme.res" with notepad. about 1/5 - 1/4 of the way down, you should see the lines:

// scheme-specific colors MainMenu.TextColor "0 0 255 255" MainMenu.ArmedTextColor "PurpleTransparent" MainMenu.DepressedTextColor "BlueTransparent" MainMenu.MenuItemHeight "30" MainMenu.Inset "32" MainMenu.Backdrop "0 0 0 156"

**NOTE** this example is edited by me so the NUMBERS wont be exact, you are just looking for the MainMenu.Textcolor etc...

ok, so you want to make the menu red? then do this: MainMenu.TextColor "255 0 0 255"

Why did I do this? this is one thing i learned from mappin but w/e. the first of the four numbers is red, the second is green, the third is blue, and the last is alpha. NOTE leave alpha at 255 or it will become transparent-invisible, and we don't want that now do we?

see all base colors in screenshot C (c1=blue, c2=red, c3=green)

well, if you only wanted it to be a different color, then your done, but if you would like to move the menu to say, the top right corner, then read on :) .

Check out ALL the color codes, Color codes (Thanks Gr33nBudz)

MOVING THE MENU AROUND

Screenshot D

ok, this one is a little more annoying. first, open "CientScheme.res" next, look about 1/7 - 1/6 of the way down for these lines:

// Top-left corner of the menu on the main screen "Main.Menu.X" "32" "Main.Menu.Y" "350"

ok, imagine you are looking at a grid you would see in your math class (although the Y axis is backwards). you origin you be the very top left corner see screenshot E
now, at 32X and 350Y thats at almost the very bottom and 32X is very close to the left side (for those of us who dont understand, X is left/right, and Y is up/down)

lets say you want the menu in the top left corner, you want a small X and a small Y, the smaller the X the farther to the left the menu will be, the smaller the Y, the higher the menu will be. so to put the menu as seen in screenshot F you want the X to be at 30, and the Y to be at 40.

NOTE

putting the menu up this high will not affect the "resume" "dissconnect" "player list" the menu will simply move down in-game.

well, thats all there really is to it, please have fun making you menu backgrounds and such.

questions? need more help? please PM me, or xfire me: 1manslayer1

P.S. to learn how to change what the menu says, see this fine tutorial by Cobalt

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

    • P1: Beggar
      Points: 559
    • C1: Member
    • A1: Lollipop
      Account Age: 4 months

    Thanks Buddy, Very useful tutorial.... Helped a lot..... 10/10 man...

    Jâm€$___L¤rÐ
    • P2: Drudge
      Points: 1,175
    • E1: Helper
      EF: 2
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    Do you know what the maximum X and Y values you can plug in are?

    Mapper
    • P6: Merchant
      Points: 238,118
    • E1: Helper
      EF: 4
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted by chiko116 Does it only works with the res background?

    I'm afraid I don't understand your question.

    Judge not whom you know not.
    • P1: Beggar
      Points: 403
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    Notes: good tutorial, very easy to follow, 10/10

    ...
    • P1: Beggar
      Points: 606
    • C1: Member
    • A5: Veteran
      Account Age: 4 years

    this tutorial s very useful and answers the question i've been asking for so long: how do you edit color? nice work.

    It rubs the lotion on its skin
    • P1: Beggar
      Points: 145
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html RGB color codes

    Bananite
    • P6: Merchant
      Points: 238,118
    • E1: Helper
      EF: 4
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted by pl4Yb0y Sorry for the question R----G----B----Alpha whats thts i know RGB but what is alpha has anyone a website with cuolers in RGBAlpha ?

    Alpha is the opacity / transparency...or in other words, the lower the number, the more you see through it.

    Judge not whom you know not.
    • P1: Beggar
      Points: 556
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Sorry for the question

    R----G----B----Alpha

    whats thts i know RGB but what is alpha has anyone a website with cuolers in RGBAlpha ?

    • P6: Merchant
      Points: 238,118
    • E1: Helper
      EF: 4
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted by Spetsnazx How do i turn the menu color to white???

    255 255 255 255 = white R----G----B----Alpha

    Posted by AlexR14 Hay i have a slit problem my menu doesn't move no matter what i do i just stays there help me please ScreenShot! EDIT : Don't ,matter I've fixed it but where can i get a list with all the color codes on please ?.

    Use ms paint. Click violently on the colors and go to "define custom colors" (or something like that). When you can mak your own color, after you find it, look at the bottom right and you'll see the R, G. B. There should be numbers next to them, put those in. (e.g.: purple-255 0 255 255

    Judge not whom you know not.
    • P1: Beggar
      Points: 20
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    How do i turn the menu color to white???

    RAWR!