Anybody have a zoom cfg ?
Advertisement
Page 1 of 1
Zoom cfg
#2
Posted 15 May 2021 - 03:17 PM
You mean an FOV zoom?
You can toggle this on and off with b, depending on if you use a zoomed weapon.
Looks like a mess, sorry :P
seta fov "vstr fov90"
seta fov90 "cg_fov 90; set fov vstr fov110; ut_echo ^190"
seta fov110 "cg_fov 110; set fov vstr fov90; ut_echo ^1110"/
seta sr8 "vstr off"
seta off "cg_fov 110; set sr8 vstr on; set fov ut_echo fov_off; ut_echo ^1off"
seta on "set sr8 vstr off; set fov vstr fov90; ut_echo ^1on"
bind b "ut_zoomreset; wait 1; vstr sr8"
bind MOUSE2 "vstr fov; wait 1; ut_zoomin;"
You can toggle this on and off with b, depending on if you use a zoomed weapon.
Looks like a mess, sorry :P
seta fov "vstr fov90"
seta fov90 "cg_fov 90; set fov vstr fov110; ut_echo ^190"
seta fov110 "cg_fov 110; set fov vstr fov90; ut_echo ^1110"/
seta sr8 "vstr off"
seta off "cg_fov 110; set sr8 vstr on; set fov ut_echo fov_off; ut_echo ^1off"
seta on "set sr8 vstr off; set fov vstr fov90; ut_echo ^1on"
bind b "ut_zoomreset; wait 1; vstr sr8"
bind MOUSE2 "vstr fov; wait 1; ut_zoomin;"
#4
Posted 16 May 2021 - 01:43 AM
You can write yourself a script that does this:
Obviously you will run into a problem with the sr8 when you fire, so you would need another binding
This then again needs a toggle, because it breaks automatic fire.
set MOUSE2_sniper_press "ut_zoomin;bind MWHEELUP ut_zoomout;bind MWHEELDOWN ut_zoomin"
set MOUSE2_sniper_release "ut_zoomreset;bind MWHEELDOWN ut_itemnext;bind MWHEELDOWN ut_itemuse;"
bind MOUSE2 "+vstr MOUSE2_sniper_press MOUSE2_sniper_release"
Obviously you will run into a problem with the sr8 when you fire, so you would need another binding
bind MOUSE1 "+attack;ut_zoomreset;-attack;"
This then again needs a toggle, because it breaks automatic fire.
Sorry for my bad spelling - I am still asleep. :)
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
|=| Iye's UrT Addon |=| Firefox Personas |=| Maps |=|
http://www.mediafire...vk3a602hcfg.jpg
#5
Posted 16 May 2021 - 10:13 AM
Binds can be stopped serverside so it is better to avoid rebinding anything.
These scripts will allow you to zoom in and out while holding MOUSE3 (in my case a thumb button). And it is made to switch to knife or main weapon with the mousewheel.
My config still contains a toggle between fov zooming and double zoom as I tested what fits me.
bind MOUSE3 "+vstr cv_zoomonein cv_zoomout"// bind MOUSE3 "ut_zoomreset"
// bind MOUSE3 "+vstr cv_zoomtwoin cv_zoomout"// 2x zoom
// set cv_m3switch "vstr cv_m3fovzoom"
// set cv_m3fovzoom "bind MOUSE3 +vstr cv_fovzoomin cv_fovzoomout; set cv_m3switch vstr cv_m3zoom; ut_echo FOV Zoom"// fovzoom
// set cv_m3zoom "bind MOUSE3 +vstr cv_zoomonein cv_zoomout; set cv_m3switch vstr cv_m3fovzoom; ut_echo Normal Zoom; play sound/zoom"// Hold zoom
// set cv_m3zoom2 "bind MOUSE3 vstr cv_zoomonein; set cv_m3switch vstr cv_m3zoom; ut_echo Toggle Zoom; play sound/zoom; play sound/zoom"// Toggle zoom
// set cv_m3zoom2 "bind MOUSE3 +vstr cv_zoomtwoin cv_zoomout; set cv_m3switch vstr cv_m3zoom; ut_echo 2x Zoom; play sound/zoom; play sound/zoom"// 2x zoom
set cv_mwup "vstr cv_switchtoknife"
set cv_mwdown "vstr cv_switchtoprimary"
set cv_mwprimary "set cv_mwup vstr cv_switchtoknife; set cv_mwdown vstr cv_switchtoprimary;"
set cv_zoomout "set cv_mwup vstr cv_switchtoknife; set cv_mwdown vstr cv_switchtoprimary; vstr cv_zoomoneout"
set cv_mwzoom "set cv_mwup vstr cv_zoomonein; set cv_mwdown vstr cv_zoomoneout;"
set cv_zoomoneout "ut_zoomout"
set cv_zoomonein "ut_zoomin; vstr cv_mwzoom"
// set cv_zoomtwoin "ut_zoomin; ut_zoomin; vstr cv_mwzoom"
// set cv_fovzoomin "cg_fov 90"
// set cv_fovzoomout "cg_fov 110"
set cv_switchtoknife "ut_weaptoggle knife"
set cv_switchtoprimary "weapon 2; weapon 3; weapon 20; weapon 21; weapon 4; weapon 24; weapon 22; weapon 5; weapon 6; weapon 25; weapon 23; weapon 8; weapon 7; weapon 15; weapon 17; weapon 19; weapon 9; weapon 10; weapon 14; vstr cv_zoomoneout" // weaponlist so it works with all g_gear
//1 knife 2 Be (F) 3 DE (G) 4 SPAS (H) 5 MP5 (I) 6 UMP (J) 7 HK (K) 8 LR (L) 9 G36 (M) 10 PSG (N) 11 HE (O) 12 Flash (P) 13 Smoke (Q) 14 SR (Z) 15 AK (a) 16 Bomb 17 Negev © 19 M4 (e) 20 Glock (f) 21 Colt (g) 22 Mac 11 (h) 23 FR 16 Magnum (l) 24 Benelli (j) 25 P90 (k)
// set cv_switchtoprimary "ut_weaptoggle sidearm; ut_weaptoggle secondary; ut_weaptoggle primary; vstr cv_zoomoneout" // bugged because of dual use weapons
bind MWHEELUP "vstr cv_mwup"// bind MWHEELUP "weapnext"
bind MWHEELDOWN "vstr cv_mwdown"// bind MWHEELDOWN "weapprev"
These scripts will allow you to zoom in and out while holding MOUSE3 (in my case a thumb button). And it is made to switch to knife or main weapon with the mousewheel.
My config still contains a toggle between fov zooming and double zoom as I tested what fits me.
bind MOUSE3 "+vstr cv_zoomonein cv_zoomout"// bind MOUSE3 "ut_zoomreset"
// bind MOUSE3 "+vstr cv_zoomtwoin cv_zoomout"// 2x zoom
// set cv_m3switch "vstr cv_m3fovzoom"
// set cv_m3fovzoom "bind MOUSE3 +vstr cv_fovzoomin cv_fovzoomout; set cv_m3switch vstr cv_m3zoom; ut_echo FOV Zoom"// fovzoom
// set cv_m3zoom "bind MOUSE3 +vstr cv_zoomonein cv_zoomout; set cv_m3switch vstr cv_m3fovzoom; ut_echo Normal Zoom; play sound/zoom"// Hold zoom
// set cv_m3zoom2 "bind MOUSE3 vstr cv_zoomonein; set cv_m3switch vstr cv_m3zoom; ut_echo Toggle Zoom; play sound/zoom; play sound/zoom"// Toggle zoom
// set cv_m3zoom2 "bind MOUSE3 +vstr cv_zoomtwoin cv_zoomout; set cv_m3switch vstr cv_m3zoom; ut_echo 2x Zoom; play sound/zoom; play sound/zoom"// 2x zoom
set cv_mwup "vstr cv_switchtoknife"
set cv_mwdown "vstr cv_switchtoprimary"
set cv_mwprimary "set cv_mwup vstr cv_switchtoknife; set cv_mwdown vstr cv_switchtoprimary;"
set cv_zoomout "set cv_mwup vstr cv_switchtoknife; set cv_mwdown vstr cv_switchtoprimary; vstr cv_zoomoneout"
set cv_mwzoom "set cv_mwup vstr cv_zoomonein; set cv_mwdown vstr cv_zoomoneout;"
set cv_zoomoneout "ut_zoomout"
set cv_zoomonein "ut_zoomin; vstr cv_mwzoom"
// set cv_zoomtwoin "ut_zoomin; ut_zoomin; vstr cv_mwzoom"
// set cv_fovzoomin "cg_fov 90"
// set cv_fovzoomout "cg_fov 110"
set cv_switchtoknife "ut_weaptoggle knife"
set cv_switchtoprimary "weapon 2; weapon 3; weapon 20; weapon 21; weapon 4; weapon 24; weapon 22; weapon 5; weapon 6; weapon 25; weapon 23; weapon 8; weapon 7; weapon 15; weapon 17; weapon 19; weapon 9; weapon 10; weapon 14; vstr cv_zoomoneout" // weaponlist so it works with all g_gear
//1 knife 2 Be (F) 3 DE (G) 4 SPAS (H) 5 MP5 (I) 6 UMP (J) 7 HK (K) 8 LR (L) 9 G36 (M) 10 PSG (N) 11 HE (O) 12 Flash (P) 13 Smoke (Q) 14 SR (Z) 15 AK (a) 16 Bomb 17 Negev © 19 M4 (e) 20 Glock (f) 21 Colt (g) 22 Mac 11 (h) 23 FR 16 Magnum (l) 24 Benelli (j) 25 P90 (k)
// set cv_switchtoprimary "ut_weaptoggle sidearm; ut_weaptoggle secondary; ut_weaptoggle primary; vstr cv_zoomoneout" // bugged because of dual use weapons
bind MWHEELUP "vstr cv_mwup"// bind MWHEELUP "weapnext"
bind MWHEELDOWN "vstr cv_mwdown"// bind MWHEELDOWN "weapprev"
Advertisement
Page 1 of 1
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement