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
15 days ago
1.1 - 2.0
1.64K
Transportation Cheats
Owner:
kuxynator
Source:
N/A
Homepage:
N/A
License:
CC BY-NC-ND 4.0
Created:
2 years ago
Latest Version:
3.2.8 (15 days ago)
Factorio version:
1.1 - 2.0
Downloaded by:
1.64K users

Kuxynator's Zooming Reinvented Running

v3.2 Rework for Factorio 2.0

This mods includes the full functionality of Zooming Reinvented

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