Moving the main menu/changing the color Difficulty: Intermediate |
| Category: CS:S > Sprites & GUIs | Author(s): |

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 ago | Tags: moving, main, menu, changing, color |
 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. |
 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. This Tutorial in a nutshell... Helpful & Useful 3 x Helpful 3 x Useful 2 x Handy 1 x Well Written 1 x Comprehensive 1 x Concise 1 x Informative 1 x Detailed You cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login.
 |
#NeutraLized The Good, The Bad, and The NeutraLized |
| Membership: On Request |
| Primary Skills: Graphic Design, Mapping, Modelling, Texturing |
| Inception: 2 years ago |
Want more? Find related tuts. |