Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
Moving the main menu/changing the color
Difficulty: Intermediate
Category: CS:S > Sprites & GUIsAuthor(s):
Did you create this? Request ownership

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
Added: 2 years agoTags: moving, main, menu, changing, color
Feedback (23)
Page of 3   1 2 3 Next Page
Gr33nBudz .
BananiteY2M
Posted 7 months ago
Http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html RGB color codes
- Bananite
.
Judge Not Whom You Know NotY2M
Posted 11 months ago
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.
pl4Yb0y .
Y2M
Posted 11 months ago
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 ?
.
Judge Not Whom You Know NotY2M
Posted 1 year ago
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
Spetsnazx .
I'm the mushroomY2M
Posted 1 year ago
How do i turn the menu color to white???
.
Watch Me & I'll Watch You!Y2M
Posted 1 year ago
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 ?.
XeroXeD .
MetalHeadY2M
Posted 1 year ago
Pros: Very Easy to use and Effective
Cons: None
Improvements: Explain what the other codes are used for.
Fallen_Angel .
The Evil Guy!Y2M
Posted 1 year ago
Pros: Awesome.
Cons: None.
Improvements: None.
Notes: You Rock!
DNAAW .
Don't Thrust Teh Death!Y2M
Posted 1 year ago
Pros: Very Helpfull
- Don't Thrust Teh Death!
.
Judge Not Whom You Know NotY2M
Posted 1 year ago
0 0 0 255
Page of 3   1 2 3 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.6/10
bScore
9.6/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Helpful & Useful
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.






Brought to you by...
#NeutraLized
The Good, The Bad, and The NeutraLized
Membership: On Request
Primary Skills: Graphic Design, Mapping, Modelling, Texturing
Inception: 2 years ago
Vote for Studio
Like this tut? Vote #NeutraLized for one or more monthly awards.
You must login or register to access this!
Related Tutorials