Cities: Skylines

Cities: Skylines

190 arvostelua
Toggle Edge Scrolling 1.2.2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
262.471 KB
3.11.2021 klo 17.42
24.5.2023 klo 22.05
20 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Toggle Edge Scrolling 1.2.2

Kuvaus


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 kommenttia
algernon  [tekijä] 25.5.2023 klo 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.5.2023 klo 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  [tekijä] 24.5.2023 klo 21.26 
Updated to version 1.2.2:
- Update AlgernonCommons
algernon  [tekijä] 20.5.2023 klo 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.5.2023 klo 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  [tekijä] 20.5.2023 klo 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.5.2023 klo 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.5.2023 klo 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.1.2023 klo 0.12 
Thanks for that fix
algernon  [tekijä] 15.1.2023 klo 16.52 
Updated to Version 1.2.1:
- Fix mod not loading in editors