Forum
sniper zoom script, need help
Created 2nd November 2009 @ 21:37
Add A Reply Pages: 1
I’m trying to make an skript that make my fov 75 then i zoom and fov 90 then I’m out off zoom. The problem is that at the same time i want my viewmodel_fov to be 80 but then i get out of the zoom it’s back to 75 for some reason…
this is how it looks like at the moment but it doesnt work D:
alias +zoom “fov_desired 75; viewmodel_fov 80”
alias -zoom “fov_desired 90; viewmodel_fov 80”
bind “mouse3” “+zoom; -zoom”
remove that -zoom from mouse3, it will use it when you release mouse3. if you want to have toggle then it should go something like this
alias zoom "zoom_in"
alias zoom_in "fov_desired 75; viewmodel_fov 80;alias zoom zoom_out"
alias zoom_out "fov_desired 90; viewmodel_fov 80;alias zoom zoom_in"
bind "button" "zoom"
remove that -zoom from mouse3, it will use it when you release mouse3. if you want to have toggle then it should go something like this
alias zoom "zoom_in"
alias zoom_in "fov_desired 75; viewmodel_fov 80;alias zoom zoom_out"
alias zoom_out "fov_desired 90; viewmodel_fov 80;alias zoom zoom_in"bind "button" "zoom"
thanks mate that did work! atleast it feels like it :P
edit: I did just discover i cant see any diffrence between fov 90 and fov 75 then im zoomed, does that mean the zoom isn’t affected by that command?
edit: I did just discover i cant see any diffrence between fov 90 and fov 75 then im zoomed, does that mean the zoom isn’t affected by that command?
Probably not, cause afaik zooming in sets your fov to 40 (or sth like that) while youre zoomed in regardless of your regular fov.
Add A Reply Pages: 1