Sid Meier's Civilization VI

Sid Meier's Civilization VI

Unit Expansion: Infantry (Project 6T)
SpectralMemories 2024 年 6 月 9 日 上午 8:06
Unique units cannot be upgraded
Hi,

I noticed that unique units (like rome's legions, greece's hopplites) can not be upgraded to their expected unit.

Amazing mod btw
< >
正在显示第 1 - 1 条,共 1 条留言
SpectralMemories 2024 年 6 月 9 日 上午 9:51 
Hey man, hope you read this:

I managed to tinker around and get unique units working. At first I just manually added the UpgradePaths for my played civs, which seems to be what you have done.

But I couldnt help but think that there must be a way to do it for all unique units in one statement. And sure enough, I found a way. So far it seems to be working properly, I browsed the in game civ-clopedia (or whatever its called), and the upgrade paths all look good. Should also work for future / modded civs

Here is what I came up with: https://pastebin.com/Zn3iZK4J

I added these lines in the Core/[...]_Units.sql files, just under the `-- UnitUpgrades` block

Hope this helps!
最后由 SpectralMemories 编辑于; 2024 年 6 月 9 日 上午 9:53
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50