Kuxynator's Zooming Reinvented Running


This mod allows to heavily customise the zooming behaviour. Running speed depends on zoom level. Zoom out to run faster, zoom in to run slower.

Tweaks
3 months ago
1.1 - 2.0
1.89K
Transportation Cheats

b Unable to fully zoom in when in map mode

4 months ago

This issue is a bit random.

Occasionally, when I max-zoomed-out in character mode; then I switch to map mode (tab), then I cannot fully zoom in. When that happen, I can zoom in a bit, but scrolling further would immediately set zoom to max-zoom-out, before slowly zoom in a bit, then jump back to max-zoom-out.

Another clue is that when that happens, I notice the cut-over point happens immediately after the world is rendered (ie. I can see assembler as assembler), at that point, if I scroll the mouse, it jumps right to assembler-as-a-square view.

When that happens, tabbing out of map mode then tab back in does not fix the problem. The workaround I found is that tab out to character mode, zoom in a bit, then tab in to map mode. Now I can fully zoom in, and zooming in stay zoomed in (not switching in-out-in)

4 months ago
(updated 4 months ago)

the early ‘map mode’ no longer exists, it is now a remove-view. and the API is very limited.
there is no way to read the zoom level. and in chart-view (this mode when you dont see details) I can not watch the mouse-wheel or zoom keys, it is to despair. i can only hope that the developers will make the effort to improve the api again

4 months ago
(updated 4 months ago)

In that case I wonder is it possible to add an option to disable some of the zoom functions, especially when remote-view mode?

I think the run part of the mode works fine, and the character mode zoom seems to also fine. However this bug is really jarring when it happens.

4 months ago

nothing is active in the remote view, that's the problem. as soon as i switch to the remote view, i no longer have any control and information about zoomlevel. and as soon as you switch back, the zoom no longer matches the memorised one and it seems to jump wildly. I continue my investigation

4 months ago

open map
render_mode: chart(2)
zoom in
render_mode: game(1) => but expected chart_zoomed_in(3)
another hidden API change! and the docu is wrong. :(
that could explain your problem
I have to rewrite more things

4 months ago

tryout the v3.2.0
I have rewritten the complete zooming logic

4 months ago

Thanks for the fast update... Unfortunately now I have this error

The mod Kuxynator's Zooming Reinvented Running (3.2.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Kux-ZoomRunning::Kux-ZoomRunning-toggle-map (ID 206)
LuaEntity belongs to surface nauvis (index 1) but a LuaEntity belonging to surface platform-2 (index 4) was expected.
stack traceback:
[C]: in function 'set_controller'
Kux-ZoomRunning/control.lua:273: in function 'on_toggleMap'
Kux-ZoomRunning/control.lua:317: in function <Kux-ZoomRunning/control.lua:316>

4 months ago
(updated 4 months ago)

I have a strange issue - escape button no longer works to open the, well, escape menu (toggle menu in keybinds). Inside the editor it does nothing and during regular sandbox play it just toggles the remote view. If I add another keybind for open menu, other than escape, it works again but needless to say this is very inconvenient

4 months ago
(updated 4 months ago)

I am curious, what button do you use for clear cursor?

4 months ago
(updated 4 months ago)

@ankel for new issue please use new thread (now created for you)


@VL4DST3R

I personally use Q to clean the cursor. M and middle mouse for toogle the map
but and i hook only WASD, zoom-in, zoom-out and toggle-map

4 months ago

Can you (or anyone else) reproduce my issue above? Want me to make a new thread as well?

4 months ago

@VL4DST3R Always for new issues >> create new thread ;-) otherwise i get confused with answers like right now
continue here

3 months ago
(updated 3 months ago)

I am loving the new passive mode. It seems to have fixed all the jumpy-zoom.

So far the running speed seems to also work reasonably well. There was time when I feel the speed is not fully applied, but scrolling a bit and it worked again. Thank you for the update

3 months ago

yes, the zoom can be unsynchronised, then you have to zoom in or out completely to be synchronised
maybe Wube finally unlocks to make LuaPlayer.zoom readable

3 months ago

Have you asked them for this on the forums yet?

3 months ago
(updated 3 months ago)

for years already, when I wrote the mod
done again https://forums.factorio.com/viewtopic.php?f=28&t=116826&p=641262#p641262

New response