Cities: Skylines

Cities: Skylines

190 vurderinger
Toggle Edge Scrolling 1.2.2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
262.471 KB
3. nov. 2021 kl. 17:42
24. maj 2023 kl. 22:05
20 ændringsbemærkninger ( vis )

Abonner for at downloade
Toggle Edge Scrolling 1.2.2

Beskrivelse


New in 1.2: option to automatically disable edge scrolling when the game loses focus (goes into the background)

New in 1.1: option to automatically start the game with edge scrolling disabled (regardless of previous setting)

A simple mod that adds a Unified UI (UUI) button, with associated hotkey (default Alt-Shift-S, changeable in the options panel) to toggle screen edge scrolling on or off (without having to go into the options panel each time).

Version 1.1 adds the option to automatically turn off edge scrolling on game load (choose this in the mod's option panel). When this option is enabled, edge scrolling will automatically be turned off whenever you load a save or start a new game, regardless of the previous setting (normally, the last state - enabled or disabled - will be what's set whenever you load into the game). Using this means that you can happily load saves in the background without having to come back to a game that's scrolled all the way into the corner of the map.

Version 1.2 adds the option to automatically turn off edge scrolling whenever the game loses focus (goes into the background). The previous edge scrolling status (enabled or disabled) will be automatically restored when the game regains focus.

Potential use cases include modders who have keep switching between the game and modding software, people with multiple monitors, and/or players who want to check reference info/guides/discord etc. while playing.

Note that the Unified UI mod itself is NOT required (but does give you some extra options if it is). The UUI button will appear (and be draggable) even without the Unified UI mod installed.

Works both in-game and in editors.



[discord.gg]

Meta
Doesn't touch the savefile, and can be safely removed at any time.


Source code
[github.com].


Translations
[crowdin.com]
Please leave a message below if you'd like me to add another language on CrowdIn.


[ko-fi.com]
56 kommentarer
algernon  [ophavsmand] 25. maj 2023 kl. 5:02 
@zacc.drake That error readllly doesn't look like it comes from this mod (this doesn't use GameSettings), and an error with a mod using that could certainly could block the in-game changes for other keys. Let me know if it persists after you clean up your mod collection and I'll take a closer look - for now I can't reproduce that issue.
zacc.drake 25. maj 2023 kl. 4:48 
Hi @algernon, sorry it's taken a few days for me to get back to this.
Today I'm having a slightly different problem to what I described earlier.

The hotkey setting now changes properly on the settings page, but the setting does not update in-game until I restart the game.


My output log is full of this:
466,710ms | GameSettings: '' is not found or cannot be loaded. Make sure to call GameSettings.AddSettingsFile() to register a settings file before using SavedValue(). [Settings - Internal]
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


However I know that there was an update in the last few days, and I have done NOTHING about checking if all my mods are compatible, so the problem may lie elsewhere...
algernon  [ophavsmand] 24. maj 2023 kl. 21:26 
Updated to version 1.2.2:
- Update AlgernonCommons
algernon  [ophavsmand] 20. maj 2023 kl. 17:43 
@zacc.drake Thanks - no obvious candidtates there. Can you reproduce the issue (i.e. change the key) and post your output log from immediately afterwards?
zacc.drake 20. maj 2023 kl. 6:06 
@algernon I haven't played in a while, and my mods do need a good go-through. It seems that lots has changed in the mod world since I played last.

Compatibility report here: https://pastebin.com/yjNc79S1

Thanks
algernon  [ophavsmand] 20. maj 2023 kl. 2:16 
@zacc.drake This just uses the normal inbuilt game control for key setting. Most likely you've got a mod doing something strange; post your Compatibility Report output and I'll take a look.
zacc.drake 20. maj 2023 kl. 1:45 
There seems to be a problem with setting the hotkey. Seems like it's just not listening. The box changes to 'Press any key', then nothing happens. (Except SOMETIMES, but rarely, it does).

NO WAIT, I've figured it out!
1) Click once
2) Press desired hotkey
3) Click twice more
This works! but why...??
HouCat 10. maj 2023 kl. 17:26 
Maybe this has been suggested, but I would love to see the UUI icon change when the toggle is enabled (green) and disabled (red).
uncle ron 17. jan. 2023 kl. 0:12 
Thanks for that fix
algernon  [ophavsmand] 15. jan. 2023 kl. 16:52 
Updated to Version 1.2.1:
- Fix mod not loading in editors