Sid Meier's Civilization VI

Sid Meier's Civilization VI

38 ratings
Group Leaders By Civilization
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
2.629 KB
18 May, 2021 @ 7:30am
1 Change Note ( view )

Subscribe to download
Group Leaders By Civilization

Description
It always annoyed me that leaders of the same civ are scattered all around. They need to be grouped together based on their civ, I think.

Sort leaders in leader selection view by their civilizations, to make sure leaders of the same civilizations will be placed near each other.

Mod added civilizations and leaders will be supported too.

It's a complicated sql, but I confirmed that it works.
UPDATE Players SET SortIndex = ( SELECT SortIndex * 100 FROM ( SELECT Domain, CivilizationIcon, ( SELECT 1 + COUNT(*) FROM Players c WHERE b.Domain=c.Domain AND b.CivilizationIcon > c.CivilizationIcon ) AS SortIndex FROM Players b GROUP BY Domain, CivilizationIcon ) t0 WHERE t0.Domain=Players.Domain AND t0.CivilizationIcon=Players.CivilizationIcon );

All civ & leader combinations will first be sorted by civilization icon, and then leader, by alphabet order respectively. Note that these are sorted by data tags, not localization texts.

The vanilla multi-civ leaders Eleanor and Kublai are sorted below mono-civ leaders of their respective civ, regardless of alphabet order. For example. Eleanor of England is sorted beneath Victoria. This is the only exception of the rule.
7 Comments
豐參 輝群 18 Oct, 2024 @ 3:08am 
This mod only work at single player.
josearte777 2 Oct, 2021 @ 11:38am 
if i were to add sukriract oson how would i do it?
Robby2710 28 Jul, 2021 @ 9:33am 
how does it work? i cant figure it out why the mod isnt there.:steamsalty:
TheWoodsman 23 Jul, 2021 @ 3:05pm 
@Clar Aon the reason for that is because most modders put a tag before the name of their civ in case someone else makes a different version of it, or it gets (got) added to the game officially. Take Sukritact's Iceland for example, the name that this sees is "SUK_ICELAND" rather than just "ICELAND."
ConnieOfTheWolves 20 Jul, 2021 @ 10:15pm 
Holy shit, I needed this.
Madisonian 26 Jun, 2021 @ 10:54am 
Looks like leader replacements work correctly, but custom civs are mixed in all over the place. Shawnee before Ethiopia, Zimbabwe before Georgia, etc.
Madisonian 26 Jun, 2021 @ 10:29am 
It'd be nice if it could also display the country name before the leader name like with EPS Civ Picker mod, the readability leaves a lot to be desired with jumbled leader names.