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:
|
Quellcode
|
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"
|