Changing how unit/affinity upgrades work

Cadentia

Chieftain
Joined
Nov 19, 2015
Messages
1
How would I go about changing unit upgrades on general? Specifically, I would like to be able to customize the amount of upgrades a unit can select, in amount of upgrades available per affinity tier or hybrid affinity, the specific stats for such upgrades, and to make it possible for an unit to go through all the affinity upgrades (being able to choose both upgrade choices as well as being able to go through all the affinities essentially eventually becoming a super unit with the cosmetics being the very last upgrade. Thanks in advance, and apologies if I missed a crucial tutorial I should have read. There seems to be no relevant mods to what I want to do.
 
The various tables defining unit upgrades are in the files CivBEUnitUpgrades.xml and CivBEUnitPerks.xml:

<UnitUpgrades> sets the name of each upgrade, affinity levels needed to unlock it, and the inherant perk it grants.

<UnitUpgradePerkChoices> sets the two optional perks the player can choose between when selecting the upgrade.

<UnitPerks> sets the gameplay effects each upgrade or choosable option has, such as extra hp, attack strength, etc.

You can certainly change the stats gained from each upgrade/choice by updating entries in these tables, and can probably add extra tiers and a wider range of upgrade/choice options within each tier by adding new entries, but I don't think it's possible to let the player pick more than one option per tier.
 
Back
Top Bottom