Just Zoom

Just Zoom

10M Downloads

Config file issues

ScrubN opened this issue ยท 1 comments

commented

Recently a modpack I have been playing updated some unrelated mods/configs, however now Just Zoom is no longer behaving as it used to.

It is smoothly transitioning from the default FOV to the zoomed FOV, whereas before it was instant. I currently have lerp_amount set to 1 in the config file, however it still has the smooth transition. When setting lerp_amount to 0 like mentioned in the curseforge webpage, the zoom transition remains and does not return to normal FOV when the key is released.

In addition to the smooth zoom transition, Just Zoom now also uses the smooth/cinematic camera movement despite it being disabled in the config file.

I'm wondering if the config file isn't being found/read from anymore, causing the mod to default everything?

The modpack is using Just Zoom 1.0.2 on Forge 1.20.1. The config file is located at <modpack>\config\justzoom\config.txt, and it's contents are currently:

##[zoom]

[The base zoom factor before zooming in or out.]
D:base_zoom_factor = '0.45';
[Caps the maximum FOV when zooming out, so you can't zoom out more than your normal FOV. Default = true]
B:zoom_out_cap = 'true';
[If the camera should move smoothly when zoomed.]
B:smooth_camera_on_zoom = 'false';
[How much to zoom out per scroll.]
D:zoom_out_per_scroll = '0.05';
[If the zoom factor should reset to the base zoom factor when stop zooming. Default = true]
B:reset_zoom_factor = 'true';
[How much to zoom in per scroll.]
D:zoom_in_per_scroll = '0.05';
[How fast the zoom should interpolate between the current FOV and the modified/zoomed FOV. Higher values mean faster interpolation. Default = 0.1 (10 frames), Min = 0.01 (100 frames), Max = 1 (1 frame)]
D:lerp_amount = '1';

I don't see anything in the console about the config file failing to be found/read, however I also do not see any logging statements in the config code. Are you able to provide any insight on what my issues may be and/or add some additional logging statements in a future version?

commented

I would like to apologize, it seems someone added a completely different zoom mod to the modpack without removing Just Zoom OR mentioning it in the patch notes.