Go Back   Tactical Gamer > Tactical > Counter-Strike Source > Counter-Strike - General Discussion


Counter-Strike - General Discussion General Discussion for Counter-Strike

Reply
 
Thread Tools
Old 07-27-2007, 01:51 AM   #1 (permalink)
 
Hectic's Avatar
 
Join Date: Jun 2007
Posts: 21
crosshair scripts

after reading that earlier post on crosshair size i wrote a script to keybind buttons to change crosshair size and color in game to make it easier to adapt.


// this script is for crosshair size. you might need to adjust your crosshair size //in game though for this one to work. this script is made for my crosshair size //so the default is 1800. depending on what you use this might not work.
//
//If you open console and set cl_crosshairscale to any of my chosen size //1000,1300,1500,1800,2000,3000,4000 then this will work or set on of the //sizes closest to your crosshair size to your crosshair size

alias chup "ch2k"
alias chdown "ch16"
alias ch2k "cl_crosshairscale 2000;alias chup ch3k;alias chdown ch18"
alias ch3k "cl_crosshairscale 3000;alias chup ch4k;alias chdown ch2k"
alias ch4k "cl_crosshairscale 4000;alias chdown ch3k"
alias ch18 "cl_crosshairscale 1800;alias chup ch2k;alias chdown ch15"
alias ch15 "cl_crosshairscale 1500;alias chup ch18;alias chdown ch13"
alias ch13 "cl_crosshairscale 1300;alias chup ch15;alias chdown ch10"
alias ch10 "cl_crosshairscale 1000;alias chup ch13"
bind <insert key here> chup
bind <insert key here> chdown


// this is for crosshair color

alias cup "c2"
alias cdown "c1"
alias c1 "cl_crosshaircolor 1;alias cup c2"
alias c2 "cl_crosshaircolor 2;alias cup c3;alias cdown c1"
alias c3 "cl_crosshaircolor 3;alias cup c4;alias cdown c2"
alias c4 "cl_crosshaircolor 4;alias cup c5;alias cdown c3"
alias c5 "cl_crosshaircolor 5;alias cdown c4"
bind <insert key here> cup
bind <insert key here> cdown

just enter in the key you want and put it in your autoexec file.
__________________
Hectic is offline   Reply With Quote
Old 07-27-2007, 11:03 AM   #2 (permalink)


 
Vulcan's Avatar
 
Join Date: Jan 2005
Location: Montreal
Age: 29
Posts: 7,175
Re: crosshair scripts

can you explain what that does?
__________________



Vulcan is offline   Reply With Quote
Sponsored links
Old 07-27-2007, 12:19 PM   #3 (permalink)
 
Trooper's Avatar
 
Join Date: Jun 2005
Location: In my wifes house......if she says i can
Age: 25
Posts: 8,559
Re: crosshair scripts

You pick 2 keys for the size change, as the map changes you can make your sight smaller or bigger. Same with the color change. Each time you press the bind it changes, either up or down.
__________________
that sounds like a good idea trooper.
-Vulcan
Trooper is offline   Reply With Quote
Old 08-01-2007, 03:16 PM   #4 (permalink)
 
GassyGnoll's Avatar
 
Join Date: Jun 2005
Location: Middle Tennessee
Age: 28
Posts: 57
Re: crosshair scripts

Nice, thanks for this.
__________________


"All warfare is based on deception."
-Sun Tzu
GassyGnoll is offline   Reply With Quote
Old 08-01-2007, 09:10 PM   #5 (permalink)
 
ednos's Avatar
 
Join Date: Dec 2006
Location: Massachusetts
Posts: 3,762
Re: crosshair scripts

That's some pretty fancy scripting there. I wasn't aware that you could combine commands. There's more to CS:S than meets the eye, I suppose.
ednos is offline   Reply With Quote
Sponsored links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 04:27 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved