Color-changing crosshair

copper

TD Admin
Someone asked me to share my crosshair. WARNING: DO NOT COME BACK INTO THIS FORUM ASKING ME TO "FIX" YOUR CROSSHAIR IF YOU EXECUTE THIS SCRIPT. Know your settings.
Code:
// CROSSHAIR
crosshair 1
cl_crosshairstyle 4
cl_crosshairusealpha 0
cl_crosshairalpha 255
cl_crosshaircolor 2
cl_crosshairstyle 4
cl_crosshairdot 0
cl_crosshairsize 2
cl_crosshairscale 1
cl_crosshairgap -2
cl_crosshairthickness 0.2
 
// CROSSHAIR CHANGES COLOR
bind MOUSE1 "+attack; incrementvar cl_crosshaircolor 0 4 1; -attack"
bind "w" "+forward; incrementvar cl_crosshaircolor 0 4 1; -forward"
bind "s" "+back; incrementvar cl_crosshaircolor 0 4 1; -back"
bind "a" "+moveleft; incrementvar cl_crosshaircolor 0 4 1; -moveleft"
bind "d" "+moveright; incrementvar cl_crosshaircolor 0 4 1; -moveright"
 

copper

TD Admin
Crosshair is classic static and very small. I made it change color because it was easy to lose sight of my crosshair due to the size.
 

Taylor Sith

TD Member
nub ques... where in hell do i put this? like specifics...never tried to script before at least not with this
 

TinanaBoa

DARKLY Regular
I added this to the bottom of the main config.cfg file[just copy/paste]
Now I want to disable the color changing but when I look at my config file, it seems to have merged the commands into the other madness that is the config file.
Guess I will have to go through and edit the config line by line.

For those who are thinking of using this, recommend making a backup of your config file before hand.
 

OG buckshot jr

TD Admin
The config file, no matter how nicely you try to organize it, will always 're-compile' itself to leave no spaces so it looks like a giant pile of code. This is normal, and should be expected.

Folks, please don't mess with your shit if you're unsure what you're doing. And yes, either way, as TinanaBoa says, make a backup!!!
 
Top