Kuxynator's Zooming Reinvented Running


3.3.x ALL ZOOM FEATURES BACK (Factorio >=2.0.46 required) 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
4 days ago
1.1 - 2.0
2.01K
Transportation Cheats
Owner:
kuxynator
Source:
N/A
Homepage:
N/A
License:
CC BY-NC-ND 4.0
Created:
2 years ago
Latest Version:
3.3.1 (4 days ago)
Factorio version:
1.1 - 2.0
Downloaded by:
2.01K users

Kuxynator's Zooming Reinvented Running

vv3.3 – Rework for Factorio 2.0.46 (The zoom freedom is finally back)

The Factorio team has finally decided – and found the time – to remove the zoom restrictions introduced in 2.0.0 and even added some more zoom-related improvements. Thanks for that!

The mod now works again just like it did in 1.1.x.
Thanks to the fact that zoom can finally be read (after 10 years of waiting), all the complicated workarounds and guesswork have become obsolete.

New Features

  • Configure how far you can zoom out while staying in world view (range: 10 ... 0.01)
  • Option to enable chart-view zoom transition everywhere, not just in remote view for Factorio 1.1 feeling
  • Precisely control the transition points between world view and chart view
  • Toggle directly between world and chart view without using remote view
  • Remote view has separate configuration for all features

v3.2 Rework for Factorio 2.0

These mods include the full functionality of Zooming Reinvented
(The running part can be turned off completely to keep the original functionality only)

in particular it allows to:

  • change how far you can zoom out (and still see the world) [limited by API]
  • 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
  • running speed depends on zoom level. Zoom out to run faster, zoom in to run slower.
    Very useful when multiple exoskellette installed, or on fast streets.
  • with (optional) cheat: run faster than legal.

New in v2.1

The cheat mode is now optional, by default its turned off now. The player can activate/deactive the cheat mode (if available for this map) for itself in the player setting. An admin can activate the availability of the cheat in the map setting.

The Hovermode (cheat) can only be enabled/disabled in the startup settings. (due technical reasons)

Satisfactorio:
- The max zoom out level is limited (to Vanilla value) by default. This can be disabled (cheat) in the user setting.

Remote interface for mod developer (since v1.2.0)

Interface: "Kux-Zooming"
- getZoomFactor(playerIndex)
Gets the current zoom factor of the specified player index
- onZoomFactorChanged_add(interfaceName, functionName)
- interfaceName: the name of your interface
- functionName: the name of your function
Adds an callback which is called when any players zoom factor has changed
- onZoomFactorChanged_remove(interfaceName, functionName)
Removes the callback

Example:

local kuxZoomingCallback = {
    onZoomFactorChanged = function(event)
        game.players[event.playerIndex].print(event.zoomFactor..", "..event.renderMode)
    end,    
}
remote.register("MyMod_kuxZoomingCallback", kuxZoomingCallback)
remote.call("Kux-Zooming","onZoomFactorChanged_add", "MyMod_kuxZoomingCallback", "onZoomFactorChanged")

Info

Credits

jarcionek and his original mod Zooming Reinvented