Forum
Scout script - How to "deffault crosshair"?
Created 13th February 2010 @ 19:21
Add A Reply Pages: 1
This is my scout script:
alias “weapon1” “viewmodel_fov 0; cl_crosshair_file crosshair3; cl_crosshair_scale 48; cl_crosshair_red 255; cl_crosshair_blue 255; cl_crosshair_green 255; slot1; alias nextweap select21; alias prevweap select31; alias select1 weapon1; alias select2 select21; alias select3 select31;”
alias “weapon2” “viewmodel_fov 0; cl_crosshair_file crosshair5; cl_crosshair_scale 30; cl_crosshair_red 0; cl_crosshair_blue 255; cl_crosshair_green 255; slot2; alias nextweap select32; alias prevweap select12; alias select1 select12; alias select2 weapon2; alias select3 select32;”
alias “weapon3” “viewmodel_fov 70; cl_crosshair_file crosshair3; cl_crosshair_scale 45; cl_crosshair_red 255; cl_crosshair_blue 0; cl_crosshair_green 255; slot3; alias nextweap select13; alias prevweap select23; alias select1 select13; alias select2 select23; alias select3 weapon3;”
alias “select12” “weapon1; alias toggleweap select21”
alias “select13” “weapon1; alias toggleweap select31”
alias “select21” “weapon2; alias toggleweap select12”
alias “select23” “weapon2; alias toggleweap select32”
alias “select31” “weapon3; alias toggleweap select13”
alias “select32” “weapon3; alias toggleweap select23”
select12
bind “a” “toggleweap”
bind “1” “select1”
bind “2” “select2”
bind “3” “select3”
bind “MWHEELUP” “prevweap”
bind “MWHEELDOWN” “nextweap”
This is used for all other classes:
bind “a” “lastinv”
bind “1” “slot1”
bind “2” “slot2”
bind “3” “slot3”
bind “MWHEELUP” “invprev”
bind “MWHEELDOWN” “invnext”
Now, everything works fine, but I’d like to change my scattergun crosshair to the deffault one instead of cl_crosshair_file crosshair 3. Iv’e been told to make another .cfg that said cl_crosshair_file crosshair “” and then to write exec.”scriptname”.cfg instead of cl_crosshair_file crosshair 3…but this doesn’t seem to work (I might be doing it wrong?). Can any1 help me?
Thanks in advance!
Just change the one you don’t want to appear to say cl_crosshair_file “”, not cl_crosshair_file crosshair “”. :)
Also remember you need to use normal quotes, not curly quotes like are used on this forum.
Last edited by octochris,
Quoted from octochris
Just change the one you don’t want to appear to say cl_crosshair_file “”, not cl_crosshair_file crosshair “”. :)
Also remember you need to use normal quotes, not curly quotes like are used on this forum.
normal quotes? curly ones? wat?
Can you please stop posting these very funny ideas of yours on this topic?
Thanks.
Edit: What you said doesn’t work Chris.
Any1 able to re-write this script how it should be, and post it in this topic please?
First you have to create a .cfg file in your cfg folder and name it “defaultcross”. Then you should paste this ” cl_crosshair_file ""
” in the file you just created.After that you should insert “ exec defaultcross
” in each of your weapon slots as shown beneath.
My scout config:
alias "weapon1" "slot1; r_drawviewmodel 1; viewmodel_fov 80; sensitivity 2; exec defaultcross; alias nextweap select21; alias prevweap select31; alias select1 weapon1; alias select2 select21; alias select3 select31;"
alias "weapon2" "slot2; r_drawvidemodel 1; viewmodel_fov 90; sensitivity 2; exec defaultcross; alias nextweap select32; alias prevweap select12; alias select1 select12; alias select2 weapon2; alias select3 select32;"
alias "weapon3" "slot3; r_drawviewmodel 1; viewmodel_fov 90; sensitivity 2; exec defaultcross; alias nextweap select13; alias prevweap select23; alias select1 select13; alias select2 select23; alias select3 weapon3;"
//Initialize script
select12
Last edited by Atty,
Omg atty, thanks alot man, it works!
<3
Admins can close!
Add A Reply Pages: 1