• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

[GS] Simple Upgrade Cost Mod

DanQuayle

Prince
Joined
Oct 18, 2015
Messages
550
Hello, newbie modder here :)

I want to make a very simple mod that changes the gold upgrading cost of military units.

However, changing the value of 'UPGRADE_NET_PRODUCTION_PERCENT_COST' in GlobalParameters does not seem to change the amount of gold required to upgrade units in the game.
Yet, changing the value of 'UPGRADE_BASE_COST' does change the gold upgrade cost of units (but only the base cost as the name implies).

I've looked for old mods that attempted to do this and they used these two parameters, but they also do not seem to work anymore.
In patch 314, they increased the upgrading cost by 33%, maybe doing so they broke the 'UPGRADE_NET_PRODUCTION_PERCENT_COST' parameter?

Is there an alternate way to change the upgrading cost?
Or even better, change the whole upgrade cost formula?
I didn't find anything else that looked 'promising' in the gameplay db.
 
Back
Top Bottom