You are not logged in.

DeaD_EyE

Administrator

  • "DeaD_EyE" started this thread

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

1

Monday, July 21st 2008, 10:54pm

Farbe vom Fadenkreuz bei CS:S automatisch ändern lassen

Aufgrund einer Nachfrage hab ich ein Script geschrieben, welches die Farbe des Fadenkreuzes beim Laufen und beim Schießen automatisch ändert.


Folgenden Code in die autoexec.cfg schreiben:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
alias "cr_color" "incrementvar cl_crosshaircolor 0 3 1"

alias "+cr_forward" "cr_color; +forward"
alias "-cr_forward" "cr_color; -forward"

alias "+cr_back" "cr_color; +back"
alias "-cr_back" "cr_color; -back"

alias "+cr_moveleft" "cr_color; +moveleft"
alias "-cr_moveleft" "cr_color; -moveleft"

alias "+cr_moveright" "cr_color; +moveright"
alias "-cr_moveright" "cr_color; -moveright"

alias "+cr_attack" "cr_color; +cr_attack"
alias "-cr_attack" "cr_color; -cr_attack"

alias "+cr_attack2" "cr_color; +cr_attack2"
alias "-cr_attack2" "cr_color; -cr_attack2"


//Bindings der Tasten
bind "w" "+cr_forward"
bind "a" "+cr_back"
bind "s" "+cr_moveleft"
bind "d" "+cr_moveright"
bind "MOUSE1" "+cr_attack"
bind "MOUSE2" "+cr_attack2"