Sid Meier's Civilization VI

Sid Meier's Civilization VI

Better Unit List
64 Comments
Mr. Sinister 9 Nov, 2024 @ 7:05am 
Great mod, but there is 2 problems:

1. It's not compatible with Better Combat Preview (UI) - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3254574708&searchtext=

2. It removes the option to select Gossip and Combat Text from the World Tracker List. (I used Notification Log as a work around https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1459493312)
Obb 8 May, 2024 @ 6:03am 
So many remade UI mods, all incredible, it’s amazing.
I’m lazy to go through them all to post my appreciation comment, so this one will take the praise for all, but I truly thank all modders for their work. That’s fantastic.
bolbas  [author] 14 May, 2023 @ 2:53am 
@spartan1204, why do you think this was because of Better Unit List? Can you copy/paste this issue logs from lua.log file?
spartan1204 8 May, 2023 @ 2:52pm 
I had it on during a multiplayer game and during turn 40 the game would get stuck on "Please Wait". This was in a game with 8 total players.
bolbas  [author] 6 May, 2023 @ 11:34am 
@spartan1204, I think it should work fine. What issues do you expect?
spartan1204 21 Apr, 2023 @ 12:58pm 
How well does this perform in multiplayer?
bolbas  [author] 23 Jan, 2023 @ 9:23am 
@infixo it looks great! And I really like these quick buttons :) When Firaxis added World Tracker Unit List to the game I thought of creating similar mod but I realized that I would never use it because Better Unit List was enough for me.
infixo 13 Jan, 2023 @ 1:17pm 
@bolbas I released the mod :) Better World Tracker Unit List https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2917498589
bolbas  [author] 20 Dec, 2022 @ 11:06pm 
Thanks, @infixo! It's a honor for me to get your praise! Sure you can use my code)
infixo 20 Dec, 2022 @ 9:52am 
@bolbas I love how you show the promotions as dots around the icon. Very clever idea. Would you mind me using some parts of your code (after necessary refactoring) in another mod I am working on?
bolbas  [author] 6 Apr, 2022 @ 12:56am 
@philly, it works. And to help you to fix your issue I need more information (your save file or your game version, enabled mods and some logs from lua.log file).
philly 5 Apr, 2022 @ 7:41pm 
This mod doesn't work.
bolbas  [author] 12 Jun, 2021 @ 11:52pm 
@DestrockQc, well, do you know how to open Unit List from Unit Panel? Better Unit List can be opened the same way. Have you tried to click to the unit name with Better Unit List mod enabled? What happens then? And this mod works fine with CQUI.
bolbas  [author] 22 Apr, 2021 @ 9:58pm 
Hi, @Adriaman, thanks) Updated for 1.0.12.9 game version.
Adriaman 22 Apr, 2021 @ 12:42pm 
Hi, the following files have been updated, you might want to take a look:
..\Base\Assets\UI\Panels\UnitPanel.lua
..\Base\Assets\UI\Panels\UnitPanel.xml
Adriaman 17 Mar, 2021 @ 3:25pm 
@bolbas Nice!
bolbas  [author] 17 Mar, 2021 @ 3:24pm 
@Adriaman, thanks for the report. I've fixed this issue. It was a conflict with Spy Promotion Tree.
Adriaman 16 Mar, 2021 @ 7:49am 
This mod might be incompatible with "Spy Promotion Tree", unfortunately. I don't have the save file anymore, but there were lua errors related to the spy promotions promotion variables when I tried to start offensive spy operations.

Note that I was also using the Builder / Military Engineer Lag Fix mod. The latter does change the unitpanel but appears to be compatible (it only overwrites one function).
bolbas  [author] 23 Feb, 2021 @ 1:13am 
@QI Ziru, I didn't understand what you meant :)
QI Ziru 22 Feb, 2021 @ 8:48pm 
In the business model of the company, the luxury resources owned by the company will not be shown as "monopoly", or percentage.:steamthumbsup:
QI Ziru 22 Feb, 2021 @ 8:47pm 
在公司经营的模式中,拥有的奢侈品资源不会显示为”垄断“,或者百分比。
Litcube 18 Feb, 2021 @ 12:13am 
Thanks for your help, bolbas!
bolbas  [author] 17 Feb, 2021 @ 11:42pm 
No, promotion dots appear for original promotion tree only. If any of unit promotions has different level/column then all promotion dots are hidden for this unit. That's why your warriors have no "dots" :)
Litcube 17 Feb, 2021 @ 3:02pm 
SWEET. It works a lot better. Are promotion "dots" supposed to be showing now? I have a whole bunch of promoted warriors, but none are showing their promotions.

https://i.imgur.com/2WTvPEp.jpeg
bolbas  [author] 17 Feb, 2021 @ 1:31am 
@Litcube, check your game, this issue should be fixed now.
Litcube 16 Feb, 2021 @ 1:50pm 
Yup, it's the promotions mod. Everything works with the promotions mod included, but as soon as I promote my warrior, it bugs out.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2119286725

Obviously, not your issue. If I find a fix, I'll let you know :)
Litcube 16 Feb, 2021 @ 1:40pm 
Runtime Error: C:\Games\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:4755: attempt to index a nil value
stack traceback:
C:\Games\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:4755: in function 'AddUnitToUnitList'
C:\Games\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:4655: in function 'RefreshUnitListPopup'
C:\Games\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:4561: in function 'OnUnitListPopupClicked'
[C]: in function '(anonymous)'
Lua callstack:

I'm still investigation. Save is a no go, too many mods. I think maybe it's a unit promotion mod I just added.
bolbas  [author] 16 Feb, 2021 @ 6:54am 
@Litcube, can you upload your save file please? Or check lua.log file and show me this error's log. What mods do you use?
V-tin 14 Feb, 2021 @ 4:32am 
@bolbas, thanks! ^^
bolbas  [author] 14 Feb, 2021 @ 2:37am 
Wow, @Valentin, thanks for the report! I can't even imagine how could I remove this line on the last update. Now it's fixed.
V-tin 13 Feb, 2021 @ 9:09am 
Hi @bolbas, when I enable this mod, I get an error in "modding.log":
"[2623152.800] Loading Mod - C:/Program Files (x86)/Steam/steamapps/workshop/content/289070/1618650715/betterunitlist.modinfo"
"[2623152.802] ERROR: Invalid file reference in action, did you forgot to add it in <Files>? - bqui_religion_icons.xml"

Thing is, the file "bqui_religion_icons.xml" is present in "1618650715".
Litcube 1 Feb, 2021 @ 4:19pm 
This thing is awesome.
bolbas  [author] 29 Nov, 2020 @ 4:04am 
@GeloDGreat, can you upload your save file with this error?
GeloDGreat 29 Nov, 2020 @ 12:49am 
Runtime Error: D:\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:1033: operator < is not supported for nil < number
stack traceback:
D:\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:1033: in function 'View'
D:\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:2919: in function 'Refresh'
D:\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:4442: in function 'OnLocalPlayerTurnEnd'
[C]: in function 'func'
[C]: in function '(anonymous)'
bolbas  [author] 23 Oct, 2020 @ 3:28pm 
@闪烁的寒光, @jamesconradshea, @leszek.j966, @ann, thanks for your feedback and reports) Now it's updated to October 2020 game version - 1.0.6.9.
zzz9826 23 Oct, 2020 @ 9:51am 
Runtime Error: C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:2754: function expected instead of nil
stack traceback:
C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:2754: in function 'ReadUnitData'
C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:2885: in function 'Refresh'
C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1618650715\UnitPanel.lua:2950: in function 'OnUnitSelectionChanged'
[C]: in function 'func'
[C]: in function '(anonymous)'
leszek.j966 23 Oct, 2020 @ 12:42am 
@bolbas, This mod: 'better unit list' after the last civ6 update, do not work properly. The unit menu is blocked as a result of the inadmission of cities and thus start games.
jamesconradshea 22 Oct, 2020 @ 8:35pm 
I love this mod - sadly the October 2020 patch seems to have broken it. Hoping for a fix soon!
Blinking Ice 22 Oct, 2020 @ 6:57pm 
Great job there!
waiting for Oct. update
bolbas  [author] 23 May, 2020 @ 8:09am 
@b-briggs, the same way like you open original unit list - left click on the unit name button. Sounds like mods or game version conflict. Need more information to help you.
b-briggs 23 May, 2020 @ 7:22am 
How do I access the unit list? The mod is activated, new game, several warriors. No list appears and no option to see it.
camerico 15 May, 2020 @ 11:50am 
A great job materialized in a very useful tool.
Thank you!
bolbas  [author] 18 Jan, 2020 @ 8:48pm 
@Ellie.W, pink, orange, green, blue or dark blue dots mean that unit has 25%, 50%, 75%, 100% or more bonus XP abilities. Dark or light grey dots mean that unit has combat strength ability from Giant's Causeway or Matterhorn. And white dot means that unit is under effect of Great Admiral or Great General.
If you don't need these dots you can disable them by Right Click on Unit List popup.
Moon 17 Jan, 2020 @ 9:21am 
what is meaning green dot or grey dot? this is not important. this things makes list messy
bolbas  [author] 30 Jul, 2019 @ 2:56am 
@草加狐, I've checked your link. This issue is caused by other mods that add new requirements for improvements. @dshirk wrote on page 4 that devs will soon fix this.
0A 21 Jul, 2019 @ 8:05am 
you may want to know there is a big issues about after 250 turn(more/less) when pick available builder will cause seconds delay.
there is a fix way about it which i found in
https://forums.civfanatics.com/threads/screen-freezes-stutters-when-you-select-idle-builders-in-late-game.643197/page-3
to change code in unitpanel.lua which about improvement
bCanStart, tResults = UnitManager.CanStartOperation(pUnit, actionHash, nil, tParameters, true);
to
bCanStart, tResults = UnitManager.CanStartOperation(pUnit, actionHash, nil, tParameters, false, false);
and there is no more delay,i have been test it and it works fine.
so i think u may want to know it and add it to ur mod update.
nice work.
bolbas  [author] 4 Apr, 2019 @ 9:07am 
Thanks for reporting this issue. It was my mistake. I fixed it.
djconner 4 Apr, 2019 @ 4:26am 
This mod might be incompatible with the latest patch. I started a new game and was unable to see the "combat preview" information. After disabling Better Unit List, the preview displayed normally.

Might very well be a conflict with another mod as opposed to the patch, but I thought I'd raise the issue.
ZenthWolf 27 Mar, 2019 @ 10:18am 
20/10 for having comparison screenshots.
bolbas  [author] 21 Mar, 2019 @ 6:45am 
Sorry for being so late but it's updated for Gathering Storm finally! :)