Skinning Counter-Strike 1.6

Difficulty Rating: Moderate



Chapters:
1. Changing the Background
2. Changing the Menu Text
3. Changing the Fonts
4. Changing the Colors/Opacity of texts/panels


- All contents of the /resource folder - Download


CHANGING BACKGROUND

First of all we need a nice image of 800x600 (no other size supported, save as back.bmp in C:\)
now we are going to convert the background to serval tga's, this can be done with: CAKE

after you download Cake, extract it to some folder. Now open the program and click on Load Image.
Now browse to the C:\back.bmp image and click Save to Directory...

Go to your cstrike folder, go to the folder: "resource" (if its not there use the /resource rar)
When you're in the resource folder go to: "background", now paste all the tga's in cstrike/resource/background

Start your game and enjoy your new background



CHANGING MENU TEXT

Ok what you have to know about the menu that its just a simple resource file that can be edited easly with a text editor

lets open GameMenu.res located in cstrike/resource


The original gamemenu.res:

"GameMenu"
{
"1"
{
"label" "#GameUI_GameMenu_ResumeGame"
"command" "ResumeGame"
"OnlyInGame" "1"
}
"2"
{
"label" "#GameUI_GameMenu_Disconnect"
"command" "Disconnect"
"OnlyInGame" "1"
"notsingle" "1"
}
"4"
{
"label" "#GameUI_GameMenu_PlayerList"
"command" "OpenPlayerListDialog"
"OnlyInGame" "1"
"notsingle" "1"
}
"8"
{
"label" ""
"command" ""
"OnlyInGame" "1"
}
"9"
{
"label" "#GameUI_GameMenu_NewGame"
"command" "OpenCreateMultiplayerGameDialog"
}
"10"
{
"label" "#GameUI_GameMenu_FindServers"
"command" "OpenServerBrowser"
}
"11"
{
"label" "#GameUI_GameMenu_Options"
"command" "OpenOptionsDialog"
}
"12"
{
"label" "#GameUI_GameMenu_Quit"
"command" "Quit"
}
}



one i edited.. (from broodplank GUI v2.0)

"GameMenu"
{
"1"
{
"label" "#GameUI_GameMenu_ResumeGame"
"command" "ResumeGame"
"OnlyInGame" "1"
}
"2"
{
"label" "#GameUI_GameMenu_Disconnect"
"command" "Disconnect"
"OnlyInGame" "1"
"notsingle" "1"
}
"4"
{
"label" "#GameUI_GameMenu_PlayerList"
"command" "OpenPlayerListDialog"
"OnlyInGame" "1"
"notsingle" "1"
}
"8"
{
"label" ""
"command" ""
"OnlyInGame" "1"
}
"9"
{
"label" "LAN"
"command" "OpenCreateMultiplayerGameDialog"
}
"10"
{
"label" "iNET"
"command" "OpenServerBrowser"
}
"11"
{
"label" "Settings"
"command" "OpenOptionsDialog"
}
"12"
{
"label" "#GameUI_GameMenu_Quit"
"command" "Quit"
}
}

As you will see not many things has been changed, only the text.
You can execute scripts or commands by putting "engine" in the command, example:

"label" "Activate Bunnyhop"
"command" "engine exec bh_i_will_be_banned_from_hlg.cfg"
"OnlyInGame" "1"




CHANGING FONTS

Open resource/TrackerScheme.res

now scroll down and you will see popular font names..

here's a example to change the menu font:

original:

      "MenuLarge"
{
"1"
{
"name"      "Verdana"
"tall"      "18"
"weight"   "1000"
"antialias" "1"
}
"2"
{
"name"      "Arial"
"tall"      "18"
"weight"   "800"
"antialias" "1"
}
}




edited:

      "MenuLarge"
{
"1"
{
"name"      "Verdana"
"tall"      "12"
"weight"   "1000"
"antialias" "1"
}
"2"
{
"name"      "Arial"
"tall"      "12"
"weight"   "800"
"antialias" "1"
}
}



As you will see, I only changed the fonts and size, just try out something with the fonts and be creative.



CHANGING COLORS/OPACITY OF TEXTS/PANELS

Now the last part of this tutorial. Changing the color of the text and panels.

Here is a short description on how to change the colors and opacity of text and panels.

here's a example:

"ControlBG" "76 88 68 255" // background color of controls

76 = RED
88 = GREEN
68 = BLUE
255 = OPACITY

Note:
All colors have a range of 1-255 (this includes the opacity), please use a color picker to find the right color

Image

Have fun creating your own skin!

Tutorial written by: broodplank