Mods / Zoom Button - Reborn
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 Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 2.0.0 | zoombuttonreborn | 52479 | Oct 13th 2024 at 4:34 PM | zoombuttonreborn_2.0.0.zip | 1-click install | ||
|
Rollback time... | |||||||
| 1.9.0 | zoombuttonreborn | 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. | |||||||
| 1.8.0 | zoombuttonreborn | 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 | 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 | 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. | |||||||
| 1.4.0 | zoombuttonreborn | 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 | 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 | |||||||
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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
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
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
SpearAndFang Don´t know where issue was but now it works just like it should.
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)
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.
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
Vauhtisokea
Have you tried using the Y key instead of Z? It's a common "issue" on Keyboards with a QWERTZ layout.
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.
Won´t work for me. Mod Manager says it is installed but nothing happens
@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.
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:)
MailDeadDrop
Thanks!
I have a plan to fix this all up once and for all. New release coming soon.
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.
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.
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
Yes it's enabled (1.9.0)
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.
It doesn't work (?), not even showing the hotkey in controls.
@Ernie
Appreciate the info - thank you
@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.


@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!
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!
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.
The configuration file has no settings, the file contains only the path to the configuration file. And the default zoom button doesn't work(
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
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! :)
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.
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.
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.
i cant seem to turn the vignette off even with the mod menu
This mod is essential and imho, it should be vanilla. Does exactly what it says, and nothing more. Works perfectly.
👍
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!
@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.
Closed the game when I had the button pressed - that's now my new FOV... ;-)
I understand.
Thanks anyway for the answer!
@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.
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!
@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.
the config file doesn't apear for some reason
❤️
Tbh I like the Vignette 👍
But thanks for providing a Config 😊
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).
How do I bind it to mouse buttons?
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.
new release for 1.18. For the brave and the bold.
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.
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?
"I love this one"
You and me both
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!
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..
@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.
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?
FYI: I tested this mod with v1.17.0-pre.4 and v1.17.0-pre.5 - still working.
@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
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!
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
I briefly tested this mod with v1.17.0-pre.1 and it seemed to work aok.
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.
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.
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.
Is this a client only mod? Because servers throw an exception when trying to load the mod.
Absolutely amazing, A toggle for the vignetting would be great but otherwise love it!
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.
Awesome!!! Glad to see this updated and widely available again! \o/
Thank you so much for the much needed update!
It appears to be working just fine on 1.16.0-rc.3.