FallenPeigon
Chieftain
- Joined
- Dec 25, 2018
- Messages
- 3
So I'm trying to make a mod where the settler's production increases non-linearly. By default, from what I can see, for every settler built +30 is added to the next one. My idea is to have, for example, a 25% production increase on your second settler after building your first. Then that 25% increase is then also increased by the next 25% increase when building your third settler after your second. Something like this.
80(base cost) > first settler built > 100 > second settler built > 125 > third settler built > 156 > fourth settler built 195
I think this could work I could work the increase into the base settler cost. But I don't how do that or if it's possible. An alternative I think could work is a formula like this.
(80 + (PreviousSettlersBuilt * 20)) * .25
This would go in the Units table in the column CostProgressionParam1 for the Settler. But I don't know which tag to use for previous settlers built.
Hopefully the way I explained this isn't too confusing. Thanks for any help.
80(base cost) > first settler built > 100 > second settler built > 125 > third settler built > 156 > fourth settler built 195
I think this could work I could work the increase into the base settler cost. But I don't how do that or if it's possible. An alternative I think could work is a formula like this.
(80 + (PreviousSettlersBuilt * 20)) * .25
This would go in the Units table in the column CostProgressionParam1 for the Settler. But I don't know which tag to use for previous settlers built.
Hopefully the way I explained this isn't too confusing. Thanks for any help.