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
a month ago
1.1 - 2.0
1.73K
Transportation Cheats

b Unable to fully zoom in when in map mode

a month 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)

a month ago
(updated a month 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

a month ago
(updated a month 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.

a month 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

a month 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

a month ago

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

a month 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>

a month ago
(updated a month 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

a month ago
(updated a month ago)

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

a month ago
(updated a month 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

a month ago

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

a month ago

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

a month ago
(updated a month 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

a month 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

a month ago

Have you asked them for this on the forums yet?

a month ago
(updated a month 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