Where is the line that determine the Unit upgrade cost?

onlysky1

Chieftain
Joined
Oct 23, 2016
Messages
44
Where is the line that determine the unit upgrade cost?
I looked into the file Sid Meier's Civilization VI\Base\Assets\Gameplay\Data\Units.xml
but there isn't line that determine the unit upgrade cost, do you guys know where is it?:crazyeye: Thanks!
 
In this file, \Sid Meier's Civilization VI\Base\Assets\Gameplay\Data\GlobalParameters.xml,
there are some lines:
<Row Name="UPGRADE_BASE_COST" Value="10" />

<Row Name="UPGRADE_MINIMUM_COST" Value="30" />

<Row Name="UPGRADE_NET_PRODUCTION_PERCENT_COST" Value="75" />

If I want to make unit upgrade free, then could I change those three lines above into this?

<Row Name="UPGRADE_BASE_COST" Value="0" />

<Row Name="UPGRADE_MINIMUM_COST" Value="0" />

<Row Name="UPGRADE_NET_PRODUCTION_PERCENT_COST" Value="75" />
 
I'm not sure, I didn't mess with them, but in theory I would say yes, you could make them free doing that.

I think that _may_ be part of the math to calculate the final cost... i.e. Slingers cost 100g to buy or 10 hammers to build, Archers cost 200g to buy or 20 hammers to build, then the upgrade cost would base 100g difference but make it 75% difference of that as the final upgrade cost - 75 gold to updgrade.

Of course, I could be way way wrong on that. Probably am, but that's my take on it.
 
Top Bottom