Forum

Sniper Scope X-Hair

Created 26th August 2009 @ 15:30

Add A Reply Pages: 1 2 Next »

Nyctal

CdC

hello folks
here i need some help: i tried myself and some ready made on the net but nothing seems to work good.
I basically need a class script that put no X-hair at all when scoped but nothing seems to work for me.
What i’ve tried:

alias “+zoom” “+attack 2; cl_crosshair_scale 0”
alias “-zoom” “-attack 2; cl_crosshair_scale 30”

bind “mouse2” “+zoom”

so if someone wants to give me an help with this would be nice :) thanks

Crackshot

«Gғм»

//Disable crosshair when scoped
alias “+zoom” “+attack2; crosshair 0”
alias “-zoom” “-attack2; crosshair 1”
alias “+shoot” “+attack; crosshair 1”
alias “-shoot” “-attack”
alias “+jump” “+jump; crosshair 1”
alias “-jump” “-jump”

and then bind a key to +shoot, +zoom and +jump.

Bun

GM

Try ‘crosshair 0’ and ‘crosshair 1’ instead of cl_crosshair_scale. :)

Nyctal

CdC

does’nt work for me…i tried with this but nothing happens:

alias “+zoom” “+attack2; crosshair 0”
alias “-zoom” “-attack2; crosshair 1”
alias “+shoot” “+attack; crosshair 1”
alias “-shoot” “-attack”
alias “+inair” “+jump, crosshair 1”
alias “-inair” “-jump”
bind “mouse1” “+shoot” // Your Primary fire key
bind “mouse2” “+zoom” // Your Secondary fire key
bind “space” “+inair” // Your Jump key

Bryn

Are you using the default crosshairs?

Nyctal

CdC

Are you using the default crosshairs?

yes i’am using the dot number 5

Bryn

bind mouse2 +zoomin
alias +zoomin “+attack2;cl_crosshair_scale 0”
alias -zoomin “-attack2;bind mouse2 +zoomout”
alias +zoomout “+attack2;cl_crosshair_scale 30”
alias -zoomout “-attack2;bind mouse2 +zoomin”

Nyctal

CdC

bind mouse2 +zoomin
alias +zoomin “+attack2;cl_crosshair_scale 0”
alias -zoomin “-attack2;bind mouse2 +zoomout”
alias +zoomout “+attack2;cl_crosshair_scale 30”
alias -zoomout “-attack2;bind mouse2 +zoomin”

cl_crosshair_red 255
cl_crosshair_green 255
cl_crosshair_blue 255
cl_crosshair_file crosshair5
cl_crosshair_scale 21

alias +zoomin “+attack2;cl_crosshair_scale 0?
alias -zoomin “-attack2;bind mouse2 +zoomout”
alias +zoomout “+attack2;cl_crosshair_scale 80?
alias -zoomout “-attack2;bind mouse2 +zoomin”
bind mouse2 +zoomin

i have tried this as you suggest but doesn’t work…

Bryn

This forum fucks up quotation marks, half of what you posted are question marks instead of quotes

cl_crosshair_red 255
cl_crosshair_green 255
cl_crosshair_blue 255
cl_crosshair_file crosshair5
cl_crosshair_scale 21

alias +zoomin "+attack2;cl_crosshair_scale 0"
alias -zoomin "-attack2;bind mouse2 +zoomout"
alias +zoomout "+attack2;cl_crosshair_scale 80"
alias -zoomout "-attack2;bind mouse2 +zoomin"
bind mouse2 +zoomin

make sure they’re quotes that tf2 sees properly. Above should work because code tags don’t change them

Nyctal

CdC

nvm…i’ve tested it and sometimes when i jump scoped the binds b4 get fucked i’am working on it btw

Bryn

lol, I never jump while zoomed but something like this

bind space +sniperjump
alias +sniperjump "+jump;+zoomout;-zoomout"
alias -sniperjump -jump

should fix that

also, for rezoom off:

bind mouse1 +sniperattack
alias +sniperattack "+attack;+zoomout;-zoomout"
alias -sniperattack -attack

klu

-[MG]-
MG//

wrap code tags around any aliases, it’ll fix the “” problem

Nyctal

CdC

lol, I never jump while zoomed but something like this

bind space +sniperjump
alias +sniperjump "+jump;+zoomout;-zoomout"
alias -sniperjump -jump

should fix that

also, for rezoom off:

bind mouse1 +sniperattack
alias +sniperattack "+attack;+zoomout;-zoomout"
alias -sniperattack -attack

i’ll try and let you know…my attempt were close but not enough…another bug that i noticed is that when you zoom-unzoom-rezoom fast the binds are fucked…if you do it slowly enough instead no prob

Morty

RG

any update on this? :)

Memento Mori

I tried, it’s impossible to do.

Things that fuck it up –

unscoping using q, 2 or 3

fumbling right click on the other weapons

jumping

getting juggled

Add A Reply Pages: 1 2 Next »