Events on_map_position_changed, on_zoom_level_changed, on_render_mode_changed
Posted: Sun Apr 07, 2019 9:01 am
I am trying to revert zooming behaviour to what it was in version 0.15.10, when zooming was more aggressive and it was possible to zoom out farther:
I have overridden what the following game controls do:
However, there is plenty of cases when the game changes the render_mode and/or position and/or zoom_level that cannot be overridden and sometimes not even detected by a mod:
Having the following events would be a great help:
- toggle-map
- zoom-out
- zoom-in
- alt-zoom-out
- alt-zoom-in
However, there is plenty of cases when the game changes the render_mode and/or position and/or zoom_level that cannot be overridden and sometimes not even detected by a mod:
- clicking on the minimap to open a map
- clicking on 'Open this location in map.' in the train GUI
- doing the above with the 'Toggle centering on locomotive' enabled
- clicking on the alert
- using move-up, move-down, move-left, move-right actions on the map
- using drag-map action on the map
Having the following events would be a great help:
- on_map_position_changed
- on_zoom_level_changed
- on_render_mode_changed