Zoomscript

Dan5 pm’ed me on IRC about a little script he made for zooming

Dan5
– Generates a zoom script for you so you can use your mouse wheel to zoom in and out. I use it, and ppl call hax on me because I outzoom them! 😀 😀

It even takes in account changes to sensitivity so that if you zoom, movement won’t weird out on you.
Nice job!

http://qlzoomscript.heroku.com/ (warning, link dead)

Example output:

// Partially generated via: http://qlzoomscript.heroku.com/
set z_default_fov "cg_fov 115";
set z_default_sensitivity "sensitivity 7.0";

set z_defaults "vstr z_default_fov; vstr z_default_sensitivity; bind mwheelup vstr z_2; unbind mwheeldown";

// Zoomlevel 1 (no zoom, default settings)
set z_1_params "cg_fov 115; sensitivity 7.0";
set z_1 "vstr z_1_params; set z_cycle_up vstr z_2; set z_cycle_down vstr defaults";

// zoomlevel 2
set z_2_params "cg_fov 92; sensitivity 5.6";
set z_2 "vstr z_2_params; set z_cycle_up vstr z_3; set z_cycle_down vstr z_1; bind mwheelup vstr z_cycle_up; bind mwheeldown vstr z_cycle_down";

// zoomlevel 3
set z_3_params "cg_fov 55; sensitivity 3.36";
set z_3 "vstr z_3_params; set z_cycle_up vstr z_4; set z_cycle_down vstr z_2; bind mwheelup vstr z_cycle_up; bind mwheeldown vstr z_cycle_down";

// zoomlevel 4
set z_4_params "cg_fov 27; sensitivity 1.68";
set z_4 "vstr z_4_params; set z_cycle_up vstr z_5; set z_cycle_down vstr z_3; bind mwheelup vstr z_cycle_up; bind mwheeldown vstr z_cycle_down";

// zoomlevel 5
set z_5_params "cg_fov 16; sensitivity 1.008";
set z_5 "vstr z_5_params; set z_cycle_down vstr z_4; bind mwheelup vstr z_cycle_up; bind mwheeldown vstr z_cycle_down";

// What zoomlevel to go to first
set z_cycle_up "vstr z_1";
// Execute defaults.
vstr z_defaults

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.