Alright, I succesfully created a new unit but now I want to change how other unit can upgrade to this unit and how the new unit can be upgraded. Where the Hell in the Edit can I configure this?
Upgrade paths are determined by the unit's class and level. Lower-level units in the same class upgrade to higher-level units. If two units are in different classes, the class of the lower-level unit needs to be told to upgrade to the class of the higher-level unit.
Upgrade paths are determined by the unit's class and level. Lower-level units in the same class upgrade to higher-level units. If two units are in different classes, the class of the lower-level unit needs to be told to upgrade to the class of the higher-level unit.
Investigating at how the Common Crossbow (UnitClass_Ranged) can be upgraded into the Common Arquebusier (Unitclass_Gunner), the only thing that they share is the Serializable Family "UnitFamily_Ranged". Is this how an upgrade path is established between Unitclasses?
I am experimenting with the upgrade path as well. I think what happens is that a unit can upgrade from one class to another through the Serializable Family. So for example, using Unity Hub to modify my Project, when I look at Dragoons their Serializable Family is UnitFamily_Cavalry. When I click the "Select the Reference" button for UnifFamily_Cavalry it brings up the UnifFamily_Cavalry(UnitFamilyDefinition) window where there is a dropdown option to select the "Serializable Next Family Name". For UnitFamily_Cavalry , the Devs have currently selected UnitFamily_MechanizedInfantry as the Serializable next Family Name, which is the Armored Personnel Carrier's Serializable Family. So Dragoons upgrade into Armored Personnel Carriers.
This can all quickly become very confusing as in the database Dragoons are UnitClass_MountedGunner but their Serializable Family is UnifFamily_Cavalry which is defined with a Serializable next Family Name of UnitFamily_MechinzedInfantry. The Armored Personnel Carrier is UnitClass_ArmouredVehicle with a Serializable Family of UnitFamily_MechanizedInfantry which is defined with a Serializable next Family Name of None.
If you follow the evolution of Common Horse Units it looks like this:
Era 1: Scout Cavalry are UnitFamily_ScoutCavalry with a next family of UnitFamily_LightCavalry
Era 2: Horsemen are UnitFamily_LightCavalry with a next family of UnitFamily_ShockCavalry
Era 3: Knights are UnitFamily_ShockCavalry with a next family of UnitFamily_Cavalry
Era 5: Dragoons are UnitFamily_Cavalry with a next family of UnitFamily_MechanizedInfantry
Era 6: Armored Personnel Carriers are UnitFamily_MechanizedInfantry with a next family of None.
There aren't any Common Horse Units in Era 4. But the Polish have Winged Hussars in Era 4.
Era 4: Winged Hussars are UnitFamily_Cavalry which we already know has a next family of UnitFamily_MechanizedInfantry
This allows Knights to be upgraded to Winged Hussars if you choose the Polish Culture, and Winged Hussars to be upgraded to Armored Personnel Carriers.
So the upgrade path appears to be solely based on Serializable Family and Serializable next Family Name.
So, using Unity Hub, for me to change the upgrade path of Arquebusiers (UnitFamily_Ranged) from Musketeers to Heavy Machine Guns, I first had to look at the LandUnit_Era5_Common_MachineGuns definition to find out its Serializable Family, which is UnitFamily_MachineGun. I then imported UnitFamilyDefinition>UnitFamily_Ranged and changed the Serializable next Family Name from UnitFamily_GunpowderInfantry to UnitFamily_MachineGun.
So the upgrade path appears to be solely based on Serializable Family and Serializable next Family Name.
Yes this is it. However, its not clear to me yet exactly how is decided that unit is made available for construction. Thiscan be especialy import later on when an upgrade requires acces to specific strategic resources and you do not have acces to them.
I moved a couple units from one technology to another. Using Unity Editor, I imported the technology that I was interested in and then when I chose the technology, the Inspector panel had an Unlock References section. I simply removed the items I did not want to be available with that technology and added the ones that I do. If you import one I think it will become really obvious to you. If not let me know and I will give you better directions.
I found that the humankind.fandom.com/wiki/Technology page lists the technologies in the same order they are currently referred to as in the database. So, Technology_Era1_01 is Calendar, Technology_Era3_03 is War Summons, and Technology_Era4_07 is Patronage.
FreeThinker
Officer
FreeThinker
Officer
5 800g2g ptsReport comment
Why do you report FreeThinker?
Are you sure you want to block FreeThinker ?
BlockCancelAre you sure you want to unblock FreeThinker ?
UnblockCancelBigPharma
Adamantian
BigPharma
Adamantian
8 800g2g ptsReport comment
Why do you report BigPharma?
Are you sure you want to block BigPharma ?
BlockCancelAre you sure you want to unblock BigPharma ?
UnblockCancelFreeThinker
Officer
FreeThinker
Officer
5 800g2g ptsReport comment
Why do you report FreeThinker?
Are you sure you want to block FreeThinker ?
BlockCancelAre you sure you want to unblock FreeThinker ?
UnblockCancelPopsiclePrime
Addict
PopsiclePrime
Addict
11 100g2g ptsReport comment
Why do you report PopsiclePrime?
Are you sure you want to block PopsiclePrime ?
BlockCancelAre you sure you want to unblock PopsiclePrime ?
UnblockCancelFreeThinker
Officer
FreeThinker
Officer
5 800g2g ptsReport comment
Why do you report FreeThinker?
Are you sure you want to block FreeThinker ?
BlockCancelAre you sure you want to unblock FreeThinker ?
UnblockCancelPopsiclePrime
Addict
PopsiclePrime
Addict
11 100g2g ptsReport comment
Why do you report PopsiclePrime?
Are you sure you want to block PopsiclePrime ?
BlockCancelAre you sure you want to unblock PopsiclePrime ?
UnblockCancel