Jump to content

Recommended Posts

Posted

I don't use the same crosshair colour for all of the maps. For example I use white in Braundorf, red in oasis and cyan in most of the other maps. Its annoying changing it from ESC menu all the time. I was wondering if someone could make a script for me that would change the colour with one key?

Thanks :)

  • Like 1
Posted

I can make that, I reckon..

 

What colours would you like it to cycle through, and in what order?

Posted

set crosshr "vstr crosshaircolor0"
set crosshaircolor0 "cg_crosshairColorAlt cyan; set crosshr vstr crosshaircolor1"
set crosshaircolor1 "cg_crosshairColorAlt red; set crosshr vstr crosshaircolor2"
set crosshaircolor2 "cg_crosshairColorAlt white; set crosshr vstr crosshaircolor0"
bind "kp_slash" "vstr crosshr"

 

Change the kp_slash to whatever key you want if you don't have a numberpad.

Posted

set crosshr "vstr crosshaircolor0"
set crosshaircolor0 "cg_crosshairColorAlt cyan; set crosshr vstr crosshaircolor1"
set crosshaircolor1 "cg_crosshairColorAlt red; set crosshr vstr crosshaircolor2"
set crosshaircolor2 "cg_crosshairColorAlt white; set crosshr vstr crosshaircolor0"
bind "kp_slash" "vstr crosshr"

 

Change the kp_slash to whatever key you want if you don't have a numberpad.

 

Beat me to it :D Nice one :)

Posted

Aha, thanks alot man works great!

But I use the dot as my crosshair and when i tried the script it didnt work, and i removed "Alt" from

"set crosshaircolor2 "cg_crosshairColorAlt white; set crosshr vstr crosshaircolor0"

and the rest of them and it worked :D

Thanks again!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.