[MOD 0.17.24+] Zooming Reinvented

Topics and discussion about specific mods
Post Reply
jarcionek
Fast Inserter
Fast Inserter
Posts: 137
Joined: Thu Mar 10, 2016 11:26 am
Contact:

[MOD 0.17.24+] Zooming Reinvented

Post by jarcionek »

mod portal: https://mods.factorio.com/mod/ZoomingReinvented
source code: https://github.com/Jarcionek/Factorio-Z ... Reinvented
Short description
This mod allows to heavily customise the zooming behaviour, in particular it allows to:
  • change how far you can zoom out (and still see the world)
  • change how aggressive the zooming is (equivalent to changing mouse wheel sensitivity)
  • change at what position and zoom level the map opens
  • zoom in or out instantly with a single key stroke (or mouse wheel move)
Note: see homepage/mod portal/readme for a full explanation of how this mod works.

Your help is needed! Please report any bugs and usability issues you find to help make this mod better. Your feedback is much appreciated.

How is this mod different from other mods that allow to zoom out farther than the base game?
This mod replaces the base game's zooming behaviour to make the user experience as natural as possible (given the severe restrictions of the modding API). There is no extra GUI buttons, there is no extra keyboard shortcuts, and it doesn't require the map to be closed - there is just the mouse wheel that you are already used to. Also, this mod does much better job at preventing the sudden zoom level changes when using different controls. Finally, this mod adds a lot of customisable settings so you can tailor them to your needs.

Controls
Image

This mod changes the behaviour of the following game controls:
  • Zoom in - disabled (using control assigned to it will be ignored)
  • Zoom out - disabled (using control assigned to it will be ignored)
  • Alternative zoom in - overridden, with the exception of the map view (see known issues below)
  • Alternative zoom out - overridden
  • Toggle world map - overridden
Furthermore, it adds the following controls:
  • Quick zoom in - opens a map in the 'zoom to world' view, fully zoomed out, at the last known map position. This can be used to:
    • Zoom back in to the world after you accidentally zoomed out too much and got switched to the map view.
    • Reopen a map at the last known map position after you closed it.
    • Zoom out fully if you are already in 'zoom to world' view. Additionally, if you select an object in the world by hovering over it, the map will get centered on this object.
  • Quick zoom out - opens a map in the map view at the configured zoom level at the centre of the map
Customisation
Image
  • Zoom sensitivity - defines how big is the change when zooming in or out. Doesn't apply to zooming in on the map (unless in zoom to world view). Base game's value is about 1.1 when the map is closed and about 1.25 when the map is open (regardless of whether it is in a zoom to world view or in a map view).
  • Max world zoom out level - defines how far you can zoom out and still see the world. In player view it defines maximum zoom out, in the map it defines when zoom to world view switches back to map view. Base game's value is about 0.4.
  • Default map zoom level - defines at what zoom level the map opens. Base game's value is about 0.0313.
  • 'Quick zoom out' map zoom level - defines at what zoom level the map opens when using 'Quick zoom out'.
  • Disable map zoom out after map move - defines whether to disable map zooming out after the map position has changed (by dragging, using move controls or zooming in). This to prevent sudden map position changes when zooming out (see known issues for explanation why this happens). If this option is selected, after you move the map, the only way to zoom out is to close and open the map again or use 'Quick zoom out'.
Known Issues
See it in Mod Portal or in GitHub

Post Reply

Return to “Mods”