Vovan's UnitUpgrade mod was originally designed to automatically look at all the units in the game, and draw out a map of how they upgrade. It worked pretty well on Vanilla Civ4, but as other mods have tried it (it is included with Sevopedia), it's deficiencies are beginning to show.
It's first major problem was that it had no means of placing the unit icons intelligently on the screen, so upgrade paths got very convoluted quickly. This upgrade fixes that problem with an implementation of a graph layout algorithm. While finding the absolute best looking layout might take several minutes, especially with the bigger mods, this algorithm does a pretty good job in about a second.
Second, the Vovan used the same arrows as the Tech tree. Those work great for the tech tree, but were pretty jumbled for unit upgrades. This mod uses new angled arrow graphics that I developed specifically for it. These arrows show much more clearly the path from a unit to its upgrade, and since the layout algorithm tries to keep upgrades close to the unit(s) they upgrade from, the chart as a whole is a lot more readable.
Finally, while Vovan talked about extending it for promotions as well, he never got around to it. But I've added the code to show the upgrade path of promotions as well.
Please note, that this is primarily a modders mod. If you want to play Vanilla Civ with this as the only mod you have, UnitUpgrades.zip is for you. Just unzip it into your mods folder, select it from advanced->load a mod, and go for it.
If you're running the Sevopedia, I have begun to update a version of the Sevopedia with my own and a few other updates, notably fitchn's index and Gaurav's air unit fix (Thanks guys!). You will find it attached below, to simplify integration into your own mod or personal modcomp.
If you're a modder looking to integrate this into your mod, you will find several variables to help you customize the mod for your units in:
\Assets\Python\UnitUpgrades\UnitUpgradesGraph.py
The comments will help you with what the variables mean, or you can post here with questions.
Finally, the screenshots you've been waiting for.
Version History:
0.1 - Initial release
0.2 - Fixed a bug in integrating with other mods: if the other mod removed an entire unit class from a particular civilization, it would choke. Thanks Caesium.
0.3 - Removed an old dependency on the DiGraph class that was causing some to have load failures. Thanks Fitchn and Caesium.
This is considered a beta version since I have only tested it with a few mods (including Fall from Heaven). It seems to work well, but only time will prove it worthy of a 1.0 release. Please report any bugs you find in this thread.
It's first major problem was that it had no means of placing the unit icons intelligently on the screen, so upgrade paths got very convoluted quickly. This upgrade fixes that problem with an implementation of a graph layout algorithm. While finding the absolute best looking layout might take several minutes, especially with the bigger mods, this algorithm does a pretty good job in about a second.
Second, the Vovan used the same arrows as the Tech tree. Those work great for the tech tree, but were pretty jumbled for unit upgrades. This mod uses new angled arrow graphics that I developed specifically for it. These arrows show much more clearly the path from a unit to its upgrade, and since the layout algorithm tries to keep upgrades close to the unit(s) they upgrade from, the chart as a whole is a lot more readable.
Finally, while Vovan talked about extending it for promotions as well, he never got around to it. But I've added the code to show the upgrade path of promotions as well.
Please note, that this is primarily a modders mod. If you want to play Vanilla Civ with this as the only mod you have, UnitUpgrades.zip is for you. Just unzip it into your mods folder, select it from advanced->load a mod, and go for it.
If you're running the Sevopedia, I have begun to update a version of the Sevopedia with my own and a few other updates, notably fitchn's index and Gaurav's air unit fix (Thanks guys!). You will find it attached below, to simplify integration into your own mod or personal modcomp.
If you're a modder looking to integrate this into your mod, you will find several variables to help you customize the mod for your units in:
\Assets\Python\UnitUpgrades\UnitUpgradesGraph.py
The comments will help you with what the variables mean, or you can post here with questions.
Finally, the screenshots you've been waiting for.
Version History:
0.1 - Initial release
0.2 - Fixed a bug in integrating with other mods: if the other mod removed an entire unit class from a particular civilization, it would choke. Thanks Caesium.
0.3 - Removed an old dependency on the DiGraph class that was causing some to have load failures. Thanks Fitchn and Caesium.
This is considered a beta version since I have only tested it with a few mods (including Fall from Heaven). It seems to work well, but only time will prove it worthy of a 1.0 release. Please report any bugs you find in this thread.