Title: counter-strike style zoom script Post by: hada on April 11, 2013, 09:51:18 PM i used some of the codes in this thread: http://openarena.ws/board/index.php?topic=2911.0
i was a long time cs player so i wanted a cs 1.5 like zoom (two zooms with one click with an opening sound) and created this: set zt vstr y1 set y0 "-zoom; set zt vstr y1" set y1 "cg_zoomfov 50; +zoom; play sound\items\flight.wav; set zt vstr y2" set y2 "cg_zoomfov 30; play sound\items\flight.wav; set zt vstr y0" bind mouse2 vstr zt bind mouse1 "+attack; -zoom; set zt vstr y1" bind q "-zoom; set zt vstr y1" i was using 640x480 resolution while determinating fov values so i don't know if it gonna need to change on your resolution. note for newbies like me: increased fov value means less zoom. i tried all the sound files oa comes with and i found these ones also suitable for the job: sound\world\fan.wav sound\weapons\change.wav sound\le\splat1.wav Title: Re: counter-strike style zoom script Post by: GrosBedo on April 22, 2013, 04:24:34 PM Thank's for sharing. I'm not a big fan of zooming, but this is an interesting piece of vstr scripting.
|