Mods / Zoom Button - Reborn

Category: #Graphics #Utility
Author: SpearAndFang
Side: Client
Created: Dec 30th 2021 at 8:52 AM
Last modified: Oct 13th at 4:34 PM
Downloads: 21338
Follow Unfollow 402

Latest file for v1.20.0-pre:
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 the old fashioned way, 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.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v2.0.0 1744 Oct 13th at 4:34 PM Show zoombuttonreborn_2.0.0.zip Install now
v1.9.0 2406 Aug 25th at 6:27 AM Show zoombuttonreborn_1.9.0.zip Install now
v1.8.0 3329 May 5th at 2:43 PM Show zoombuttonreborn_1.8.0.zip Install now
v1.6.0 4598 Oct 29th 2023 at 8:43 PM Show zoombuttonreborn_1.6.0.zip Install now
v1.5.0 2402 Aug 31st 2023 at 5:33 AM Show ZoomButton1.5.0.zip Install now
v1.4.0 2961 Feb 25th 2023 at 5:47 PM Show ZoomButton1.4.0.zip Install now
v1.3.0 1953 Jul 4th 2022 at 11:55 PM Show ZoomButton1.3.0.zip Install now
v1.2.0 1296 Dec 30th 2021 at 9:05 AM Show ZoomButton1.2.0.zip Install now

57 Comments (oldest first | newest first)

💬 SpearAndFangAuthor, Oct 14th 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 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:)

💬 SpearAndFangAuthor, Sep 27th 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 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.

💬 SpearAndFangAuthor, Sep 11th 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 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 at 10:09 PM

Yes it's enabled (1.9.0)

💬 SpearAndFangAuthor, Sep 2nd 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 at 3:53 PM

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

💬 SpearAndFangAuthor, May 10th at 2:11 PM

@Ernie
Appreciate the info - thank you

💬 Ernie, May 6th 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.

💬 SpearAndFangAuthor, May 6th 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!

💬 Ernie, May 6th 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!

💬 SpearAndFangAuthor, Apr 29th 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 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 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 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! :)

💬 SpearAndFangAuthor, Apr 26th 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 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.

💬 SpearAndFangAuthor, Apr 26th 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 at 10:00 PM

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

 

💬 TheRealFlynn, Apr 20th at 4:53 PM

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

💬 SpearAndFangAuthor, Mar 29th at 3:55 AM

👍

💬 Fujishiro, Mar 28th 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!

💬 SpearAndFangAuthor, Feb 2nd 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 at 11:28 PM

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

💬 ZonkPJ, Jan 27th at 2:57 PM

I understand.
Thanks anyway for the answer!

💬 SpearAndFangAuthor, Jan 24th 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 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!

💬 SpearAndFangAuthor, 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

💬 SpearAndFangAuthor, 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 😊

💬 SpearAndFangAuthor, 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?

💬 VallenModerator, 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.

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

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

💬 SpearAndFangAuthor, 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. mods.vintagestory.at/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?

💬 SpearAndFangAuthor, 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..

💬 SpearAndFangAuthor, 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?

💬 SpearAndFangAuthor, 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

💬 SpearAndFangAuthor, 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 

 

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

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

💬 SpearAndFangAuthor, 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.

💬 SpearAndFangAuthor, 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!

💬 SpearAndFangAuthor, 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)