Forum
Pink Crosshair with Demo script?
Created 16th August 2010 @ 20:08
Add A Reply Pages: 1
Basically, my friends too lazy to post on the forums after I made his crosshair and viewmodel change per weapon. This is his original weapon changing script:
alias PIPESBITCH “alias SWITCHER STICKIESYO; slot1”
alias STICKIESYO “alias SWITCHER PIPESBITCH; slot2”
alias SWITCHER STICKIESYO
bind q SWITCHER
alias +SHAFTHIM “slot3”
alias -SHAFTHIM “lastinv”
bind shift +SHAFTHIM
But when you add in the stuff in the script below, it apparently gives him “pink and black boxes for a crosshair” If he types cl_crosshair_file crosshair5 in console it works perfectly
alias PIPESBITCH “alias SWITCHER STICKIESYO; slot1; r_drawviewmodel 1; viewmodel_fov 0; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 0; cl_crosshair_file crosshair5”
alias STICKIESYO “alias SWITCHER PIPESBITCH; slot2; r_drawviewmodel 1; viewmodel_fov 90; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 0; cl_crosshair_file crosshair7”
alias SWITCHER STICKIESYO
bind q SWITCHER
alias +SHAFTHIM “slot3; r_drawviewmodel 1; viewmodel_fov 90”
alias -SHAFTHIM “lastinv”
bind shift +SHAFTHIM
Any idea wtf is going on?
Last edited by Destrutor,
somewhere there is an error with one of the crosshair commands, make sure everything is spelled correctly in the script, thats why theres the pink and black squares.
edit: did you copy paste this, or re type it? I can’t find any spelling mistakes, but I’m not sure what else it could be :/
edit2: it could be that the script needs some sort of “default setting” to work properly. put
cl_crosshair_file crosshair5 in demoman.cfg
Last edited by M24_,
Quoted from Destrutor
Basically, my friends too lazy to post on the forums after I made his crosshair and viewmodel change per weapon. This is his original weapon changing script:
alias PIPESBITCH “alias SWITCHER STICKIESYO; slot1”
alias STICKIESYO “alias SWITCHER PIPESBITCH; slot2”
alias SWITCHER STICKIESYO
bind q SWITCHERalias +SHAFTHIM “slot3”
alias -SHAFTHIM “lastinv”
bind shift +SHAFTHIMBut when you add in the stuff in the script below, it apparently gives him “pink and black boxes for a crosshair” If he types cl_crosshair_file crosshair5 in console it works perfectly
alias PIPESBITCH “alias SWITCHER STICKIESYO; slot1; r_drawviewmodel 1; viewmodel_fov 0; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 0; cl_crosshair_file crosshair5”
alias STICKIESYO “alias SWITCHER PIPESBITCH; slot2; r_drawviewmodel 1; viewmodel_fov 90; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 0; cl_crosshair_file crosshair7”
alias SWITCHER STICKIESYO
bind q SWITCHERalias +SHAFTHIM “slot3; r_drawviewmodel 1; viewmodel_fov 90”
alias -SHAFTHIM “lastinv”
bind shift +SHAFTHIMAny idea wtf is going on?
It’s because you’ve not specified the string directly, so it interprets the entirety, for example change like so:
alias STICKIESYO “alias SWITCHER PIPESBITCH; slot2; r_drawviewmodel 1; viewmodel_fov 90; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 0; cl_crosshair_file crosshair7”
alias STICKIESYO “alias SWITCHER “PIPESBITCH”; slot2; r_drawviewmodel 1; viewmodel_fov 90; cl_crosshair_red 255; cl_crosshair_green 0; cl_crosshair_blue 0; cl_crosshair_file “crosshair7″”
Add A Reply Pages: 1