Border Toggles

Border Toggles 4.2

I fixed single tiles showing their own border instead of being part of the city border for that settlement, for the rare occassions where the game created a discovery (goody hut) during an age, after turn 1, and that tile later becomes part of a settlement.

I've also disabled the debug logging that I added in 4.0. You can re-enable it yourself in the mod options.
Lastly, I updated the German localization (thanks @Chr1Z!)

A big thanks to @BrianKindly again for sending me several savefiles and logs, which were essential for hunting down these bugs!
This is still compatible with game update 1.2.0 and doesn't need a new version.
I fixed all (?) remaining cases of single tiles showing their own border instead of being part of the city border for that settlement. In 4.0 this could still happen on the tiles where a settlements center once was, either from an independent people or (AI) player settlement that was dispersed or razed during the same game session.

I'll leave the debug logging in for now, in case my all is not truly all. It will be removed in a later version. I'm also looking at a way to simplify the code, as it has become much more complex than the original (bugged) code from the game itself.
I fixed the city border not updating to the new color after a settlement changes owner by capture, peace deal or integration.
I also fixed some/most/all (?) cases of single tiles showing their own border instead of being part of the city border for that settlement. I'm not convinced yet that I fixed all possible cases. Therefor this version writes a lot of extra info to the UI.log, which helps me troubleshoot any leftover border mismatches.

If you still find a mismatched border at some point, I would be very grateful if you would send me a screenshot with the spot, UI.log (zipped) from that moment and an (auto)save from one or two turns before it happened.
Updated Korean localization for options text, provided by @Gusjeon (thanks!)
Updated Russian localization for options text, provided by @Webrok (thanks!)
  • Like
Reactions: benuendo
Added options to enable the city border for the default view, the trade lens, the map tacks mod* and religion lenses from two mods*. For map tacks it's enabled by default.
Also made sure those options will be re-applied after a UI reload, for instance when changing certain graphic options.

You can find the options in Options, Add-ons section, under Finwickle's Mods. The options are not yet localized and will display in English for now. I will update the localization when I can.

options.png


* Mods that these options work on:
Special thanks to @beezany and @wltk for patiently explaning Javascript, and @beezany again for the excellent mod options tutorial.
This is still compatible with game update 1.1.1 and doesn't need a new version.
Still compatible with game update 1.1.1 patch 1 as well.
  • Like
Reactions: benuendo
Added Simplified Chinse localization, provided by @F1rstDan (thanks!)
Updated Polish localization (thanks @Borush96!)
Added French localization, provided by @Somchai2548 (thanks!)
  • Like
Reactions: benuendo
Added Italian localization, provided by @leonardify (thanks!)
Added Spanish localization, provided by @iBlockZer0 (thanks!)
Updated Korean localization (thanks @Gusjeon!)
  • Like
Reactions: benuendo
Updated to provide full information when viewed in the TCS Improved Mod Page mod manager mod, including localization for all fields. I will update localizations when I get additional translations (please do provide them!).

Updated Russian localization (thanks @Webrok!)
  • Like
Reactions: benuendo
Updated for compatibility with game patch 1.1.0, that went live earlier today.
Added Polish localization, provided by @Borush96 (thanks!)
Added Russian localization, provided by @Webrok (thanks!)
  • Like
Reactions: benuendo
Added localization:
  • Korean by @Gusjeon (thanks!)
  • German by me with Google Translate; could probably use an update by an actual German.
I'm open for more localizations. I've tried Google Translate for other languages, but didn't dare use those.

I've also skipped the plural in English, so save a little space in that tiny lenses window.
  • Like
Reactions: benuendo
Back
Top Bottom