• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.
Border Toggles

Border Toggles 4.3

I also think/hope I might have fixed the issue of single tiles having weird city borders, as if they are settlements of their own. The game sometimes thinks a tile which was aquired in a settlement, already had a previous owner (no idea why), but then couldn't find the tile in the owned-by-someone list and created a new entry in that list for the non-existing previous owner, resulting in a tile that looks like it is a settlement on its own. I suppress that creation to avoid the game confusing itself.

I now do know what happens. Tiles with discoveries (goody huts) have a special kind of owner internally, as if all the goody huts combined form an empire of their own. When the discovery is cleared by a player, the "Goody Hut Empire" ownership is not completely removed from that tile. When a settlement later expands into that tile, the game finds that the tile has a previous owner, but cannot determine what the owner is and often creates a new border for that single tile, as if it is a settlement on its own. Now it's a mini-empire of sorts. It keeps this status until a reload, at which time the border is calculated from scratch which is much more error-proof.
This is visible in the UI.log when using the 4.0 beta-3 version.

The civ border is calculated completely independent from the city border and does not have this issue.

The 4.0 beta version seems to solve this issue correctly. I'll do some more testing myself and await feedback before publishing a real 4.0 version.
 
Finwickle updated Border Toggles with a new update entry:

4.0 Fixed city border not updating correctly

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...

Read the rest of this update entry...
 
I anyone still spots a mismatched city border like in the screenshots below, I would really appreciate it if you could send me the following, in a direct message or attached to a post here:
  • Screenshot with the mismatched tile
  • UI.log; on Windows you can find it in %localappdata%\Firaxis Games\Sid Meier's Civilization VII\Logs but you'll have to 'zip' it before attaching (right click, send to, zip)
  • savefile from one or two turns before it happened; either a manual save or an autosave, can be attached without zipping
The UI.log now contains a lot of messages from Border Toggles, making it much easier for me to troubleshoot these cases. Because it happens so rarely and because it fixes itself on a reload, it was very hard for me to find these before. A big thanks to @BrianKindly for assisting me before with several savefiles, which allowed me to fix many (I hope!) of these cases in version 4.0.

Somewhere in the future I will update this mod again to remove all or most of the extra logging. But I want to be confident that I've fixed most, or all, of these cases before I do.

Examples of what these mismatched borders look like:
1744659348118.png
1744659434006.png
 
I'm very confident that not every case is solved:
1744744695105.png


The tile to the west was a city center of a captured town I razed, because I wanted to build a town one tile to the east. I'm searching for ways to fix this.
 
Finwickle updated Border Toggles with a new update entry:

4.1 Fixed mismatched single tile city borders for destroyed settlements

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...

Read the rest of this update entry...
 
Finwickle updated Border Toggles with a new update entry:

4.2 Fixed mismatched single tile city borders for goody huts that appear mid age

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...

Read the rest of this update entry...
 
Last edited:
Is it possible to lower the opacity of the borders? I'd like them visible, but, less blindingly visible lol.
 
Is it possible to lower the opacity of the borders? I'd like them visible, but, less
I think it would be nice to have the individual city borders view with a reduced opacity mainly because when you have 2 borders touching each other it shows as a double border rather than a single one, unless there’s a way to make adjustments so it only shows a single border when this happens.
 
Hello everyone and Selam :)
Finwickle Tesekkürler/ Thanks for your great work ❤️:)
I just noticed that the language isn't German, but still in English.Even though I just set it to German, the language and information are in English.
I should have mentioned that briefly; I hope it gets corrected. Arigatooo 😁👍
 
Back
Top Bottom