PDA

View Full Version : Zoom Script Question


Wonder Boy
March 4th, 2008, 07:50 PM
Hey guys, it's Wonder Boy...

I have a question about my zoom script, it isn't working for me and I can't figure out how to fix it.


bind "MOUSE3" "zoom"

alias zoom zoomon

alias zoomon "bind MWHEELDOWN zoomout; bind MWHEELUP zoomin; alias zoom zoomoff

alias zoomoff "fov 120; alias zoom zoomon"

alias zoomout fov120
alias zoomin fov45

alias fov10 "fov 10; alias zoomout fov15; alias zoomin fov10"
alias fov15 "fov 15; alias zoomout fov20; alias zoomin fov10"
alias fov20 "fov 20; alias zoomout fov25; alias zoomin fov15"
alias fov25 "fov 25; alias zoomout fov30; alias zoomin fov20"
alias fov30 "fov 30; alias zoomout fov35; alias zoomin fov25"
alias fov35 "fov 35; alias zoomout fov40; alias zoomin fov30"
alias fov40 "fov 40; alias zoomout fov45; alias zoomin fov35"
alias fov45 "fov 45; alias zoomout fov50; alias zoomin fov40"
alias fov50 "fov 50; alias zoomout fov55; alias zoomin fov45"
alias fov55 "fov 55; alias zoomout fov60; alias zoomin fov50"
alias fov60 "fov 60; alias zoomout fov65; alias zoomin fov55"
alias fov65 "fov 65; alias zoomout fov70; alias zoomin fov60"
alias fov70 "fov 70; alias zoomout fov75; alias zoomin fov65"
alias fov75 "fov 75; alias zoomout fov80; alias zoomin fov70"
alias fov80 "fov 80; alias zoomout fov85; alias zoomin fov75"
alias fov85 "fov 85; alias zoomout fov90; alias zoomin fov80"
alias fov90 "fov 90; alias zoomout fov95; alias zoomin fov85"
alias fov95 "fov 95; alias zoomout fov100; alias zoomin fov90"
alias fov100 "fov 100; alias zoomout fov105; alias zoomin fov95"
alias fov105 "fov 105; alias zoomout fov110; alias zoomin fov100"
alias fov110 "fov 110; alias zoomout fov115; alias zoomin fov105"
alias fov115 "fov 115; alias zoomout fov120; alias zoomin fov110"
alias fov120 "fov 120; alias zoomout fov150; alias zoomin fov115"


When I press mouse3, it automatically zooms me in to fov45. When I press mouse3 again it goes back to fov120. I want it so it stays at fov120 when I press mouse3 and then I can scroll up or down to zoom in or out. Then I can press mouse3 again and I go back to fov120 and I don't zoom any more.

I can't figure this out and it would be great if you guys can help.

Thanks :D

GtsR
March 4th, 2008, 08:00 PM
the fuck is all that?

alias zoomin "fov 40; alias zoom zoomout"
alias zoomout "fov 0; alias zoom zoomin"
bind "CAPSLOCK" "zoom"

or whatever key u want

DildoBaggins
March 7th, 2008, 10:47 PM
noob

atheist
March 7th, 2008, 11:11 PM
//--* Zoom
alias ZoomIn "ZoomIn1"
alias ZoomIn1 "fov 80; alias ZoomIn ZoomIn2; alias ZoomOut ZoomOut1; dv1; echo nOthing: Zoom Level 1; dv0"
alias ZoomIn2 "fov 70; alias ZoomIn ZoomIn3; alias ZoomOut ZoomOut2; dv1; echo nOthing: Zoom Level 2; dv0"
alias ZoomIn3 "fov 60; alias ZoomIn ZoomIn4; alias ZoomOut ZoomOut3; dv1; echo nOthing: Zoom Level 3; dv0"
alias ZoomIn4 "fov 50; alias ZoomIn ZoomIn5; alias ZoomOut ZoomOut4; dv1; echo nOthing: Zoom Level 4; dv0"
alias ZoomIn5 "fov 40; alias ZoomIn ZoomIn6; alias ZoomOut ZoomOut5; dv1; echo nOthing: Zoom Level 5; dv0"
alias ZoomIn6 "fov 30; alias ZoomIn ZoomIn7; alias ZoomOut ZoomOut6; dv1; echo nOthing: Zoom Level 6; dv0"
alias ZoomIn7 "fov 20; alias ZoomIn ZoomIn8; alias ZoomOut ZoomOut7; dv1; echo nOthing: Zoom Level 7; dv0"
alias ZoomIn8 "fov 10; alias ZoomOut ZoomOut8; dv1; echo nOthing: Zoom Level 8; dv0"

alias ZoomOut "ZoomOut1"
alias ZoomOut8 "fov 20; alias ZoomOut ZoomOut7; alias ZoomIn ZoomIn8; dv1; echo nOthing: Zoom Level 7; dv0"
alias ZoomOut7 "fov 30; alias ZoomOut ZoomOut6; alias ZoomIn ZoomIn7; dv1; echo nOthing: Zoom Level 6; dv0"
alias ZoomOut6 "fov 40; alias ZoomOut ZoomOut5; alias ZoomIn ZoomIn6; dv1; echo nOthing: Zoom Level 5; dv0"
alias ZoomOut5 "fov 50; alias ZoomOut ZoomOut4; alias ZoomIn ZoomIn5; dv1; echo nOthing: Zoom Level 4; dv0"
alias ZoomOut4 "fov 60; alias ZoomOut ZoomOut3; alias ZoomIn ZoomIn4; dv1; echo nOthing: Zoom Level 3; dv0"
alias ZoomOut3 "fov 70; alias ZoomOut ZoomOut2; alias ZoomIn ZoomIn3; dv1; echo nOthing: Zoom Level 2; dv0"
alias ZoomOut2 "fov 80; alias ZoomOut ZoomOut1; alias ZoomIn ZoomIn2; dv1; echo nOthing: Zoom Level 1; dv0"
alias ZoomOut1 "fov 0; alias ZoomIn ZoomIn1; dv1; echo nOthing: Zoom Off; dv0"

//--* Binds
bind "MWHEELDOWN" "ZoomOut"
bind "MWHEELUP" "ZoomIn"

eznorb`
March 9th, 2008, 12:34 AM
the fuck is all that?

alias zoomin "fov 40; alias zoom zoomout"
alias zoomout "fov 0; alias zoom zoomin"
bind "CAPSLOCK" "zoom"

or whatever key u want

QFT

nitrovengE
April 26th, 2008, 11:28 PM
the fuck is all that?

alias zoomin "fov 40; alias zoom zoomout"
alias zoomout "fov 0; alias zoom zoomin"
bind "CAPSLOCK" "zoom"

or whatever key u want

i couldnt get that to work.

is there a way to make it so that i right click once to zoom in to fov 60, then when i right click again it zooms back out to fov 90; like the sniper does it?