Sid Meier's Civilization VI

Sid Meier's Civilization VI

Not enough ratings
Toggle UI Banners
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod: UI
File Size
Posted
Updated
18.691 KB
14 Oct, 2022 @ 10:14pm
15 Oct, 2022 @ 1:49am
2 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Toggle UI Banners

Description
Adds hotkeys to toggle UI elements individually, such as banners and icons. This allows you to easily find the info you're looking for without hunting behind UI clutter. For example, toggle off the City Banners then go into Empire Lens to easily see all your district icons and adjacency across your realm, or to instantly pick out the army situation on your continent.

Functionality also exists to toggle on/off Unit Icons, as well as adding a hotkey to toggle the Launch Bar at the top left of the screen. Each of these three components can be independently toggled and do not interact with each other.

Toggle Unit Banners = u
Toggle City Banners = i
Toggle Launch Bar = x


These hotkeys are (currently) not customizable so be careful if you're running other mods that use these keys (or have rebound them to default game keys) as they may not fire when pressed. If you're having issues go into game settings -> bindings and make sure u, i, and x are not currently bound to something else.

This mod's functionality is added via brute-force of the game's existing InGame.lua, and uses the Gathering Storm version as a base. Any UI mods that alter this same file will cause issues if they force overwrite it as well. This mod does not attach itself to savegames so you may test it without fear of corruption, and it can be removed at any time.

This mod only works with the Gathering Storm ruleset at game setup. Making it work with the other modes is easy enough if you want to tinker with the files yourself.

===========================================================================

Works with:
Extended Policy Cards
Policy Change Reminder
Quick Deals
Better Trade Screen
Better City List
Better Unit Flags
Better Unit List
Better Report Screen (UI)
Real Strategy (AI)
Sukritact's Global Relations Panel

Does NOT work with:
Community Quick User Interface (CQUI) (See here for CQUI version)
7 Comments
Obb 21 May, 2024 @ 12:22pm 
Indeed, adapting to the base game was pretty straightforward, simply removing the dependency from the info file and now it works fine. But so, I don’t really understand, why the need to link it to a dependency then ?

Anyway, it’s really great, having the possibility to clean the UI is a pleasing luxury !
Being able to hide the world tracker too, since I did not find how to make a keybind to collapse / unroll it, this will be a good workaround enough ! Thanks much.
twi 10 Mar, 2023 @ 3:51am 
If anyone wants to change the hotkeys, go to line 85 in ...\Steam\steamapps\workshop\content\289070\2875365127\InGame.lua to find the hotkey strings.
Kornstalx  [author] 18 Oct, 2022 @ 9:48pm 
I've created a second version of this mod specifically for CQUI. I had to configure it to use different hotkeys because CQUI is already using some of the ones here. I will upload it tonight or tomorrow.
Yome NetSan 18 Oct, 2022 @ 9:50am 
@Kornstalx I brute-edit the CQUI InGame.lua and it worked !
Yome NetSan 17 Oct, 2022 @ 12:49am 
@Kornstalx
Thanks for your answer!
I found the two ingame.lua and added both on my mod. I guess my problem is about priority or something. But I didn't actually tried to edit directly the files in CQUI. I'll try that to see if it works.
Kornstalx  [author] 16 Oct, 2022 @ 2:44pm 
@Yome:
CQUI has both versions of InGame.lua in its package, you need to edit the correct one (or both of them). The Gathering Storm version is in ...\289070\2115302648\Assets\Expansion2\Replacements, the other is in ...\289070\2115302648\Assets\UI.

If you took my few lines of code out of the single file in this mod and stuck them inside both versions of InGame.lua contained in CQUI, it would work fine (until CQUI is updated, that is).
Yome NetSan 16 Oct, 2022 @ 2:01pm 
Hi there !
I'm starting to have a go at modding this great game, trying to make basically this exact mod for a week now and I found yours only now >_<.
I look at your code and that's pretty much how I made mine.
The only issue I have is that both don't work with Gathering Storm + "CQUI - Community Quick User Interface" as this one replace the inGame.lua completely.
I even tried to base my inGame.lua out of CQUI's one (so my mod would be CQUI dependent but that's fine with me). Still it doesn't work and I don't understand why. I actually have it works with standart and Rise&Fall rules (with the standard CQUI inGame.lua), but not with Gathering Storm + CQUI.
Do you plan on making your mod compatible with CQUI ? Or do you have a hint of why it wouldn't work simply on editing the inGame.lua ?
Thanks !