Mods / Zoom Button - Reborn

Tags: #Graphics #Utility
Author: SpearAndFang
Side: Client
Created: Dec 30th 2021 at 8:52 AM
Last modified: Oct 19th at 12:29 AM
Downloads: 73239
Follow Unfollow 1449

Recommended download (for Vintage Story 1.19.8, 1.20.0 - 1.20.12 and 1.21.0-rc.1 - 1.21.5):
zoombuttonreborn_2.0.0.zip  1-click install


I reached out to Goxmeor and he graciously agreed to let me revive this mod for 1.16 and beyond. Thanks Gox!



Have you ever changed your Field of View graphics setting in your client to zoom in? Yup, that's pretty much all this mod does: it gives you a HotKey to temporarily drop your Field of View to the legal minimum of 20 and halves your mouse sensitivity.

Hold down the HotKey (default Z) to zoom. Release to zoom back out. Gox made a video explaining it all.  Check it out below!



Mod Configuration

If you want to customize this mod, see %appdata%/VintagestoryData/ModConfig/zoombutton119.json.

  • zoomInTimeSec: 0.5
  • zoomOutTimeSec: 0.1
  • fieldOfView: 20
  • mouseSensitivityFactor: 0.5
  • changeMouseSmoothing: false
  • mouseSmoothing: 0.0
  • vignetteShaderEnabled: true

 


Troubleshooting

If you are permanently zoomed in for whatever reason, just go to Settings - Graphics - Field Of View and set the slider to about 70.  Watch the short video above for more detailed instructions.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
2.0.0 zoombuttonreborn
1.20.0 - 1.20.12 1.21.0-rc.1 - 1.21.5
52479 Oct 13th 2024 at 4:34 PM zoombuttonreborn_2.0.0.zip 1-click install

Rollback time...
- back to client only mod, because distance rendering of moss on trees (and other things) has been fixed in Vanilla (as of 1.20pre5).  I will no longer be concerning myself with such things.
- removed ConfigLib support - it had some issues with this mod that hardly seemed worth addressing - please edit the modconfig file manually if necessary.  

1.9.0 zoombuttonreborn
1.19.8 - 1.20.0-pre.0
2850 Aug 25th 2024 at 6:27 AM zoombuttonreborn_1.9.0.zip 1-click install

Fix: Less rendering issues of moss on trees when zoomed in.

Tweak: Changed mod from client only to universal in order to implement the above fix.  Which is a fairly significant tweak, so hopefully this doesn't cause the mod to behave badly in multiplayer.

1.8.0 zoombuttonreborn
1.19.8 - 1.20.0-pre.0
3432 May 5th 2024 at 2:43 PM zoombuttonreborn_1.8.0.zip 1-click install

Fix issue with modconfig file creation - thanks VaelophisNyx, Adaltan

1.6.0 zoombuttonreborn
1.19.0 - 1.19.3 1.19.5 - 1.19.7
4788 Oct 29th 2023 at 8:43 PM zoombuttonreborn_1.6.0.zip 1-click install

Same as before, just rebuilt with the latest Visual Studio, new mod template, and tested with the pre-release.

1.5.0 zoombuttonreborn
1.18.6 - 1.18.7 1.18.9 - 1.18.15
2539 Aug 31st 2023 at 5:33 AM ZoomButton1.5.0.zip 1-click install

Added a modconfig option "vignetteShaderEnabled".  Default is true.  Set it to false to disable the vignette shader.

Note: The vignette shader was my only contribution to this mod, so don't go saying something like "thanks, I hated that f**king shader!"

1.4.0 zoombuttonreborn
1.18.0 - 1.18.1 1.18.2 - 1.18.8
3070 Feb 25th 2023 at 5:47 PM ZoomButton1.4.0.zip 1-click install

FIXED: Crash when exiting to the main menu

1.3.0 zoombuttonreborn
1.17.0 - 1.17.11
2042 Jul 4th 2022 at 11:55 PM ZoomButton1.3.0.zip 1-click install

Fixed key control remapping functionality

1.2.0 zoombuttonreborn 1390 Dec 30th 2021 at 9:05 AM ZoomButton1.2.0.zip 1-click install

Initial re-release


77 Comments (oldest first | newest first)

💬 SpearAndFang , 2 days ago

Gelan
You were probably just not playing the game at the time.  Load into a world, then press <ESC> and look for it.
Mods do not load before then so you will not see it until then.

💬 Gelan, 3 days ago

I have a weird bug. I updated to 1.21.5 and latest version of the mod. There is no option in my settings menu to change the zoom key bind. Infact it's not on the list anywhere at all.  

💬 JakeFoXx, Oct 21st at 1:19 AM

Heyo, just ran into the issue where I disconnected from a multiplayer LAN game being hosted by my spouse and was stuck in the zoomed in FOV after I crashed.

Changing the Field of View graphics settings zoomed me out, but my screen was extremely distorted (short/fat appearance).

Changing the changing the GUI Scale (Settings - Interface - GUI Scale) all the way down to its minimum then back to 10 (where it was before) seemed to fix the issue 

💬 Orin55, Oct 19th at 6:10 PM

I think I found a small bug.

If you get disconnected from a server while pressing the zoom button, you get permanently zoomed in.

Changing FOV and mouse sensibility fixes the issue.

💬 tkFaux, Oct 7th at 4:12 PM (modified Oct 7th at 4:12 PM)

SpearAndFang I've resolved this, somehow there were three instances of a Zoom bind in the options, one on UI, one in Actions and another from Vintage Tweaks. The UI and Actions zoom functions were double-bound to Z which seems to have caused the rounding error, unbinding one of them has it fixed now.

💬 SpearAndFang , Oct 7th at 5:20 AM (modified Oct 7th at 5:29 AM)

tkFaux
Sorry I cannot recreate that issue.  Sounds like some sort of rounding issue, and a mod conflict.  There are getting to be more and more mods I think that muck with cameras and players and field of view, so I'm not sure which.

Could also be related to a customization of this mod's mod configuration file I suppose.

💬 tkFaux, Oct 6th at 6:45 PM

Having an issue with the zoom feature. Whenever I use zoom then back to normal, the default FOV drops by 1. E.g., if I set my FOV to 90 in the menu and zoom in/out 10 times, the FOV in the menu is now 80. 

💬 SpearAndFang , Aug 30th at 3:55 PM (modified Aug 30th at 3:56 PM)

animatiV
Appreciate the info. Thanks!

Shion
Please see what animatiV wrote, and update "Overhaul lib" to v0.8.20 if necessary. This mod hasn't required any changes in a long long time, but the occasional mod conflict will inevitably come along.

Also see the troubleshooting section above if your FOV is stuck at the wrong setting.

💬 Shion, Aug 29th at 2:16 PM

There seems to be a bug in 1.21: use default settings and try changing toolbelt slots from spear to empty slot while zoomed in. Zoom level will at least glitch or even stay zoomed. Combat Overhaul mod might be involved.

💬 animatiV, Aug 19th at 10:32 AM (modified Aug 20th at 11:46 AM)

I'm having a problem with the mod on version rc.6.

When I press the button, the image doesn't zoom in immediately, but after about 3 seconds. The FOV returns after releasing the button, after another 3-5 seconds. You can see the clouds moving quickly. I tested it without any other mods, and it's the same.

 

Edit: Strange, but disabling all mods and restarting the game helped. I re-enabled all mods and now it's fine.

Edit2: I restarted the game with mods and the problem returned...

Edit3: The latest versions of "Overhaul lib" (0.8.17-0.8.19[latest at the moment]) are causing issues. Disabling this mod and restarting the game fixes the zoom functionality. Overhaul lib in version 0.8.16 it works correctly.

OL v0.8.20 fixed the bug. ✔️
 
💬 SpearAndFang , Aug 15th at 12:51 AM (modified Aug 15th at 12:52 AM)

Apasassy

Weird. Did you exit the game completely? You could try disabling/removing the mod I suppose.  Then adjust your FOV.
I'm not sure that anyone has had the exact problem you describe. The mod only adjusts the FOV slider, so you can always override it by adjusting that slider.

Also, game version 1.20.1 is kind of a yikes.  That game version is surely rife with other issues. Backup your world and upgrade to the most stable version: 1.20.12

💬 Apasassy, Aug 15th at 12:17 AM (modified Aug 15th at 12:19 AM)

Having a problem others have had before in a permanent zoom in after a crash.  Going into settings and changing FOV does nothing.  Running 1.20.1

 

💬 FentonCheese, Jul 3rd at 8:46 PM

It would be cool if when zooming in your range for seeing block/entity info increased so you can see what you are zoomed in on

💬 Vauhtisokea, Apr 29th at 6:54 PM

SpearAndFang Don´t know where issue was but now it works just like it should.

💬 dakko, Apr 29th at 4:26 PM

SpearAndFang

Weird, I didn't get notified of your response... 

I may not have checked while loaded because I went in just now to confirm and the modded keybinds are NOT present unloaded, just as you've said.

I reinstalled vsimgui & configlib, and the modded keybinds are still there. They also function this time. And now I am wondering if I actually tested Zoom before -- it was the non-functioning of Quick Waypoints that caused me to look in Controls in the first place, and it could have been my inability to see the modded keybind that led me to think that Zoom was also affected. (please forgive my memory problems)

💬 SpearAndFang , Apr 28th at 2:26 PM

dakko
"the keys were not there at all"
I have to ask - when you were looking at the controls menu, it was definitely while you had a saved game loaded in, correct?
Because modded keybinds will not appear under controls until you are actually in a world playing the game.

💬 dakko, Apr 27th at 9:08 PM

SpearAndFang  There is a conflict with either (or both) vsimgui_1.1.8 & configlib_1.5.2 which prevents the bound key from appearing in the controls menu.

 

I have previously used Zoom & Quick Waypoints with no problem. Installed 1.20.9, and also added the ability to customize BetterRuins with ConfigLib & VSimgui. I could not use either Zoom or Quick Waypoints - using their default assigned keys had no effect, and their keys did not even appear in the Control menu. I ran the game, exited, and re-entered the game several times during this troubleshooting process.

 

I removed ConfigLib & VS imgui. Re-entered the game and both Zoom and Quick Waypoints work fine, as always. Their default assigned keys now appear in the Control menu, as they had always done before.

 

To be clear: there was no other mod using their keys; the keys were not there at all

p.s. this is a single player world

 

 

💬 LordIBR, Apr 15th at 12:36 PM

Vauhtisokea

Have you tried using the Y key instead of Z? It's a common "issue" on Keyboards with a QWERTZ layout.

💬 SpearAndFang , Apr 5th at 2:31 PM

Vauhtisokea

Did you check the key binding?  Maybe some other mod is using the Z key for something else

1. Start a world
2. Press ESC
3. Go into settings - controls ....you will see it and can remap it.

💬 Vauhtisokea, Apr 5th at 11:29 AM

Won´t work for me. Mod Manager says it is installed but nothing happens

💬 SpearAndFang , Oct 14th 2024 at 4:59 PM

@Krakus
I just tried and it works for me.  You have to load the mod first before you can remap, which means you have to do it in game.

1. Start a world
2. Press ESC
3. Go into settings - controls ....you will see it and can remap it.

💬 Krakus, Oct 14th 2024 at 1:22 PM

Hello, I am not able to remap the zoom button, the option is not there under settings - controls - actions. I am running game version 1.19.8 and have tried both mod versions 2.0 and 1.9, after restart. Not something I really need fixed but I wanted to let you know:)

💬 SpearAndFang , Sep 27th 2024 at 1:25 AM

MailDeadDrop
Thanks!
I have a plan to fix this all up once and for all. New release coming soon.

💬 MailDeadDrop, Sep 26th 2024 at 9:14 PM

SpearAndFang

Adding to the problem that Vinorosso reported ("doesn't work, not even showing the hotkey in controls") I have the same issue. The 1.9.0 version seems to work for singleplayer games, but not for multiplayer. I reverted to the 1.8.0 version which does work (for me) in multiplayer. Additionally, I added the mod GUI stuff and it, too, does not work in multiplayer (works in singleplayer). So there's possibly a related or similar issue there, too.

💬 SpearAndFang , Sep 11th 2024 at 2:10 PM

Kalonie
just go into Settings - Graphics - Field of View and move the slider to about 70.

That's all this mod does basically - muck with that slider.

💬 Kalonie, Sep 11th 2024 at 2:29 AM

i crashed while zoomed in and now im stuck zoomed in even with the mod disabled. mod version is most recent and game is 1.19.8

💬 Vinorosso, Sep 2nd 2024 at 10:09 PM

Yes it's enabled (1.9.0)

💬 SpearAndFang , Sep 2nd 2024 at 9:53 PM

Vinorosso
It's enabled in the mod manager?
Is something else mapped to the Z key?

Failing all that, you *could* try the previous version (1.8.0). That change in the latest release (1.9.0) was pretty dramatic.

💬 Vinorosso, Sep 2nd 2024 at 3:53 PM

It doesn't work (?), not even showing the hotkey in controls.

💬 SpearAndFang , May 10th 2024 at 2:11 PM

@Ernie
Appreciate the info - thank you

💬 PhobosFogg, May 6th 2024 at 4:13 PM

@SpearAndFang Yes, it's 1.8.0, and I also have the latest versions of ConfigLib and ImGui installed both on the server and locally.  It is a multiplayer server running on 1.19.7 Stable and my account is the admin.  Here are two screenshots showing the difference between the config screens for this mod, and MobsRadar, which works.  This isn't a huge issues because I can just use the config file, but thought you'd like to know about this!  Let me know if you need anything.

💬 SpearAndFang , May 6th 2024 at 1:57 PM

@Ernie
hmmm.  Are you using the latest mod version (1.8.0)? If not please try that one.

If that doesn't fix it, can you let me know what game version and whether it's single or multiplayer? Thanks!

💬 PhobosFogg, May 6th 2024 at 9:51 AM

When I use the "Mods Settings" area, the options are greyed out and unchangeable.  I have other mods which are configurable this way (Mobs Radar, for example).  What am I doing wrong?  Thanks in advance, and thanks for the mod - I absolutely love it!

💬 SpearAndFang , Apr 29th 2024 at 11:10 PM

VaelophisNyx @Adaltan

You are right.  My bad, so sorry! If you are anxious please use the previous version (1.6.0) until I get a chance to fix this.

💬 Adaltan, Apr 29th 2024 at 11:26 AM

The configuration file has no settings, the file contains only the path to the configuration file. And the default zoom button doesn't work(

💬 VaelophisNyx, Apr 29th 2024 at 7:08 AM

SpearAndFang I've checked several times and even manual installed and its still not putting anything in the config file. I think something is afoot

💬 MarkimusGamimg, Apr 27th 2024 at 12:42 PM

SpearAndFang     

 thank you! That worked! I do love the hyper focus's effect the vignette creates in 1st person but I needed to take it off cause I want to zoom in on myself for when I eventually make a series on my yt channel somewhen in the future, be a cool option to be able to disable 3rd person without disabling first! :)

💬 SpearAndFang , Apr 26th 2024 at 1:38 PM

Nydsmeil
If I had to guess, this is an issue related to the 1 click install on the modDB website.  And I personally do not put a lot of faith in the in-game Mod Manager.  It's best to take a look in your mods folder and see what's going on.

Open the game, choose Mod Manager, then click the Open Mods Folder button. Have a close look at what is in that folder.  Make sure there are not multiple versions of the same mod.  If so, delete all except the latest version. That applies to this mod, config lib, and imgui.

Then return to the Mod Manager and click Reload Mods.  If it is still not working at that point I would probably just delete all three mods from the mods folder and download the latest version of them.

TLDR: Keep the Mods Folder nice and tidy.

💬 Pritis, Apr 26th 2024 at 7:32 AM

I've checked about 10 times now ensuring I have the mod installed, and enabled, and I've restarted the game and my computer, but Z does nothing and there's no option in settings regarding it, but the ImGui mod recognizes that I have it.

💬 SpearAndFang , Apr 26th 2024 at 1:08 AM

MarkimusGamimg
Good because the vignette is the only part of the mod that I actually wrote.

Seriously though...it works for me.  But after you make and save changes to any mod configurations, you need to reload the world for them to take effect.  So CTRL-F1 , or exit to the main menu and reload your world.

💬 MarkimusGamimg, Apr 25th 2024 at 10:00 PM

i cant seem to turn the vignette off even with the mod menu

 

💬 TheRealFlynn, Apr 20th 2024 at 4:53 PM

This mod is essential and imho, it should be vanilla. Does exactly what it says, and nothing more. Works perfectly.

💬 SpearAndFang , Mar 29th 2024 at 3:55 AM

👍

💬 Fujishiro, Mar 28th 2024 at 8:29 PM

This is awesome! I just started playing VS for the first time yesterday and this is very useful in helping me get acquainted with the land. Thanks!

💬 SpearAndFang , Feb 2nd 2024 at 2:57 AM

@NukoSan,
just go into Settings - Graphics - Field of View and move the slider to about 70.

That's all this mod does basically - muck with that slider.

💬 NukoSan, Feb 1st 2024 at 11:28 PM

Closed the game when I had the button pressed - that's now my new FOV... ;-)

💬 ZonkPJ, Jan 27th 2024 at 2:57 PM

I understand.
Thanks anyway for the answer!

💬 SpearAndFang , Jan 24th 2024 at 5:41 AM

@ZonkPJ
Although I haven't done a deep dive, it's my understanding that this would be very difficult to do from within the mod itself.  I use an app called "antimicro" to handle this sort of thing...although I can't really recommend it because it took me a long time to get it set up to my liking.  I've heard others say that using the Steam app (yeah that wasn't a typo) makes keyboard -> mouse/controller rebinding a breeze.

Since I have all my keyboard/mouse rebindings exactly how I want them I'm reluctant to dive into the steam app solution myself.

💬 ZonkPJ, Jan 23rd 2024 at 11:28 AM

Hi!
Loving the mod, but would like to configure it to the mouse wheel button (not the wheel proper, but the button that it also has), as most games i play with zoom have it configured there and i am used to that button, but i see i cant. Do not know if is a thing of the game or of the mod, but just wanted to let you know in case there is something that could be done.
Thanks in advance!

💬 SpearAndFang , Sep 15th 2023 at 9:37 PM

@winson_curst

You have to actually load into a world once in order for mods to create config files.  Maybe that's the issue?

-OR-

I had a small typo in the documentation above (that I just fixed).  Maybe that's the issue?

1. On Windows, browse to %appdata%/VintagestoryData/ModConfig

    On something other than Windows, Run the game, choose Mod Manager, click Open Mods Folder.  Go up one level and then into the ModConfig folder.

2. You should see a text file zoombutton.json.  You should also see a bunch of other json files if you use other mods.

I would need more information in order to assist further.

💬 winson_curst, Sep 15th 2023 at 9:13 PM

the config file doesn't apear for some reason

💬 SpearAndFang , Aug 31st 2023 at 2:15 PM

❤️

💬 NiclAss, Aug 31st 2023 at 10:12 AM

Tbh I like the Vignette 👍

But thanks for providing a Config 😊

💬 SpearAndFang , May 29th 2023 at 11:11 PM

SilverBird you can remap it in game (Settings - Controls - Actions - Zoom In), but I think only to another key.  I don't think you could map any of those Key Controls to the mouse without some third party solftware (i.e. X-Mouse Button Control).

💬 SilverBird, May 29th 2023 at 7:05 PM

How do I bind it to mouse buttons?

💬 Vallen , May 3rd 2023 at 12:23 PM

I just got a crash on exiting a server. I reported to your issue tracker on github. :)
Nevermind. I had the old file still in there when connecting.

💬 SpearAndFang , Feb 25th 2023 at 5:51 PM

new release for 1.18.  For the brave and the bold.

💬 SpearAndFang , Nov 24th 2022 at 3:33 PM

Jake3D I have only ever seen the vignette while zoomed, so I'm not sure what you are talking about.  Maybe there's an incompatibility with your graphics card.  You could try this instead. https://news.kalataka.ru/spyglass.

💬 Jake3D, Nov 24th 2022 at 8:16 AM

is there any way to fix the horrible vignette effect added by this mod?

i can understant the vignette wile zoomed, but Why is it there when not zooming? Can this be fixed?

💬 SpearAndFang , Nov 1st 2022 at 12:10 AM

"I love this one"
You and me both

💬 pnumenwiese, Oct 31st 2022 at 11:43 AM

This was by far the most useful mod I've ever had! I love this one. No issues at all, compatibility with other mods. Great! Now I can watch my bread in the oven closely.. (◠△◠✿) Thank you!

💬 HoosierDaddy, Sep 20th 2022 at 7:31 PM

That was it. Reinstall the game.

I don't use CC either, but it was the first one I could think of that added a hot key and a Controls entry..

💬 SpearAndFang , Sep 19th 2022 at 2:55 PM

@HoosierDaddy
hmm maybe a fresh install of the full game will help.  This mod is still working perfectly for me and has through all of the 1.17.x releases including the latest.  I also use StepUp but not Campaign Cartographer.

💬 HoosierDaddy, Sep 19th 2022 at 1:24 PM

Still working?

17.3, (not clean, through updates), Essentials, Creative, Survival, Zoom.. Not included under actions "Z" does not zoom. Add StepUp to the mix, it steps up. Add Campaign Cartographer, F7 option appears in Interface.

Maybe time to bite the bullet and download the game fresh?

💬 SpearAndFang , Jul 15th 2022 at 2:26 PM

FYI: I tested this mod with v1.17.0-pre.4 and v1.17.0-pre.5 - still working.  

💬 Tokimimo, Jul 5th 2022 at 1:56 AM

@SpearAndFang 

Thanks !! That is some serious reactivity there, my keyboard is azerty so i just had to swap into qwerty but no need for that now thanks to you. Great work

💬 SpearAndFang , Jul 4th 2022 at 11:58 PM

Tokimimo
oops, I didn't realize that was broken.  I've uploaded a new version that should sort that out.  Please use it instead, and then from in game:
ESC - Settings - Controls - Actions - Zoom In.  The video also shows how to change that as well.   Thanks!

💬 Tokimimo, Jul 4th 2022 at 8:23 PM

great mod, but how do i change the key ? maybe add a line in the config but what do I need to type in ? If someone can help me out that would be great 

 

💬 SpearAndFang , Jun 27th 2022 at 4:00 AM

I briefly tested this mod with v1.17.0-pre.1 and it seemed to work aok.  

💬 SpearAndFang , Feb 6th 2022 at 11:50 PM

Aledark,
With an identical setup - new world, VS 1.16.3, carraycapacity 0.6.4, and bricklayers 0.8.2 - I immediately had the exact same issue.  And that was without this mod or any other mods installed. 

I saved and exited the world and went back in and it magically started working. Then I enabled this mod and tried several times/ways to recreate the issue but could not.  Based on what happened to me initially, I'd have to say that the issue is specific to the vanilla game, carrycapacity, and bricklayers.

💬 Aledark, Feb 6th 2022 at 10:11 PM

Small bug when you have that mod enabled, you cannot lift fireclay vessels with carrycapacity 0.6.4 and bricklayers 0.8.2 with version 1.16.3. We tryed new world with an without the mod and somehow it messes up controls for that. Standard vessel works fine or chest but it doesnt work for fire clay vessel for example.

💬 SpearAndFang , Jan 17th 2022 at 8:31 AM

Buggi,
I've only ever used it in single player. I've seen it used by players on servers, so based on what you said, I believe the correct answer is yes, client only.

💬 Buggi, Jan 17th 2022 at 3:55 AM

Is this a client only mod? Because servers throw an exception when trying to load the mod.

💬 Smile, Jan 1st 2022 at 9:08 PM

Absolutely amazing, A toggle for the vignetting would be great but otherwise love it!

💬 SpearAndFang , Dec 30th 2021 at 9:47 PM

My pleasure.  It makes for a great modding tool as well, for inspecting new blocks/items closely or for observing things from a distance.  I love this mod.

💬 KineticKnight, Dec 30th 2021 at 9:36 PM

Awesome!!! Glad to see this updated and widely available again! \o/

💬 OpPointBaker, Dec 30th 2021 at 3:14 PM

Thank you so much for the much needed update!

It appears to be working just fine on 1.16.0-rc.3.

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом