Changing Gold Cost w/o Changing Production Cost

TW_Honorius

Warlord
Joined
Oct 24, 2010
Messages
278
Is there a way to change the gold cost of buying a unit without changing the production cost? I really want to make the settler impossible to buy by changing the purchase cost or changing that disables the cost. Anyone know?
 
Yes. That's what the "HurryCostModifier" variable is in the Units and Buildings tables.

HurryCostModifier=0 is the baseline. Sort of. (See below.)
HurryCostModifier=-1 means that a unit or building can't be rushed at all. (Wonders, mainly. but this is what you seem to be talking about for the Settler.)
but what you want are positive values. HurryCostModifier=25 means that rushing a unit costs 125% of the normal amount. 50 means 150%, and so on. So if you want a unit to be more expensive to buy than it would be to build, but still be POSSIBLE to buy, then set the value higher.

Now, you can't set it LOWER, because of the -1 issue I mentioned. But you'll notice that most buildings, for instance, have HurryCostModifier=25; that effectively makes 125% the new baseline. So if you have something you want to be EASIER to buy than build, just set it back down to zero.
 
Ok, I will try that, I thought the hurry modifier was meant for the GE hurry production, thanks, I will see what happens.

Edit: Thanks, changing it to -1 made it impossible for anyone to buy the unit. This is the answer I was looking for.
 
I thought the hurry modifier was meant for the GE hurry production,

I know, it's confusing that they use the same term for two different things. The GE-style hurrying is handled through the "BaseHurry" and "HurryMultiplier" values, which shouldn't be confused with HurryCostModifier despite the similarity in names.

Tweaking HurryCostModifier is a nice way to balance a lot of different things. Want powerful "hero" units that are practically Wonder-like in their costs? Those are a good thing to disable hurrying on. And so on.
 
Back
Top Bottom