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
Making a Custom Crosshair
Difficulty: Advanced
Category: CS:S > Sprites & GUIsAuthor(s): Crazy-Virus

Creating your own Custom Crosshair


Tutorial by Crazy[Virus]


www.undead-mafia.com


Member of the Official Zombie Mod Studio



Creating your own Custom Crosshair
Tutorial by Crazy[Virus]
www.undead-mafia.com
Member of the Official Zombie Mod Studio

Step one
Open any text document
Past the following code into the document

"BaseTimesVertexColorAlphaBlendNoOverbright"
{
// Original shader: BaseTimesVertexColorAlphaBlendNoOverbright
// Uncomment this if you add an alpha channel to the base texture
"$basetexture" "VGUI/white_additive"
"$decal" 1
"$decalscale" 2.10
"$no_fullbright" "1"
//"$additive" "1"
"$translucent" 1
"$color" "[0 0 0]"
}

Just to let you know these are the settings from my custom black crosshair which can be found at his link

Step Two
At Firsts glance the code above looks very complex don’t stress your self we only need to do a few things

"$decalscale" 2.10 -This width of the crosshair you many change it to your desired since this may take many tries to get it to your desired size I set it to 2.10 because it can just make it smaller with cl_crosshairscale

"$color" "[0 0 0]" This is the important part is this is also where most people will make errors As you can tell Color means that this controls the color of your crosshair

This is simple RGB channels at the moment it is set to have 0 red green and blue. Now to find the color you want you need to find a program that was the values viewable I personally recommend using Photoshop but I’m sure most people do not have it. Don’t worry paint will work just fine.

Step three
It is now time to find your desired color Open up paint or some other graphic editing program

(Photoshop users make sure you have RBG color selected when u create a new image I don’t knot believe grayscale works)

Step Four
Go the color selector then define custom color. (<-paint) Once you have found you preferred color copy past the values of the red green and blue channels over to your text document

***Remember***
"$color" "[R G B]"
the first 0 is the red channel the second 0 is the Green channel and the last 0 is the blue channel like show above

Step Five
This is the finial step and now that you have done the hard part you should be in the clear
First off you need to save you text document has white_additive.vmt
Secondly you need to Place it in right folder with the right structure so open \Valve\Steam\SteamApps\\counter-strike source\cstrike\materials\VGUI\
If you do not have the VGUI create it by right clicking going to new and the simply name it VGUI
Finally you need to move or save your file “white_additive.vmt” into this folder
Step Six
Basically what we are going now is testing if your crosshair was successful or not if it doesn’t appear black when u first load the game your Shaders might not support this so do the following hit (esc) default and go to options and deselect translucent

Note IF you have iany problems post away I will try to best to answer your questions Do not rate this low becuase you can use a console command for crosshair color becuase this is a better glitch proof way


Added: 10 months agoTags: crosshair, color, crazy-virus
Feedback (10)
CsChaz .
Only The Strongest Will Survive.Y2M
Posted 2 months ago
I ACCIDENTLY DELETED MY WHITE_ADDITIVE.VMT FROM MY VGUI FOLDER. SO I HAVE NO CROSSHAIR. IT CRASHES WHEN I LOAD UP CSS. HOW DO I GET IT BACK? THE DEFAULT ONE?
broaff .
I NEED BANANA MANY2M
Posted 3 months ago
Very nice tutorial! Thank you dude!
- I NEED BANANA MAN
Limesimme .
Immah got allz Pyro Achvmentz x3Y2M
Posted 6 months ago
*thinking as Ominn*
Panduh .
­[bagels] ClericY2M
Posted 7 months ago
Would it be possible to make a code or image where the crosshair is the inverted color of whatever its over, so you can always see it?
.
www.Undead-Mafia.comY2M
Posted 9 months ago
No you can its just more photoshop work ill post more soon
Ominn .
Not real. Ignore.Y2M
Posted 9 months ago
This is a great tut. Only problem was I thought you were going to tell us how to make custom crosshair shapes or something. Ah well. Back to searching.
Jason_Cooper .
I double-dog dare ya.Y2M
Posted 10 months ago
I've always wanted a custom black crosshair, thanks man.
- I double-dog dare ya.
.
www.Undead-Mafia.comY2M
Posted 10 months ago
O shit son thanks for that
.
FPSBanana Article WriterY2M
Posted 10 months ago
I love trees. =D
Wowzorz .
I dropped every thing and ran...Y2M
Posted 10 months ago
"Step Tree
It is now time to find your desired color Open up paint or some other graphic editing program
" step tree!
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 [+]
8.5/10
bScore
8.5/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...
Confusing & Comprehensive
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...
Official Zombiemod Studio
Maps, Skins, Scripts, and More!
Membership: Invite Only
Primary Skills: Coding/Scripting, Graphic Design, Mapping, Sound Effects & Music, Texturing, Server Administration
Inception: 11 months ago
Vote for Studio
Like this tut? Vote Official Zombiemod Studio for one or more monthly awards.
You must login or register to access this!
Related Tutorials